* automated/ruby-mode-tests.el
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
499572e4
DG
12013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4 checks made superfluous by the \_< operator.
5
62013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
7
8 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
9 instead of "\\b".
10
629cb6ec
MA
112013-01-27 Michael Albinus <michael.albinus@gmx.de>
12
13 * autorevert.el (auto-revert-handler): Notifications which result
14 from a saved file shall not be taken into account. (Bug#13557)
15
cc17363f
AS
162013-01-26 Andreas Schwab <schwab@linux-m68k.org>
17
18 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
19 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
20 (lisp-mode): Pass t for it. (Bug#13556)
21
b7aea0ff
AM
222013-01-25 Alan Mackenzie <acm@muc.de>
23
24 AWK Mode: Fix indentation bug at top level. Bug #12274.
25
26 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
27 just before CASE 5D.
28
1314a64c
DA
292013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
30
31 * net/socks.el (socks-nslookup-host): Use string-to-number.
32
ef3544f6
MA
332013-01-25 Michael Albinus <michael.albinus@gmx.de>
34
35 * autorevert.el (auto-revert-remote-files)
36 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
37 (auto-revert-notify-enabled, auto-revert-use-notify)
38 (auto-revert-notify-watch-descriptor-hash-list)
39 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
40 (auto-revert-notify-event-descriptor)
41 (auto-revert-notify-event-action)
42 (auto-revert-notify-event-file-name): Doc fix.
43 (global-auto-revert-mode): Reorder checks.
44 (auto-revert-notify-rm-watch): Respect changed values of
45 `auto-revert-notify-watch-descriptor-hash-list'.
46 (auto-revert-notify-add-watch): Check for
47 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
48 `inotify-add-watch'. Watch `default-directory' instead of
49 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
50 has a changed meaning now. (Bug#13540)
51 (auto-revert-notify-handler): Change implementation wrt events
52 returning from a directory.
53 (auto-revert-handler): Reorder implementation for checks of remote
54 files.
55 (auto-revert-buffers): Fix parentheses error.
56
830e46e6 572013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
345f866e
FEG
58
59 * progmodes/python.el: Enhancements to header documentation about
60 skeletons. (Bug#5716)
61
ddc62155
FEG
62 * imenu.el (imenu-default-create-index-function): Remove useless
63 infinite loop check. (Bug#13438)
64
830e46e6 652013-01-25 Alan Mackenzie <acm@muc.de>
267eacb5
AM
66
67 Fix a bug in the state cache mechanism. Refactor this a bit.
68
69 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
70 `cache-pos' element from the return value.
71 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
72 buffer to enable proper searching from beyond HERE. Amend the
73 test for detecting the sought brace pair. Amend the value written
74 to the "brace desert cache" when the brace isn't found.
75 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
76 and several other variables analogously.
77 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
78 parameter to a locally calculated variable.
79 (c-parse-state-1): Change the calling conventions to the two
80 defuns involving `cache-pos'.
81
830e46e6 822013-01-25 Chong Yidong <cyd@gnu.org>
4d4ddaa7
CY
83
84 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
85
3d4147ba
BG
862013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
87
88 * paren.el (show-paren-function): Make sure to set 'priority and
89 'face only if the overlay does exist.
90
e1ffa412
MA
912013-01-24 Michael Albinus <michael.albinus@gmx.de>
92
93 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
94
95 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
96 basic attributes.
97 (tramp-sh-handle-set-file-acl): Improve error checking.
98
5ad86e34
DA
992013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
100
101 * doc-view.el (doc-view-display): Force mode line update until all
102 document is converted. Suggested by Stefan Monnier (Bug#13164).
103
d6f9c03f
BG
1042013-01-23 Bastien Guerry <bzg@gnu.org>
105
106 * paren.el (show-paren-function): Make sure an overlay exists
107 before trying to delete it. Also use `pos' as a position only
108 when it is an integer.
109
3544e11a
DA
1102013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
111
112 * play/gametree.el (gametree-break-line-here): Use point-marker.
113
19b50424
MA
1142013-01-22 Michael Albinus <michael.albinus@gmx.de>
115
116 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers): Mark
117 descriptive parts with `display' property.
118
7fd5a843
AM
1192013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
120
121 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
122 New variable to map standard dict names to hunspell ones.
123 (ispell-set-spellchecker-params): Make sure specific dict names
124 are used for standard dicts with hunspell.
125
e6aff855
TH
1262013-01-21 Tassilo Horn <tsdh@gnu.org>
127
128 * textmodes/reftex-cite.el (reftex-format-citation): Add format
129 chars for note (%N) and url (%U).
130 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
131
c84b0881
JL
1322013-01-21 Juri Linkov <juri@jurta.org>
133
134 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
135 in addition to existing separate binding `meta f10' in `global-map'.
136 (Bug#13484)
137
a36e2d26
MA
1382013-01-21 Michael Albinus <michael.albinus@gmx.de>
139
140 Improve XEmacs compatibility.
141
142 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
143
144 * net/tramp-adb.el (top): Require `time-date'.
145 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
146 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file): Use
147 `tramp-file-name-handler'.
148 (tramp-adb-maybe-open-connection): Use
149 `tramp-compat-set-process-query-on-exit-flag'.
150
151 * net/tramp-sh.el (tramp-sh-handle-file-acl): Use
152 `tramp-compat-funcall'.
153
154 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
155 `tramp-compat-funcall'.
156
88c7dfa3
JH
1572013-01-21 Jürgen Hötzel <juergen@archlinux.org>
158
159 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
160 reimplementation using "adb shell command ..." instead of running
161 remote shell interactively.
162
15df6fa4
GM
1632013-01-20 Glenn Morris <rgm@gnu.org>
164
a576cc76
GM
165 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
166 Add native profiler menu entries.
167
15df6fa4
GM
168 * profiler.el (profiler-running-p): New function.
169 (profiler-cpu-profile): Use profiler-running-p.
170 (profiler-report-mode-map): Add some more menu entries.
171
c4d1e0c3
GM
1722013-01-19 Glenn Morris <rgm@gnu.org>
173
174 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
175 fixes 2012-12-07 change. (Bug#13499)
176
795e7a5b 1772013-01-19 Leo Liu <sdl.web@gmail.com>
2fc71e3c
LL
178
179 * dired.el (dired-get-marked-files): Prune erroneous values due to
180 last change. (Bug#13152)
181
795e7a5b 1822013-01-19 Glenn Morris <rgm@gnu.org>
19503d5a
GM
183
184 * progmodes/etags.el (tags-table-check-computed-list):
185 Preserve point in tags buffer. (Bug#13412)
186
f8a42ad6
GM
187 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
188
20de6ab6
CW
1892013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
190 Chong Yidong <cyd@gnu.org>
191
192 * image-mode.el (image-next-file, image-previous-file): New
193 commands (Bug#8453).
194 (image-mode-map): Bind them to n and p.
195 (image-mode--images-in-directory): New helper function.
196
2a43515a
CY
1972013-01-19 Chong Yidong <cyd@gnu.org>
198
199 * image-mode.el (image-mode-fit-frame): Add a frame argument.
200 Suggested by Drew Adams (Bug#7730). Handle window decorations;
201 save and restore the old window configuration.
202
b1170947
LL
2032013-01-18 Leo Liu <sdl.web@gmail.com>
204
205 * progmodes/js.el: Tweak autoload cookie for alias.
206
0eb87688
MA
2072013-01-17 Michael Albinus <michael.albinus@gmx.de>
208
209 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
210 buffer local, again. This was lost with the fix on 2013-01-12.
211
99d36ea8
JH
2122013-01-17 Jürgen Hötzel <juergen@archlinux.org>
213
214 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
215 order to support several eshell buffers in parallel.
216
68a08a32
MA
2172013-01-17 Michael Albinus <michael.albinus@gmx.de>
218
219 * autorevert.el (auto-revert-use-notify): In the :set function, do
220 not modify `kill-buffer-hook'.
221 (auto-revert-notify-rm-watch): Remove
222 `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
223 (auto-revert-notify-add-watch): Do not call
224 `auto-revert-notify-rm-watch', but add it to a buffer local
225 `kill-buffer-hook'.
226
e59eee43
SM
2272013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
228
229 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
230 call to `eval' rather than a backquoted lambda.
231
6e8cd0ae
SM
2322013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
233
cb9c0a53
SM
234 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
235 to return an explicit nil.
236 (advice--remove-function): Change accordingly.
237
238 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
239 the use of nadvice.el.
240
6e8cd0ae
SM
241 * progmodes/which-func.el (which-function): Silence imenu errors
242 (bug#13433).
243
4586ce8a
MM
2442013-01-15 Michael R. Mauger <mmaug@yahoo.com>
245
6e8cd0ae 246 * progmodes/sql.el: (sql-imenu-generic-expression):
4586ce8a
MM
247 (sql-mode-font-lock-object-name): Match schema qualified names.
248 (sql-connect): Use string keys.
249 (sql-product-interactive): Wait for interpreter prompt.
250 (sql-comint-oracle): Set process coding based on NLS_LANG.
251
9d55215c
MM
2522013-01-15 Michael R. Mauger <mmaug@yahoo.com>
253
254 * progmodes/sql.el (sql-output-to-send): Remove, unused.
6e8cd0ae
SM
255 (sql-interactive-remove-continuation-prompt):
256 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
9d55215c 257
57dd9e68
LL
2582013-01-14 Leo Liu <sdl.web@gmail.com>
259
260 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
261 (Bug#13420)
262
51e73492
GM
2632013-01-14 Glenn Morris <rgm@gnu.org>
264
265 * progmodes/compile.el (compilation-error-regexp-alist-alist):
266 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
267
c0511b57 2682013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
50620051 269
6e8cd0ae
SM
270 * progmodes/python.el (python-nav-end-of-statement):
271 Fix cornercase when handling multiline strings.
50620051 272
4c0a6d4a
RS
2732013-01-13 Richard Stallman <rms@gnu.org>
274
9f7e86ef
RS
275 * mail/sendmail.el (mail-position-on-field): Add doc string.
276
6e8cd0ae
SM
277 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
278 Get current message boundaries and pass them to
4c0a6d4a
RS
279 message-forward-make-body-mime. Minor style changes.
280
ad33a799
EZ
2812013-01-13 Eli Zaretskii <eliz@gnu.org>
282
283 * cus-start.el (all): Avoid warnings about
6e8cd0ae 284 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
ad33a799 285
616763d5
JD
2862013-01-11 Jan Djärv <jan.h.d@swipnet.se>
287
288 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
289
e5b5a34d
SM
2902013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 * jit-lock.el (jit-lock-debug-mode): New minor mode.
293 (jit-lock--debug-fontifying): New var.
294 (jit-lock--debug-fontify): New function.
295 * subr.el (condition-case-unless-debug): Don't prevent catching the
296 error, just let the debbugger run.
297 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
298 timer code and don't drop errors silently.
299
2daddd9e
MA
3002013-01-12 Michael Albinus <michael.albinus@gmx.de>
301
302 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
303 `permanent-local' property.
71c661e4 304 (auto-revert-notify-handler): Use `file-equal-p'.
2daddd9e 305
86fbb162
EZ
3062013-01-12 Eli Zaretskii <eliz@gnu.org>
307
308 * autorevert.el (auto-revert-notify-handler): Fix filtering of
309 file notification by ACTION. For filtering by file name, compare
310 only the non-directory part of the file name.
311
a0784609
SM
3122013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
313
96c421bb
SM
314 * autorevert.el: Use cl-lib instead of cl.
315
a0784609
SM
316 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
317 (vc-bzr-checkin): Use it.
318 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
319 will preserve match-data.
320
f90ff906 3212013-01-11 Felix H. Dahlke <fhd@ubercode.de>
9fc9a531 322
f90ff906
FD
323 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
324 (js--declaration-keyword-re): New var.
325 (js--multi-line-declaration-indentation): New function.
326 (js--proper-indentation): Use it.
9fc9a531 327
f90ff906 3282013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
9fc9a531 329
f90ff906
FD
330 * calc/calc.el (calc-highlight-selections-with-faces)
331 (calc-dispatch):
332 * comint.el (comint-history-isearch-message):
333 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
9fc9a531
AH
334 * ffap.el (ffap-string-at-point-region, ffap-next)
335 (ffap-string-at-point, ffap-string-around)
336 (ffap-copy-string-as-kill, ffap-highlight-overlay)
f90ff906 337 (ffap-literally):
9fc9a531 338 * font-lock.el (font-lock-keywords-alist)
f90ff906
FD
339 (font-lock-removed-keywords-alist):
340 * help-mode.el (help-xref-symbol-regexp):
341 * info.el (Info-find-emacs-command-nodes):
342 * international/mule.el (add-to-coding-system-list):
343 * isearch.el (isearch-message-function, isearch-fail-pos):
344 * misearch.el (multi-isearch-next-buffer-function):
345 * newcomment.el (comment-box):
9fc9a531 346 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
f90ff906 347 (pr-setting-database):
9fc9a531
AH
348 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
349 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
350 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
f90ff906
FD
351 (pike-font-lock-keywords-3):
352 * progmodes/compile.el (compile):
9fc9a531 353 * progmodes/etags.el (tags-table-files)
f90ff906 354 (tags-table-files-function, tags-included-tables-function):
9fc9a531 355 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
f90ff906 356 (gdb-restore-windows):
9fc9a531 357 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
f90ff906
FD
358 (ps-n-up-filling-database):
359 * server.el (server-buffer, server-log):
9fc9a531
AH
360 * simple.el (newline, delete-backward-char, delete-forward-char)
361 (minibuffer-history-isearch-message, kill-line, track-eol)
f90ff906 362 (temporary-goal-column):
9fc9a531 363 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
f90ff906
FD
364 (flyspell-default-deplacement-commands):
365 * textmodes/ispell.el (ispell-accept-output):
366 * textmodes/sgml-mode.el (html-tag-help):
9fc9a531 367 * vc/compare-w.el (compare-ignore-whitespace)
f90ff906
FD
368 (compare-ignore-case, compare-windows-dehighlight):
369 * vc/diff.el (diff):
9fc9a531
AH
370 * whitespace.el (whitespace-point)
371 (whitespace-font-lock-refontify, whitespace-bob-marker)
f90ff906 372 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
9fc9a531 373
65adfa20
MA
3742013-01-11 Michael Albinus <michael.albinus@gmx.de>
375
376 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
377 (auto-revert-notify-rm-watch): Ignore errors.
378 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
f90ff906
FD
379 inotify, and '(size last-write-time) for w32notify.
380 Set buffer-local `auto-revert-use-notify' to nil when adding a file
65adfa20
MA
381 watch fails - this is a fallback to the file modification check.
382 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
383 (auto-revert-notify-event-action)
384 (auto-revert-notify-event-file-name): New defuns.
385 (auto-revert-notify-handler): Use them. Implement first
386 plausibility checks.
387 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
388
43b2e2e7
JD
3892013-01-11 Julien Danjou <julien@danjou.info>
390
391 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
392 max are almost equal. Also return the correct value for V which is
393 already between 0 and 1.
394
30818a23
DA
3952013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
396
397 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
398
10e714d5
EZ
3992013-01-11 Eli Zaretskii <eliz@gnu.org>
400
401 * autorevert.el (auto-revert-notify-rm-watch)
402 (auto-revert-notify-add-watch): Fix typos in w32notify function
403 names.
404
a778dd57
MA
4052013-01-10 Michael Albinus <michael.albinus@gmx.de>
406
407 * autorevert.el (auto-revert-notify-enabled): Move up.
408 (auto-revert-use-notify): New defcustom.
409 (auto-revert-mode, global-auto-revert-mode)
410 (auto-revert-notify-add-watch, auto-revert-handler)
411 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
412 `auto-revert-notify-enabled'.
413
72781fef
EP
4142013-01-10 Elias Pipping <pipping@exherbo.org>
415
416 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
417 * doc-view.el (doc-view-document->bitmap):
418 Use doc-view-single-page-converter-function instead of
419 single-page-converter arg; adjust callers.
420
e6ed8f08
FL
4212013-01-10 Feng Li <fengli@gmail.com> (tiny change)
422
423 * progmodes/which-func.el (which-function): Understand Semantic's use
424 of overlays in imenu--index-alist.
425
327a6cca
WJ
4262013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
427
428 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
429 (Man-man-k-use-anchor): New var.
430 (Man-parse-man-k): New function.
431 (Man-completion-table): Use it.
432 (man): Flush the completion cache between uses.
433
ed911257
MA
4342013-01-10 Michael Albinus <michael.albinus@gmx.de>
435
436 * autorevert.el: Add file watch support.
437 (auto-revert-notify-enabled): New defconst.
438 (auto-revert-notify-watch-descriptor-hash-list)
439 (auto-revert-notify-watch-descriptor)
440 (auto-revert-notify-modified-p): New defvars.
441 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
442 (auto-revert-notify-handler): New defuns.
443 (auto-revert-mode, global-auto-revert-mode): Remove file watches
444 when mode is disabled.
445 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
446 (auto-revert-buffers): Add file watches for active buffers.
447
58cc0a01
DA
4482013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
449
450 * cus-start.el (toplevel): Only allow float values for
451 scroll-up-aggressively and scroll-down-aggressively.
452 Allow any number for line-spacing.
453
bbc7ff25
SM
4542013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
455
456 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
457 (doc-view-pdf->png-converter-function): Use mupdf if available.
458 (doc-view-djvu->png-converter-function)
459 (doc-view-ps->png-converter-function): Remove.
460 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
461 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
462 (doc-view-already-converted-p): Adjust accordingly.
463 (doc-view-mode-p): Simplify.
464 (doc-view-enlarge): Use setq-local.
465 (doc-view-pdf->png-converter-ghostscript)
466 (doc-view-djvu->png-converter-ddjvu)
467 (doc-view-pdf->png-converter-mupdf): Rework to call
468 doc-view-start-process directly.
469 (doc-view-pdf/ps->png): Simplify accordingly.
470 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
471 (doc-view-document->bitmap): Rename from doc-view-document->png.
472 (doc-view-convert-current-doc): Merge pdf and djvu cases.
473 (doc-view-set-slice-from-bounding-box): Fix completion table.
474 (doc-view-mode): Use add-hook for after-revert-hook.
475
3c855b96
GM
4762013-01-10 Glenn Morris <rgm@gnu.org>
477
478 * emacs-lisp/authors.el (authors-ignored-files)
479 (authors-valid-file-names, authors-renamed-files-alist):
480 Add some more entries.
481
3f9549e8 4822013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
08ce64e6
SM
483
484 * image-mode.el (image-mode-winprops): Don't throw away the fallback
485 `t' pseudo-window entry.
486
3f9549e8 4872013-01-10 Alan Mackenzie <acm@muc.de>
8cff5feb
AM
488
489 Fix bugs in the c-parse-state mechanism. Reuse some markers
490 instead of continually generating new ones.
491
492 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
493 (c-state-old-cpp-end-marker): New variables.
494 (c-append-lower-brace-pair-to-state-cache): Start a backward
495 search for "}" definitively outside CPP constructs.
496 (c-remove-stale-state-cache): Inform the caller of a need to
497 search back for a brace pair in certain circumstances.
498 (c-state-maybe-marker): New macro.
499 (c-parse-state): Reuse markers when appropriate.
500
3f9549e8 5012013-01-10 Glenn Morris <rgm@gnu.org>
89c0dda8
GM
502
503 * simple.el (execute-extended-command): Doc fix.
504 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
505
3f9549e8 5062013-01-10 Chong Yidong <cyd@gnu.org>
5b64ccd7
CY
507
508 * faces.el (read-face-name): Doc fix.
509
b14abca9
RW
5102013-01-10 Roland Winkler <winkler@gnu.org>
511
512 * emacs-lisp/crm.el: Allow any regexp for separators.
513 (crm-default-separator): All spaces around the default comma separator.
514 (crm--completion-command): New macro.
515 (crm-completion-help, crm-complete, crm-complete-word): Use it.
516 (crm-complete-and-exit): Handle non-single-char separators.
517
2b541f9a
EP
5182013-01-09 Elias Pipping <pipping@lavabit.com>
519
520 * doc-view.el: Add support for DjVu (bug#13164).
521 (doc-view-djvu->png-converter-function): New config var.
522 (doc-view-single-page-converter-function, doc-view--image-type)
523 (doc-view--image-file-extension): New vars.
524 (doc-view-mode): Initialize them.
525 (doc-view-goto-page): Use them.
526 (doc-view-mode-p): Add support for ddjvu.
527 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
528 (doc-view-set-up-single-converter): New funs.
529 (doc-view-pdf/ps->png): Extend for djvu.
530 (doc-view-document->png): Rename from doc-view-pdf->png.
531 (doc-view-convert-current-doc): Handle djvu.
532 (doc-view-insert-image, doc-view-display)
533 (doc-view-already-converted-p): Don't hardcode png.
534 (doc-view-set-doc-type): Recognize djvu docs.
535
85f17e35
EP
5362013-01-09 Elias Pipping <pipping@lavabit.com>
537
538 * doc-view.el: Add support for mupdf converter (bug#13164).
539 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
540 (doc-view-ps->png-converter-function): New config vars.
541 (doc-view-pdf->png-converter-ghostscript)
542 (doc-view-ps->png-converter-ghostscript)
543 (doc-view-pdf->png-converter-mupdf): New functions.
544 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
545
ccd04887
MA
5462013-01-09 Jürgen Hötzel <juergen@archlinux.org>
547
548 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
549 first in session cache: When `tramp-own-remote-path' is in
550 `tramp-remote-path', the remote path is only set in the session
551 cache.
552
c5ad92de
GM
5532013-01-09 Glenn Morris <rgm@gnu.org>
554
fb9f7146
GM
555 * emacs-lisp/trace.el (trace-function-foreground)
556 (trace-function-background): Doc fix.
c5ad92de 557
39a0786e
JL
5582013-01-09 Juri Linkov <juri@jurta.org>
559
560 * international/mule-cmds.el (read-char-by-name): Move let-binding
561 of completion-ignore-case around completing-read to fix regression
562 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
563 `string-match-p' using the nil value of `case-fold-search' and
564 `completion-ignore-case' in `completion-pcm--all-completions'.
565 (Bug#12615).
566
fb9f7146 5672013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
568
569 * progmodes/compile.el (compilation-parse-errors):
570 Fix typo. (Bug#13369)
571
fb9f7146 5722013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
573
574 * comint.el (comint-send-input): Check size of buffer before
575 waiting for process output, in case already accepted. (Bug#13290)
576
677d5c92
PE
5772013-01-09 Paul Eggert <eggert@cs.ucla.edu>
578
579 Spelling fixes.
580 * net/tramp-adb.el (tramp-adb-get-toolbox):
581 Fix misspelling of 'unknown'.
582
073ca75b
JL
5832013-01-08 Juri Linkov <juri@jurta.org>
584
585 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
586 * progmodes/flymake.el (flymake-errline, flymake-warnline):
587 Use underline style wave on terminals that support it. (Bug#13000)
588
a4648137
SM
5892013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
590
4bdc3526
SM
591 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
592 the predicate returns nil.
593
a4648137
SM
594 * simple.el: Use lexical-binding.
595 (primitive-undo): Use pcase.
596 (minibuffer-history-isearch-push-state): Use a closure.
597
3bace969
AH
5982013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
599
600 * simple.el (primitive-undo): Move from undo.c.
601
a731fc1b
SM
6022013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
603
1c851e98
SM
604 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
605 (cvs-mode-remove-handled): Use it (bug#13380).
606
a731fc1b
SM
607 * emacs-lisp/nadvice.el (advice--tweak): New function.
608 (advice--remove-function, advice--subst-main): Use it.
609
610 * emacs-lisp/advice.el: Update commentary.
611
2a22c83b
MA
6122013-01-08 Michael Albinus <michael.albinus@gmx.de>
613
a731fc1b
SM
614 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
615 Remove spurious entry.
2a22c83b 616
83c1803a
GM
6172013-01-08 Glenn Morris <rgm@gnu.org>
618
619 * net/tramp.el (tramp-default-host-alist): Add :version.
620
8a2e287c
JL
6212013-01-08 Juri Linkov <juri@jurta.org>
622
623 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
624 single completion. (Bug#12456)
625 (info--manual-names): Expand node completions into an explicit list
626 before appending it to another list. Filter out internal buffers
627 with the leading space in the buffer name. (Bug#10771)
628
c6a22ce2
JL
6292013-01-08 Juri Linkov <juri@jurta.org>
630
631 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
632 that defaults to the Top node.
633 (Info-goto-node, Info-read-node-name): Doc fix to mention that
634 the short format (FILENAME) goes to the Top node.
635 (Info-build-node-completions): Rename arg `file' to `filename'.
636 (Bug#13365)
637
acfe10b7
BG
6382013-01-07 Bastien Guerry <bzg@gnu.org>
639
a731fc1b
SM
640 * menu-bar.el (menu-bar-search-documentation-menu):
641 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
642
6432013-01-07 Bastien Guerry <bzg@gnu.org>
644
645 * apropos.el (apropos-do-all): Update docstring.
646 (apropos-user-option-button): New face.
647 (apropos-user-option): Rename from `apropos-variable' and update
648 docstring.
649 (apropos-variable): Rewrite, now show all variables by default.
650 (apropos-print): Mention "User option" instead of "Variable" when
651 printing doc for user options. (Bug#13276)
652
62bcf670
JH
6532013-01-07 Jürgen Hötzel <juergen@archlinux.org>
654
655 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
656 Handle filename correctly, when parsing "source -> target" symlink
657 output.
658 (tramp-adb-handle-set-file-times): New defun.
659
4986fa21
SM
6602013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
661
662 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
663 advice list when the interactive-spec of ad-Advice-* changes.
664
3bee311e
KY
6652013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
666
667 * wid-edit.el (widget-default-get): Work for inlined elements.
668 (Bug#12670)
669
b49eebcc
MA
6702013-01-07 Michael Albinus <michael.albinus@gmx.de>
671
672 * net/tramp.el (tramp-default-host-alist): New defcustom.
673 (tramp-find-host): Use it.
4986fa21 674 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
675 `eshell-directory-change-hook'.
676
677 * net/tramp-adb.el (top): Add adb specific entry in
678 `tramp-default-host-alist'.
679 (tramp-adb-file-name-host): Remove function.
680 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
681 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
682
3bee311e 683 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 684
84f6744a
JH
6852013-01-06 Jürgen Hötzel <juergen@archlinux.org>
686
687 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
688
b6cfbcd0
MA
6892013-01-06 Michael Albinus <michael.albinus@gmx.de>
690
691 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 692 consist of more than one digit.
4986fa21
SM
693 (tramp-adb-file-name-handler-alist):
694 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
695 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
696 (tramp-adb-handle-file-exists-p): Remove function.
697 (tramp-adb-file-name-host): New defun.
698 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
699 Use it.
700 (tramp-adb-maybe-open-connection): Set "remote-path" property.
701
58ba7b1b
CY
7022013-01-06 Chong Yidong <cyd@gnu.org>
703
704 * vc/vc.el (vc-next-action): Detect buffer modifications
705 conflicting with locking VCS operation (Bug#11490).
706
707 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
708
f4566fe9
MA
7092013-01-05 Michael Albinus <michael.albinus@gmx.de>
710
711 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
712 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
713
838cf298
MA
7142013-01-05 Jürgen Hötzel <juergen@archlinux.org>
715
716 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
717 parsing of ls output using regular expression (handle filenames
718 with spaces). Use virtual device number.
719 (tramp-do-parse-file-attributes-with-ls): New defun (Code
720 cleanup).
721
1bd71e9f
DU
7222013-01-04 Daiki Ueno <ueno@gnu.org>
723
724 * epg.el: Silence byte-compiler warnings.
725 (epg--start): Use delete-char instead of delete-backward-char.
726 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
727
00cd4c1c
DU
7282013-01-04 Daiki Ueno <ueno@gnu.org>
729
730 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
731 Suggested by Eli Zaretskii <eliz@gnu.org>.
732
f99ced35
MA
7332013-01-04 Michael Albinus <michael.albinus@gmx.de>
734
735 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
736 non-negative integers. Otherwise, the default values are used.
737 (tramp-convert-file-attributes): Convert uid and gid to integers.
738
0f668a4d 7392013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 740
d2be4dcc
GM
741 * term.el (term-handle-colors-array): Ensure face attributes
742 are fully specified, not nil. (Bug#13337)
743
5b00b749
GM
744 * term.el (term-default-fg-color, term-default-bg-color):
745 Fix custom type.
746
220740a3
GM
747 * progmodes/etags.el (tags-compression-info-list): Doc fix.
748 (tag-find-file-of-tag-noselect): Check auto-compression-mode
749 rather than 'jka-compr being loaded. (Bug#13338)
750
bdd9367d
WD
7512013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
752
753 * icomplete.el (icomplete-completions):
754 Honor icomplete-prospects-height once more following
755 2012-11-29 changes. (Bug#13224)
756
96dd18b1
SM
7572013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
758
c0bd248c
SM
759 * subr.el (internal--called-interactively-p--get-frame): Find aliases
760 of called-interactively-p as well (bug#13237).
761
4a74c818
SM
762 * view.el (view--enable, view--disable): Rename from view-mode-enable
763 and view-mode-disable and assume it's called from view-mode.
764 (view-mode-enable, view-mode-disable): Redefine as obsolete
765 compatibility layer above view-mode.
766 (view-mode-enter): Call `view-mode'.
767
768 * files.el (after-find-file): Call `view-mode'.
769
96dd18b1
SM
770 * doc-view.el (doc-view-scale-internally): New var.
771 (doc-view-enlarge, doc-view-insert-image): Obey it.
772
c2cf1829
DU
7732013-01-03 Daiki Ueno <ueno@gnu.org>
774
775 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
776 exist. (Bug#13344)
777
ad235a8b
GM
7782013-01-03 Glenn Morris <rgm@gnu.org>
779
a8aa6c2d
GM
780 * mail/rmail.el (rmail-set-header-1): Ignore case.
781 Handle multi-line headers. (Bug#13330)
782
a6d6c20b
GM
783 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
784 Handle paragraph starting at beginning of buffer.
785
ed5bdeb9
GM
786 * subr.el (eval-after-load): Don't purecopy the form, so that it
787 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
788
ad235a8b
GM
789 * emacs-lisp/byte-run.el (defun): Place cl declarations
790 after any interactive spec. (Bug#13265)
791
9539d465 7922013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
793
794 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
795 defun. Don't check for DECL if DOCSTRING isn't a string.
796 (defun): Likewise.
797
9539d465 7982013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 799
5ee1772e
GM
800 * eshell/em-cmpl.el (eshell-pcomplete):
801 More thoroughly imitate pcomplete. (Bug#13293)
802
4cddca30
GM
803 * files.el (parse-colon-path): Doc fix. (Bug#12351)
804 Return nil for empty path elements. (Bug#13296)
805
9539d465 8062013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
807
808 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
809 order to improve efficiency (Based on Daniel Colascione's
810 <dancol@dancol.org> patch). (Bug#13182)
811
9539d465 8122013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
813
814 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
815
9539d465 8162013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
817
818 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
819 neither DOCSTRING nor DECL was given. (Bug#13316)
820
aca3d51d
MA
8212013-01-02 Michael Albinus <michael.albinus@gmx.de>
822
823 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
824 `error' call.
825 (tramp-do-copy-or-rename-file): Ignore errors when calling
826 `set-file-extended-attributes'.
827
4986fa21
SM
828 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
829 Add handler for `file-acl'.
aca3d51d
MA
830 (tramp-smb-handle-file-acl): New defun.
831
87e65f96
JB
8322013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
833
834 * calc/README: Mention ISO 8601 week-numbering dates.
835
0aac98ac
MR
8362013-01-01 Martin Rudalics <rudalics@gmx.at>
837
838 * view.el (view-mode-enable): New argument run-view-mode-hook.
839 Run view-mode-hook only when it's non-nil (Bug#13315).
840 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
841 argument t.
842
1a82330c
JH
8432012-12-31 Jürgen Hötzel <juergen@archlinux.org>
844
845 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
846 (No device connected, invalid device name). (Bug #13299)
847
27fcfe31
MR
8482012-12-31 Martin Rudalics <rudalics@gmx.at>
849
850 * window.el (window-resizable--p): Rename to window-resizable-p.
851 (window-resize-no-error): New function.
852
853 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
854 broken in fix from 2012-12-28.
855
96c052a5
SM
8562012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
857
858 * subr.el (special-form-p): Don't signal errors on undef aliases.
859
fd1f1603
JB
8602012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
861
862 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
863 `math-parse-iso-date' when it looks like it might be needed.
864 Allow times of 24:00.
fd1f1603
JB
865 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
866 of 24:00.
867
8db39aeb
GM
8682012-12-30 Glenn Morris <rgm@gnu.org>
869
870 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
871 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
872 (rmail-summary-displayed, rmail-summary): Declare.
873 (mairix-rmail-display): Just require rmail.
874
d5e5e7b4 8752012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
876
877 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
878 check for the tarball contents.
879
d5e5e7b4 8802012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
881
882 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
883 tarfile content listings (Bug#13136).
884
d5e5e7b4 8852012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 886
96c052a5
SM
887 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
888 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 889
4f752957
MA
8902012-12-30 Michael Albinus <michael.albinus@gmx.de>
891
3ee24a3b
MA
892 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
893 integers, if they are real numbers. (Bug#13282)
894
4f752957
MA
895 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
896 Return `t' on success.
897
96c052a5
SM
898 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
899 Add handler for `set-file-selinux-context'.
4f752957 900
eff2eb58
MA
9012012-12-29 Michael Albinus <michael.albinus@gmx.de>
902
903 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
904 (tramp-sh-handle-set-file-acl): Return `t' on success.
905
ccad023b
EZ
9062012-12-29 Eli Zaretskii <eliz@gnu.org>
907
96c052a5
SM
908 * files.el (backup-buffer-copy, basic-save-buffer-2):
909 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 910 instead of signaling an error. (Bug#13298)
7e56b103 911 (basic-save-buffer): Likewise.
ccad023b 912
ccb1c17e
FEG
9132012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
914
915 * progmodes/python.el: Support other commands triggering
916 python-indent-line so indentation cycling continues to work.
917 (python-indent-trigger-commands): New defcustom.
918 (python-indent-line): Use it.
919
16768034
FEG
9202012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
921
922 * progmodes/python.el (python-shell-send-region): Add blank lines
923 for non sent code so backtraces remain correct.
924
66164d2f
FEG
9252012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
926
927 * progmodes/python.el: Remove cl dependency.
928 (python-syntax-count-quotes): Replace incf call.
929 (python-fill-string): Replace setf call.
930
761231d1
DC
9312012-12-29 Damien Cassou <damien.cassou@gmail.com>
932
43ebd12b 933 * info.el (info-other-window): New arg, for consistency with info.
761231d1 934
7c3e220a
MR
9352012-12-28 Martin Rudalics <rudalics@gmx.at>
936
96c052a5
SM
937 * mail/rmail.el (rmail-maybe-display-summary):
938 Rewrite (Bug#13066).
7c3e220a 939
361828b5
AS
9402012-12-28 Andreas Schwab <schwab@linux-m68k.org>
941
942 * epg.el (epg--start): Modify process-environment locally.
943
23bd348c
DU
9442012-12-28 Daiki Ueno <ueno@gnu.org>
945
946 * epg.el: Support pinentry-curses.
947 Suggested by Werner Koch in
948 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
949 (epg-agent-file, epg-agent-mtime): New variable.
950 (epg--start): Record the modified time of gpg-agent socket file,
951 to restore Emacs frame after pinentry-curses termination.
952 (epg-wait-for-completion): Restore Emacs frame here.
953
313f39aa
JL
9542012-12-27 Juri Linkov <juri@jurta.org>
955
956 * info.el (Info-file-completions): New variable.
957 (Info-read-node-name-1): Complete node names in the Info file
958 when a file name is given. Call `Info-build-node-completions'
959 with a file name.
960 (Info-build-node-completions): Add new arg `file'. When it is
961 non-nil, visit it in a temporary buffer and cache its completions in
962 `Info-current-file-completions'. Move most of the function body to
963 `Info-build-node-completions-1'.
964 (Info-build-node-completions-1): New function with the body from
965 `Info-build-node-completions'. (Bug#12456)
966
a45b7647
JL
9672012-12-27 Juri Linkov <juri@jurta.org>
968
969 * frame.el (frame-maximization-style): Remove user option.
970 (cycle-frame-maximized): Remove function.
971 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
972 (toggle-frame-fullscreen): New command bound to <f11> instead of
973 `toggle-frame-maximized'.
974 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
975
10ffd0be
MA
9762012-12-27 Michael Albinus <michael.albinus@gmx.de>
977
978 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
979
980 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
981 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
982 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
983 for `file-accessible-directory-p'. (Bug#13275)
984
fd146719
SS
9852012-12-27 Sam Steingold <sds@gnu.org>
986
987 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
988 continuations, see <http://stackoverflow.com/questions/3582436>.
989
82e2a1f0 9902012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
991
992 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
993 "module" and "def" to have indentation before them.
994 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 995
ea0857a1
DG
996 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
997
82e2a1f0 9982012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
999
1000 Speed up fontification where there's large brace blocks.
1001 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1002 to a call of c-beginning-of-decl-1.
1003
c34339f3
VS
10042012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1005
1006 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
1007 (comint-postoutput-scroll-to-bottom):
1008 Call comint-adjust-window-point (Bug#13248).
c34339f3 1009
78269b95
DG
10102012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1011
1012 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1013 Rakefile regexp.
1014 (auto-mode-alist): Associate .gemspec files with ruby-mode
1015 (https://bugs.ruby-lang.org/issues/5453).
1016
bd8c13f9
JH
10172012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1018
96c052a5
SM
1019 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1020 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 1021 CyanogenMod).
bd8c13f9
JH
1022 (tramp-adb-handle-file-attributes)
1023 (tramp-adb-handle-insert-directory)
1024 (tramp-adb-handle-file-name-all-completions): Use it.
1025 (tramp-adb-get-toolbox): New defun. Check for remote shell
1026 implementation (BusyBox or Toolbox).
1027
dc646358
CK
10282012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1029
1030 * startup.el (initial-buffer-choice): Allow function as value
1031 (Bug#13251).
1032 (command-line-1): Handle case where initial-buffer-choice
1033 specifies a function.
1034 * server.el (server-execute): Handle case where
1035 initial-buffer-choice specifies a function.
1036
e7d52a4d
LI
10372012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1038
1039 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1040 its own function.
1041 (smtpmail-try-auth-methods): Forget the user name/password if the
1042 login is unsuccessful (bug#12424).
1043
cdb07539
MA
10442012-12-22 Michael Albinus <michael.albinus@gmx.de>
1045
1ef5f225
MA
1046 * notifications.el (notifications-notify): Protect body with
1047 `with-demoted-errors'.
1048
96c052a5
SM
1049 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1050 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
1051 change.
1052
594f37aa
CY
10532012-12-21 Chong Yidong <cyd@gnu.org>
1054
1055 * sort.el (sort-subr): Doc fix (Bug#13056).
1056
a4b0cca1 10572012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 1058
acc650b8
BG
1059 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1060
0e9c7693
MA
10612012-12-21 Michael Albinus <michael.albinus@gmx.de>
1062
1063 * simple.el (process-file): Overwrite stderr file, if exists.
1064
c6609164
DU
10652012-12-21 Daiki Ueno <ueno@gnu.org>
1066
1067 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 1068 (epg-error): Set `error-message' property.
c6609164 1069
aa26f345
CY
10702012-12-21 Chong Yidong <cyd@gnu.org>
1071
34b4b7eb
CY
1072 * international/mule-cmds.el (read-char-by-name): Signal an error
1073 if the user does not supply a valid character (Bug#13177).
1074
aa26f345
CY
1075 * simple.el (transpose-subr-1): Preserve marker positions by
1076 changing the insertion sequence (Bug#13122).
1077
05c22d87
KD
10782012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1079
1080 * simple.el (kill-region): Deactivate mark even for empty regions
1081 (Bug#13169).
1082
f5733f87
CY
10832012-12-21 Chong Yidong <cyd@gnu.org>
1084
1085 * help-fns.el (describe-variable): Make sure we get the right
1086 buffer name (Bug#13105). Suggested by Kelly Dean.
1087
fab6916d
MM
10882012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1089
1090 * comint.el (comint-redirect-previous-input-string): New variable.
1091 (comint-redirect-setup, comint-redirect-cleanup)
1092 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1093 (comint-redirect-preoutput-filter): Fix verbose message.
1094
91b982a0
MA
10952012-12-20 Michael Albinus <michael.albinus@gmx.de>
1096
1097 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1098 is too long for Tramp. See discussion in
1099 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1100
1101 * progmodes/compile.el (compilation-start): Remove line escape
1102 template.
1103
87523aed
DA
11042012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1105
1106 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1107 Adjust comment.
1108
ee3c0aec
JB
11092012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1110
1111 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1112 following non-comment text (bug#13207).
1113 (lm-header-multiline): Continuation lines need to be indented more than
1114 the first line.
1115 (lm-homepage): New function.
1116 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 1117
4a74c818
SM
11182012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1119
f4d79bd0
SM
1120 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1121 very beginning of a hunk (e.g. killing the first line).
1122
3c532af6
MA
11232012-12-19 Michael Albinus <michael.albinus@gmx.de>
1124
1125 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1126 and text properties from returned ACL string.
1127 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1128 for "setfacl" command.
1129
e0d01ef3
MA
11302012-12-18 Michael Albinus <michael.albinus@gmx.de>
1131
1132 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1133 `tramp-cleanup-this-connection', when the process has died.
1134 (Bug#13151)
1135
2387610d
SM
11362012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1137
1138 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1139
19156242
KR
11402012-12-17 Kevin Ryde <user42@zip.com.au>
1141
1142 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1143
53b6a8b1
MA
11442012-12-17 Michael Albinus <michael.albinus@gmx.de>
1145
1146 Add support for preserving ACL entries of files.
1147
1148 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1149 `set-file-acl' handlers.
1150
19156242
KR
1151 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1152 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1153
19156242
KR
1154 * net/tramp-compat.el (tramp-compat-copy-file):
1155 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1156
19156242
KR
1157 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1158 Add `file-acl' and `set-file-acl' handlers.
1159 (tramp-gvfs-handle-copy-file):
1160 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1161 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1162 New defuns.
53b6a8b1 1163
19156242
KR
1164 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1165 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
1166 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1167 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
1168 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1169 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1170
19156242
KR
1171 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1172 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
1173 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1174
6ae57a67
KD
11752012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1176
1177 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 1178 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
1179 *Metahelp* with a leading space (Bug#13190).
1180
7c3d167f
RF
11812012-12-16 Romain Francoise <romain@orebokech.com>
1182
1183 * files.el (file-extended-attributes)
1184 (set-file-extended-attributes): New functions.
1185 (backup-buffer): Use them to handle both SELinux context and ACL
1186 entries.
1187 (backup-buffer-copy): Work with an alist of extended attributes,
1188 rather than an SELinux context.
1189 (basic-save-buffer-2): Ditto.
1190
19b748ad
TM
11912012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1192
1193 * battery.el (battery-bsd-apm): New function.
1194
70042c64
JB
11952012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1196
1197 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1198 standard date formats.
1199
279f9b06
JL
12002012-12-15 Juri Linkov <juri@jurta.org>
1201
1202 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1203 `isearch-insert-char-by-name'.
1204 (with-isearch-suspended): New defmacro with body mostly from
1205 `isearch-edit-string' except the part that sets
1206 `isearch-new-string' and `isearch-new-message'.
1207 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1208 body that sets `isearch-new-string' and `isearch-new-message'.
1209 (isearch-insert-char-by-name): New command.
1210 * international/mule-cmds.el (read-char-by-name): Let-bind
1211 `enable-recursive-minibuffers' to t.
1212 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1213
8370def5
JL
12142012-12-15 Juri Linkov <juri@jurta.org>
1215
1216 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1217 (Bug#13175)
1218
178fb95d
CS
12192012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1220
1221 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1222 the prompt. (Bug#13045)
1223
a5f74442
GM
12242012-12-14 Glenn Morris <rgm@gnu.org>
1225
1226 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1227 Try to include filename in non-bytecomp warning. (Bug#13132)
1228
97976f9f
PE
12292012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1230
1231 Fix permissions bugs with setgid directories etc. (Bug#13125)
1232 * files.el (backup-buffer): Don't rely on 9th output of
1233 file-attributes, as it's now a placeholder. Instead, use the new
1234 optional arg of file-ownership-preserved-p.
1235 (file-ownership-preserved-p): New optional arg GROUP.
1236 Fix mishandling of setuid directories that would cause this
1237 function to return t when it should have returned nil.
1238 Document what happens if the file does not exist, and when
1239 it's not known whether the ownership will be preserved.
1240 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1241 Likewise.
1242 (tramp-get-local-gid): Use group-gid for integer, as that's
1243 faster and more reliable.
1244
016b2a42
JD
12452012-12-14 Julien Danjou <julien@danjou.info>
1246
19156242
KR
1247 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1248 Update keywords list, data type and PL/pgSQL.
016b2a42 1249
665e5e07
DA
12502012-12-14 Dave Abrahams <dave@boostpro.com>
1251
1252 * vc/ediff-util.el (ediff-buffer-type): New function.
1253 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1254 rather than taking it as as argument.
1255 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1256
d72e9e92
RC
12572012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1258
1259 * json.el: Add pretty-print option (bug#12634).
1260 (json-encoding-separator, json-encoding-default-indentation)
1261 (json--encoding-current-indentation, json-encoding-pretty-print)
1262 (json-encoding-lisp-style-closings): New vars.
1263 (json--with-indentation): New macro.
1264 (json-encode-hash-table, json-encode-alist, json-encode-plist)
1265 (json-encode-array): Use it to obey json-encoding-pretty-print.
1266 (json-pretty-print-buffer, json-pretty-print): New commands.
1267
dbb530d9
DG
12682012-12-14 Dmitry Gutov <dgutov@yandex.ru>
1269
1270 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1271 Extract `ruby-syntax-propertize-expansions'.
1272 (ruby-syntax-propertize-expansions): Only change syntax on
1273 certain string delimiters, to punctuation. This way the common
1274 functions like forward-word and thing-at-point still work.
1275 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
1276 (ruby-block-contains-point): New function.
1277 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 1278
ce0440ff
JB
12792012-12-13 Juanma Barranquero <lekktu@gmail.com>
1280
1281 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1282 unload-feature finishes even when aborting an ongoing edebug session.
1283 Also, do not worry about edebug-mode, unload-feature takes care of it.
1284
f10331bf
AS
12852012-12-13 Andreas Schwab <schwab@suse.de>
1286
1287 * net/tls.el (tls-program): Update customize type.
1288
5f3a3bb1
JB
12892012-12-13 Juanma Barranquero <lekktu@gmail.com>
1290
1291 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1292 (edebug-setup-hook, cl-read-load-hooks): Use it.
1293 (edebug-unload-function): New function. (Bug#13163)
1294
6ce21463
MA
12952012-12-13 Michael Albinus <michael.albinus@gmx.de>
1296
1297 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1298 Otherwise, there could be errors in autoloading. (Bug#13151)
1299
d754b364
JH
13002012-12-13 Jürgen Hötzel <juergen@archlinux.org>
1301
1302 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1303 sequences.
1304
727f9739 13052012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
1306
1307 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
1308 * progmodes/cc-engine.el (c-backward-comments): Add code to work
1309 around `forward-comment' not recognizing ^M as whitespace.
1310
727f9739 13112012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
1312
1313 * progmodes/python.el (python-skeleton-class)
1314 (python-skeleton-def): Do not add space after defun name.
1315
eb8006c6
SM
13162012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1317
1318 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1319 (cl--symbol-function): Remove (now that funbound is like nil).
1320
4c74b1e4
GM
13212012-12-12 Glenn Morris <rgm@gnu.org>
1322
1323 * button.el (button--area-button-p): Fix typo.
1324
37f38bca
SS
13252012-12-12 Sam Steingold <sds@gnu.org>
1326
1327 * frame.el (frame-maximization-style): New user option.
1328 (toggle-frame-maximized): Toggle frame maximization according to
1329 `frame-maximization-style', bound to <f11>.
1330 (cycle-frame-maximized): Cycle between all maximization styles and
1331 non-maximized frame, bound to shift-<f11>.
1332
fd49a218
DC
13332012-12-12 David Cadé <codename68@gmail.com>
1334
1335 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1336
69e1c203
JB
13372012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1338
1339 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1340 (eieio-override-prin1): Don't quote kewords and booleans.
1341 (object-write) <eieio-default-superclass>: Don't put closing parens
1342 on new line, avoid needless empty lines, align values that are objects
1343 with the slot keyword (instead of beginning on the same line).
1344 (eieio-list-prin1): Align value with slot keyword; increase
1345 eieio-print-depth before printing members of the list.
1346
4b0df848
SM
13472012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1348
030f4af5
SM
1349 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1350 a display text-property.
1351 (report-emacs-bug-hook): Don't bother deleting it any more.
1352
6ac1f8ca
SM
1353 * hilit-chg.el (highlight-save-buffer-state): Delete.
1354 Use with-silent-modifications instead.
1355 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1356
4b0df848
SM
1357 * button.el: Handle buttons in display text-properties.
1358 (button--area-button-p, button--area-button-string):
1359 Use (STRING . STRING-POS) representation instead of just STRING.
1360
d46d2d3a
EZ
13612012-12-11 Eli Zaretskii <eliz@gnu.org>
1362
1363 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1364 subdirectory be skipped.
1365
a0099d31
GM
13662012-12-11 Glenn Morris <rgm@gnu.org>
1367
36327e4f
GM
1368 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1369
a0099d31
GM
1370 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1371 Treat preprocessor lines embedded in continuations like comments.
1372 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
1373
ff3f6c26
JB
13742012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
1375
1376 * calc/calc.el (calc-standard-date-formats): Add more date
1377 formats.
1378 * calc/calc-forms.el (math-parse-iso-date): New function.
1379 (math-parse-date): Use `math-parse-iso-date' when appropriate.
1380 (math-parse-iso-date-validate): Add extra error checking.
1381 (calc-date-notation): Add ability to access new date formats.
1382
ed6f2cd4
SM
13832012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1386 font-lock as well as when there's no text-property.
1387
c868b919
J
13882012-12-10 Jambunathan K <kjambunathan@gmail.com>
1389
1390 * hi-lock.el: Refine the choice of default face.
1391 (hi-lock-keyword->face): New function. Use it wherever we used
1392 cadadadr instead.
1393 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1394 (hi-lock--last-face): Remove var.
1395 (hi-lock--unused-faces): New var to replace it.
1396 (hi-lock-read-face-name): Use/maintain it.
1397 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
1398 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1399 if it has another face.
1400
2b8c9064
EZ
14012012-12-10 Eli Zaretskii <eliz@gnu.org>
1402
1403 * subr.el (w32notify-handle-event): New function.
1404 (inotify-handle-event): Doc fix.
1405
81606b10
RS
14062012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1407
1408 * subr.el (inotify-event-p, inotify-handle-event): New functions.
1409
265c2fbf 14102012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
1411
1412 * simple.el (just-one-space): Doc fix.
1413
265c2fbf 14142012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 1415
c868b919 1416 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 1417
265c2fbf 14182012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
1419
1420 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1421 narrowed buffer (bug#12361).
1422
265c2fbf 14232012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
1424
1425 * vc/vc-hooks.el (vc-state): Doc fix.
1426
265c2fbf 14272012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
1428
1429 * mail/rmail.el (rmail-maybe-display-summary):
1430 Preserve buffer, in case select-window changes it. (Bug#13066)
1431
265c2fbf 14322012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
1433
1434 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1435 cl-load-hook where they belong.
1436
bad162fd
SM
14372012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1438
1439 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1440
ca065258
EZ
14412012-12-09 Eli Zaretskii <eliz@gnu.org>
1442
1443 Parallelize byte compilation on MS-Windows.
1444 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 1445 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
1446 (WINS_BASIC): Define as concatenation of the above.
1447 (compile): Subdivide into 4 separate and independent jobs that can
1448 be run in parallel.
1449 (compile0-CMD, compile0-SH): New targets for compiling
1450 COMPILE_FIRST files, which are prerequisites for the rest of the
1451 byte-compilation.
bad162fd
SM
1452 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1453 New targets for parallel compilation with cmd.exe.
ca065258
EZ
1454 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1455 compiling under a Unixy shell.
1456
5dea55d2
CY
14572012-12-09 Chong Yidong <cyd@gnu.org>
1458
1459 * simple.el (set-mark-default-inactive): Delete this
1460 accidentally-introduced option.
1461 (set-mark-command, exchange-point-and-mark): Remove calls.
1462
c6c08d3f
GM
14632012-12-09 Glenn Morris <rgm@gnu.org>
1464
1465 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1466 Respect a defcustom's :set function, if appropriate. (Bug#109)
1467 (eval-defun): Doc fix.
1468
858aab4c
JL
14692012-12-08 Juri Linkov <juri@jurta.org>
1470
1471 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1472 (Info-fontify-node, Info-bookmark-make-record): Remove the
1473 file extension from Info-current-file (Bug#13016).
1474
2e4ad7e5
SM
14752012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1476
1477 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1478 point, still provide some default.
1479 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1480 names, since we don't use it right now. Actually return the list.
1481 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1482
75498db0
CY
14832012-12-07 Chong Yidong <cyd@gnu.org>
1484
ffe7ba8f
CY
1485 * novice.el (disabled-command-function): Remove a spurious help
1486 xref (Bug#13043). Suggested by Kelly Dean.
1487
454eb095
CY
1488 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1489 syntax is specified (Bug#13025).
1490
75498db0
CY
1491 * info.el (Info-set-mode-line): Remove the file extension from
1492 Info-current-file if there is one (Bug#13016).
1493
13a40633
GM
14942012-12-07 Glenn Morris <rgm@gnu.org>
1495
54c8b5ba
GM
1496 * mail/rmail.el (rmail-mime-decoded): New permanent local.
1497 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1498 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1499 and rmail-mime-decoded. (Bug#9841)
1500
13a40633
GM
1501 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
1502 (batch-unrmail, unrmail): Doc fixes.
1503 (unrmail): Respect unrmail-mbox-format.
1504 * mail/rmail.el (rmail-mbox-format): New option.
1505 (rmail-show-message-1): Respect rmail-mbox-format.
1506
4611a3cc
SM
15072012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1508
1509 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1510
1812c724
SM
15112012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1512
338bfefa
SM
1513 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
1514 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
1515 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
1516 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1517 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1518 (cl-progv): Don't rely on dynamic scoping to find the body.
1519 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1520 (cl--proclaims-deferred): Rename from the "cl-" prefix.
1521 (cl-declaim): Use backquotes.
1522 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1523 Use "cl--" prefix for the object's tag.
1524
1812c724
SM
1525 * ses.el: Use advice-add/remove.
1526 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1527 (copy-region-as-kill, yank): Use advice-add.
1528 (ses-unload-function): Use advice-remove.
1529
24fc9480
JB
15302012-12-06 Jonas Bernoulli <jonas@bernoul.li>
1531
1532 * button.el: Make them work in header-lines (bug#12817).
1533 (button-map): Add bindings for header-line and mode-line use.
1534 (button-get, button-put, button-label): `button' may now be a string.
1535 (button-activate): Don't make it a defsubst.
1536 (button--area-button-p, button--area-button-string): New functions.
1537 (make-text-button): Fix the return value when `beg' was a string.
1538 (push-button): Handle the mode-line case.
1539
853c1ffc
SM
15402012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1541
93852cb0
SM
1542 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1543 (sql-signum): Remove. Use `cl-signum' instead.
1544 (sql-read-passwd): Remove; use read-passwd instread.
1545 (sql-get-login-ext): Use read-string.
1546 (sql-get-login): Use dolist and pcase.
1547 (sql--completion-table): Rename from sql-try-completion.
1548 Use complete-with-action.
1549 (sql-mode): Don't change abbrev-all-caps globally.
1550 (sql-connect): Don't rely on dynamic scoping for `new-name'.
1551 (sql-postgres-completion-object): Initialize vars in their `let'.
1552 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1553 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1554 (sql-comint-interbase): Use a single append, without setq.
1555 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1556
853c1ffc
SM
1557 * hi-lock.el: Rework the default face and the serialize regexp code.
1558 (hi-lock--auto-select-face-defaults): Remove.
1559 (hi-lock-string-serialize-serial): Remove.
1560 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
1561 make weak.
1562 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
1563 equal string.
1564 (hi-lock-set-pattern): Adjust accordingly.
1565 (hi-lock--regexps-at-point): Simplify accordingly.
1566 (hi-lock--auto-select-face-defaults): Remove.
1567 (hi-lock--last-face): New var to replace it.
1568 (hi-lock-read-face-name): Rewrite (bug#11095).
1569 (hi-lock-unface-buffer): Arrange for the face to be the next default.
1570
5504e2c7
MA
15712012-12-06 Michael Albinus <michael.albinus@gmx.de>
1572
853c1ffc
SM
1573 * net/tramp.el (tramp-replace-environment-variables):
1574 Hide compiler warning.
5504e2c7
MA
1575 (tramp-file-name-for-operation): Remove `executable-find',
1576 `start-process', `call-process' and `call-process-region'.
1577
853c1ffc 1578 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
1579
1580 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
1581 compatibility.
1582
1583 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
1584
e1d51545
CY
15852012-12-06 Chong Yidong <cyd@gnu.org>
1586
1587 * ffap.el (ffap-replace-file-component): Fix typo.
1588
d8ad4d3f 15892012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
1590
1591 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1592 fix open-paren-like token test (bug#12785).
1593
d8ad4d3f 15942012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
1595
1596 * mail/rmailsum.el (rmail-new-summary): Tweak for
1597 rmail-maybe-display-summary changing buffer. (Bug#13066)
1598
d8ad4d3f 15992012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
1600
1601 * info.el (Info-fontify-node): Don't hide the last newline.
1602 (Bug#12272)
1603
9ad948e2
KY
16042012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
1605
1606 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1607 so as to enable message-read-from-minibuffer to expand mail aliases.
1608
4b5c89ee
SM
16092012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1610
1611 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1612 the `intangible' property.
1613 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1614
5602a53a
DD
16152012-12-05 Deniz Dogan <deniz@dogan.se>
1616
1617 * net/rcirc.el (rcirc-urls): Update documentation.
1618 (rcirc-condition-filter): New function.
1619 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1620 and exclude consecutive duplicate URLs (Bug#6082).
1621
51b890ac
MA
16222012-12-05 Michael Albinus <michael.albinus@gmx.de>
1623
d5f97f62
MA
1624 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1625 Check return code of copy command.
1626
853c1ffc
SM
1627 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1628 Use group `tramp'. Add version.
51b890ac 1629
04b14f2b
CY
16302012-12-05 Chong Yidong <cyd@gnu.org>
1631
a3680194
CY
1632 * ffap.el (ffap-url-regexp): Don't require matching at front of
1633 string (Bug#4952).
1634 (ffap-url-p): If only a substring matches, return that.
1635 (ffap-url-at-point): Use the return value of ffap-url-p.
1636 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1637 (find-file-at-point, dired-at-point, dired-at-point-prompter)
1638 (ffap-guess-file-name-at-point): Likewise.
1639 (ffap-replace-file-component): Fix typo.
1640
04b14f2b
CY
1641 * info.el (info-display-manual): Add existing Info buffers, whose
1642 files may not be in Info-directory-list, to the completion.
1643 (info--manual-names): New helper function.
1644
49596095
GM
16452012-12-05 Glenn Morris <rgm@gnu.org>
1646
1647 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1648 New functions, for detecting and resolving conflicts. (Bug#10709)
1649
b85aec93
J
16502012-12-04 Jambunathan K <kjambunathan@gmail.com>
1651
1652 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1653 (hi-lock-auto-select-face-defaults): New buffer local variable.
1654 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1655 (hi-lock-unface-buffer): Prompt user with useful defaults.
1656 With prefix arg, unhighlight all hi-lock patterns in buffer.
1657
8515507f
SM
16582012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1659
1660 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1661
72cebfb7
MA
16622012-12-04 Michael Albinus <michael.albinus@gmx.de>
1663
1664 * Makefile.in (TRAMP_SRC):
1665 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1666
0ec3f7ea
JH
16672012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1668
1669 * net/tramp-adb.el: New package.
1670
770de7cf
CY
16712012-12-04 Chong Yidong <cyd@gnu.org>
1672
ce3e7725
CY
1673 * terminal.el: Move to obsolete/.
1674
770de7cf
CY
1675 * longlines.el: Move to obsolete/.
1676
1677 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1678 Remove code referring to longlines mode.
1679
c38a186c
JL
16802012-12-03 Juri Linkov <juri@jurta.org>
1681
1682 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1683
329bfd64
AM
16842012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1685
1686 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
1687 (ispell-start-process, ispell-internal-change-dictionary):
1688 Make sure personal dictionary name is expanded after initial
1689 `default-directory' value. Use expanded strings for
1690 keep/restart checks and for value (Bug#13019).
329bfd64 1691
77a74935
JB
16922012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1693
1694 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1695
c5bc2d1d 16962012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
1697
1698 * files.el (dir-locals-read-from-file): Check file non-empty
1699 before reading. (Bug#13038)
1700
c5bc2d1d 17012012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
1702
1703 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1704 Remove any version extension before checking filename. (Bug#13006)
1705 (jka-compr-compression-info-list): Belated :version bump.
1706
c5bc2d1d 17072012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 1708
8ecba97d
CY
1709 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1710
a5bf43ba
CY
1711 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1712 (buffer-menu): Doc fix (Bug#12294).
1713
c5bc2d1d 17142012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
1715
1716 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1717 of diary-show-all-entries in the diary buffer (Bug#12994).
1718
c5bc2d1d 17192012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
1720
1721 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1722 "<STDIN>". This is binary safe.
1723
682ceaf8
JB
17242012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1725
1726 * calc/calc-forms.el (math-absolute-from-iso-dt)
1727 (math-date-to-iso-dt, math-parse-iso-date-validate)
1728 (math-iso-dt-to-date): New functions.
1729 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1730 (math-fd-isoweekday): New variables.
1731 (calc-date-notation, math-parse-standard-date, math-format-date)
1732 (math-format-date-part): Add support for more formatting codes.
1733
db47d5e9
DG
17342012-12-02 Dmitry Gutov <dgutov@yandex.ru>
1735
1736 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1737 current buffer's file name when called interactively (Bug#12488).
1738
3faf4944
JL
17392012-12-02 Juri Linkov <juri@jurta.org>
1740
1741 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 1742 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 1743
cb5d51dc
YN
17442012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
1745
1746 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1747 before using it for comparison (Bug#5297).
1748
f38cd76e
JA
17492012-12-01 Jari Aalto <jari.aalto@cante.net>
1750
1751 * textmodes/css-mode.el (css-current-defun-name): New function.
1752 (css-mode): Use it.
1753
1754 * textmodes/sgml-mode.el (html-current-defun-name): New function.
1755 (html-mode): Use it.
1756
ba03d0d9
CY
17572012-12-01 Chong Yidong <cyd@gnu.org>
1758
1759 Modularize add-log-current-defun (Bug#2224).
1760 Suggested by Jari Aalto.
1761
1762 * vc/add-log.el (add-log-current-defun-function): Doc fix.
1763 (add-log-current-defun): Move mode-specific code to other files.
1764 (add-log-lisp-like-modes, add-log-c-like-modes)
1765 (add-log-tex-like-modes): Variables deleted.
1766
1767 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1768 (lisp-mode-variables): Use it.
1769
1770 * progmodes/cc-mode.el (c-common-init):
1771 * progmodes/cperl-mode.el (cperl-mode): Set a value for
1772 add-log-current-defun-function.
1773
1774 * progmodes/m4-mode.el (m4-current-defun-name): New function.
1775 (m4-mode): Use it.
1776
1777 * progmodes/perl-mode.el (perl-current-defun-name): New.
1778 (perl-mode): Use it.
1779
853c1ffc
SM
1780 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1781 Use lisp-current-defun-name.
ba03d0d9
CY
1782
1783 * textmodes/tex-mode.el (tex-current-defun-name): New.
1784 (tex-common-initialization): Use it.
1785
1786 * textmodes/texinfo.el (texinfo-current-defun-name): New.
1787 (texinfo-mode): Use it.
1788
92eadba5
CY
17892012-12-01 Chong Yidong <cyd@gnu.org>
1790
1791 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1792 * progmodes/autoconf.el (autoconf-mode):
1793 * progmodes/js.el (js-mode):
1794 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1795 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1796 * progmodes/perl-mode.el (perl-mode):
1797 * progmodes/sh-script.el (sh-mode, sh-set-shell):
1798 * textmodes/css-mode.el (css-mode):
1799 * textmodes/sgml-mode.el (html-mode, sgml-mode)
1800 (sgml-tags-invisible, sgml-guess-indent):
1801 * textmodes/tex-mode.el (tex-common-initialization)
1802 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1803 (doctex-mode, plain-tex-mode, latex-mode):
1804 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1805
3ddbf803
KK
18062012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
1807
1808 * vc/vc-hg.el (vc-hg-next-revision):
1809 Ensure use of default "tip" output format. (Bug#6968)
1810
f0b6ae63
KS
18112012-12-01 Kim F. Storm <storm@cua.dk>
1812
1813 * startup.el (fancy-startup-tail): Add a clickable link
1814 (Bug#2176).
1815
c01bf73e
CY
18162012-12-01 Chong Yidong <cyd@gnu.org>
1817
1818 * startup.el (fancy-startup-tail): Improve the message about
1819 auto-save files (Bug#2176).
1820
f0b6ae63
KS
1821 * files.el (recover-session): Improve the descriptive message, and
1822 use substitute-command-keys.
1823
a9400458
GM
18242012-12-01 Glenn Morris <rgm@gnu.org>
1825
1826 * ido.el (ido-file-internal):
1827 Handle other-window, other-frame for dired. (Bug#13036)
1828
fb3bf6ce
GM
18292012-11-30 Glenn Morris <rgm@gnu.org>
1830
1831 * icomplete.el (icomplete-separator): Fix :version.
1832
a813fe3f
CY
18332012-11-30 Chong Yidong <cyd@gnu.org>
1834
1835 * shell.el (shell): For C-u M-x shell, use an inactive shell
1836 buffer as the default (Bug#1975).
276479fd
CY
1837 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1838 (shell-mode): Use them to reapply ansi colorization if Shell mode
1839 is re-enabled.
a813fe3f 1840
a8b733a5
CY
18412012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
1842
1843 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1844
6fccd6e8
SB
18452012-11-30 Samuel Bronson <naesten@gmail.com>
1846
1847 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1848 flag to xargs, for compatibility with BSD xargs (Bug#11703).
1849
53c9a337
TT
18502012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1851
1852 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
1853 by move-to-column (Bug#3234).
1854
ccf520bb
CY
18552012-11-30 Chong Yidong <cyd@gnu.org>
1856
1857 * longlines.el (longlines-wrap-line, longlines-encode-region):
1858 Preserve text properties (Bug#1425).
1859
171b0949
OT
18602012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1861
1862 * vc/vc.el (vc-register): Allow registering a file which is
1863 already registered with a different backend (Bug#10589).
1864
cc37e70f
J
18652012-11-29 Jambunathan K <kjambunathan@gmail.com>
1866 Stefan Monnier <monnier@iro.umontreal.ca>
1867
1868 * icomplete.el: Change separator; add ido-style commands.
1869 (icomplete-show-key-bindings): Remove custom var.
1870 (icomplete-get-keys): Remove function.
1871 (icomplete-forward-completions, icomplete-backward-completions):
1872 New commands.
1873 (icomplete-minibuffer-map): New var.
1874 (icomplete-minibuffer-setup): Use it.
1875 (icomplete-exhibit): Don't delay if the list of completions is known.
1876 (icomplete-separator): New custom.
1877 (icomplete-completions): Use it.
1878 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1879 (minibuffer-force-complete-and-exit): New command.
1880 (minibuffer--complete-and-exit): New function extracted from
1881 minibuffer-complete-and-exit.
1882 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
1883
1884 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1885 error message when the file doesn't exist (bug#12974).
1886
31646597
KD
18872012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1888
1889 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1890
e9df8f87
GM
18912012-11-29 Glenn Morris <rgm@gnu.org>
1892
824eefe4
GM
1893 * files.el (hack-dir-local-variables): Warn if try to set
1894 coding via dir-locals, since it doesn't work. (Bug#7169)
1895
4ad900d9
GM
1896 Add desktop support for restoring vc-dir buffers. (Bug#10606)
1897 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1898 Set buffer-local value of desktop-save-buffer.
1899 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1900 New functions.
1901 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
1902 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
1903
e9df8f87
GM
1904 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
1905 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
1906 Doc fix.
1907 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
1908 Doc fixes.
1909
e7c8fcc4
JB
19102012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
1911
1912 * calc/calc-forms.el (calc-date-notation): Fix regexp
1913 used to find time codes. Fix symbol for seconds.
1914
48d6d9c0
GM
19152012-11-27 Glenn Morris <rgm@gnu.org>
1916
1917 * emacs-lisp/derived.el (derived-mode-make-docstring):
1918 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
1919
369f945d
SM
19202012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1921
1922 * textmodes/table.el (table-insert): Don't use `symbol-name' on
1923 lexically scoped variables (bug#13005).
1924
5c9cf0a3 19252012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 1926
999e745e
GM
1927 * vc/vc-hooks.el (vc-mistrust-permissions):
1928 Default to t, to avoid data-loss. (Bug#11490)
98f99594 1929
5c9cf0a3 19302012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 1931
999e745e
GM
1932 * progmodes/python.el (python-indent-guess-indent-offset):
1933 If indentation is guessed make python-indent-offset buffer-local.
1934
207cb73c 1935 Fix Imenu regression.
999e745e
GM
1936 * progmodes/python.el (python-nav-beginning-of-defun):
1937 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
1938 (python-imenu-prev-index-position): New function.
1939
5c9cf0a3 19402012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
1941
1942 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
1943
1944 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 1945 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 1946
5c9cf0a3 19472012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
1948
1949 * hippie-exp.el (hippie-expand-try-functions-list):
1950 Re-autoload it. (Bug#12982)
1951
5c9cf0a3 19522012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 1953
369f945d
SM
1954 * descr-text.el (describe-char-padded-string):
1955 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 1956
5c9cf0a3 19572012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
1958
1959 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1960 and obsoletion message.
1961
5c9cf0a3 19622012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
1963
1964 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1965 the constructs to keep outside of the `cl-block' (bug#12977).
1966
5c9cf0a3 19672012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
1968
1969 * mouse.el (mouse-drag-line): Even if the line is not draggable,
1970 keep reading until we get the up-event anyway, in order to process
1971 the up-event for mouse-1-click-follows-link (Bug#12971).
1972
848a2dd1
SM
19732012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1974
1975 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1976 base function is not yet defined (bug#12965).
1977 (ad-activate-advised-definition): Use ad-compile-function.
1978 (ad-activate): Use cond.
1979
9ad79506
LL
19802012-11-25 Leo Liu <sdl.web@gmail.com>
1981
1982 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1983 (Bug#12979)
1984
e2cb57f5
VB
19852012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1986
1987 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1988 reftex-section-info-function in order to be compatible with
1989 Texinfo integration.
1990
1991 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
1992 (reftex-section-post-regexp, reftex-section-info-function):
1993 New variable.
1994 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1995 reftex-section-post-regexp, and reftex-section-info-function in order
1996 to be compatible with Texinfo integration.
1997
1998 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1999 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
2000 Texinfo integration.
2001
1c4f115d
CY
20022012-11-25 Chong Yidong <cyd@gnu.org>
2003
2004 * faces.el: Make face-spec-set more analogous to setq.
2005 (face-spec-set): Change the third arg to specify whether this
2006 function is being called via defface, customize, or a third party.
2007 Set the appropriate symbol properties. Clear the override spec if
2008 setting via Custom. Initialize face if necessary. (Bug#4988)
2009 (face-spec-recalc): Allow theme faces to completely replace the
2010 defface spec, in the same way as custom faces (Bug#8454).
2011
2012 * cus-face.el (custom-declare-face): Move face initialization to
2013 face-spec-set.
2014 (custom-theme-set-faces): Don't initialize the face name here, as
2015 that is now done in face-spec-set.
2016
2017 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2018 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2019 Simplify by using the new arg to face-spec-set.
2020
2021 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2022 reset face-override-spec too, and use custom-declare-face.
2023
c2350548
JD
20242012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2025
2026 * term/ns-win.el (ns-initialize-window-system): Move creation of
2027 fontsets here (Bug#11964).
2028
ecfc364c
VB
20292012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2030
2031 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2032 cell renaming.
2033
0917cc54
CY
20342012-11-24 Chong Yidong <cyd@gnu.org>
2035
433212bf
CY
2036 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2037 obsolete.
2038
0917cc54
CY
2039 * custom.el (custom-theme-set-variables): Use a topological sort
2040 for ordering by custom dependencies (Bug#12952).
2041 (custom--sort-vars, custom--sort-vars-1): New functions.
2042
d125ca15 20432012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
2044
2045 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2046 lexical-binding (bug#12938).
2047
d125ca15 20482012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
2049
2050 * image-mode.el (image-transform-check-size): Use assertions only
2051 for images of type imagemagick.
2052
2053 Otherwise no error, image-transform-fit-to-{width,height} is
2054 silently ignored, as before. Doc fix.
2055
d125ca15 20562012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
2057
2058 * faces.el (color-defined-p): Doc fix (Bug#12853).
2059
d125ca15 20602012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
2061
2062 * dired.el (dired-mark): Add optional arg `interactive'.
2063 Check for `use-region-p' if `interactive' is non-nil.
2064 (dired-unmark, dired-flag-file-deletion): Add optional arg
2065 `interactive'. Call `dired-mark' with the arg `interactive'.
2066 (Bug#10624)
2067
cc4c01bd
JL
2068 * wdired.el: Revert 2012-10-17 change partly and replace it with
2069 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2070 (wdired-finish-edit): Add marks for new file names to
2071 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2072 after `revert-buffer'.
2073 (wdired-do-renames): Remove calls to `dired-remove-file',
2074 `dired-add-file', `dired-add-entry'. (Bug#11795)
2075
d125ca15 20762012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 2077
dc310ed0
AM
2078 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2079
b03aabda
AM
2080 Fix bugs in the state cache. Enhance a debugging mechanism.
2081 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2082 "brace at column zero" strategy for C++.
2083 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2084 (c-parse-state-point): New variable.
2085 (c-record-parse-state-state): Record old parse state with
2086 `copy-tree'. Record previous value of point.
2087 (c-debug-parse-state-double-cons): New debugging function.
2088 (c-debug-parse-state): Call the above new function.
2089 (c-toggle-parse-state-debug): Output a confirmatory message.
2090
002c019c
SM
2091 * progmodes/cc-mode.el (c-before-change, c-after-change):
2092 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
2093 `c-after-change'.
2094
930a6273
CY
20952012-11-23 Chong Yidong <cyd@gnu.org>
2096
2097 * find-cmd.el (find-constituents): Add executable, ipath,
2098 readable, samefile, writable, daystart, regextype (Bug#12856).
2099
15c9d04e
SM
21002012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2103
2ecb2679
PE
21042012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2105
2106 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2107 definition. This fixes a bootstrap failure.
a14a5a40
PE
2108 (calc-gregorian-switch): In menu, put dates before regions.
2109 This is easier to follow, lines up better in the menu, and lets us
2110 coalesce regions that switch at the same time. Give country
15c9d04e
SM
2111 names, not "Vatican", as that's better for non-expert users.
2112 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
2113 Bohemia and Moravia (which existed then and now) and not
2114 Czechoslovakia (which didn't exist then and doesn't exist now).
2115 What is now the U.S. mostly did not switch at the same time as
2116 Britain, so omit the U.S. Correct spelling of "Britain".
2117 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 2118
723da6aa
JB
21192012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2120
2121 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2122 after the variable is changed.
2123
21fa2482
DC
21242012-11-21 Daniel Colascione <dancol@dancol.org>
2125
2126 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
2127 in SQL declarations for font-lock.
2128 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 2129
3ca2f1bf
GM
21302012-11-21 Glenn Morris <rgm@gnu.org>
2131
1bf335cf
GM
2132 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2133 (face-italic-p): Add optional argument "inherit".
2134
3ca2f1bf
GM
2135 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2136 Remove -p suffix from names, for consistency with other set-face-*.
2137 (set-face-inverse-video): Fix interactive spec.
2138 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2139 * textmodes/table.el (table--update-cell-face):
2140 Use set-face-inverse-video rather than now obsolete alias.
2141
6ef2e5ef 21422012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
2143
2144 * simple.el (line-move): Don't call line-move-partial if
2145 scroll-conservatively is in effect. (Bug#12927)
2146
6ef2e5ef 21472012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 2148
93b05041
SM
2149 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2150 Fallback on completion-at-point rather than
2151 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2152 (eshell-cmpl-initialize): Setup completion-at-point.
2153
2154 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2155
bc715d67
SM
2156 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2157
6ef2e5ef 21582012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
2159
2160 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2161 are remote, check out-of-band property for both.
2162
6ef2e5ef 21632012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
2164
2165 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2166 code rewrite.
2167
6ef2e5ef 21682012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 2169
535efd4a
PE
2170 More minor time fixes.
2171 * calendar/time-date.el: Commentary fix.
2172 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2173 too much other code depends on (0 0) time stamps.
2174 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2175 Add a couple of FIXME comments.
2176
0c93aa38
PE
2177 Minor cleanup for times as lists of four integers.
2178 * files.el (dir-locals-directory-cache):
2179 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2180 Doc fixes.
2181 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2182 * ps-bdf.el (bdf-file-newer-than-time):
2183 Process four-integers time stamps, not two. Doc fixes.
2184
23ba2705
SM
21852012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2186
2e31777b
SM
2187 * uniquify.el (uniquify-managed): Use defvar-local.
2188 (rename-buffer, create-file-buffer): Advise with advice-add.
2189 (uniquify-unload-function): Unadvise accordingly.
2190
8b62d742
SM
2191 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2192 (trace-buffer): Don't purecopy.
2193 (trace-entry-message, trace-exit-message): Add `context' arg.
2194 (trace--timer): New var.
2195 (trace-make-advice): Adjust for use in nadvice.
2196 Add `context' argument. Delay `display-buffer' via a timer.
2197 (trace-function-internal): Use advice-add.
2198 (trace--read-args): New function.
2199 (trace-function-foreground, trace-function-background): Use it.
2200 (trace-function): Rename to trace-function-foreground and redefine as
2201 an alias to that new name.
2202 (untrace-function, untrace-all): Adjust to the use of nadvice.
2203
5d0ccd95
SM
2204 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2205
3837d988
SM
2206 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2207
23ba2705
SM
2208 * subr.el (called-interactively-p-functions): New var.
2209 (internal--called-interactively-p--get-frame): New macro.
2210 (called-interactively-p, interactive-p): Rewrite in Lisp.
2211 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2212 (called-interactively-p-functions): Use it.
2213 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2214 (called-interactively-p-functions): Use it.
2215 * allout.el (allout-called-interactively-p): Don't assume
2216 called-interactively-p is a subr.
2217
b0636be7
GM
22182012-11-20 Glenn Morris <rgm@gnu.org>
2219
2220 * profiler.el (profiler-report-mode-map): Add a menu.
2221 No need to bind `q' because we derive from special-mode.
2222 (profiler-report-find-entry): Handle calls from the menu-bar.
2223
855b17af
SM
22242012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2225
14146222
SM
2226 * emacs-lisp/byte-run.el (defun-declarations-alist):
2227 Allow a compiler-macro to be a lambda expression.
2228
2229 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2230 eval-when-compile.
2231 (python-syntax-context): Add compiler-macro.
2232 (python-font-lock-keywords): Simplify with De Morgan.
2233
1000d895
SM
2234 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2235
ac5392dc
SM
2236 * files.el (load-file): Require match in minibuffer selection, as was
2237 the case in Emacs-20 before we changed the spec to allow .elc files
2238 (bug#12935).
2239
19dc7206
SM
2240 * json.el: Don't require cl since we don't use it.
2241 * color.el: Don't require cl.
2242 (color-complement): `caddr' -> `nth 2'.
2243
855b17af
SM
2244 * calendar/time-date.el (time-to-seconds): De-obsolete.
2245
e8909bdc
JB
22462012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2247
2248 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2249 year numbers.
2250 (math-date-to-julian-dt): Adjust the initial approximation for the
2251 year to deal with the new definition of the DATE.
2252
6e9f7997
DC
22532012-11-19 Daniel Colascione <dancol@dancol.org>
2254
855b17af
SM
2255 * term/w32-win.el (cygwin-convert-path-from-windows):
2256 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 2257
6a3dd257
CY
22582012-11-18 Chong Yidong <cyd@gnu.org>
2259
2260 * filecache.el (file-cache--read-list): New function.
2261 (file-cache-add-directory-list, file-cache-add-file-list)
2262 (file-cache-delete-file-list, file-cache-delete-directory-list):
2263 Use it to read a list of files or directories (Bug#12846).
2264 (file-cache-add-file, file-cache-add-directory)
2265 (file-cache-delete-file-list, file-cache-delete-file-regexp)
2266 (file-cache-delete-directory): Print an message.
2267
eef97f35
JB
22682012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
2269
2270 * calc/calc-forms.el (math-date-to-dt): Use integer date when
2271 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2272
913c8291
GM
22732012-11-18 Glenn Morris <rgm@gnu.org>
2274
2275 * image.el (insert-image, insert-sliced-image): Doc fix.
2276
2ac9538d 22772012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
2278
2279 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2280 (Bug#12810).
2281
2ac9538d 22822012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
2283
2284 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2285 response when the target file is in a subdirectory (Bug#12757).
2286
2ac9538d 22872012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
2288
2289 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2290
2ac9538d 22912012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 2292
9a5e2ee3
GM
2293 * emacs-lisp/cl-lib.el (face-underline-p):
2294 Use set-face-underline rather than the alias set-face-underline-p.
2295
65463c40 2296 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
2297 * subr.el (with-output-to-temp-buffer):
2298 Add doc xref to with-temp-buffer-window.
65463c40 2299
c9ed8e3d
JB
23002012-11-18 Juanma Barranquero <lekktu@gmail.com>
2301
2302 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2303 * calc/calc.el (math-format-date-cache): Declare.
2304
310e60d9
PE
23052012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2306
6f6b82d6
PE
2307 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2308 It also uses January 1, 1 AD as its day number 1.
310e60d9 2309 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 2310 (math-julian-date-beginning-int): Implement this.
310e60d9 2311
d7fe6352
JB
23122012-11-17 Juanma Barranquero <lekktu@gmail.com>
2313
2314 * descr-text.el (quail-find-key):
2315 * dired.el (desktop-file-name):
2316 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2317 * generic-x.el (comint-mode, comint-exec):
2318 * image-dired.el (widget-forward):
2319 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2320 (speedbar-change-expand-button-char)
2321 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2322 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2323 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2324 (widget-field-action, widget-value-set):
2325 * speedbar.el (imenu--make-index-alist):
2326 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2327 (ring-length, ring-insert):
2328 * vcursor.el (compare-windows-skip-whitespace):
2329 * woman.el (dired-get-filename):
2330 Declare functions.
2331
2332 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2333
c9f618db
JB
23342012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2335
2336 * calc/calc.el (calc-gregorian-switch): New variable.
2337
2338 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2339 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2340 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2341 (math-leap-year-p): Add option to distinguish between Julian
2342 and Gregorian calendars.
2343 (math-day-number): Use `math-day-in-year' to do the computations.
2344 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2345 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2346 to do the computations.
2347 (math-date-to-dt): Use `math-date-to-julian-dt' and
2348 `math-date-to-gregorian-dt' to do the computations.
2349 (calcFunc-weekday, math-format-date-part): Use the new version of
2350 the DATE to determine the weekday.
2351 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2352 when necessary.
2353
3804f7bc
EZ
23542012-11-17 Eli Zaretskii <eliz@gnu.org>
2355
2356 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2357 Cygwin; otherwise use 'file:'. (Bug#12914)
2358 (cygwin-convert-path-from-windows): Declare, to avoid
2359 byte-compiler warnings.
2360
de959d4d
AP
23612012-11-17 Andreas Politz <politza@fh-trier.de>
2362
2363 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2364 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2365 prefix and negative numeric prefix args (Bug#12795).
2366
e45deaef
SB
23672012-11-17 Stephen Berman <stephen.berman@gmx.net>
2368
2369 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2370 Don't signal an error with a score that is too low to add to the
2371 list of top scores. (Bug#12779)
2372
ec15e0ff
CY
23732012-11-17 Chong Yidong <cyd@gnu.org>
2374
8e7696a1
CY
2375 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2376
ec15e0ff
CY
2377 * filecache.el (file-cache-add-file): Handle relative file name in
2378 the argument (Bug#12694).
2379
60c4ee66
JH
23802012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2381
2382 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2383
cdc5d88c
SM
23842012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2385
dd0c5bbb
SM
2386 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2387
cdc5d88c
SM
2388 * emacs-lisp/cl-lib.el: Set more meaningful version number.
2389
0ff7851c
MR
23902012-11-16 Martin Rudalics <rudalics@gmx.at>
2391
2392 * window.el (enlarge-window, shrink-window): Don't mention return
2393 value in doc-string (Bug#12896).
2394 (window--display-buffer): Don't resize frames - it won't work
2395 with all window managers and defeat pop-up-frame-alist.
2396 (display-buffer-alist): In doc-string explain that CONDITION can
2397 be a function and which arguments are passed to it (Bug#12854).
2398 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
2399 expressions (Bug#12854).
2400 (display-buffer): Pass ACTION argument to
2401 display-buffer-assq-regexp.
2402
dedd1884
GM
24032012-11-16 Glenn Morris <rgm@gnu.org>
2404
7c82753d
GM
2405 * window.el (fit-frame-to-buffer-bottom-margin)
2406 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2407
dedd1884
GM
2408 * faces.el (face-underline-p): Use face-attribute-specified-or.
2409
96e05507 24102012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
2411
2412 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2413
96e05507 24142012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
2415
2416 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2417
96e05507 24182012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 2419
17c083ac
GM
2420 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
2421 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2422
bde3c6c0
GM
2423 * faces.el (face-underline-p): Doc fix. Handle :underline being
2424 things other than `t' (a string, a list).
2425 (face-inverse-video-p): Doc fix.
2426 (set-face-underline): Rename it back from set-face-underline-p.
2427 Doc fix. Allow interactive input of values other than t.
2428 (read-face-attribute): Apply formatting to :underline,
2429 since like :box and :stipple it can take list values.
2430
e2e13f18
GM
2431 * term.el (ansi-term): Don't let C-x escape-char binding
2432 clobber the more standard C-c binding. (Bug#12842)
2433
e0ea8060
GM
2434 * subr.el (set-temporary-overlay-map): Doc fix.
2435
96e05507 24362012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
2437
2438 * window.el (record-window-buffer)
2439 (display-buffer-record-window): When copying the markers to
2440 window-point preserve window-point-insertion-type. (Bug#12588)
2441
96e05507 24422012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
2443
2444 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2445 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2446 Use new names for hooks rather than obsolete aliases.
2447
faeafc01
DC
24482012-11-15 Daniel Colascione <dancol@dancol.org>
2449
2450 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
2451 prefix instead of "file:" so that when FILE-NAME begins with "//",
2452 as it does when the target file is on a network share, url-handler
2453 isn't confused.
2454
1232d6c2
SM
24552012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2456
2457 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2458 a preactivated advice from an old advice.el; they're not compatible!
2459
47f01a8a
KY
24602012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2461
2462 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2463 Fix string-spec case.
2464
2465 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2466
a61428c4
SM
24672012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2468
2469 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2470 (advice--buffer-local-function-sample): New var.
2471 (advice--set-buffer-local, advice--buffer-local): New functions.
2472 (add-function, remove-function): Use them.
2473
875ce3a7
DA
24742012-11-15 Drew Adams <drew.adams@oracle.com>
2475
2476 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2477
589fc479
SM
24782012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2479
2480 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2481 potential binding of print-gensym to t, and prettify (back)quotes in
2482 case they appear in args's default values (bug#12884).
2483
1668ea90
SM
24842012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2485
2486 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2487 (advice-eval-interactive-spec): New function.
2488 (advice--make-interactive-form): Support around advice (bug#12844).
2489
8619323f
DG
24902012-11-14 Dmitry Gutov <dgutov@yandex.ru>
2491
2492 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2493 more strict. Add docstring.
c62792e7
DG
2494 (ruby-expression-expansion-re): Extract from
2495 `ruby-match-expression-expansion'.
2496 (ruby-syntax-propertize-function): After everything else, search
2497 for expansions in string literals, mark their insides as
2498 whitespace syntax and save match data for font-lock.
2499 (ruby-font-lock-keywords): Use the 2nd group from expression
2500 expansion matches.
2501 (ruby-match-expression-expansion): Use the match data saved to the
2502 text property in ruby-syntax-propertize-function.
8619323f 2503
9c3912d3
SM
25042012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2505
2506 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2507 (bug#12879).
2508
5e9419e8
DG
25092012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2510
2511 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2512 start/end keyword a bit harder. Works with different values of N.
2513 Add more comments.
2514 (ruby-end-of-block): Update accordingly.
2515
3c442f8b
SM
25162012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2517
fa470af0
SM
2518 * woman.el (woman-file-name): Don't mess with unread-command-events
2519 (bug#12861).
2520
3c442f8b
SM
2521 * emacs-lisp/advice.el: Layer on top of nadvice.el.
2522 Remove out of date self-require hack.
2523 (ad-do-advised-functions): Use simple `dolist'.
2524 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2525 (ad-advice-definition): Redefine as functions.
2526 (ad-advice-classes): Move before first use.
2527 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 2528 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 2529 (ad--defalias-fset): Remove functions.
fa470af0 2530 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
2531 (ad-get-orig-definition): Rewrite.
2532 (ad-make-advised-definition-docstring): Change base docstring.
2533 (ad-real-orig-definition): Rewrite.
2534 (ad-map-arglists): Change name of called function.
2535 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2536 (ad-make-advised-definition): Simplify.
2537 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 2538 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
2539 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
2540 function and call ad-activate if needed.
2541 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2542 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2543 (ad-compile-function): Compile ad-Advice-*.
2544 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2545 (ad-start-advice, ad-stop-advice): Remove.
2546
5745cae6
DG
25472012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2548
2549 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2550 period before class method names, not after. Remove handling of
2551 one impossible case. Add comments.
2552
413d4689
SM
25532012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2554
7db1bda8
SM
2555 * emacs-lisp/advice.el: Remove support for freezing.
2556 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2557 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2558 Remove support for `freeze'.
2559
413d4689
SM
2560 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
2561 override the default.
2562 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
2563 cl--dotimes/dolist.
2564 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
2565 `cl' is loaded.
2566
2567 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
2568 from add-advice.
2569 (advice--strip-macro): New function.
2570 (advice--defalias-fset): Use them to handle macros.
2571 (advice-add): Use them.
2572 (advice-member-p): Correctly handle macros.
2573
f178c32d
DG
25742012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2575
7db1bda8
SM
2576 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2577 Never font-lock the beginning of singleton class as heredoc.
f178c32d 2578
f78ee6af 25792012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
2580
2581 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
2582
f78ee6af 25832012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
2584
2585 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
2586 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
2587 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 2588
f78ee6af 25892012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
2590
2591 Fix end-of-defun misbehavior.
2592 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2593 python-beginning-of-defun-function. Handle nested defuns
2594 correctly.
2595 (python-nav-end-of-defun): Rename from
2596 python-end-of-defun-function. Ensure forward movement.
f8705f6e 2597 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
2598 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
2599 parent defuns as soon as possible.
2600
f78ee6af 26012012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
2602
2603 * progmodes/flymake.el (flymake-error-bitmap)
2604 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2605 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2606
f78ee6af 26072012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
2608
2609 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2610 backward, always stop at indentation. Reverts the change from
2611 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2612
f78ee6af 26132012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 2614
a1d3e07e
GM
2615 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2616 Add ibuffer-filter-by-derived-mode.
2617
84acf328
GM
2618 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2619 the same name shadowing each other.
2620
38785e75
GM
2621 * window.el (with-temp-buffer-window): Doc tweak.
2622
57fc0fee
GM
2623 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2624
6ba6a3e5
GM
2625 * help.el (temp-buffer-max-height):
2626 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
2627 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2628
231d8498
SM
26292012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2630
2631 * emacs-lisp/nadvice.el: New package.
2632 * subr.el (special-form-p): New function.
2633 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2634 (elp-all-instrumented-list): Remove var.
2635 (elp-not-profilable): Remove elp-wrapper.
2636 (elp-profilable-p): Use autoloadp and special-form-p.
2637 (elp--advice-name): New const.
2638 (elp-instrument-function): Use advice-add.
2639 (elp--instrumented-p): New predicate.
2640 (elp-restore-function): Use advice-remove.
2641 (elp-restore-all, elp-reset-all): Use mapatoms.
2642 (elp-set-master): Use elp--instrumented-p.
2643 (elp--make-wrapper): Rename from elp-wrapper, return a function
2644 suitable for advice-add. Use cl-inf.
2645 (elp-results): Use mapatoms+elp--instrumented-p.
2646 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2647 (debug-function-list): Remove var.
2648 (debug): Rename arg, and then let-bind it explicitly inside.
2649 (debugger-setup-buffer): Rename arg.
2650 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2651 (debugger-frame-number): Adjust to new debug-on-entry setup.
2652 (debug--implement-debug-on-entry): Rename from
2653 implement-debug-on-entry, add argument.
2654 (debugger-special-form-p): Remove, use special-form-p instead.
2655 (debug-on-entry): Use advice-add.
2656 (debug--function-list): New function.
2657 (cancel-debug-on-entry): Use it, along with advice-remove.
2658 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2659 (debugger-list-functions): Use debug--function-list instead of
2660 debug-function-list.
2661 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2662 (ad-special-form-p): Remove, use special-form-p instead.
2663 (ad-set-advice-info): Use add-function and remove-function.
2664 (ad--defalias-fset): Adjust accordingly.
2665
19e09879
GM
26662012-11-10 Glenn Morris <rgm@gnu.org>
2667
714cebd1
GM
2668 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2669 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2670 (report-emacs-bug-create-existing-bugs-buffer)
2671 (report-emacs-bug-parse-query-results)
2672 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2673
bf67dafa
GM
2674 * term.el (term-default-fg-color, term-default-bg-color):
2675 Make obsolete, rather than just saying "deprecated" in the doc.
2676
19e09879
GM
2677 * term.el (term): Rename from `term-face'.
2678 (term-current-face, ansi-term-color-vector)
2679 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2680 Update all users.
2681
6baf66d5 26822012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
2683
2684 * server.el (server-create-window-system-frame): Handle Nextstep
2685 specially (Bug#12780).
2686
6baf66d5 26872012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
2688
2689 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2690 Unautoload, and make obsolete. (Bug#7449)
2691
6baf66d5 26922012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
2693
2694 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2695 rename from diff-remove-trailing-whitespace (Bug#12831).
2696
6baf66d5 26972012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
2698
2699 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2700 miscompilation of trace.el.
2701
6baf66d5 27022012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
2703
2704 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2705
6baf66d5 27062012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
2707
2708 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2709 (bug#12812).
2710
6baf66d5 27112012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
2712
2713 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2714 a defcustom with an appropriate :set function.
2715 (minibuffer-default--in-prompt-regexps): New function.
2716
6baf66d5 27172012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 2718
031b2ea7
GM
2719 * emacs-lisp/cl.el (define-setf-expander, defsetf)
2720 (define-modify-macro): Doc fixes.
2721
2ee1d59f
GM
2722 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2723 (gv-define-simple-setter): Update doc of `fix-return'.
2724
6baf66d5 27252012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 2726
b715ed44
SM
2727 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2728 twice when `fix-return' is set (bug#12813).
2729
d57c286e
SM
2730 * emacs-lisp/cl.el (defsetf): Pass the third arg to
2731 gv-define-simple-setter (bug#12812).
2732
c9cac599
SM
2733 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2734 (bug#12756).
2735
6baf66d5 27362012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
2737
2738 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2739
5593ed90
GM
2740 * emacs-lisp/cl-extra.el (cl-prettyexpand):
2741 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2742 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2743 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2744
2745 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2746
05a859c1
LL
27472012-11-10 Leo Liu <sdl.web@gmail.com>
2748
2749 * ido.el (ido-set-matches-1): Improve flex matching performance by
2750 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
2751
32e5c58c
SM
27522012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2753
2754 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2755 (ad--defalias-fset): New function.
2756 (ad-safe-fset): Remove.
2757 (ad-make-freeze-definition): Use cl-letf*.
2758
f5925cd9
SM
27592012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2760
da03ef8a
SM
2761 * subr.el (dolist): Don't bind VAR in RESULT.
2762
6858633a
SM
2763 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
2764 (fset, documentation): Don't save real def since we don't advise.
2765 (ad-do-advised-functions): Remove problematic `result-form'.
2766 (ad-safe-fset): `ad-real-fset' => `fset'.
2767 (ad-read-advised-function): Don't assume that ad-do-advised-functions
2768 uses CL's dolist internally.
2769 (ad-arglist): Remove unused arg `name'.
2770 (ad-docstring, ad-make-advised-docstring):
2771 `ad-real-documentation' => `documentation'.
2772 (warning-suppress-types): Declare.
2773 (ad-set-arguments): Simple CSE.
2774 (ad-recover-normality): Sanity check.
2775
f5925cd9
SM
2776 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2777 (funcall '(lambda ..) ..) into ((lambda ..) ..).
2778
93a66b3a
VB
27792012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
2780
2781 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
2782 `ses-cell'. This means that the same mapping is done for all SES
2783 sheets. That is good enough for cells with standard A1 names, but
2784 not for named cell. So a hash map is added for the latter.
2785 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
2786 (ses-sym-rowcol): Use hashmap for named cell.
2787 (ses-is-cell-sym-p): New defun.
2788 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
2789 (ses-create-cell-variable): Add cell to hashmap when name is not
2790 A1-like.
93a66b3a
VB
2791 (ses-rename-cell): Check that cell new name is not already in
2792 spreadsheet with the use of ses-is-cell-sym-p
2793 (ses-rename-cell): Use hash map for named cells, but accept also
2794 renaming back to A1-like.
2795
67dd8ad1
SM
27962012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2797
57618ecf
SM
2798 * emacs-lisp/advice.el: Use new dynamic docstrings.
2799 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2800 Use dynamic-docstring-function instead of ad-advice-info.
2801 (ad--make-advised-docstring): New function extracted from
2802 ad-make-advised-docstring.
2803 (ad-make-advised-docstring): Use it.
2804 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2805 from sql-help.
2806 (sql-help): Use it with dynamic-docstring-function.
2807
67dd8ad1
SM
2808 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2809
be883b34
SM
28102012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2811
d41706aa
SM
2812 * files.el (hack-one-local-variable--obsolete): New function.
2813 (hack-one-local-variable): Use it for obsolete settings.
2814
85e55412
SM
2815 * subr.el (locate-user-emacs-file): If both old and new name exist, use
2816 the new name.
2817
be883b34
SM
2818 * progmodes/js.el (js--filling-paragraph): New var.
2819 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2820 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2821 less sneaky.
2822
cabc040a
JD
28232012-11-08 Julien Danjou <julien@danjou.info>
2824
2825 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2826 `auto-mode-alist' (Bug#12835).
2827
d14bb752
SM
28282012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2829
79b3e376
SM
2830 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2831 (perl--prettify-symbols-alist): New const.
2832 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2833 New functions.
2834 (perl-font-lock-keywords-2): Use them.
2835 (perl-electric-noindent-p): New function.
2836 (perl-mode): Use it to set up electric-indent-mode.
2837 (perl-electric-terminator, perl-indent-command): Mark obsolete.
2838 (perl-mode-map): Remove bindings for them.
2839 (perl-imenu-generic-expression, perl-outline-level):
2840 Match functions&packages in column>0.
2841
3b11e6ac
SM
2842 * env.el (env--substitute-vars-regexp): New const.
2843 (substitute-env-vars): Use it. Add `only-defined' arg.
2844 * net/tramp.el (tramp-replace-environment-variables): Use it.
2845
784c1a7b
SM
2846 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2847 Byte-compile *before* eval in eval-and-compile.
2848 (byte-compile-log-warning): Remove redundant inhibit-read-only.
2849 (byte-compile-file-form-autoload): Don't hide actual definition.
2850 (byte-compile-maybe-guarded): Accept `functionp' as well.
2851
d14bb752
SM
2852 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
2853
499a0f7a
MA
28542012-11-07 Michael Albinus <michael.albinus@gmx.de>
2855
2856 * notifications.el (notifications-get-server-information-method):
2857 New defconst.
2858 (notifications-get-capabilities): Fix docstring.
2859 (notifications-get-server-information): New defun.
2860
f0704a9a
AM
28612012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2862
2863 * textmodes/ispell.el (ispell-region): Standard re-indent for better
2864 readability.
2865
b159a1fd
AM
2866 * textmodes/ispell.el: Experimental support for support debugging.
2867 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2868 buffer for ispell.
2869 (ispell-print-if-debug): New function to print stuff to
2870 `ispell-debug-buffer' if debugging is enabled.
2871 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2872 show some debugging info.
2873 (ispell-buffer-with-debug): New function that creates a debugging
2874 buffer and calls `ispell-buffer' with debugging enabled.
2875
056cb3a1
AM
2876 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2877 comment in autoconf mode. (Bug#12768)
2878
8e6a67b7
DA
28792012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2880
2881 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2882 frame-first-window, frame-root-window, frame-selected-window,
2883 minibuffer-selected-window, minibuffer-window,
2884 window-absolute-pixel-edges, window-at, window-body-height,
2885 window-body-width, window-display-table, window-combination-limit,
2886 window-frame, window-fringes, window-inside-absolute-pixel-edges,
2887 window-inside-edges, window-inside-pixel-edges, window-left-child,
2888 window-left-column, window-margins, window-next-buffers,
2889 window-next-sibling, window-new-normal, window-new-total,
2890 window-normal-size, window-parameter, window-parameters, window-parent,
2891 window-pixel-edges, window-point, window-prev-buffers,
2892 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2893 window-start, window-text-height, window-top-child, window-top-line,
2894 window-total-height, window-total-width and window-use-time to the list
2895 of functions without side-effects.
2896 (toplevel): Add window-valid-p to the list of error-free functions
2897 without side-effects.
2898
53fc914f
AM
28992012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2900
f5925cd9
SM
2901 * textmodes/ispell.el (ispell-program-name):
2902 Update spellchecker parameters when customized.
53fc914f 2903
9749e2b0
GM
29042012-11-04 Glenn Morris <rgm@gnu.org>
2905
2906 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
2907
2cbafa56
CY
29082012-11-04 Chong Yidong <cyd@gnu.org>
2909
2910 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
2911 same-window-* variables.
2912
85178ca1
JL
29132012-11-04 Juri Linkov <juri@jurta.org>
2914
2915 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
2916 (isearch-describe-key, isearch-describe-mode): Use a display
2917 action instead of binding same-window-* variables (Bug#10040).
2918
5c677d44
GM
29192012-11-03 Glenn Morris <rgm@gnu.org>
2920
49138400
GM
2921 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2922 Rename handler properties back from cl-- to cl-. (Bug#12788)
2923
5c677d44
GM
2924 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
2925
1d4341f9
EZ
29262012-11-03 Eli Zaretskii <eliz@gnu.org>
2927
2928 * term/pc-win.el: Don't load term/internal from here.
2929
2930 * loadup.el: Load term/internal from here.
2931
12fd5ee1
FEG
29322012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
2933
2934 * progmodes/python.el (inferior-python-mode): Fix hang in
2935 jit-lock (Bug#12645).
2936
43bcfda6
MR
29372012-11-03 Martin Rudalics <rudalics@gmx.at>
2938
2939 * window.el (switch-to-visible-buffer)
2940 (switch-to-buffer-preserve-window-point): Fix doc-strings.
2941
376a8e83
GM
29422012-11-03 Glenn Morris <rgm@gnu.org>
2943
2944 * emacs-lisp/cl-lib.el (cl--random-time):
2945 Rename from cl-random-time. (Bug#12773)
2946 (cl--gensym-counter, cl--random-state): Update callers.
2947 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2948
0f7b074f
CY
29492012-11-03 Chong Yidong <cyd@gnu.org>
2950
2951 * cus-start.el: Make cursor-type customizable (Bug#11633).
2952
3a6851d9
GM
29532012-11-02 Glenn Morris <rgm@gnu.org>
2954
00a3b041
GM
2955 * filecache.el: No need to load find-lisp when compiling.
2956 (find-lisp-find-files): Autoload it.
2957 (file-cache-add-directory-recursively): Don't require find-lisp.
2958
11fef14a
GM
2959 * image.el (image-type-from-file-name): Trivial simplification.
2960
3a6851d9
GM
2961 * emacs-lisp/bytecomp.el (byte-compile-eval):
2962 Decouple "noruntime" and "cl-functions" warnings.
2963
b4b096e4
SB
29642012-11-01 Stephen Berman <stephen.berman@gmx.net>
2965
2966 * play/gomoku.el (gomoku-display-statistics): Update mode line
2967 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2968
218e997a
MR
29692012-10-31 Martin Rudalics <rudalics@gmx.at>
2970
2971 * window.el (quit-restore-window): If the window has been
2972 created on an existing frame and ended up as the sole window on
2973 that frame, do not delete it (Bug#12764).
2974
b08b6da7
SM
29752012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2976
3618df45
SM
2977 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2978 Rename from sh--inside-arithmetic-expression, handle more cases
2979 (bug#11263).
2980
b08b6da7
SM
2981 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2982 (sh-font-lock-open-heredoc): Use it (bug#12770).
2983
4ddedf94
GM
29842012-10-30 Glenn Morris <rgm@gnu.org>
2985
f43a5263
GM
2986 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
2987
4ddedf94
GM
2988 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2989
748b0d84
CY
29902012-10-29 Chong Yidong <cyd@gnu.org>
2991
b5dd9a77
CY
2992 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2993 function key is stored in a keyboard macro (Bug#4894).
2994
748b0d84
CY
2995 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2996
e07fcbdc
SM
29972012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2998
d7f9cc85
SM
2999 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3000 header comments".
3001 (diff-unified->context, diff-context->unified)
3002 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3003
c606253c
SM
3004 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3005
e07fcbdc
SM
3006 * files.el (find-alternate-file): Only ask one question (bug#12487).
3007
894b9dd9
CY
30082012-10-29 Chong Yidong <cyd@gnu.org>
3009
1dc2755a
CY
3010 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3011 Suggested by Dan Nicolaescu (Bug#6326).
3012
329c48d8
CY
3013 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3014
2230fa5b 3015 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 3016
e84cad57
CY
3017 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3018
1913c5f5
CY
3019 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3020
894b9dd9
CY
3021 * face-remap.el (face-remap-add-relative): Handle the case where a
3022 face-remapping-alist entry is a cons cell (Bug#12762).
3023
329c48d8
CY
30242012-10-29 Kevin Ryde <user42@zip.com.au>
3025
3026 * woman.el (woman-parse-numeric-value): Handle picas correctly
3027 (Bug#12639).
3028
a0ccbcbd
GM
30292012-10-29 Glenn Morris <rgm@gnu.org>
3030
3031 * emacs-lisp/cl.el (defsetf): Doc fix.
3032
b3871e59
SM
30332012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3034
3035 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3036 syntax to the matching opener, if any (bug#12547).
3037 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3038 matching open as a "case-(".
3039 (sh-smie-rc-grammar): Add a corresponding rule for it.
3040
cd44022c
DH
30412012-10-28 Daniel Hackney <dan@haxney.org>
3042
3043 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3044 "PKGNAME-autoloads.el" in case we created it.
3045
70edffb1
SM
30462012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3047
86957a0c
SM
3048 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3049 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 3050 (completion--twq-all): Disable too-strict assertions.
86957a0c 3051
70edffb1
SM
3052 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3053
d069271c
EZ
30542012-10-27 Eli Zaretskii <eliz@gnu.org>
3055
3056 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3057 text to match the real keybindings.
3058
e2f022a3
JL
30592012-10-27 Juri Linkov <juri@jurta.org>
3060
3061 * wdired.el (wdired-keep-marker-rename): New defcustom.
3062 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3063 (Bug#11795)
3064
3065 * dired.el (dired-keep-marker-rename): Add reference to
3066 `wdired-keep-marker-rename' in the docstring.
3067 Add default character value ?R to display initially in
3068 Customization UI instead of ?@.
3069
df171c23
MR
30702012-10-27 Martin Rudalics <rudalics@gmx.at>
3071
3072 * window.el (display-buffer): In doc-string describe
3073 window-height and window-width alist entries.
3074
3075 * time.el (display-time-world): Restore fit-window-to-buffer
3076 behavior.
3077
05b621a6
CY
30782012-10-27 Chong Yidong <cyd@gnu.org>
3079
3080 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3081
55f197b2
J
30822012-10-26 Jambunathan K <kjambunathan@gmail.com>
3083
3084 * minibuffer.el (completion-category-overrides): New completion
3085 category `bookmark' (bug#11131).
3086
372212df
SM
30872012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3088
150f809c
SM
3089 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3090 Silence bogus compiler warnings for ad-do-it.
3091
372212df
SM
3092 * bookmark.el (bookmark-completing-read): Set the completion category
3093 to `bookmark' (bug#11131).
3094
c5772569
B
30952012-10-26 Bastien <bzg@altern.org>
3096 Stefan Monnier <monnier@iro.umontreal.ca>
3097
3098 * face-remap.el: Use lexical-binding.
3099 (text-scale-adjust): Improve docstring. Use itself for the temporary
3100 overlay-map bindings, so as to repeat the "Use..." message each time.
3101
a2be0357
SM
31022012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3103
63314e57
SM
3104 * emacs-lisp/macroexp.el (macroexp--expand-all):
3105 Obey byte-compile-warning-enabled-p (bug#12486).
3106
a2be0357
SM
3107 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3108 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3109
8c7727c3
MR
31102012-10-26 Martin Rudalics <rudalics@gmx.at>
3111
3112 * mouse.el (mouse-drag-line): Move last form into preceding when
3113 clause (Bug#12731).
3114
3115 * help.el (resize-temp-buffer-window): Fix doc-string.
3116
3f2a848d
DE
31172012-10-25 David Engster <deng@randomsample.de>
3118
3119 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 3120 Remove. This feature is already integrated in imenu.
3f2a848d
DE
3121
3122 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3123 always loaded. Require `speedbar' unconditionally.
3124
a7723be6
SM
31252012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3126
aaabfc8b
SM
3127 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3128
414a8595
SM
3129 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3130
fb5b9475
SM
3131 * net/ldap.el (ldap-search-internal): The official ldif format starts
3132 with a "version: 1" header (bug#12724).
3133
a7723be6
SM
3134 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3135 (bug#12721).
3136
a05cb6e3
GM
31372012-10-25 Glenn Morris <rgm@gnu.org>
3138
3139 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3140
3c92de70
SM
31412012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3142
3143 * minibuffer.el (minibuffer-force-complete): Use one more marker
3144 for the temporary-overlay-map command (bug#12619).
3145
a4b6d7c6
CY
31462012-10-24 Chong Yidong <cyd@gnu.org>
3147
3148 * time.el (display-time-world-mode): Derive from special-mode.
3149 (display-time-world): Use display-buffer (Bug#12708).
3150 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
3151 (display-time-world-display): Wrap the final delete-char inside
3152 inhibit-read-only.
a4b6d7c6 3153
75e8f9d2
CY
31542012-10-24 Chong Yidong <cyd@gnu.org>
3155
cd996018
CY
3156 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3157 Doc fix.
3158
75e8f9d2
CY
3159 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3160
d92df117
SM
31612012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3162
3163 * minibuffer.el (completion--all-sorted-completions-location): New var.
3164 (completion--cache-all-sorted-completions)
3165 (completion--flush-all-sorted-completions): Use it.
3166 (completion-in-region, completion-in-region--postch)
3167 (completion-at-point, completion-help-at-point): Use markers in
3168 completion-in-region--data (bug#12619).
3169
9c3e39f3
SM
31702012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3171
c79825bd
SM
3172 * progmodes/compile.el (compilation-start): Try to handle common
3173 quoting of `cd' argument (bug#12640).
3174
9c3e39f3
SM
3175 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3176 (bug#12671).
3177
a6709bc7
GM
31782012-10-23 Glenn Morris <rgm@gnu.org>
3179
3180 * progmodes/gud.el (gud-menu-map):
3181 Check gdb-active-process is bound. (Bug#12358)
3182
d1069532
SM
31832012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3184
d20d69c0
SM
3185 * repeat.el (repeat): Set real-this-command (bug#12232).
3186
d1069532
SM
3187 * htmlfontify.el (hfy-post-html-hook):
3188 * filesets.el (filesets-cache-fill-content-hook):
3189 * arc-mode.el (archive-extract-hook):
3190 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3191 * net/rcirc.el (rcirc-sentinel-functions)
3192 (rcirc-receive-message-functions, rcirc-activity-functions)
3193 (rcirc-print-functions):
3194 * net/dbus.el (dbus-event-error-functions):
3195 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3196 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3197 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3198 * term/sun.el (sun-raw-prefix-hooks):
3199 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3200
f7eac6d8
MA
32012012-10-23 Michael Albinus <michael.albinus@gmx.de>
3202
d1069532
SM
3203 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3204 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
3205 (tramp-smb-wait-for-output): Add timeout to
3206 `tramp-accept-process-output' calls.
3207
608d9d7c
CY
32082012-10-23 Chong Yidong <cyd@gnu.org>
3209
49238e7f
CY
3210 * faces.el (font-list-limit): Define as an obsolete variable.
3211
3212 * startup.el (command-line):
3213 * cus-start.el: Don't refer to font-list-limit.
3214
608d9d7c
CY
3215 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3216
4ff5b1b2
SM
32172012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3218
3219 * subr.el (internal-temp-output-buffer-show): Rename from
3220 temp-output-buffer-show, since previously compiled files expect this name.
3221
ea1d4aac
GM
32222012-10-23 Glenn Morris <rgm@gnu.org>
3223
3224 * image.el (image-type-from-file-name): If multiple types match,
3225 return the first one that is supported. (Bug#9045)
3226
eda82a31
GM
32272012-10-22 Glenn Morris <rgm@gnu.org>
3228
3229 * image.el (imagemagick-enabled-types): Doc fix.
3230
4f020bec
TA
32312012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3232
3233 * progmodes/which-func.el (which-func-current): The hash-table may have
3234 an explicit nil (bug#12338).
3235
c77d37e2
SM
32362012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3237
3238 * electric.el (electric-pair-delete-selection-self-insert-function):
3239 Rename to electric-pair-will-use-region, return a boolean.
3240 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3241
3242 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3243 (delete-selection-pre-hook): Use use-region-p.
3244 (delete-selection-self-insert-function): Remove.
3245 (self-insert-command): Obey self-insert-uses-region-functions.
3246 (self-insert-iso): Revert to previous setting, since we don't actually
3247 know what that command does.
3248 (delete-selection-self-insert-hooks): Remove.
3249
b1d39ccc
SL
32502012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3251
3252 * delsel.el (delete-selection-helper): New function, extracted from
3253 delete-selection-pre-hook.
3254 (delete-selection-pre-hook): Use it.
3255 (delete-selection-self-insert-function): New function.
3256 (delete-selection-self-insert-hooks): New hook.
3257 (self-insert-command, self-insert-iso): Use it.
3258 * electric.el (electric-pair-syntax): New function, extracted from
3259 electric-pair-post-self-insert-function.
3260 (electric-pair-post-self-insert-function): Use it.
3261 (electric-pair-delete-selection-self-insert-function): New function.
3262 (electric-pair-mode): Require delsel and setup
3263 delete-selection-self-insert-hooks (bug#11520).
3264
045ef729
CY
32652012-10-20 Chong Yidong <cyd@gnu.org>
3266
4c5d08a8
CY
3267 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3268 no changes to show (Bug#12586).
3269
045ef729
CY
3270 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3271 list explicitly (Bug#12571).
3272
3503c798 32732012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 3274
b1d39ccc
SL
3275 * progmodes/flymake.el (flymake-create-temp-inplace):
3276 Use file-truename.
79e1997a 3277
2068905b
EZ
32782012-10-20 Eli Zaretskii <eliz@gnu.org>
3279
3280 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
3281
4c9e9550
JB
32822012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
3283
3284 * calc/calc-units.el (math-extract-units): Properly extract powers
3285 of units.
3286
1a6e7e38
DC
32872012-10-20 Daniel Colascione <dancol@dancol.org>
3288
3289 * frame.el (make-frame): Set x-display-name as we used to in order
3290 to unbreak creating an X11 frame from an Emacs daemon started
3291 without a display.
3292
8e808318
SM
32932012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3294
3295 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 3296 the same completion-field (bug#12221).
8e808318 3297
fb0104da
MR
32982012-10-19 Martin Rudalics <rudalics@gmx.at>
3299
3300 * emacs-lisp/debug.el (debug): Record height of debugger window
3301 also when debugger will be back (Bug#8789).
3302
8c27235e
CY
33032012-10-18 Chong Yidong <cyd@gnu.org>
3304
3305 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3306 Convert to defcustom.
3307 (gdb-get-source-file): Don't bind pop-up-windows.
3308
3309 * progmodes/gud.el (gud-display-line): Don't specially re-use
3310 other frames for the gdb-mi case (Bug#12648).
3311
90eacf99
SM
33122012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3313
aaf0c300
SM
3314 * emacs-lisp/advice.el: Clean up commentary a bit.
3315 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3316 (byte-code-function-p): Never redefine.
3317
90eacf99
SM
3318 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3319
281c9d2b
GM
33202012-10-18 Glenn Morris <rgm@gnu.org>
3321
40714e3d
GM
3322 * dired.el (dired-sort-toggle): Some ls implementations only allow
3323 a single option string. (Bug#12666)
3324
281c9d2b
GM
3325 * minibuffer.el (completion-cycle-threshold): Doc fix.
3326
b278604e
KH
33272012-10-17 Kenichi Handa <handa@gnu.org>
3328
90eacf99
SM
3329 * international/mule.el (set-keyboard-coding-system):
3330 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
3331 Supply TERMINAL arg to set-input-meta-mode.
3332
df171c23 33332012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
3334
3335 * wdired.el (wdired-old-marks): New variable.
3336 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3337 (wdired-do-renames): Move point with renamed file and don't lose
3338 mark status (Bug#11795).
3339
e5a94ec4
JL
33402012-10-16 Juri Linkov <juri@jurta.org>
3341
3342 * replace.el (query-replace-help): Mention multi-buffer replacement
3343 keys in the Help message. (Bug#12655)
3344
d18a0d24
CY
33452012-10-15 Chong Yidong <cyd@gnu.org>
3346
3347 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3348
8111f5e6
EZ
33492012-10-14 Eli Zaretskii <eliz@gnu.org>
3350
7b9abf24
EZ
3351 * window.el (display-buffer): Doc fix.
3352
8111f5e6
EZ
3353 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3354 Adjust the msft regexp to the output of Studio 2010, and move msft
3355 before edg-1. See the discussion on emacs-devel,
3356 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3357 for the details.
3358
5046ef67
SM
33592012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3360
9760c73c
SM
3361 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3362 (oset): Move uses of object-class-fast macro after its definition.
3363
5046ef67
SM
3364 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3365
0d11ff1c
CY
33662012-10-13 Chong Yidong <cyd@gnu.org>
3367
3368 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3369 enabled, re-enable it (Bug#11963).
3370
88ded8ac
MR
33712012-10-13 Martin Rudalics <rudalics@gmx.at>
3372
3373 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3374 non-nil, restore window configuration (Bug#12623).
3375
bd0ffffd
SM
33762012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3377
06485aa8
SM
3378 * help-fns.el (describe-variable, describe-function-1):
3379 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3380
bd0ffffd
SM
3381 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3382
3a989246
GM
33832012-10-12 Glenn Morris <rgm@gnu.org>
3384
3385 * mail/rmailsum.el (rmail-header-summary):
3386 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
3387
55cd00c8
FEG
33882012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
3389
bd0ffffd
SM
3390 * progmodes/python.el (python-mode-map):
3391 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
3392 (python-nav--up-list): Fix behavior for blocks on the same level.
3393
ac9fc2c7
SM
33942012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3395
d8cc4c00 3396 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 3397
5253a5fd
SM
3398 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3399 changes to the format of load-history.
3400
ac9fc2c7
SM
3401 * international/mule-cmds.el (read-char-by-name): Move let-binding of
3402 completion-ignore-case in case that var is buffer-local (bug#12615).
3403
cde44a77
KH
34042012-10-11 Kenichi Handa <handa@gnu.org>
3405
3406 * international/eucjp-ms.el: Re-generated.
3407
4ef4a10d
KH
34082012-10-10 Kenichi Handa <handa@gnu.org>
3409
3410 * select.el (xselect--encode-string): If a coding is specified for
3411 selection, and that is compatible with COMPOUND_TEXT, use it.
3412
9d7f027b
MR
34132012-10-10 Martin Rudalics <rudalics@gmx.at>
3414
3415 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
3416 (switch-to-buffer):
3417 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 3418
238f3a58
SM
34192012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3420
3421 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3422 Don't document nil as a useful value (bug#12583).
3423
1d51f99c
MA
34242012-10-09 Michael Albinus <michael.albinus@gmx.de>
3425
238f3a58
SM
3426 * net/tramp.el (tramp-debug-message):
3427 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
3428 (with-tramp-progress-reporter): Rename from
3429 `tramp-with-progress-reporter'.
238f3a58
SM
3430 (with-tramp-file-property, with-tramp-connection-property):
3431 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
3432 `with-connection-property', respectively.
3433
3434 * net/tramp-cache.el: Remove `with-file-property' and
3435 `with-connection-property'.
3436
3437 * net/tramp.el:
3438 * net/tramp-gvfs.el:
3439 * net/tramp-sh.el:
3440 * net/tramp-smb.el: Adapt callees.
3441
3442 * net/trampver.el: Update release number.
3443
26b77251
GM
34442012-10-09 Glenn Morris <rgm@gnu.org>
3445
9a5f296f
GM
3446 * w32-fns.el (set-message-beep):
3447 * term/w32-win.el (set-message-beep): Update declarations.
3448
94c66ce5
SM
34492012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3450
10766e9e
SM
3451 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3452 (mode-line-widen, mode-line-input-method-map)
3453 (mode-line-coding-system-map, mode-line-remote)
3454 (mode-line-unbury-buffer, mode-line-bury-buffer)
3455 (mode-line-next-buffer, mode-line-previous-buffer):
3456 Replace save-selected-window+select-window => with-selected-window.
3457
f754db08
SM
3458 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3459 * progmodes/cc-vars.el (bq-process): Remove, unused.
3460
94c66ce5
SM
3461 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3462
a4ff7fe1
FEG
34632012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3464
3465 Implemented `backward-up-list'-like navigation.
3466 * progmodes/python.el (python-nav-up-list)
3467 (python-nav-backward-up-list): New functions.
3468 (python-mode-map): Define substitute key for backward-up-list to
3469 python-nav-backward-up-list.
3470
24517d82
FEG
34712012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3472
3473 * progmodes/python.el (python-fill-paragraph): Rename from
3474 python-fill-paragraph-function. Fixed fill-paragraph for
3475 decorators (Bug#12605).
3476
51867ae2
FEG
34772012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3478
3479 * progmodes/python.el (python-shell-output-filter): Handle extra
3480 carriage return in OSX (Bug#12409).
3481
a5b773c4
FEG
34822012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3483
3484 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 3485 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
3486 (python-syntax-propertize-function): Use it.
3487 (python-shell-output-syntax-table): New var.
3488 (inferior-python-mode): Prevent unbalanced parens/quotes from
3489 previous output mess with current input context.
3490
13373538
JB
34912012-10-08 Juanma Barranquero <lekktu@gmail.com>
3492
3493 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3494 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3495
775a132d
MA
34962012-10-08 Michael Albinus <michael.albinus@gmx.de>
3497
3498 * ffap.el (ffap-replace-file-component): Support Tramp file name
3499 syntax, not only ange-ftp's one.
3500
3ab44929
GM
35012012-10-08 Glenn Morris <rgm@gnu.org>
3502
57f1dee4
GM
3503 * cus-start.el (message-log-max): Set :version.
3504
3ab44929
GM
3505 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3506
6a088630
MR
35072012-10-08 Martin Rudalics <rudalics@gmx.at>
3508
3509 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3510 the minibuffer window (Bug#10851).
3511
8dbce54c
FEG
35122012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3513
3514 Enhancements on forward-sexp movement.
3515 * progmodes/python.el (python-nav-beginning-of-statement)
3516 (python-nav-end-of-statement): Return point-marker.
3517 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3518 (python-info-current-symbol)
3519 (python-info-statement-starts-block-p): Rename from
3520 python-info-beginning-of-block-p.
3521 (python-info-statement-ends-block-p): Rename from
3522 python-info-end-of-block-p.
3523 (python-info-beginning-of-statement-p)
3524 (python-info-end-of-statement-p)
3525 (python-info-beginning-of-block-p, python-info-end-of-block-p):
3526 New functions.
3527
5acd2b3e
SM
35282012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3529
3530 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3531 frame-selected-windows.
3532
e08348a0
DC
35332012-10-08 Daniel Colascione <dancol@dancol.org>
3534
3535 * battery.el (battery-status-function): Check for
3536 w32-battery-status itself, not system-time windows-nt.
3537
3538 * frame.el: Require cl-lib.
3539 (display-format-alist): New variable mapping frame types to
3540 functions that initialize them.
3541 (window-system-for-display): New function: interprets
3542 display-format-alist.
3543 (make-frame-on-display): Remove existing display-selection logic
3544 and just forward to make-frame, which will now DTRT.
3545 (make-frame): Restructure to use window-system-for-display to
3546 figure out how to create a frame on a given display.
3547 (display-mouse-p): Look for frame-type w32, not a particular
3548 system-type.
3549
3550 * loadup.el: Load w32 lisp code when we have the w32 feature.
3551
3552 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3553 system-type windows-nt.
3554
3555 * server.el (server-create-window-system-frame): Look for window
3556 type.
3557 (server-proces-filter): Only force a window system when windows-nt
3558 _and_ w32. Explain why.
3559
3560 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
3561 of window systems we configure for the mode.
3562
3563 * startup.el (command-line): Mark window system is initialized
3564 after we've done it.
3565
3566 * common-win.el (x-select-text): Look for w32, not windows-nt.
3567
3568 * ns-win.el: Require cl-lib. Add ourselves to
3569 display-format-alist.
3570 (ns-initialize-window-system): Assert we're not initialized twice.
3571
3572 * w32-win.el: Enable lexical binding; require cl-lib; add
3573 ourselves to display-format-alist.
3574 (w32-handle-dropped-file): Convert incoming dropped files from
3575 Windows paths to Cygwin ones before passing them on to the rest of
3576 Emacs.
3577 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
3578 (w32-initialize-window-system): Assert we're not initialized twice.
3579
3580 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
3581 (x-initialize-window-system): Assert we're not initialized twice.
3582
3583 * w32-common-fns.el: New File.
3584 (w32-version, w32-using-nt, w32-get-clipboard-data)
3585 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3586 (w32-charset-info-alist, x-last-selected, text)
3587 (x-get-selection-value, x-selection-value): Move here.
3588
3589 * w32-fns.el: Require w32-common-fns.
3590 (w32-version, w32-using-nt, w32-get-clipboard-data)
3591 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3592 (w32-charset-info-alist, x-last-selected, text)
3593 (x-get-selection-value, x-selection-value): Move to
3594 w32-common-fns.
3595
3596 * w32-vars.el:
3597 (w32-allow-system-shell, w32-system-shells): Define only in
3598 non-cygwin case.
3599
795b1482
SM
36002012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3603 (read-passwd): Remove a few more potential sources of leaks.
3604
f27c99dc
FEG
36052012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3606
3607 * progmodes/python.el (inferior-python-mode)
795b1482 3608 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
3609 variables copied from parent buffer.
3610
fcacb558
JD
36112012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3612
3613 * term/ns-win.el (ns-read-file-name): Update declaration to match
3614 nsfns.m.
3615 (ns-respond-to-change-font): Change fontsize separatly so we are sure
3616 it is set when font is acted upon.
3617
be0d5bae
FEG
36182012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3619
3620 Enhancements to indentation.
3621 * progmodes/python.el (python-indent-context): Give priority to
3622 inside-string context. Make comments indentation markers.
3623 (python-indent-region): Do not mess with strings, unless it's the
3624 enclosing set of quotes.
3625
13af0d10
SM
36262012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3627
662a9d0e
SM
3628 * window.el (internal--before-save-selected-window)
3629 (internal--after-save-selected-window): New functions extracted from
3630 save-selected-window. Make sure we return the `alist' we construct.
3631 (save-selected-window): Use them.
3632
3633 * textmodes/tex-mode.el (tex-recenter-output-buffer):
3634 Use with-selected-window.
3635
13af0d10
SM
3636 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3637 forms that define macros (bug#12593).
3638
6aa75fb6
KH
36392012-10-07 Kenichi Handa <handa@gnu.org>
3640
13af0d10
SM
3641 * international/mule-conf.el (compound-text-with-extensions):
3642 Add :mime-charset property as x-ctext.
6aa75fb6 3643
78d876b9
SM
36442012-10-07 Stefan Merten <smerten@oekonux.de>
3645
3646 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3647 (rst-indent-literal-normal, rst-indent-literal-minimized)
3648 (rst-indent-comment): Correct :version tag.
557337e9 3649 (rst-official-cvs-rev): Correct version string.
78d876b9 3650
99a1e701
GM
36512012-10-07 Glenn Morris <rgm@gnu.org>
3652
3653 * mail/rmailmm.el (rmail-mime-process-multipart):
3654 Do not confuse a multipart message with an epilogue
3655 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3656
08f18c3d
FEG
36572012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3658
3659 Fix shell output retrieval and comint-prompt-regexp init.
3660 * progmodes/python.el (inferior-python-mode):
3661 (python-shell-make-comint): Fix initialization of
3662 comint-prompt-regexp from copied file local variables.
3663 (python-shell-fetched-lines): Remove var.
3664 (python-shell-output-filter-in-progress): Rename from
3665 python-shell-fetch-lines-in-progress.
3666 (python-shell-output-filter-buffer): Rename from
3667 python-shell-fetch-lines-string.
3668 (python-shell-fetch-lines-filter): Delete function.
3669 (python-shell-output-filter): New function.
3670 (python-shell-send-string-no-output): Use them.
3671
82ed3ab4
GM
36722012-10-07 Glenn Morris <rgm@gnu.org>
3673
1595ecfa
GM
3674 * hi-lock.el (hi-lock-process-phrase):
3675 Try to make it less fragile. (Bug#7161)
3676
82ed3ab4
GM
3677 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3678
f1f4dba0
GM
36792012-10-06 Glenn Morris <rgm@gnu.org>
3680
addc11ed 3681 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
3682 non-existent mode `help'.
3683 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 3684
460042b8
GM
3685 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3686 (reftex-create-bibtex-footer): Fix custom types.
3687
67667c70
GM
3688 * progmodes/sh-script.el (sh-indent-after-continuation):
3689 Add explicit :group.
3690
18dec750
GM
3691 * textmodes/rst.el (rst-preferred-decorations)
3692 (rst-shift-basic-offset): Clarify obsolescence versions.
3693
d1a1c7e6
GM
3694 * profiler.el (profiler): Add missing group :version tag.
3695 * avoid.el (mouse-avoidance-banish-position):
3696 * proced.el (proced-renice-command):
3697 * calc/calc.el (calc-ensure-consistent-units):
3698 * calendar/icalendar.el (icalendar-import-format-uid):
3699 * net/tramp.el (tramp-save-ad-hoc-proxies):
3700 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3701 * progmodes/flymake.el (flymake-error-bitmap)
3702 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3703 * progmodes/sh-script.el (sh-indent-after-continuation):
3704 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3705 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3706 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3707 (vhdl-array-index-record-field-in-sensitivity-list)
3708 (vhdl-indent-comment-like-next-code-line):
3709 * textmodes/reftex-vars.el (reftex-ref-style-alist)
3710 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3711 (reftex-cite-key-separator, reftex-create-bibtex-header)
3712 (reftex-create-bibtex-footer):
3713 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3714 (rst-indent-literal-normal, rst-indent-literal-minimized)
3715 (rst-indent-comment): Add missing custom :version tags.
3716
ef35abb4
GM
3717 * calendar/timeclock.el (timeclock-modeline-display):
3718 Add missing obsolete alias for renamed user option.
3719
d1aae614
GM
3720 * strokes.el (strokes-modeline-string):
3721 * emulation/crisp.el (crisp-mode-modeline-string):
3722 * eshell/esh-mode.el (eshell-status-in-modeline):
3723 Aliases to defcustoms must come before the defcustom.
3724
f1f4dba0
GM
3725 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3726 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3727 (cal-tex-cursor-week-monday): Doc fixes.
3728 (cal-tex-cursor-week2-summary): Doc fix.
3729 Rename from cal-tex-cursor-week-at-a-glance.
3730
3731 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3732 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
3733
3734 * calendar/calendar.el (calendar-mode-map):
3735 Add cal-tex-cursor-week2-summary.
3736
d39109c3
SM
37372012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3738
685f87b0
SM
3739 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3740
d39109c3
SM
3741 * subr.el (read-passwd-map): New var.
3742 (read-passwd): Use `read-string' again.
3743 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3744
5694896d
J
37452012-10-06 Jambunathan K <kjambunathan@gmail.com>
3746
3747 * register.el (append-to-register, prepend-to-register):
3748 Deactivate mark, as does `copy-to-register' (bug#12389).
3749
9414dd8d
CY
37502012-10-06 Chong Yidong <cyd@gnu.org>
3751
3752 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3753
2b89bca4
KH
37542012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
3755
3756 * international/characters.el: Fix simple mistake ((car chars) ->
3757 elt), delete duplicated code.
3758
d5acb99a
GM
37592012-10-06 Glenn Morris <rgm@gnu.org>
3760
3761 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
3762
123ec157
JS
37632012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
3764
3765 * color.el (color-hsl-to-rgb): Fix incorrect results for
3766 small and large hue values. (Bug#12559)
3767
7fa36ccb
FEG
37682012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
3769
3770 Enhancements to docstring formatting when filling paragraphs.
3771 * progmodes/python.el (python-fill-docstring-style): Rename from
3772 python-fill-string-style. Added new style.
3773 (python-fill-string): Use new style. Better checks for
3774 docstrings.
3775
d8788e1e
GM
37762012-10-05 Glenn Morris <rgm@gnu.org>
3777
204f3953
GM
3778 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3779
d8788e1e
GM
3780 * color.el (color-name-to-rgb, color-rgb-to-hex)
3781 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3782 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3783 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3784 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3785
8d956cef
GM
3786 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
3787
e8757f09 37882012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
3789
3790 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3791 to get the correct size across symlinks.
3792
e8757f09
GM
3793 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3794
0e2ae83d
JL
37952012-10-04 Juri Linkov <juri@jurta.org>
3796
3797 * replace.el (query-replace-interactive): Declare obsolete.
3798 (query-replace-read-from): Add the last incremental search string
3799 to the list of default values accessible via M-n.
3800 (map-query-replace-regexp): Use `read-regexp'.
3801 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3802 (map-query-replace-regexp, replace-string, replace-regexp):
3803 Fix docstrings to replace mentions of `query-replace-interactive'
3804 with alternatives. (Bug#12526)
3805
93cacb6d
JL
38062012-10-04 Juri Linkov <juri@jurta.org>
3807
3808 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
3809 (dired-pop-to-buffer): Declare obsolete.
3810 (dired-mark-pop-up): Doc fix.
3811
fc345011
FEG
38122012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
3813
3814 Allow user to set docstring style for fill-paragraph.
3815 * progmodes/python.el
3816 (python-fill-comment-function, python-fill-string-function)
3817 (python-fill-decorator-function, python-fill-paren-function):
3818 Remove :safe for defcustoms.
3819 (python-fill-string-style): New defcustom
5694896d 3820 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
3821 (python-fill-string): Honor python-fill-string-style settings.
3822
6bab5d8b
MR
38232012-10-04 Martin Rudalics <rudalics@gmx.at>
3824
3825 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3826 after setting its buffer (Bug#10805).
3827
a1a9f411
FEG
38282012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
3829
3830 Fix cornercase for string syntax.
3831 * progmodes/python.el (python-syntax-propertize-function):
3832 Simplify and enhance the regexp for unescaped quotes. Now it also
3833 matches quotes in weird situations like the single quote in
3834 "something\"'".
3835 (python-syntax-stringify): Simplify num-quotes detecting code.
3836
05e153a6
GM
38372012-10-03 Glenn Morris <rgm@gnu.org>
3838
3839 * help-macro.el (three-step-help):
3840 Revert 2012-09-29 change. (Bug#12567)
3841
2e566ecb
MR
38422012-10-03 Martin Rudalics <rudalics@gmx.at>
3843
96ef9ccd
MR
3844 * menu-bar.el (kill-this-buffer): Don't do anything when
3845 `menu-frame' is not alive or visible (Bug#8184).
3846
2e566ecb
MR
3847 * emacs-lisp/debug.el (debug): When quitting the debugger window
3848 restore current buffer (Bug#12502).
3849
a96e1cb7
CY
38502012-10-02 Chong Yidong <cyd@gnu.org>
3851
5694896d
J
3852 * progmodes/hideif.el (hif-lookup, hif-defined):
3853 Handle semantic-c-takeover-hideif.
a96e1cb7 3854
b3ecad33
PE
38552012-10-02 Paul Eggert <eggert@cs.ucla.edu>
3856
3857 Change sampling interval units from ms to ns.
3858 * profiler.el (profiler-sampling-interval): Change units
3859 from ms to ns, multiplying the default by 1000000 so that
3860 it remains 1 ms.
3861 (profiler-report-cpu-line-format): Give enough room for
3862 the maximum counters on 64-bit hosts.
3863 (profiler-report-render-calltree-1): Call them "CPU samples",
3864 not "Time (ms)", since they are not milliseconds now (and
3865 never really were).
3866
8cb51b66 38672012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 3868
5694896d
J
3869 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3870 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 3871
fd795bf4
CY
38722012-10-02 Chong Yidong <cyd@gnu.org>
3873
3874 * emacs-lisp/eieio.el: Restore Version header.
3875
fe0a74f9
SM
38762012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3877
6be9197e
SM
3878 * vc/diff-mode.el (diff--auto-refine-data): New var.
3879 (diff-hunk): Use it to delay refinement.
3880 (diff-mode): Remove overlays when we turn off font-lock.
3881
18486139
SM
3882 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3883 (table-initialize-table-fixed-width-mode)
3884 (table-set-table-fixed-width-mode): Remove functions.
3885 (table-command-list): Move initialization into declaration.
3886 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3887 (table-with-cache-buffer): Use `declare'.
3888 (table-span-cell): Simplify via CSE.
3889 (table-fixed-width-mode): Use define-minor-mode.
3890 (table-call-interactively, table-funcall, table-apply): Remove.
3891 (table-function): New function, to replace them.
3892
d83ef976
SM
3893 * bookmark.el (bookmark-search-pattern): Remove var.
3894 (bookmark-read-search-input): Remove function.
3895 (bookmark-bmenu-search): Reimplement using a minibuffer.
3896
cd386662
SM
3897 * faces.el (modeline): Remove obsolete face name.
3898
fe0a74f9
SM
3899 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3900 and give a non-nil default value.
3901 (add-change-log-entry): Simplify accordingly.
3902
9f7b98f8
DG
39032012-10-01 Dmitry Gutov <dgutov@yandex.ru>
3904
3905 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
3906 (vc-git-log-edit-toggle-amend): New function.
3907 (vc-git-log-edit-toggle-signoff): New function.
3908 (vc-git-log-edit-mode): New major mode.
3909 (vc-git-log-edit-mode-map): Keymap for it.
3910 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
3911
3912 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
3913 header names.
3914 (log-edit-toggle-header): New function.
3915 (log-edit-extract-headers): Accept function values in HEADERS alist.
3916
62a81506
CY
39172012-10-01 David Engster <deng@randomsample.de>
3918
3919 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
3920 from symbol property and change message to be more consistent with
3921 Emacs proper.
3922 (eieio-describe-generic): Add filename for each implementation.
3923 Fix indices for generic and normal methods.
3924 (eieio-method-def, eieio-class-def): New buttons.
3925 (eieio-help-find-method-definition)
3926 (eieio-help-find-class-definition): New functions.
3927 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
3928 class, constructor and method definitions.
3929
3930 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
3931 information in symbol property.
3932 (scoped-class): Remove.
3933 (eieio-slot-name-index, call-next-method): Check if it is bound.
3934
39352012-10-01 Leo P. White <lpw25@cam.ac.uk>
3936
3937 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
3938 (eieio-custom-mode): New major mode.
3939 (eieio-customize-object): Use it.
3940
39412012-10-01 Eric Ludlam <zappo@gnu.org>
3942
3943 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3944 specifying the expected class, and whether subclassing is allowed.
3945 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
3946 (eieio-persistent-validate/fix-slot-value)
3947 (eieio-persistent-slot-type-is-class-p): New functions.
3948 (eieio-named::slot-missing): Doc fix.
62a81506
CY
3949
3950 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3951 Stop using unused publd variable.
3952
3953 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3954 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3955 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3956 (eieio-speedbar-handle-click): Do not specify a class for the
3957 method. Fixes method invocation order problems with EDE.
3958
375e49d4
SM
39592012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3960
3961 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3962 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3963
16ce6ccd
KF
39642012-10-01 Karl Fogel <kfogel@red-bean.com>
3965
3966 * bookmark.el (bookmark-version-control): Give tags in the
3967 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
3968 (bookmark-write-file): Bind `print-circle' to `t' to allow
3969 circular custom bookmark types. (Bug#12503)
16ce6ccd 3970
19e54a4d
PE
39712012-10-01 Paul Eggert <eggert@cs.ucla.edu>
3972
86ec63ba
PE
3973 Revert the FOLLOW-SYMLINKS change for file-attributes.
3974 * files.el (remote-file-name-inhibit-cache, after-find-file):
3975 * time.el (display-time-file-nonempty-p): Undo last change.
3976
19e54a4d
PE
3977 * profiler.el (profiler-sampling-interval): Change default back to 1.
3978 See Stefan Monnier in
3979 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3980
0478776b
FEG
39812012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
3982
3983 Shell output catching a la gud-gdb.
3984 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
3985 (python-shell-fetch-lines-string, python-shell-fetched-lines):
3986 New Vars.
0478776b
FEG
3987 (python-shell-fetch-lines-filter): New function.
3988 (python-shell-send-string-no-output): Use them.
3989
c22bac2c
TM
39902012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3991
3992 * profiler.el (profiler-sampling-interval): Rename from
3993 profiler-sample-interval.
3994 (profiler-sampling-interval): Default to 10.
3995 (profiler-find-profile): New command (was profiler-find-log).
3996 (profiler-find-profile-other-window): New command.
3997 (profiler-find-profile-other-frame): New command.
3998 (profiler-profile): Introduce API-level data structure.
3999
e7a2937b
PE
40002012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4001
4002 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4003 * files.el (remote-file-name-inhibit-cache):
4004 * time.el (display-time-file-nonempty-p): Use it.
4005 * files.el (after-find-file): Don't chase links before calling
4006 file-exists-p, as file-exists-p already does the right thing.
4007
4f595e15
RA
40082012-09-30 Ralf Angeli <angeli@caeruleus.net>
4009
4010 Merge from standalone RefTeX repository.
4011
4012 The following ChangeLog entries are shortened versions of the
4013 original ones with file paths adapted. A not so strongly edited
4014 version of the original ChangeLog can be found in the commit log.
4015
4016 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
4017 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4018 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
4019
4020 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
4021 that entries with whitespace at various places are found.
4022 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
4023 Include @String definitions in the resulting bib file. Add header
4024 and footer defined in `reftex-create-bibtex-header' and
4025 `reftex-create-bibtex-footer'.
4026 (reftex-do-citation): Make it possible again to insert
4027 non-existent entries. Save match data when asking for optional
4028 arguments. Return all keys, not just the first one.
4029 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4030 all citations in the same line.
4031 (reftex-parse-bibtex-entry): Accept additional optional argument
4032 `raw' and keep quotes or braces if it is non-nil. Match fields
4033 containing hyphens besides word constituents.
4034 (reftex-get-string-refs): New function.
4035 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4036 and ask if it should be reread in case it did.
4037 (reftex-pop-to-bibtex-entry)
4038 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4039 entries with spaces or tabs in front of arguments.
4040 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
4041 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4042 Match entries containing numbers and symbol constituents.
4043 (reftex-do-citation, reftex-figure-out-cite-format):
4044 Use `reftex-cite-key-separator'.
4f595e15
RA
4045
4046 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4047 (reftex-mouse-view-crossref): Explain why point is set.
4048
4049 * textmodes/reftex-global.el: Whitespace changes.
4050
4051 * textmodes/reftex-index.el: Move provide statement to end of
4052 file.
4053 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4054 (reftex-index-visit-phrases-buffer): Set marker when visiting
4055 buffer. This allows for returning from the phrases file to the
4056 file one was just editing instead of the file where the last
4057 phrases was added from.
4058 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4059 punctuation syntax as it usually is not used as string quote in
4060 TeX-related modes and may occur unmatched. The change also
4061 prevents fontification of quoted content.
4062 (reftex-index-phrases-mode): Use it.
4063
375e49d4
SM
4064 * textmodes/reftex-parse.el (reftex-parse-from-file):
4065 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
4066 (reftex-parse-from-file): Use beginning of match instead of end as
4067 bound.
4068
4069 * textmodes/reftex-ref.el: Adapt creation of
4070 `reftex-<package>-<macro>' functions to new structure of
4071 `reftex-ref-style-alist'.
375e49d4
SM
4072 (reftex-reference): Use `reftex-ref-style-list' function.
4073 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
4074 reference macro if `reftex-ref-macro-prompt' is non-nil.
4075 (reftex-reference): Pass refstyle to `reftex-format-special'.
4076 Determine reference macro by looking at
375e49d4
SM
4077 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4078 Use only one special format function.
4f595e15
RA
4079 (reftex-varioref-vref, reftex-fancyref-fref)
4080 (reftex-fancyref-Fref): Remove definitions. The functions are now
4081 generated from `reftex-ref-style-alist'.
4082 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4083 Remove.
4084 (reftex-format-special): New function.
4085
4086 * textmodes/reftex-sel.el
4087 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4088 of `reftex-ref-style-alist'. Remove code for testing macro type.
4089 (reftex-select-toggle-varioref)
4090 (reftex-select-toggle-fancyref): Remove.
4091 (reftex-select-cycle-ref-style-internal)
4092 (reftex-select-cycle-ref-style-forward)
4093 (reftex-select-cycle-ref-style-backward): New functions.
4094 (reftex-select-label-map): Use `v' and `V' for general cycling
4095 through reference styles. Add `p' for switching between number
4096 and page reference types.
4097
375e49d4
SM
4098 * textmodes/reftex-toc.el (reftex-re-enlarge):
4099 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
4100 the horizontal version throws an error even if the parameter is 0.
4101
4102 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4103 (reftex-plug-into-AUCTeX): Doc fix.
4104 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4105 string. Adapt to new name.
4106 (reftex-ref-style-alist): Change structure so that it is not
4107 possible to use multiple different package names within a style.
375e49d4
SM
4108 Remove the symbols for symbols for macro type distinction.
4109 Add characters for macro selection.
4f595e15
RA
4110 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4111 (reftex-create-bibtex-footer): New variables.
4112 (reftex-format-ref-function): Mention third argument of special
4113 format function.
375e49d4
SM
4114 (reftex-ref-style-alist, reftex-ref-style-default-list):
4115 New variables.
4f595e15
RA
4116 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4117 to new implementation. Mark as obsolete. Add compatibility code
4118 for honoring the variable values in case they are set.
375e49d4
SM
4119 (reftex-cite-format-builtin, reftex-bibliography-commands):
4120 Add support for ConTeXt.
4121 (reftex-format-ref-function, reftex-format-cite-function):
4122 Fix custom type.
4f595e15
RA
4123 (reftex-cite-key-separator): New variable.
4124
4125 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4126 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4127 `reftex-syntax-table' because parens have to retain their paren
4128 syntax in order for parsing of BibTeX entries like @book(...) to
4129 work.
4130 (reftex-in-comment): Do not error out if `comment-start-skip' is
4131 not set. Deal correctly with escaped comment characters.
375e49d4
SM
4132 (reftex-tie-multifile-symbols): Add doc string.
4133 Initialize `reftex-ref-style-list'.
4f595e15
RA
4134 (reftex-untie-multifile-symbols): Add doc string.
4135 (reftex-add-index-macros): Doc fix.
4136 (reftex-ref-style-activate, reftex-ref-style-toggle)
4137 (reftex-ref-style-list): New functions.
4138 (reftex-mode-menu): Use them. Adapt to new structure of
4139 `reftex-ref-style-alist'.
4140 (reftex-select-with-char): Kill the RefTeX Select buffer when
4141 done.
4142 (reftex-remove-if): New function.
4143 (reftex-erase-all-selection-and-index-buffers)
4144 (reftex-mode-menu): Reference styles are now computed from
4145 `reftex-ref-style-alist'. Fix typo.
4146 (reftex-report-bug): New function.
4147 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4148 algorithms with O(n log n). Introduce optional argument SORT (not
4149 yet used).
4150
440ba395
FEG
41512012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4152
4153 Enhancements for triple-quote string syntax.
375e49d4
SM
4154 * progmodes/python.el (python-syntax-propertize-function):
4155 Match both quote cases in one regexp.
440ba395
FEG
4156 (python-syntax-stringify): Handle matches properly.
4157
4c478e6b
JL
41582012-09-30 Juri Linkov <juri@jurta.org>
4159
4160 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 4161 to nil around the call to `insert' to prevent
4c478e6b
JL
4162 directory time modification by lock_file. (Bug#2295)
4163 * tar-mode.el (tar-summarize-buffer): Idem.
4164
d80d54b2
JL
41652012-09-30 Juri Linkov <juri@jurta.org>
4166
4167 * facemenu.el (list-colors-sort): Add option "Luminance".
4168 (list-colors-sort-key): Implement it.
4169
4170 * vc/diff-mode.el (diff-refine-removed):
4171 * vc/ediff-init.el (ediff-fine-diff-A):
4172 * vc/smerge-mode.el (smerge-refined-removed):
4173 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4174
d7e642cc
JD
41752012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4176
4177 * term/ns-win.el (x-file-dialog): New function.
4178
ee41332b
JB
41792012-09-30 Juanma Barranquero <lekktu@gmail.com>
4180
4181 * ido.el (ido-max-directory-size): Default to nil; the current
4182 default is small for POSIX systems, and impractical on Windows 7
4183 now that lstat returns directory sizes for NTFS.
4184
5938d519
MR
41852012-09-30 Martin Rudalics <rudalics@gmx.at>
4186
4187 In buffer display functions handle window-height/window-width
4188 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
4189 * window.el (window--display-buffer): New argument ALIST.
4190 Obey window-height and window-width alist entries.
4191 (window--try-to-split-window): New argument ALIST.
4192 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
4193 changed and window-combination-limit equals `window-size'.
4194 (display-buffer-in-atom-window)
4195 (display-buffer-in-major-side-window)
4196 (display-buffer-in-side-window, display-buffer-same-window)
4197 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4198 (display-buffer-pop-up-window, display-buffer-below-selected)
4199 (display-buffer-at-bottom, display-buffer-in-previous-window)
4200 (display-buffer-use-some-window): Adjust all callers of
4201 window--display-buffer and window--try-to-split-window.
4202 (fit-frame-to-buffer): New option.
4203 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4204 is non-nil.
4205 (display-buffer-in-major-side-window): Evaluate window-height /
4206 window-width alist entries.
4207
4208 * help.el (temp-buffer-resize-frames)
4209 (temp-buffer-resize-regexps): Remove options.
4210 (temp-buffer-resize-mode): Adjust doc-string.
4211 (resize-temp-buffer-window): Don't consult
4212 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4213 temp-buffer-resize-frames.
4214
375e49d4
SM
4215 * dired.el (dired-mark-pop-up):
4216 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
4217 entry.
4218
c4c0c2df
CY
42192012-09-30 Chong Yidong <cyd@gnu.org>
4220
48de8b12
CY
4221 * server.el (server-host): Document the security implications.
4222 (server-auth-key): Doc fix.
4223
4224 * startup.el (initial-buffer-choice): Doc fix.
4225
4226 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4227
a97dc380
CY
4228 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4229 restriction change.
4230
d39d3c8e
CY
4231 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4232
c4c0c2df
CY
4233 * help-fns.el (help-fns--obsolete): Fix last change.
4234
98a5e33b
SM
42352012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4236
34cf6f39
SM
4237 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4238 (minor-mode-map-alist): Remove redundant code.
4239
e01c13fe
SM
4240 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4241 visited in a buffer.
4242 (cvs-insert-visited-file): New function.
4243 (find-file-hook): Use it.
4244
4245 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4246
02661b3a
SM
4247 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4248 chose face.
4249 (log-edit-empty-buffer-p): Don't require a space after a header.
4250
43711d4b
SM
4251 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4252
38a30d64
SM
4253 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4254
4ffb41a9
SM
4255 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4256 a proper minor-mode.
4257
98a5e33b
SM
4258 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4259
de82e29b
GM
42602012-09-29 Glenn Morris <rgm@gnu.org>
4261
5cc2e639
GM
4262 * winner.el (winner-mode): Remove variable (let define-minor-mode
4263 handle it).
4264 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4265 Doc fixes.
4266 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4267 (winner-mode): Use define-minor-mode.
4268
7bd302eb
GM
4269 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4270 the full definition in loaddefs, rather than duplicating it.
4271
2923922f 4272 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 4273
0e3e4156
GM
4274 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4275 (inferior-lisp-program, inferior-lisp-load-command)
4276 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 4277 No need to autoload defcustoms.
0e3e4156 4278
de82e29b
GM
4279 * hippie-exp.el (hippie-expand-try-functions-list)
4280 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4281 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4282 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 4283 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
4284 * progmodes/vhdl-mode.el (vhdl-line-expand):
4285 Explicitly load hippie-exp, so it does not get autoloaded
4286 while hippie-expand-try-functions-list is let-bound.
4287
e60b51ab
GM
42882012-09-28 Glenn Morris <rgm@gnu.org>
4289
277f0cfa
GM
4290 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4291
e60b51ab
GM
4292 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4293 Only "cl.el" counts as cl these days.
4294
53baf48a
JL
42952012-09-28 Juri Linkov <juri@jurta.org>
4296
4297 Display archive errors in the echo area instead of inserting
4298 to the file buffer.
4299
4300 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4301 to STDERR-TEST that can be a regexp matching a successful output.
4302 Create a temporary file and redirect stderr to it. Search for
4303 STDERR-TEST in the stderr output and display it in the echo area
4304 if no match is found.
4305 (archive-extract-by-file): New function like
4306 `archive-extract-by-stdout' but extracting archives to files
4307 and looking for successful matches in stdout. Function body is
4308 mostly copied from `archive-rar-extract'.
4309 (archive-rar-extract): Use `archive-extract-by-file'.
4310 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
4311
9c1228c3
LL
43122012-09-28 Leo Liu <sdl.web@gmail.com>
4313
375e49d4
SM
4314 * pcomplete.el (pcomplete-show-completions):
4315 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 4316
9c1228c3
LL
4317 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4318
7f457c06
SM
43192012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4320
3df749b0
SM
4321 * type-break.el: Use lexical-binding.
4322 (type-break-mode): Use define-minor-mode.
4323
7f457c06
SM
4324 * emacs-lisp/pcase.el (pcase--mark-used): New.
4325 (pcase--u1): Use it (bug#12512).
4326
4327 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4328 in load-history with the right file name.
4329
c00ebc98
TH
43302012-09-28 Tassilo Horn <tsdh@gnu.org>
4331
4332 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4333 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4334 (doc-view-get-bounding-box): Make bounding box slicing work for
4335 ODF and DVI documents.
4336
96fb7170
GM
43372012-09-28 Glenn Morris <rgm@gnu.org>
4338
4339 * type-break.el (type-break-mode, type-break-interval)
4340 (type-break-good-rest-interval, type-break-keystroke-threshold):
4341 No need to autoload.
4342 (type-break-good-rest-interval, type-break-keystroke-threshold):
4343 Add :set-after.
4344
5bc93c67
CY
43452012-09-28 Chong Yidong <cyd@gnu.org>
4346
4347 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4348 Add :version tag.
4349
9cad61d6
SM
43502012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4351
e28e67b3 4352 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 4353
daee954c
GM
43542012-09-27 Glenn Morris <rgm@gnu.org>
4355
a88324d4
GM
4356 * faces.el (x-display-name): Declare (for without-x builds).
4357
8e5064e5
GM
4358 * linum.el (linum-format): Don't autoload it. Improve :type.
4359
cc1783c2
GM
4360 * progmodes/tcl.el: Don't require outline when compiling.
4361 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
4362 * textmodes/sgml-mode.el: Don't require outline when compiling.
4363 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4364
48c339f2
GM
4365 * term.el (term-ansi-reset):
4366 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4367
daee954c
GM
4368 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4369 files for RCS and SCCS. (Bug#9781)
4370
b7f42161
CY
43712012-09-27 Chong Yidong <cyd@gnu.org>
4372
4373 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4374 change; value should be t.
4375
a2e770db
SM
43762012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4377
83600dc8
SM
4378 * image-mode.el: Use lexical-binding.
4379 (image-mode-winprops): Use t to stand for the window of
4380 a buffer that's not displayed.
4381 * doc-view.el (doc-view-new-window-function): Handle the new
4382 t in winprops.
4383 (doc-view-enlarge): Make it a real nop if the size is not changed.
4384 (doc-view-display): Handle the case where the buffer is not (yet?)
4385 displayed in any window.
4386 (doc-view-saved-settings): New var.
4387 (doc-view-mode): Use it.
4388 (doc-view-fallback-mode): Set it.
4389
a2e770db
SM
4390 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4391 Set lexical-binding.
4392 (minibuffer-eldef-shorten-default): New var.
4393 (minibuffer-default-in-prompt-regexps): Use it for new default.
4394 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4395
e3b60857
JB
43962012-09-26 Juanma Barranquero <lekktu@gmail.com>
4397
4398 * international/uni-bidi.el:
4399 * international/uni-category.el:
4400 * international/uni-name.el:
4401 * international/uni-numeric.el: Regenerate.
4402
3a880af4
SM
44032012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
4404 Stefan Monnier <monnier@iro.umontreal.ca>
4405
4406 * profiler.el: New file.
4407
07b1a5fb
SM
44082012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4409
4410 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4411 (testcover-reinstrument): Simplify with CSE.
4412
42019c2e
JB
44132012-09-26 Juanma Barranquero <lekktu@gmail.com>
4414
4415 * window.el (temp-buffer-window-setup): Fix typo in docstring.
4416
179f044b
WS
44172012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
4418
4419 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4420 (verilog-auto-input, verilog-auto-insert-lisp)
4421 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4422 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4423 (verilog-auto-unused, verilog-auto-wire)
4424 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4425 newline. Reported by Andrew Jones.
4426 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4427 Reported by Brad Dobbie.
07b1a5fb
SM
4428 (verilog-batch-delete-trailing-whitespace):
4429 Create verilog-batch-delete-trailing-whitespace.
4430 Reported by Brad Dobbie.
179f044b
WS
4431 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4432 parameters from another module. Reported by Dan Katz.
4433 (verilog-auto, verilog-auto-assign-modport)
4434 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4435 AUTOINOUTMODPORT for UVM interface module shell generation.
4436 Reported by Brad Dobbie.
4437 (verilog-auto-inst-interfaced-ports): Make default nil, as more
4438 standard behavior.
4439 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4440 Reported by Matt Martin.
4441
9c52dd5a
MR
44422012-09-25 Martin Rudalics <rudalics@gmx.at>
4443
4444 * window.el (window--resize-child-windows): When resizing child
4445 windows proportionally, process them in reverse order to
4446 preserve the "when splitting a window the new one gets the odd
4447 line" behavior.
4448 (window--resize-root-window-vertically): When resizing the
4449 minibuffer window try to affect only windows at the bottom of the
4450 frame. (Bug#12419)
4451
863666eb
CY
44522012-09-25 Chong Yidong <cyd@gnu.org>
4453
4454 * subr.el (declare): Doc fix.
4455
4456 * help-fns.el (help-fns--obsolete): Handle macros properly.
4457
59f7af81
CY
44582012-09-25 Chong Yidong <cyd@gnu.org>
4459
4460 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4461 this function obsolete.
4462
4463 * calendar/cal-x.el (calendar-two-frame-setup)
4464 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4465 * calendar/calendar.el (american-calendar, european-calendar)
4466 (calendar-for-loop):
4467 * comint.el (comint-dynamic-simple-complete)
4468 (comint-dynamic-complete-as-filename, comint-unquote-filename):
4469 * desktop.el (desktop-load-default):
4470 * dired-x.el (dired-omit-here-always)
4471 (dired-hack-local-variables, dired-default-directory):
4472 * emacs-lisp/derived.el (derived-mode-class):
4473 * emacs-lisp/timer.el (timer-set-time-with-usecs):
4474 * emacs-lock.el (toggle-emacs-lock):
4475 * epa.el (epa-display-verify-result):
4476 * epg.el (epg-sign-keys, epg-start-sign-keys)
4477 (epg-passphrase-callback-function):
4478 * eshell/esh-util.el (eshell-for):
4479 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4480 (eshell-add-to-window-buffer-names):
4481 * files.el (locate-file-completion):
4482 * imenu.el (imenu-example--create-c-index)
4483 (imenu-example--create-lisp-index)
4484 (imenu-example--lisp-extract-index-name)
4485 (imenu-example--name-and-position):
4486 * international/mule-cmds.el (princ-list):
4487 * international/mule-diag.el (decode-codepage-char):
4488 * international/mule-util.el (detect-coding-with-priority):
4489 * iswitchb.el (iswitchb-read-buffer):
4490 * mail/mailalias.el (mail-complete):
4491 * mail/sendmail.el (mail-sent-via):
4492 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4493 (mouse-major-mode-menu):
4494 * password-cache.el (password-read-and-add):
4495 * pcomplete.el (pcomplete-parse-comint-arguments):
4496 * progmodes/sh-script.el (sh-maybe-here-document):
4497 * replace.el (query-replace-regexp-eval):
4498 * savehist.el (savehist-load):
4499 * simple.el (choose-completion-delete-max-match):
4500 * term.el (term-dynamic-simple-complete):
4501 * vc/ediff-init.el (ediff-check-version):
4502 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4503 * vc/vc.el (vc-diff-switches-list):
4504 * view.el (view-return-to-alist-update): Likewise.
4505
4506 * subr.el (eval-next-after-load, makehash, insert-string)
4507 (assoc-ignore-representation, assoc-ignore-case): Use declare to
4508 mark obsolete.
4509 (mode-line-inverse-video): Variable deleted.
4510
4511 * international/mule-util.el (string-to-sequence): Remove.
4512
4513 * calendar/calendar.el (calendar-version):
4514 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
4515 (icalendar-convert-diary-to-ical):
4516 * cus-edit.el (custom-mode):
4517 * ansi-color.el (ansi-color-unfontify-region):
4518 * international/latin1-disp.el (latin1-char-displayable-p):
4519 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
4520 * progmodes/which-func.el (which-func-update-1):
4521 Use define-obsolete-function-alias.
59f7af81
CY
4522
4523 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
4524 * net/newst-treeview.el (newsticker-groups-filename):
4525 Fix incorrect obsolescence declaration.
59f7af81
CY
4526
4527 * allout.el (allout-passphrase-hint-string): Likewise.
4528 (allout-init): Use a declare form to mark obsolete.
4529
4530 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4531 this applies to functions.
4532
4533 * iswitchb.el (iswitchb-read-buffer): Move code of
4534 iswitchb-define-mode-map here, and delete that obsolete function.
4535
4536 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4537 font-lock-reference-face.
4538
cca96c97
GM
45392012-09-25 Glenn Morris <rgm@gnu.org>
4540
b06eeda8
GM
4541 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4542 Doc fixes.
4543
cca96c97
GM
4544 * eshell/em-term.el (eshell-term-name):
4545 Default to term-term-name. (Bug#12485)
4546
dc4f818b
FEG
45472012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4548
cca96c97
GM
4549 * progmodes/python.el (python-shell-send-buffer): Better handling
4550 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 4551
289c24bd
GM
45522012-09-24 Glenn Morris <rgm@gnu.org>
4553
4554 * eshell/esh-cmd.el (eshell-find-alias-function):
4555 Tighten up file-name regexp. (Bug#12499)
4556
8fb8b88f
FEG
45572012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4558
4559 Enhancements for triple-quote string syntax.
4560 * progmodes/python.el (python-quote-syntax): Remove.
4561 (python-syntax-propertize-function): New value.
07b1a5fb
SM
4562 (python-syntax-count-quotes, python-syntax-stringify):
4563 New functions.
8fb8b88f 4564
6c27f0f8
CY
45652012-09-24 Chong Yidong <cyd@gnu.org>
4566
a5f2b6ec
CY
4567 * mail/supercite.el (sc-version): Remove obsolete function.
4568 (sc-describe): Don't mark as obsolete, since it is bound.
4569 (sc-submit-bug-report): Remove.
4570
4571 * vc/log-edit.el (cvs-changelog-full-paragraphs)
4572 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
4573 (log-edit-require-final-newline)
4574 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
4575
4576 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
4577 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4578 * vc/vc.el (vc-checkout-carefully): Likewise.
4579
4580 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
4581 (emerge-version): Remove.
4582
4583 * progmodes/compile.el (compile-internal): Remove.
4584 (compilation-parse-errors-function): Fix typo.
4585
4586 * international/mule.el (set-char-table-default): Remove.
4587 (set-coding-priority, make-coding-system, generic-char-p)
4588 (charset-list, charset-bytes, charset-id): Use declare to mark
4589 functions as obsolete.
4590
4591 * vc/pcvs-defs.el (cvs-buffer-name-alist)
4592 (cvs-invert-ignore-marks): Remove references to obsolete vars.
4593 * vc/vc-hooks.el (vc-default-registered): Don't use
4594 vc-master-templates.
4595
07b1a5fb
SM
4596 * font-lock.el (font-lock-reference-face):
4597 Use define-obsolete-variable-alias.
6c27f0f8
CY
4598
4599 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4600 * calendar/calendar.el (calendar-font-lock-keywords):
4601 * calendar/diary-lib.el (diary-font-lock-keywords)
4602 (diary-fancy-font-lock-keywords):
4603 * textmodes/reftex-sel.el (reftex-insert-docstruct):
4604 * textmodes/reftex-index.el (reftex-insert-index):
4605 * textmodes/reftex-cite.el (reftex-format-bib-entry):
4606 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4607 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4608 * progmodes/prolog.el (prolog-font-lock-keywords):
4609 * progmodes/idlwave.el (idlwave-idl-keywords):
4610 * progmodes/ada-mode.el (ada-font-lock-keywords):
4611 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4612
bcc0adbf
GM
46132012-09-24 Glenn Morris <rgm@gnu.org>
4614
4615 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4616
095bb823
FEG
46172012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
4618
4619 * progmodes/python.el (python-indent-line): More consistent cursor
4620 movement behavior.
4621
70efc5c9
SM
46222012-09-23 Stefan Merten <smerten@oekonux.de>
4623
4624 * textmodes/rst.el: Fix compiler warning.
4625
2f438239
RW
46262012-09-23 Roland Winkler <winkler@gnu.org>
4627
07b1a5fb
SM
4628 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4629 Transcribe also LaTeX hyphenation.
2f438239
RW
4630 (bibtex-reformat): Bug fix. Do not quote twice the elements of
4631 bibtex-reformat-previous-options.
4632
936ad041
RW
46332012-09-23 Roland Winkler <winkler@gnu.org>
4634
4635 * proced.el (proced-renice-command): New variable.
4636 (proced-marked-processes): New function.
4637 (proced-with-processes-buffer): New macro.
4638 (proced-send-signal): Use them.
4639 (proced-renice): New command bound to r.
4640
6fab0274
RW
46412012-09-23 Roland Winkler <winkler@gnu.org>
4642
4643 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4644 ibuffer-saved-filter-groups has one element, shortcut the call of
4645 completing-read. (Bug#12331)
4646
9a930676
CY
46472012-09-23 Chong Yidong <cyd@gnu.org>
4648
4649 * bindings.el (mode-line-toggle-read-only):
4650 * bs.el (bs-toggle-readonly):
4651 * buff-menu.el (Buffer-menu-toggle-read-only):
4652 * dired.el (dired-toggle-read-only):
4653 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4654
d07ff9db
CY
46552012-09-23 Chong Yidong <cyd@gnu.org>
4656
4657 * image.el (image-type-available-p): Adapt to init-image-library
4658 argument changes.
4659
51c4474e
JL
46602012-09-22 Juri Linkov <juri@jurta.org>
4661
4662 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4663 `dired-toggle-read-only'. (Bug#12462)
4664
43bf5e8e
MR
46652012-09-22 Martin Rudalics <rudalics@gmx.at>
4666
4667 * subr.el (temp-output-buffer-show): New function.
4668 (with-output-to-temp-buffer): Call temp-output-buffer-show
4669 instead of internal-temp-output-buffer-show.
4670
c88b867f
CY
46712012-09-22 Chong Yidong <cyd@gnu.org>
4672
3df47cd5
CY
4673 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4674 (Bug#12462).
4675
c88b867f
CY
4676 * repeat.el (repeat): Doc fix (Bug#12348).
4677
4678 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4679 (Bug#10909).
4680
4681 * simple.el (shell-command-on-region): Doc fix.
3171e303 4682 (read-only-mode): Doc fix.
c88b867f 4683
df9685f3
EZ
46842012-09-22 Eli Zaretskii <eliz@gnu.org>
4685
4686 * emacs-lisp/timer.el (run-with-idle-timer)
4687 (timer-activate-when-idle): Warn against reinvoking an idle timer
4688 from within its own timer action. (Bug#12447)
4689
8e17c9ba
MR
46902012-09-22 Martin Rudalics <rudalics@gmx.at>
4691
4692 * cus-start.el (window-combination-limit): Add new optional
4693 values.
4694 * window.el (temp-buffer-window-show)
4695 (window--try-to-split-window): Handle new values of
4696 window-combination-limit (Bug#1806).
4697 (split-window): Test window-combination-limit for t instead of
4698 non-nil.
4699 (display-buffer-at-bottom): New buffer display action function.
4700 * help.el (temp-buffer-resize-regexps): New option.
4701 (temp-buffer-resize-mode): Rewrite doc-string.
4702 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 4703 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 4704
48a24920
SM
47052012-09-22 Stefan Merten <smerten@oekonux.de>
4706
70efc5c9 4707 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
4708 (rst-official-version)
4709 (rst-package-emacs-version-alist): Sync with official version
4710 V1.4.0.
4711 (rst-faces-defaults, rst-set-level-default)
4712 (rst-level-face-max, rst-level-face-base-color)
4713 (rst-level-face-base-light, rst-level-face-format-light)
4714 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4715 (rst-adornment-faces-alist): Match new setup.
4716 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4717 (rst-level-5, rst-level-6): New faces.
4718
82f8cd94
CY
47192012-09-22 Chong Yidong <cyd@gnu.org>
4720
4721 * simple.el (undo): Handle indirect buffers (Bug#8207).
4722
acfa068f 47232012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
4724
4725 IDO: Disable match re-ordering for buffer switching.
2bc9406c 4726 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
4727 (ido-set-matches-1): Use it. (Bug#2042)
4728
acfa068f 47292012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
4730
4731 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4732 Fix 2011-05-17 change. (Bug#12418)
4733
acfa068f 47342012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
4735
4736 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4737
acfa068f 47382012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
4739
4740 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4741 Be more robust about locating simple.el.
4742
acfa068f 47432012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
4744
4745 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4746
acfa068f
CY
47472012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
4748
4749 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
4750
41a97e6f
JL
47512012-09-20 Juri Linkov <juri@jurta.org>
4752
eb2deaff
JL
4753 * replace.el (query-replace-read-from): Use `read-regexp' instead
4754 of `read-from-minibuffer' when `regexp-flag' is non-nil.
4755 (occur-read-primary-args): Use `read-regexp' instead of
4756 `read-string'.
4757 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4758 `read-from-minibuffer'.
4759 * isearch.el (isearch-occur): Use `read-regexp' instead of
4760 `read-string'.
4761 * dired.el (dired-read-regexp): Use `read-regexp' instead of
4762 `read-from-minibuffer'.
4763 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4764 of `read-string'. (Bug#7567)
4765
5825610b
JL
4766 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4767 and allow accepting a list of strings prepended to a list of
4768 standard default values. Doc fix. (Bug#12321)
4769
eebbf404
JL
4770 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
4771
41a97e6f
JL
4772 * replace.el (read-regexp): Don't add ": " when PROMPT already
4773 ends with a colon and space. (Bug#12321)
4774
c9e452d3
TH
47752012-09-20 Tassilo Horn <tsdh@gnu.org>
4776
4777 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4778 error.
4779
ee97deee
SM
47802012-09-20 Stefan Merten <smerten@oekonux.de>
4781
70efc5c9 4782 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
4783 Fixes feature request bug#11711.
4784 (rst-mode): Create `imenu-create-index-function'.
4785 (rst-get-stripped-line): Delete after refactoring.
4786 (rst-section-tree, rst-section-tree-rec)
4787 (rst-section-tree-point): Refactor and document properly.
4788 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
4789 (rst-imenu-convert-cell, rst-imenu-create-index):
4790 New function.
ee97deee 4791
f490dab9
SM
47922012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4793
95b9712e
SM
4794 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4795 (macroexp--expand-all): Use it.
4796 (macroexp--funcall-and-return): Remove by folding it into its sole
4797 caller (macroexp--warn-and-return).
4798 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4799 Use macroexp--obsolete-warning.
4800
f490dab9
SM
4801 * calc/calc.el: Fix last change by removing the whole chunk, since it
4802 was only needed back when Calc was not bundled.
4803
96e8d411
MR
48042012-09-20 Martin Rudalics <rudalics@gmx.at>
4805
4806 * emacs-lisp/debug.el (debug): Restore assignment to
4807 debugger-old-buffer removed on 2012-09-08.
4808
0876a82d
JL
48092012-09-20 Juri Linkov <juri@jurta.org>
4810
4811 * dired-aux.el (dired-diff): Remove (require 'diff) since
4812 `diff-latest-backup-file' is now autoloaded.
4813
9f7c28f0
CY
48142012-09-20 Chong Yidong <cyd@gnu.org>
4815
4816 * vc/diff.el (diff-latest-backup-file): Autoload.
4817
7a04bee9
SM
48182012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4819
e6f0a80d
SM
4820 * calc/calc.el: Remove redundant autoload shape check.
4821 (sel-mode): Don't defvar.
4822 (calc-get-stack-element): Add `sel-mode' arg instead.
4823 (calc-top, calc-top-list): Pass it this additional argument.
4824 * calc/calc-store.el (calc-store-map):
4825 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4826 (calc-map-equation, calc-outer-product, calc-inner-product):
4827 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4828
7a04bee9
SM
4829 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4830
12734222
JL
48312012-09-19 Juri Linkov <juri@jurta.org>
4832
4833 * dired-aux.el (dired-diff): Add (require 'diff) because
4834 `diff-latest-backup-file' is not autoloaded.
4835 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4836 of `dired-get-filename' to t to not report error when there is
4837 no default file on the current line.
4838
46624b4f
SM
48392012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4840
ce97595b
SM
4841 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4842 macroexp--eval-if-compile.
4843 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4844 (macroexp--expand-all): Use them (bug#12371).
4845
46624b4f
SM
4846 * doc-view.el (doc-view-guess-paper-size)
4847 (doc-view-scale-bounding-box): Fix unbound `caddr'.
4848
db8a5a18
TH
48492012-09-19 Tassilo Horn <tsdh@gnu.org>
4850
4851 New feature: set optimal slice from BoundingBox information.
4852 * doc-view.el (doc-view-mode-map): Add keybinding.
4853 (doc-view-menu): Add menu entry.
4854 (doc-view-set-slice): Adapt docstring.
4855 (doc-view-get-bounding-box, doc-view-guess-paper-size)
4856 (doc-view-scale-bounding-box)
4857 (doc-view-set-slice-from-bounding-box): New functions.
4858 (doc-view-paper-sizes): New defvar.
4859
69f6644c
GM
48602012-09-19 Glenn Morris <rgm@gnu.org>
4861
35f5b19d
GM
4862 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4863 (byte-compile-log-warning): Autoload. (Bug#12371)
4864
69f6644c
GM
4865 * calendar/calendar.el (calendar-american-month-header)
4866 (calendar-european-month-header, calendar-iso-month-header)
4867 (calendar-month-header): New options.
4868 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
4869 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
4870
e543ae91
JD
48712012-09-19 Jan Djärv <jan.h.d@swipnet.se>
4872
4873 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4874
2fd5e67d
JL
48752012-09-18 Juri Linkov <juri@jurta.org>
4876
4877 * dired-aux.el (dired-diff): Restore original functionality of
4878 getting the default value, but keep new feature of using the
4879 latest existing backup file (`diff-latest-backup-file').
4880
42917e79
JL
48812012-09-18 Juri Linkov <juri@jurta.org>
4882
4883 * dired.el (dired-mark): If the region is active in Transient Mark
4884 mode, mark all files in the active region. Doc fix.
4885 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4886 Doc fix. (Bug#10624)
4887
20f70ede
JL
48882012-09-18 Juri Linkov <juri@jurta.org>
4889
4890 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4891 attributes for M-n are pulled from the file at point.
4892 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4893 Suggested by Drew Adams. (Bug#10624)
4894
32fb8162
DG
48952012-09-18 Dmitry Gutov <dgutov@yandex.ru>
4896
4897 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4898 whitespace after "end".
4899 (ruby-do-end-to-brace): Collapse block to one line if it fits
4900 within fill-column.
4901
37ab5092
MR
49022012-09-18 Martin Rudalics <rudalics@gmx.at>
4903
4904 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
4905 value.
4906 (debug): Don't remove debugger window when debugger is expected
4907 to be back.
4908
ed1f0bd3
CY
49092012-09-18 Chong Yidong <cyd@gnu.org>
4910
4911 * custom.el (defface): Doc fix.
4912
4913 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
4914
a11035b8
MB
49152012-09-18 Martin Blais <blais@furius.ca> (tiny change)
4916
4917 * progmodes/compile.el (compilation-start): Use compilation-always-kill
4918 to initialize query-on-exit; then test that instead (bug#12288).
4919
64f6a736
SM
49202012-09-17 Stefan Merten <smerten@oekonux.de>
4921
70efc5c9 4922 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
4923 (rst-defcustom-testcover, rst-testcover-add-compose)
4924 (rst-testcover-add-1value): New functions.
4925 (rst-portable-mark-active-p): Replace by `use-region-p'.
4926 (rst-update-section, rst-classify-adornment)
4927 (rst-find-title-line): Mark `1value' forms.
4928 (rst-classify-adornment): Remove superfluous form.
4929 (rst-update-section, rst-get-adornments-around)
4930 (rst-adornment-complete-p, rst-get-next-adornment)
4931 (rst-adjust, rst-promote-region)
4932 (rst-display-adornments-hierarchy, rst-straighten-adornments)
4933 (rst-find-pfx-in-region, rst-section-tree-rec)
4934 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
4935 (rst-toc-node, rst-toc, rst-forward-section)
4936 (rst-iterate-leftmost-paragraphs)
4937 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
4938 (rst-bullet-list-region)
4939 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
4940 (rst-compile-find-conf, rst-compile)
4941 (rst-repeat-last-character): Fix style.
4942
580bd868
CY
49432012-09-17 Chong Yidong <cyd@gnu.org>
4944
4945 * comint.el (comint--complete-file-name-data): Don't add a space
4946 if the status is `sole'; that adds a gratuitous space in the
4947 completion-cycling case (Bug#12092).
4948
4949 * pcomplete.el (pcomplete-completions-at-point): Likewise.
4950
69de3ec6
RS
49512012-09-17 Richard Stallman <rms@gnu.org>
4952
0dee970c
RS
4953 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4954 only in the mime-shown mode, not in raw mode.
4955 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 4956 mime processing. (Bug#12305)
0dee970c 4957
6b250df6
GM
4958 * mail/rmail.el (rmail-retry-failure):
4959 Turn off mime processing first. (Bug#12037)
acb1c47b 4960
69de3ec6
RS
4961 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4962
d079ee5f
CY
49632012-09-17 Chong Yidong <cyd@gnu.org>
4964
4965 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4966 (shell-dynamic-complete-functions): Convert to defcustom.
4967 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4968
865fe16f
CY
4969 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4970 * comint.el (comint-prompt-read-only):
4971 * custom.el (defcustom):
4972 * hi-lock.el (hi-lock-mode):
4973 * ibuffer.el (ibuffer-formats):
4974 * ielm.el (ielm-prompt-read-only):
4975 * novice.el (disable-command):
4976 * saveplace.el (toggle-save-place):
4977 * speedbar.el (speedbar-supported-extension-expressions):
4978 * startup.el (auto-save-list-file-prefix, init-file-user)
4979 (after-init-hook, inhibit-startup-echo-area-message):
4980 * strokes.el (strokes-help):
4981 * time-stamp.el (time-stamp):
4982 * calendar/calendar.el (calendar, diary-file):
4983 * calendar/diary-lib.el (diary-mail-entries, diary)
4984 (diary-list-entries-hook):
4985 * calendar/holidays.el (holidays, calendar-holidays):
4986 * calendar/lunar.el (lunar-phases):
4987 * calendar/solar.el (sunrise-sunset):
4988 * emulation/edt.el (edt-load-keys):
4989 * emulation/viper.el (viper-mode):
4990 * eshell/em-alias.el (eshell-command-aliases-list):
4991 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4992 * international/ogonek.el (ogonek-information):
4993 * net/tramp-cmds.el (tramp-bug):
4994 * net/quickurl.el (quickurl-reread-hook-postfix):
4995 * play/decipher.el (decipher-font-lock-keywords):
4996 * progmodes/cc-styles.el (c-set-style):
4997 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4998 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4999 * progmodes/octave-mod.el (octave-mode):
5000 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5001 * progmodes/verilog-mode.el (verilog-read-defines):
5002 * textmodes/two-column.el (2C-mode): Likewise.
5003
48093eb9
KY
50042012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5005
5006 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5007 that holds many addresses.
5008
c584eaf9
CY
50092012-09-16 Chong Yidong <cyd@gnu.org>
5010
40d70ecb
CY
5011 * align.el (align-areas): Call the indication function with
5012 positions instead of markers for arguments (Bug#12343).
5013
1667e065
CY
5014 * files.el (parse-colon-path): Use split-string (Bug#12351).
5015
fdc2806d 5016 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 5017 (display-buffer-function): Mark as obsolete.
fdc2806d 5018
f1be615c 5019 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
5020 values similar to font-lock-keywords (Bug#12136).
5021 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
5022 (compilation-error-regexp-alist): Doc fix.
5023
f40a9709
GM
50242012-09-15 Glenn Morris <rgm@gnu.org>
5025
72aa16e1
GM
5026 * version.el (emacs-bzr-version-bzr): New function.
5027 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5028
82375160
GM
5029 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5030 checkouts, check the parent dirstate matches the branch.
5031 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5032 empty string.
5033
f40a9709
GM
5034 * version.el (emacs-bzr-version): Doc fix.
5035 (emacs-bzr-version-dirstate): New function.
5036 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5037 is local try and check that it matches the branch. If not, just
5038 use dirstate information. (Bug#12441)
5039
cb26b7f5
JL
50402012-09-14 Juri Linkov <juri@jurta.org>
5041
5042 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5043 (Bug#12399)
5044
2de39f08
SM
50452012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5046
0fb3cb7c
SM
5047 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5048
2de39f08
SM
5049 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5050 Remove obsolete byte-compiler hack that tried to silence some warnings.
5051 (edebug-submit-bug-report): Remove.
5052 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5053 Remove aliases, use the un-prefixed name instead.
5054 (edebug-pop-to-buffer): Consider other frames.
5055 (edebug-original-read):: Make it more obvious that it's always defined.
5056 (edebug--make-form-data-entry, edebug--form-data-name)
5057 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5058 single-dashed name, and implement with cl-defstruct.
5059 (edebug-set-form-data-entry): Use the standard accessors.
5060 (edebug-make-top-form-data-entry): Use push.
5061 (edebug-no-match): Drop useless `funcall'.
5062 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5063 to functions.
5064 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5065 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5066 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5067 (easy-menu-define, with-custom-print): Remove redundant specs.
5068 (edebug-outside-overriding-local-map)
5069 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5070 (edebug--display): Bind unread-command-events directly to nil rather
5071 than binding it to unread-command-events and later setting it to nil.
5072 (edebug--display): Kill edebug-eval-buffer here...
5073 (edebug--recursive-edit): ...rather than here.
5074 Bind standard-output and standard-input.
5075 (edebug-eval): Check cl-macroexpand-all is fboundp.
5076 (edebug-temp-display-freq-count): Fix last change.
5077
5078 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5079 * subr.el (noreturn, 1value): Add `debug' spec.
5080 * emacs-lisp/advice.el: Require cl-lib.
5081 (ad-copy-tree): Remove, use copy-tree instead.
5082 (ad-dolist): Remove use dolist or cl-dolist instead.
5083 (ad-do-return): Remove, use cl-return instead.
5084 (defadvice): Add `debug' spec.
5085
5b68b333
JL
50862012-09-13 Juri Linkov <juri@jurta.org>
5087
5088 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5089 (Bug#12399)
5090
b9800ec4
GM
50912012-09-13 Glenn Morris <rgm@gnu.org>
5092
6a2e6868
GM
5093 * calc/calc.el (math-compose-expr):
5094 * calc/calc-ext.el (math-compose-expr):
5095 * progmodes/cc-defs.el (cl-macroexpand-all):
5096 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5097 (cl-macroexpand-all): Update declarations.
5098
b9800ec4
GM
5099 * vc/vc.el: No need to require ediff.
5100 (ediff-load-version-control): Declare.
5101 (ediff-vc-internal): Fix declaration.
5102 (vc-version-ediff): Require ediff.
5103
c18e885b
PE
51042012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5105
5106 Use a more backwards-compatible timer format (Bug#12430).
5107 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5108 being right after USECS, as that better supports old code that
5109 inadvisedly looked directly at the timer vector.
5110
d607d303
KH
51112012-09-13 Kenichi Handa <handa@gnu.org>
5112
5113 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5114 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5115 `coding-priority' property of these language environment.
5116
72eac303
PE
51172012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5118
5119 Fix glitches caused by addition of psec to timers (Bug#12430).
5120 * image.el (image-animate-timer):
5121 * time.el (display-time-world-timer):
5122 Use timer--function and timer--args rather than raw access to
5123 timer vector.
5124
2168fe4f
GM
51252012-09-13 Glenn Morris <rgm@gnu.org>
5126
5127 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5128 If not compiling a file, try using load-file-name.
5129
bd8d6108
SM
51302012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5131
c0c54fbd
SM
5132 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5133 Fix last change.
5134 (edebug-update-eval-list): Use `push'.
5135
bd8d6108
SM
5136 * emacs-lisp/edebug.el: Use lexical-binding.
5137 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5138 Mark unused args with underscore.
5139 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5140 (edebug-form-data): Use defvar-local.
5141 (edebug-make-before-and-after-form, edebug-make-after-form):
5142 Use backquote.
5143 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5144 Not dynamically scoped any more.
5145 (edebug--enter-trace): Add arguments `function' and `args'.
5146 Rename from edebug-enter-trace.
5147 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5148 (edebug--update-coverage): Add `after-index' and `value' args.
5149 Rename from edebug-update-coverage.
5150 (edebug-slow-after): Call it accordingly.
5151 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5152 edebug-recursive-edit.
5153 (edebug--display): Call it accordingly. Add args `value',
5154 `offset-index', and `arg-mode'. Rename from edebug-display.
5155 (edebug-debugger, edebug): Call it accordingly.
5156 (edebug-eval-display-list): Use dolist.
5157
a9f9d9de
JL
51582012-09-12 Juri Linkov <juri@jurta.org>
5159
5160 * info.el (Info-search): Don't check for isearch-mode and
5161 isearch-regexp before let-binding search-spaces-regexp to
5162 Info-search-whitespace-regexp.
5163 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5164 search-whitespace-regexp if isearch-lax-whitespace or
5165 isearch-regexp-lax-whitespace is non-nil.
5166 (Info-mode): Don't set local variable search-whitespace-regexp.
5167 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5168
bfeae2cf
SM
51692012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5170
5171 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5172 (debugger-env-macro): Remove support for unread-command-char.
5173
5174 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5175 the temporary map re-appearing on emulation-mode-map-alists.
5176
5177 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5178 since 22.1.
5179
5180 * ehelp.el (with-electric-help): Accept functions in
5181 electric-help-form-to-execute.
5182 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5183 And replace unread-command-char -> unread-command-events.
5184
fbbcaf1b
MA
51852012-09-12 Michael Albinus <michael.albinus@gmx.de>
5186
5187 Sync with Tramp 2.2.6.
5188
5189 * net/tramp.el (tramp-accept-process-output): Don't use
5190 JUST-THIS-ONE in the XEmacs case.
5191
5192 * net/trampver.el: Update release number.
5193
4dece104
MR
51942012-09-12 Martin Rudalics <rudalics@gmx.at>
5195
bfeae2cf
SM
5196 * emacs-lisp/debug.el (debugger-previous-window-height):
5197 New variable.
4dece104
MR
5198 (debug): When debugger-jumping-flag is non-nil try to restore
5199 height of debugger window. (Bug#8789)
5200
45b82ad0
SM
52012012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5202
60c49c0f
SM
5203 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5204 overriding-local-map and pre/post-command-hook here.
5205 (edebug-recursive-edit): Do it here instead (bug#12345).
5206 (edebug-outside-unread-command-char): Remove all uses of
5207 unread-command-char.
5208
45b82ad0
SM
5209 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5210 inhibit-debugger is bound instead.
5211
baa26ea0
BG
52122012-09-11 Bastien Guerry <bzg@gnu.org>
5213
5214 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 5215 (Bug#12346)
baa26ea0 5216
04e8abfa
BG
52172012-09-11 Bastien Guerry <bzg@gnu.org>
5218
96d03571 5219 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 5220 (Bug#12347)
96d03571
BG
5221
52222012-09-11 Bastien Guerry <bzg@gnu.org>
5223
fc0c31f8 5224 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 5225
04e082b0
MM
52262012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5227
5228 * progmodes/sql.el: Version 3.1
5229 (sql-db2-escape-newlines): New variable.
5230 (sql-escape-newlines-filter): Use it.
5231
399a361b
JB
52322012-09-10 Juanma Barranquero <lekktu@gmail.com>
5233
5234 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5235
0780c517
DN
52362012-09-10 Dan Nicolaescu <dann@gnu.org>
5237
45b82ad0
SM
5238 * vc/diff-mode.el (diff-mode-menu):
5239 Bind diff-remove-trailing-whitespace.
0780c517 5240
9b851e25
SM
52412012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5242
5243 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
5244 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5245 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
5246 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5247 (eval-defun-2): Remove bogus interactive spec.
5248 (lisp-indent-line): Remove redundant whole-exp code, now done in
5249 indent-according-to-mode.
5250 (save-match-data): Remove redundant indent data.
5251
5252 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5253 Use `declare'.
5254
3231d532
JL
52552012-09-09 Juri Linkov <juri@jurta.org>
5256
5257 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5258 (replace-lax-whitespace, query-replace-regexp)
5259 (query-replace-regexp-eval, replace-regexp): Doc fix.
5260 (perform-replace, replace-highlight): Let-bind
5261 isearch-lax-whitespace to replace-lax-whitespace and
5262 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5263
5264 * isearch.el (isearch-query-replace): Let-bind
5265 replace-lax-whitespace to isearch-lax-whitespace and
5266 replace-regexp-lax-whitespace to
5267 isearch-regexp-lax-whitespace. (Bug#10885)
5268
70fe8236
SM
52692012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5270
5271 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5272
8ed43f15
AM
52732012-09-09 Alan Mackenzie <acm@muc.de>
5274
70fe8236
SM
5275 * progmodes/cc-engine.el (c-state-cache-init):
5276 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5277 (c-record-parse-state-state):
5278 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 5279
bfabf70a
AS
52802012-09-09 Andreas Schwab <schwab@linux-m68k.org>
5281
5282 * register.el (register-separator): Rename from
5283 separator-register. All uses changed. Doc fix.
5284 (register): Fix version.
5285
011474aa
CY
52862012-09-09 Chong Yidong <cyd@gnu.org>
5287
5288 * replace.el (query-replace-map): Bind four new symbols for
5289 requesting window scrolling.
5290
5291 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5292 query-replace-map (Bug#8948).
5293
5294 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5295
5296 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5297 since they are now in query-replace-map.
5298
5299 * window.el (scroll-other-window-down): Make the arg optional.
5300
a8b7cd8d
CY
53012012-09-09 Chong Yidong <cyd@gnu.org>
5302
5303 * files.el (hack-local-variables-confirm): Use quit-window to kill
5304 the *Local Variables* buffer.
5305
c3268831
DG
53062012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5307
5308 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5309 not just expect to be at its beginning. Adjust callees.
5310 Succeed when do-end block has no space before the pipe character.
5311 (ruby-brace-to-do-end): When the original block is one-liner,
5312 convert to multiline. Reindent the result.
5313
0979429b
J
53142012-09-08 Jambunathan K <kjambunathan@gmail.com>
5315
5316 * register.el (register): New group.
27359e99 5317 (separator-register): New user option.
0979429b
J
5318 (increment-register): Route it to `append-to-register', if
5319 register contains text. Implication is that `C-x r +' can now be
5320 used for appending to a text register (bug#12217).
5321 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 5322 `separator-register'.
0979429b 5323
ace2989a
AM
53242012-09-08 Alan Mackenzie <acm@muc.de>
5325
5326 AWK Mode: make auto-newline work when there's "==" in the pattern.
5327 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5328 correctly.
0979429b
J
5329 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5330 Test more rigorously for "=" token.
ace2989a 5331
616c6c36
DG
53322012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5333
0979429b
J
5334 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5335 Only fail when reached LIMIT.
616c6c36 5336
35d98877
CY
53372012-09-08 Chong Yidong <cyd@gnu.org>
5338
5339 * dired.el (dired-mode-map): Don't bind M-=.
5340
5341 * dired-aux.el (dired-diff): Use backup file as default.
5342
1715f2db
DA
53432012-09-08 Drew Adams <drew.adams@oracle.com>
5344
5345 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5346
6dcef6ec
CY
53472012-09-08 Chong Yidong <cyd@gnu.org>
5348
5349 * subr.el (syntax-after, syntax-class): Doc fix.
5350
fa2bcf43
MR
53512012-09-08 Martin Rudalics <rudalics@gmx.at>
5352
5353 * window.el (display-buffer-in-previous-window): New buffer
5354 display action function.
5355
5356 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5357 (debugger-previous-window): New variable.
5358 (debug): Rewrite using display-buffer-in-previous-window,
5359 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5360
daac280a
SM
53612012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5362
5363 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5364
9dd40b00
MM
53652012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5366
daac280a
SM
5367 * progmodes/python.el (python-shell-send-string):
5368 When default-directory is remote, create temp file on remote
9dd40b00
MM
5369 filesystem.
5370 (python-shell-send-file): When file is remote, pass local view of
5371 file paths to remote Python interpreter. (Bug#12340)
5372
145823ec
CY
53732012-09-07 Chong Yidong <cyd@gnu.org>
5374
cee2e90d
CY
5375 * window.el (switch-to-buffer): Doc fix (Bug#12181).
5376
0d7eb2ea
CY
5377 * files.el (after-find-file): Don't fail on a read-only buffer if
5378 require-final-newline is `visit' or `visit-save' (Bug#11156).
5379
145823ec
CY
5380 * subr.el (read-char-choice): Allow quitting via ESC ESC.
5381
daac280a
SM
5382 * userlock.el (ask-user-about-supersession-threat):
5383 Use read-char-choice (Bug#12093).
145823ec 5384
74c582e6
CY
53852012-09-07 Chong Yidong <cyd@gnu.org>
5386
e5c2edf7
CY
5387 * subr.el (buffer-narrowed-p): New function.
5388
5389 * ses.el (ses-widen):
5390 * simple.el (count-words--buffer-message):
1f9f395d 5391 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
5392
5393 * simple.el (count-words-region): Don't signal an error if there
5394 is a non-nil prefix arg and the mark is not set.
c640e87d 5395
74c582e6
CY
5396 * help.el (describe-key-briefly): Allow the message to be seen
5397 when invoked from the minibuffer (Bug#7014).
5398
d81ceaaf
DG
53992012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5400
5401 * progmodes/ruby-mode.el (ruby-end-of-defun)
5402 (ruby-beginning-of-defun): Simplify, allow indentation before
5403 block beginning and end keywords.
8f06acce
DG
5404 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5405 (ruby-end-of-defun): Expect that the point is at the beginning of
5406 the defun.
d81ceaaf 5407
d458ef98
SM
54082012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5409
5410 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5411 (bug#12367).
5412 (cl--make-usage-args): Strip _ from argument names.
5413
20367d28
RS
54142012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5415
5416 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5417 obsolete alias speedbar-key-map.
5418 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5419 (vhdl-index-menu-init): Don't use obsolete variable
5420 font-lock-maximum-size.
5421
3424a4f6
CY
54222012-09-06 Chong Yidong <cyd@gnu.org>
5423
5424 * frame.el (window-system-version): Mark as obsolete.
5425
fcbfbdea
CY
5426 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5427 of obsolete variable speedbar-key-map.
5428
826b3235
JL
54292012-09-06 Juri Linkov <juri@jurta.org>
5430
5431 * replace.el (replace-lax-whitespace): New defcustom.
5432 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5433 (replace-string, replace-regexp): Mention it in docstrings.
5434 (perform-replace, replace-highlight): Let-bind
5435 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5436 to the values of replace-lax-whitespace and regexp-flag.
5437 Don't let-bind search-whitespace-regexp. (Bug#10885)
5438
5439 * isearch.el (isearch-query-replace): Let-bind
5440 replace-lax-whitespace instead of let-binding
5441 replace-search-function and replace-re-search-function.
5442 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5443 and isearch-regexp-lax-whitespace to lazy-highlight variables.
5444 (isearch-toggle-symbol): Set isearch-regexp to nil
5445 in isearch-word mode (like in isearch-toggle-word).
5446
1ec5e41d
JL
54472012-09-06 Juri Linkov <juri@jurta.org>
5448
5449 * replace.el (replace-search-function)
5450 (replace-re-search-function): Set default values to nil.
5451 (perform-replace): Let-bind isearch-related variables based on
5452 replace-related values, call `isearch-search-fun' and let-bind
5453 the result to `search-function'. Remove code that sets
5454 `search-function' and `search-string' separately for
5455 `delimited-flag'.
5456 (replace-highlight): Add new argument `delimited-flag' and
5457 rename other arguments to the names used in `perform-replace'.
5458 Let-bind `isearch-word' to the argument `delimited-flag'.
5459 (Bug#10885, bug#10887)
5460
0ba2d4b6
DG
54612012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5462
5463 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5464 ruby-beginning-of-indent, simplify, allow all keywords to have
5465 indentation before them.
5466 (ruby-beginning-of-indent): Adjust for above. Search until the
5467 found point is not inside a string or comment.
5468 (ruby-font-lock-keywords): Allow symbols to start with "@"
5469 character, give them higher priority than variables.
5470 (ruby-syntax-propertize-function)
5471 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5472 matchers. Expression expansions are not comments when inside a
5473 string, and there comment syntax status is irrelevant.
5474 (ruby-match-expression-expansion): New function. Check that
5475 expression expansion is inside a string, and it's not escaped.
5476 (ruby-font-lock-keywords): Use it.
5477
ef654460
MR
54782012-09-05 Martin Rudalics <rudalics@gmx.at>
5479
5480 * help.el (temp-buffer-max-height): New default value.
5481 (temp-buffer-resize-frames): New option.
5482 (resize-temp-buffer-window): Optionally resize frame.
5483
5484 * window.el (fit-frame-to-buffer-bottom-margin): New option.
5485 (fit-frame-to-buffer): New function.
5486
7e570fbf 54872012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
5488
5489 * emulation/cua-rect.el (cua--init-rectangles):
5490 * textmodes/picture.el (picture-mode-map):
5491 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5492 like forward-char and backward-char. (Bug#12317)
5493
7e570fbf 54942012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
5495
5496 * progmodes/flymake.el (flymake-warning-re): New variable.
5497 (flymake-parse-line): Use it.
5498
7e570fbf 54992012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
5500
5501 * calendar/holidays.el (holiday-christian-holidays):
5502 Rename an entry. (Bug#12289)
5503
7e570fbf 55042012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
5505
5506 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5507 (bug#12222).
5508
972debf2
SM
55092012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5510
5511 * loadup.el: Load macroexp. Remove hack.
5512 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5513 (macroexp--expand-all): Use it to get better warnings.
5514 (macroexp--backtrace, macroexp--trim-backtrace-frame)
5515 (internal-macroexpand-for-load): New functions.
5516 (macroexp--pending-eager-loads): New var.
5517 (emacs-startup-hook): New hack to replace one in loadup.el.
5518 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5519 (cl--compiler-macro-cXXr): Move to top, before they can be used.
5520 (cl-psetf): Simplify.
5521 (cl-defstruct): Add indent rule.
5522
8ce192e3
LI
55232012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
5524
5525 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5526 over `user-mail-address' for the SMTP MAIL FROM envelope.
5527 (smtpmail-via-smtp): Ditto.
5528
6578b4d8
DG
55292012-09-04 Dmitry Gutov <dgutov@yandex.ru>
5530
5531 * progmodes/ruby-mode.el: Clean up keybindings.
5532 (ruby-mode-map): Don't bind ruby-electric-brace,
5533 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5534 backward-kill-word, reindent-then-newline-and-indent.
5535 (ruby-mark-defun): Remove.
5536 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
5537 (ruby-mode): Set local beginning-of-defun-function and
5538 end-of-defun-function values.
5539
c5e28e39
MR
55402012-09-03 Martin Rudalics <rudalics@gmx.at>
5541
5542 * window.el (temp-buffer-window-setup-hook)
5543 (temp-buffer-window-show-hook): New hooks.
5544 (temp-buffer-window-setup, temp-buffer-window-show)
5545 (with-temp-buffer-window): New functions.
972debf2
SM
5546 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5547 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
5548
5549 * help.el (temp-buffer-resize-mode): Fix doc-string.
5550 (resize-temp-buffer-window): New optional argument WINDOW.
5551
5552 * files.el (recover-file, save-buffers-kill-emacs):
5553 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5554
73406194
MA
55552012-09-02 Michael Albinus <michael.albinus@gmx.de>
5556
5557 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5558 remote definition of `default-directory', ensure we can connect.
5559
63dd1c6f
JL
55602012-09-02 Juri Linkov <juri@jurta.org>
5561
5562 Toggle whitespace matching mode with M-s SPC.
5563 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
5564
5565 * isearch.el (search-whitespace-regexp): Doc fix.
5566 Remove cons cell customization.
5567 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
5568 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
5569 New variables.
5570 (isearch-forward, isearch-forward-regexp): Doc fix.
5571 (isearch-toggle-lax-whitespace): New command.
5572 (search-forward-lax-whitespace, search-backward-lax-whitespace)
5573 (re-search-forward-lax-whitespace)
5574 (re-search-backward-lax-whitespace): New functions.
5575 (isearch-whitespace-regexp): Remove function.
5576 (isearch-query-replace): Let-bind replace-search-function and
5577 replace-re-search-function.
5578 (isearch-occur): Let-bind search-spaces-regexp according to the
5579 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
5580 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
5581 condition for C-q SPC.
5582 (isearch-search-fun-default): Use new functions mentioned above.
5583 (isearch-search-forward, isearch-search-backward): Remove functions.
5584 (isearch-search): Don't let-bind search-spaces-regexp.
5585 (isearch-lazy-highlight-space-regexp): Remove variable.
5586 (isearch-lazy-highlight-lax-whitespace)
5587 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5588 (isearch-lazy-highlight-new-loop): Use them.
5589 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5590
af7dda05
CY
55912012-09-02 Chong Yidong <cyd@gnu.org>
5592
5593 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5594
d67d3afd
GM
55952012-09-02 Glenn Morris <rgm@gnu.org>
5596
5597 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
5598
69678719
GM
55992012-09-01 Glenn Morris <rgm@gnu.org>
5600
5601 * term.el: Tidy up menu definitions.
5602 (term-mode-map): Use easymenu for In/Out, Complete menus.
5603 (term-pager-break-map): Initialize in the defvar.
5604 (term-terminal-menu, term-signals-menu): Define with easymenu.
5605 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
5606 (term-pager-menu): New, extracted from term-process-pager.
5607 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5608 (term-update-mode-line): Propertize line/char and page items.
5609 (term-process-pager): Move keymap initialization elsewhere.
5610
78dd6ab1
MR
56112012-09-01 Martin Rudalics <rudalics@gmx.at>
5612
5613 * window.el (switch-to-prev-buffer): Handle additional values of
5614 BURY-OR-KILL argument. Don't switch in minibuffer window.
5615 (switch-to-next-buffer): Don't switch in minibuffer window.
5616 (quit-restore-window): New function based on quit-window.
5617 Handle additional values of former KILL argument.
5618 (quit-window): Call quit-restore-window with appropriate
5619 interpretation of KILL argument.
5620 (display-buffer-below-selected): New buffer display action
5621 function.
5622
3d10e134
SM
56232012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5624
5625 * minibuffer.el (completion-at-point-functions): Complete docstring
5626 (bug#12254).
5627
0e23ef9d
PE
56282012-09-01 Paul Eggert <eggert@cs.ucla.edu>
5629
5630 Better seed support for (random).
5631 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5632 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5633 * play/mpuz.el, play/tetris.el, play/zone.el:
5634 * calc/calc-comb.el (math-init-random-base):
5635 * play/blackbox.el (bb-init-board):
5636 * play/life.el (life):
5637 * server.el (server-use-tcp):
5638 * type-break.el (type-break):
5639 Remove unnecessary call to (random t).
5640 * net/sasl.el (sasl-unique-id-function):
5641 Change (random t) to (random), now that the latter is more random.
5642 * play/life.el (life-initialized): Remove no-longer-needed var.
5643
862382df
MR
56442012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
5645
5646 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5647 Consider frame's buffer predicate when choosing the buffer.
5648 (Bug#12081)
5649
262a66e1
RS
56502012-08-30 Richard Stallman <rms@gnu.org>
5651
5652 * simple.el (special-mode-map): Delete binding for `z'.
5653
f17e1d00
AS
56542012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5655
5656 * progmodes/compile.el (compilation-always-kill): Doc fix.
5657
24777832
CY
56582012-08-30 Chong Yidong <cyd@gnu.org>
5659
5660 * window.el (display-buffer-reuse-frames): Make the obsolescence
5661 message more informative.
5662
69ba1f04
GM
56632012-08-30 Glenn Morris <rgm@gnu.org>
5664
5665 * paren.el (show-paren-delay):
5666 Add a :set function. Doc fix. (Bug#12297)
5667
f0019ede
MB
56682012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5669
5670 * progmodes/compile.el (compilation-always-kill): New var.
5671 (compilation-start): Use it.
5672
35e62fc9
SM
56732012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5674
af070a1c
SM
5675 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5676 * files.el (read-only-mode): Move to simple.el.
5677
35e62fc9
SM
5678 * files.el (read-only-mode): New minor mode.
5679 (toggle-read-only): Use it and mark obsolete.
5680 (find-file--read-only):
5681 * vc/vc.el (vc-next-action, vc-checkout):
5682 * vc/vc-cvs.el (vc-cvs-checkout):
5683 * obsolete/vc-mcvs.el (vc-mcvs-update):
5684 * ffap.el (ffap--toggle-read-only): Update callers.
5685
c2c43c23
MA
56862012-08-29 Michael Albinus <michael.albinus@gmx.de>
5687
5688 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
5689 remote shell scripts.
5690 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
5691
5692 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5693 "/usr/local/sbin".
5694
9fba804b
SM
56952012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5696
5697 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5698
eada0861 56992012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 5700
806f0cc7
LL
5701 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5702 completion-at-point. (Bug#12220)
5703
3bb213b9
LL
5704 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5705
22ab32ef
LL
5706 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5707
eada0861 57082012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 5709
19c17fc1
CY
5710 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5711 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 5712
eada0861 57132012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
5714
5715 * progmodes/hideif.el (hif-compress-define-list):
5716 Fix typo. (Bug#11951)
5717
eada0861 57182012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
5719
5720 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5721 buffer local setting.
5722
27d6c5a8
LL
5723 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5724 rcirc-encode-coding-system.
5725
eada0861 57262012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
5727
5728 * net/rcirc.el (rcirc-split-message): New function.
5729 (rcirc-send-message): Use it. (Bug#12051)
5730
d44688e4
JL
57312012-08-28 Juri Linkov <juri@jurta.org>
5732
5733 * info.el (Info-fontify-node): Hide empty lines at the end of
5734 the node. (Bug#12272)
5735
34f10d41
MR
57362012-08-27 Drew Adams <drew.adams@oracle.com>
5737
5738 * dired.el (dired-pop-to-buffer): Make window start at beginning
5739 of buffer (Bug#12281).
5740
77f1f99c
CY
57412012-08-26 Chong Yidong <cyd@gnu.org>
5742
5743 * window.el (special-display-regexps, special-display-frame-alist)
5744 (special-display-buffer-names, special-display-function)
5745 (display-buffer-reuse-frames): Mark as obsolete.
5746
5747 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5748
5749 * help.el (help-print-return-message): Don't treat
5750 display-buffer-reuse-frames specially.
5751
d97af5a0
CY
57522012-08-26 Chong Yidong <cyd@gnu.org>
5753
9fba804b
SM
5754 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5755 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
5756 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5757 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5758 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5759 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5760 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
5761 the functions directly with gdb-display-buffer-other-frame-action.
5762 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5763 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5764 (gdb-display-stack-buffer, gdb-display-locals-buffer)
5765 (gdb-display-registers-buffer): Define directly.
5766 (def-gdb-display-buffer): Macro deleted.
5767 (gdb-display-buffer): Remove second and third args, callers don't
5768 use them. Defer to the default display-buffer behavior, apart
5769 from making windows dedicated.
5770 (gdb-setup-windows): Don't call display-buffer unnecessarily.
5771
5772 * progmodes/gud.el (gud-display-line): Just use display-buffer.
5773
5774 * window.el (display-buffer-pop-up-frame): Handle a
5775 pop-up-frame-parameters alist entry.
5776 (display-buffer): Document it.
5777
dd7ffad6
CY
57782012-08-26 Chong Yidong <cyd@gnu.org>
5779
5780 * isearch.el (search-whitespace-regexp): Make string and nil
5781 values apply to both ordinary and regexp search. Allow a cons
5782 cell value to distinguish between the two.
5783 (isearch-whitespace-regexp, isearch-search-forward)
5784 (isearch-search-backward): New functions.
5785 (isearch-occur, isearch-search-fun-default, isearch-search)
5786 (isearch-lazy-highlight-new-loop): Use them.
5787 (isearch-forward, isearch-forward-regexp): Doc fix.
5788
4c47bd1e
CY
57892012-08-26 Chong Yidong <cyd@gnu.org>
5790
5791 * faces.el (help-argument-name): Always inherit from italic
5792 (Bug#12213).
5793
9aba119d
MR
57942012-08-25 Martin Rudalics <rudalics@gmx.at>
5795
5796 * window.el (window--even-window-heights): Even heights when
5797 WINDOW and the selected window form a vertical combination.
5798 (display-buffer-use-some-window): Provide that window used gets
5799 sized back by quit-window. (Bug#11880) and (Bug#12091)
5800
ca5256ad
PE
58012012-08-24 Paul Eggert <eggert@cs.ucla.edu>
5802
5803 Fix file time stamp problem with bzr and CVS (Bug#12001).
5804 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5805 in the file's time stamp, since the version control system loses
5806 that information.
5807
d1c0d176
JL
58082012-08-22 Juri Linkov <juri@jurta.org>
5809
5810 * info.el (Info-fontify-node): Hide the suffix of the
5811 Info file name in the header line. (Bug#12187)
5812
141562ff
GM
58132012-08-22 Glenn Morris <rgm@gnu.org>
5814
5815 * calendar/cal-tex.el (cal-tex-weekly-common):
5816 Restore leading blank page.
5817
3a21537c 58182012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
5819
5820 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
5821 the region under `shift-select-mode'. (Bug#12231)
5822
58232012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
5824
5825 * progmodes/executable.el (executable-prefix): Set to "#!" instead
5826 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
5827 gives details on why the space is never needed.
5828
ea95074e
MR
58292012-08-22 Martin Rudalics <rudalics@gmx.at>
5830
9fba804b
SM
5831 * window.el (walk-window-tree, window-with-parameter):
5832 New optional argument MINIBUF to control whether these functions
ea95074e
MR
5833 should run on the minibuffer window.
5834 (window-at-side-list): Don't operate on minibuffer window.
5835 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
5836 (window--size-ignore): Rename to window--size-ignore-p.
5837 Update callers.
caceae25
MR
5838 (display-buffer-in-atom-window, window--major-non-side-window)
5839 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
5840 (delete-side-window, display-buffer-in-side-window):
5841 New functions.
caceae25
MR
5842 (window--side-check, window-deletable-p, delete-window)
5843 (delete-other-windows, split-window): Handle side windows and
5844 atomic windows appropriately.
5845 (window--display-buffer): Call display-buffer-record-window also
5846 when the window buffer did not change.
ea95074e 5847
80a51fa0
CS
58482012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
5849
5850 * help-fns.el (help-fns--key-bindings):
5851 Abbreviate non-symbol remap targets. (Bug#12174)
5852
fbb6300b
MR
58532012-08-22 Martin Rudalics <rudalics@gmx.at>
5854
5855 * dired.el (dired-mark-remembered): Don't clobber point.
5856 (Bug#11795)
5857
2b2c0794
GM
58582012-08-22 Glenn Morris <rgm@gnu.org>
5859
5860 * progmodes/bug-reference.el (bug-reference): New custom group.
5861 (bug-reference-bug-regexp): Make it a defcustom.
5862
37219830
DU
58632012-08-22 Daiki Ueno <ueno@unixuser.org>
5864
5865 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5866 (js-paren-indent-offset, js-square-indent-offset)
5867 (js-curly-indent-offset): Add :safe (Bug#12257).
5868
94e0e559
EC
58692012-08-22 Edward O'Connor <hober0@gmail.com>
5870
5871 * json.el (json-key-format): Add error properties.
5872 (json-encode-key): New function.
5873 (json-encode-hash-table, json-encode-alist, json-encode-plist):
5874 Use json-encode-key.
5875
da485f5e
GM
58762012-08-22 Glenn Morris <rgm@gnu.org>
5877
5878 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5879 (cal-tex-leftday, cal-tex-rightday): Remove functions.
5880 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5881 Update for above change.
5882
c6cc78b8
AS
58832012-08-21 Andreas Schwab <schwab@linux-m68k.org>
5884
5885 * cus-face.el (custom-face-attributes): Fix customize type for the
5886 :underline attribute. (Bug#11805)
5887
5481664a
MR
58882012-08-21 Martin Rudalics <rudalics@gmx.at>
5889
5890 * window.el (window-point-1, set-window-point-1): Remove.
5891 (window-in-direction, record-window-buffer)
5892 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
5893 (window--state-get-1, display-buffer-record-window):
5894 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
5895 window-point and set-window-point respectively.
5896
6d74698e
GM
58972012-08-21 Glenn Morris <rgm@gnu.org>
5898
b7fa2691
GM
5899 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5900 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
5901 Use it.
5902
52f56d5a
GM
5903 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
5904 (cal-tex-shortday): New function.
5905 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
5906 (cal-tex-cursor-filofax-daily): Use the above.
5907
9f1ee09e
GM
5908 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
5909 New functions.
5910 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5911 (cal-tex-cursor-filofax-week): Use them.
5912
79858159
GM
5913 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
5914 New constants.
5915 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5916 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
5917
d346b2b4
GM
5918 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
5919 (cal-tex-end-document): Don't rely on buffer name.
5920
b2403709
GM
5921 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
5922 Use cal-tex-vspace.
5923 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
5924 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
5925 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
5926 Use cal-tex-arg.
b2403709 5927
1cebb5c0
GM
5928 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
5929 (cal-tex-cursor-week, cal-tex-cursor-week2)
5930 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
5931 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5932 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
5933 (cal-tex-insert-preamble, cal-tex-b-document)
5934 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
5935 Improve cal-tex-cmd usage.
5936
c68cd5d4
GM
5937 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
5938 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
5939 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
5940 (cal-tex-weekly-paper): New function.
5941 (cal-tex-cursor-week, cal-tex-cursor-week2)
5942 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5943 (cal-tex-cursor-day): Use it.
5944
9dca4801
GM
5945 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5946 (cal-tex-cursor-filofax-week): Remove leading blank page.
5947
1941e134
GM
5948 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5949 Add autoload cookie. For now at least, don't use color, since
5950 no other cal-tex function does.
5951
6d74698e
GM
5952 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5953 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5954 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5955
64cde199
JL
59562012-08-21 Juri Linkov <juri@jurta.org>
5957
5958 * info.el (Info-file-attributes): New variable.
5959 (info-insert-file-contents): Add file attributes to
5960 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
5961 `Info-toc-nodes' when previous modtime of the Info file is less
5962 than new modtime.
5963 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5964 of info.el. (Bug#12230)
5965
32757648
GM
59662012-08-20 Glenn Morris <rgm@gnu.org>
5967
5968 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5969 * calendar/holidays.el (calendar-holiday-list):
5970 Report errors with display-warning rather than beep'n'sleep.
5971
a32fbbcf
MA
59722012-08-20 Michael Albinus <michael.albinus@gmx.de>
5973
5974 * net/tramp.el (tramp-accept-process-output): Accept only output
5975 from PROC. Otherwise, process filters and sentinels might be
5976 confused. (Bug#12145)
5977
a05731a0
CY
59782012-08-20 Chong Yidong <cyd@gnu.org>
5979
5980 * descr-text.el (describe-text-properties-1): Use overlays-in to
5981 report on empty overlays (Bug#3322).
5982
36e8d1eb
GM
59832012-08-20 Glenn Morris <rgm@gnu.org>
5984
3d300447
GM
5985 * mail/rmailout.el (rmail-output-read-file-name):
5986 Trap and report errors in rmail-output-file-alist elements.
5987
36e8d1eb
GM
5988 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5989 since most non-font-lock faces are not also variables).
5990
b96e5814
ER
59912012-08-20 Edward Reingold <reingold@iit.edu>
5992
5993 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5994 New function. (Bug12160)
5995
7cef3569
GM
59962012-08-19 Glenn Morris <rgm@gnu.org>
5997
5998 * mail/rmailout.el (rmail-output-read-file-name):
5999 Fix previous change (when the alist is nil or does not match).
6000
17975d7f
CY
60012012-08-19 Chong Yidong <cyd@gnu.org>
6002
6003 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6004 (Bug#12228).
6005
2170b1bd
CY
60062012-08-18 Chong Yidong <cyd@gnu.org>
6007
6008 * simple.el (yank-handled-properties): New defcustom.
6009 (yank-excluded-properties): Add font-lock-face and category.
6010 (yank): Doc fix.
6011
9fba804b
SM
6012 * subr.el (remove-yank-excluded-properties):
6013 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
6014 and category is now done this way, instead of being hard-coded.
6015 (insert-for-yank-1): Remove font-lock-face handling.
6016 (yank-handle-font-lock-face-property)
6017 (yank-handle-category-property): New function.
6018
ee218151
GM
60192012-08-17 Glenn Morris <rgm@gnu.org>
6020
6021 * mail/rmailout.el (rmail-output-read-file-name):
6022 Check rmail-output-file-alist against the full message body
6023 in the correct rmail buffer. (Bug#12214)
6024
4a6bc3fd
MA
60252012-08-17 Michael Albinus <michael.albinus@gmx.de>
6026
9fba804b
SM
6027 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6028 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 6029
383dcbf9
CY
60302012-08-17 Chong Yidong <cyd@gnu.org>
6031
6032 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6033 font spec, set the font directly (Bug#3228).
6034
998c4a6a
MR
60352012-08-17 Martin Rudalics <rudalics@gmx.at>
6036
6037 * window.el (delete-window): Fix last fix.
6038
52162052
MR
60392012-08-16 Martin Rudalics <rudalics@gmx.at>
6040
6041 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
6042 (window-child, window-child-count, window-last-child)
6043 (window-normalize-window, window-combined-p)
6044 (window-combinations, window-atom-root, window-min-size)
6045 (window-sizable, window-sizable-p, window-size-fixed-p)
6046 (window-min-delta, window-max-delta, window--resizable)
6047 (window--resizable-p, window-resizable, window-total-size)
6048 (window-full-height-p, window-full-width-p, window-body-size)
6049 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6050 (minimize-window, window-deletable-p, delete-window)
6051 (delete-other-windows, set-window-buffer-start-and-point)
6052 (next-buffer, previous-buffer, split-window, balance-windows-2)
6053 (set-window-text-height, window-buffer-height)
6054 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
6055 (truncated-partial-width-window-p): Minor code adjustments.
6056 In doc-strings state whether the argument window has to denote a
85c2386b 6057 live, valid or any window.
52162052 6058
1c308380
PS
60592012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6060
6061 * progmodes/subword.el (subword-forward-function)
6062 (subword-backward-function, subword-forward-regexp)
6063 (subword-backward-regexp): New variables.
6064 (subword-forward, subword-forward-internal, subword-backward-internal):
6065 Use new variables, eg so that different "word" definitions
6066 can be easily used. (Bug#11411)
6067
94c9ece1
SM
60682012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6071 for composite selectors.
6072 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6073 operation just because we can't find a previous revision.
6074
f2045622
CY
60752012-08-15 Chong Yidong <cyd@gnu.org>
6076
6077 * frame.el (set-frame-font): Accept font objects.
6078
582db660
SM
60792012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6080
6081 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6082
2f29c200
WJ
60832012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6084
456e62c2
WJ
6085 * man.el (Man-overstrike-face, Man-underline-face)
6086 (Man-reverse-face): Remove variables.
6087 (Man-overstrike, Man-underline, Man-reverse): New faces.
6088 (Man-fontify-manpage): Use them instead of the variables.
6089 (Man-cleanup-manpage): Comment change.
6090 (Man-ansi-color-map): New variable.
6091 (Man-fontify-manpage): Use it.
6092 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6093
2f29c200
WJ
6094 Implement ANSI SGR parameters 22-27 (bug#12146).
6095 * ansi-color.el (ansi-colors): Doc fix.
6096 (ansi-color-context, ansi-color-context-region): Doc fix.
6097 (ansi-color--find-face): New function.
6098 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6099 Rename the local variable `face' to `codes' since it is now a list of
6100 ansi codes. Doc fix.
6101 (ansi-color-get-face): Remove.
6102 (ansi-color-parse-sequence): New function, derived from
6103 ansi-color-get-face.
6104 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6105 codes 22-27.
6106
b4f5e9df
SM
61072012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6108
6109 * subr.el (read-passwd): Allow use from a minibuffer.
6110
ba025fbd
EZ
61112012-08-14 Eli Zaretskii <eliz@gnu.org>
6112
6113 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6114 inside comments and strings as identifiers.
6115
6116 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6117 expression to evaluate. This allows to evaluate expressions with
6118 embedded whitespace.
6119 (gud-tooltip-tips): Add a blank before the newline in the
6120 message-box text, for the benefit of message-box emulation on
6121 MS-Windows.
6122
6123 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6124 messages from GDB, pop them up in a tooltip to give feedback to
6125 user.
b4f5e9df
SM
6126 (gdb-tooltip-print-1): Quote the expression to evaluate.
6127 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
6128 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6129 if the TTY name is nil or empty (which happens when communicating
6130 with the inferior via pipes, e.g. on MS-Windows).
6131 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6132 don't send that to the GUD buffer.
6133
c548f821
GM
61342012-08-14 Glenn Morris <rgm@gnu.org>
6135
6136 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6137 Optimize away setq-default with no args, as for setq. (Bug#12195)
6138
55802e4a
CY
61392012-08-14 Chong Yidong <cyd@gnu.org>
6140
4abcdac8
CY
6141 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6142
55802e4a
CY
6143 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6144 (Bug#12085).
6145
3c3cda1a
GM
61462012-08-14 Glenn Morris <rgm@gnu.org>
6147
6148 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6149
e1873bd0
MA
61502012-08-14 Michael Albinus <michael.albinus@gmx.de>
6151
6152 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6153 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6154 Use cached shell name.
6155
925411b4
FEG
61562012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6157
6158 * progmodes/python.el (python-shell-send-string):
3c3cda1a 6159 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 6160
e636fafe
DG
61612012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6162
6163 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6164 (ruby-percent-literal-beg-re): New constant.
6165 (ruby-syntax-general-delimiters-goto-beg): Rename to
6166 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6167 (ruby-syntax-propertize-general-delimiters): Rename to
6168 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6169 popular term. Adjust comments everywhere.
6170 (ruby-syntax-propertize-percent-literal): Only propertize when not
6171 inside a simple string or comment. When the literal is unclosed,
6172 leave the text after it unpropertized.
f063063a
DG
6173 (ruby-syntax-methods-before-regexp): New constant.
6174 (ruby-syntax-propertize-function): Use it to recognize regexps.
6175 Don't look at the text after regexp, just use the whitelist.
e636fafe 6176
e5b19827
AS
61772012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6178
6179 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6180 non-nil always load the compiled file if it exists. (Bug#12197)
6181
a9f6f311
CY
61822012-08-14 Chong Yidong <cyd@gnu.org>
6183
6184 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6185 (hi-lock-set-pattern): When deciding whether to use font lock or
6186 overlays, look at font-lock-mode instead of font-lock-fontified
6187 (Bug#12168).
6188 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6189 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6190
7d806b1e
DU
61912012-08-14 Daiki Ueno <ueno@unixuser.org>
6192
6193 * subr.el (internal--after-with-selected-window): Fix typo
6194 (Bug#12193).
6195
5beed586
FEG
61962012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6197
6198 Use `completion-table-dynamic' for completion functions.
6199 * progmodes/python.el
6200 (python-shell-completion--do-completion-at-point)
e636fafe
DG
6201 (python-shell-completion--get-completions):
6202 Remove functions.
5beed586
FEG
6203 (python-shell-completion-complete-at-point): New function.
6204 (python-completion-complete-at-point): Use it.
6205
92cb3b04
J
62062012-08-13 Jambunathan K <kjambunathan@gmail.com>
6207
6208 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6209 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6210
89660017
SM
62112012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6212
3c98c962
SM
6213 * subr.el (function-get): Refine `autoload' arg so it can also
6214 autoload functions for gv.el (bug#12191).
6215 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6216 autoloads macros.
6217
aa7c6dbe
SM
6218 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6219 Prefer pcase-let over destructuring-bind.
6220 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6221 Also, remove whitespace as we go, rather than after accumulating the
6222 various places.
6223
89660017
SM
6224 * subr.el (internal--before-with-selected-window)
6225 (internal--after-with-selected-window): Fix typo seleted->selected.
6226 (with-selected-window): Adjust callers.
6227 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6228
31cd32c9
BG
62292012-08-13 Bastien Guerry <bzg@gnu.org>
6230
0fcd3d9f 6231 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
6232 enhancement. (Bug#12172)
6233
1b15d8ad
AS
62342012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6235
31e54db0
AS
6236 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6237 type 1-6.
6238 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6239 extended headers.
6240
1b15d8ad
AS
6241 * files.el (hack-local-variables-filter): Remove useless eval.
6242
35cb9c06
MR
62432012-08-13 Martin Rudalics <rudalics@gmx.at>
6244
6245 * subr.el (with-selected-window): Fix last change.
6246
1439443b
SM
62472012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6248
6249 * subr.el (internal--before-with-seleted-window)
6250 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
6251 (with-selected-window): Use them, to replace dependency on
6252 tty-top-frame.
1439443b 6253
0d9e2599
NN
62542012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6255
6256 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6257 binding for `newline'.
6258 (ruby-move-to-block): When moving backward, stop at block opening,
6259 not indentation.
6260 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6261 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6262 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6263 `ruby-toggle-block'.
6264
ba10c48c
SM
62652012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6266
6267 * ibuffer.el (ibuffer-do-toggle-read-only):
6268 * dired.el (dired-toggle-read-only):
6269 * buff-menu.el (Buffer-menu-toggle-read-only):
6270 * bindings.el (mode-line-toggle-read-only):
6271 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6272
9229c658
AS
62732012-08-12 Andreas Schwab <schwab@linux-m68k.org>
6274
6275 * descr-text.el (describe-char): Put the overlays over the
6276 "displayed as" character.
6277
0fd09128
JB
62782012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
6279
6280 * calc/calc-units.el (math-default-units-table): Give an
6281 initial value.
6282 (math-put-default-units): Add options to put composite units and
6283 unit systems in the default units table.
6284 (calc-convert-units): Send composite units to
6285 `math-put-default-units' when appropriate.
6286
9ff9402d 62872012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 6288
fbb5e336
GM
6289 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6290
7aacaf15
GM
6291 * tutorial.el (help-with-tutorial):
6292 * emacs-lisp/copyright.el (copyright-update-directory):
6293 * emacs-lisp/autoload.el (autoload-find-generated-file)
6294 (autoload-find-file): Disable local eval: (for insurance).
6295
f40b9f10
GM
6296 * files.el (hack-local-variables-filter): If an eval: form is not
6297 known to be safe, and enable-local-variables is :safe, then ignore
6298 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 6299 This is CVE-2012-3479.
f40b9f10 6300
daa9f1a6
SM
63012012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6302
6303 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6304 (rx-form): Simplify.
6305
9cd80478
DG
63062012-08-09 Dmitry Gutov <dgutov@yandex.ru>
6307
0d9e2599
NN
6308 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6309 ?, _, and : are symbol constituents, ! is not (but kinda should be).
6310 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6311 (ruby-syntax-propertize-function): Adjust for changes in
6312 `ruby-syntax-propertize-heredoc'.
6313
63142012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6315
9cd80478
DG
6316 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6317 binding (use `M-;' instead).
9cd80478 6318 (ruby-singleton-class-p): New function.
0d9e2599 6319 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 6320
d301b413
SM
63212012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6324
1530c98e
CY
63252012-08-10 Chong Yidong <cyd@gnu.org>
6326
6327 * progmodes/python.el (python-shell-get-process-name): Don't mess
6328 with same-window-buffer-names.
6329
6330 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6331 (eshell-remove-from-window-buffer-names): Make obsolete.
6332 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6333 (eshell): Just use pop-to-buffer-same-window instead.
6334
e1293765
CY
63352012-08-10 Chong Yidong <cyd@gnu.org>
6336
6337 * bindings.el: Bind M-= back to count-words-region.
6338
6339 * simple.el (count-words-region): Accept a prefix arg for acting
6340 on the entire buffer.
6341 (count-words--buffer-message): New helper function.
6342
e1894109
SM
63432012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6346 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6347 (event-start, event-end): Use posn-at-point to return a more
6348 informative posn.
6349 (posnp): New function.
6350 * mouse.el (popup-menu-normalize-position): Use it.
6351
c69f56a2
MY
63522012-08-10 Masatake YAMATO <yamato@redhat.com>
6353
6354 * mouse.el (popup-menu-normalize-position): New function.
6355 (popup-menu): Use `popup-menu-normalize-position' to normalize
6356 the form for POSITION argument.
6357
6358 * term/x-win.el (x-menu-bar-open):
6359 Use the value returend from (posn-at-point) as position
6360 passed to `popup-menu'.
6361
31673780
JB
63622012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6363
6364 * calc/calccomp.el (math-compose-expr): Add extra argument
6365 indicating that parentheses should be put around products in
6366 denominators. Give multiplication precedence over division during
6367 composition.
6368
dab7711b
CY
63692012-08-09 Chong Yidong <cyd@gnu.org>
6370
dee4ef93
CY
6371 * man.el (Man-switches, Man-sed-command, Man-awk-command)
6372 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6373 (Man-untabify-command, manual-program): Convert to defcustom
6374 (Bug#10429).
6375
73e2bbc5
CY
6376 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6377
3e861c8a
CY
6378 * descr-text.el (describe-char): Don't insert extra newlines
6379 (Bug#10127).
6380
a9f5a649
CY
6381 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6382 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6383
dab7711b
CY
6384 * align.el (align-region): Delete temporary markers (Bug#10047).
6385 Plus some code cleanups.
6386
e0cc4efa
FEG
63872012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6388
6389 * progmodes/python.el (python-pdbtrack-tracked-buffer)
6390 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6391 (python-shell-internal-last-output): Use make-local-variable
6392 instead of make-variable-buffer-local.
6393
489af14f
FEG
63942012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6395
6396 * progmodes/python.el: Enhancements to forward-sexp.
6397 (python-nav-forward-sexp): Rename from
6398 python-nav-forward-sexp-function.
c69f56a2
MY
6399 (python-nav--forward-sexp, python-nav--backward-sexp):
6400 New functions.
489af14f 6401
0fc50303
JB
64022012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6403
6404 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6405 modes and simplification modes.
6406
5d65606a
SM
64072012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6408
6409 * delsel.el (delete-selection-pre-hook): Don't propagate the
6410 file-supersession signals (bug#12161).
6411
4250fdf5
SM
64122012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6413
6414 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6415 (cl-map-extents): Add compatibility aliases (bug#12135).
6416
d9f9b465
MA
64172012-08-08 Michael Albinus <michael.albinus@gmx.de>
6418
6419 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6420 tests by `ignore-error'.
6421 (tramp-find-shell): Open also a new shell, when cache is already
6422 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
6423
ce0fcefa
JL
64242012-08-08 Juri Linkov <juri@jurta.org>
6425
6426 * bookmark.el: Add `defaults' property to the bookmark record.
6427 (bookmark-current-buffer): Doc fix.
6428 (bookmark-make-record): Add `defaults' property with default values
6429 to the bookmark record.
6430 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6431 with `bookmark-insert-current-bookmark'.
6432 (bookmark-set): Get `defaults' property from the bookmark record
6433 and use it in `read-from-minibuffer'.
6434 (bookmark-insert-current-bookmark): Remove function.
6435
6436 * info.el (Info-bookmark-make-record): Add `defaults' property
6437 with values of canonical Info node name, the current Info file
6438 name and the current Info node name. (Bug#12107)
6439
53fa8652
JL
64402012-08-08 Juri Linkov <juri@jurta.org>
6441
6442 * files.el (basic-save-buffer): Use `buffer-name' as the default
6443 of `read-file-name' when buffer is not visiting a file (bug#12128).
6444
242c0a95
JL
64452012-08-08 Juri Linkov <juri@jurta.org>
6446
6447 * info.el (Info-isearch-search): Doc fix.
6448 (Info-search): Change search-failed message from "initial node" to
6449 "end of node" (bug#12078).
6450 (Info-isearch-search): Change `isearch-string-state' to
6451 `isearch--state-string'.
6452
32ac3a6b
GM
64532012-08-08 Glenn Morris <rgm@gnu.org>
6454
6455 * language/persian.el: Remove file.
f8c1afd5 6456 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
6457 * loadup.el: Remove language/persian.
6458
2c2d9c9c
OF
64592012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6460
6461 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6462
2d79ec42
FEG
64632012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6464
3c855b96 6465 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
6466 (python-syntax-context) Rename from python-info-ppss-context.
6467 (python-syntax-context-type): Rename from
6468 python-info-ppss-context-type.
6469 (python-syntax-comment-or-string-p): Rename from
6470 python-info-ppss-comment-or-string-p.
6471
2bd255dd
JB
64722012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6473
6474 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6475
c395097f
AS
64762012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6477
6125983e
AS
6478 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6479 a defcustom that is quoted with backquote.
6480
4250fdf5
SM
6481 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6482 Fix handling of interactive spec when the body uses return.
651eaf36
AS
6483 (math-do-arg-check, math-define-function-body): Use backquote forms.
6484 * calc/calc-ext.el (math-defcache): Likewise.
6485 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6486 * allout.el (allout-new-exposure): Likewise.
6487 * calc/calcalg2.el (math-tracing-integral): Likewise.
6488 * info.el (Info-last-menu-item): Likewise.
6489 * emulation/vip.el (vip-loop): Likewise.
6490 * textmodes/artist.el (artist-funcall): Likewise.
6491 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6492 Construct menu-item directly.
6493
4250fdf5
SM
6494 * progmodes/autoconf.el (font-lock-syntactic-keywords):
6495 Don't declare.
c395097f 6496
5fb50dd3
CY
64972012-08-07 Chong Yidong <cyd@gnu.org>
6498
6499 * simple.el (deactivate-mark): Preserve text properties when
6500 saving the primary selection (Bug#8384).
6501
54eea618
KR
65022012-08-07 Kevin Ryde <user42@zip.com.au>
6503
6504 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6505 (woman-parse-numeric-value): On a bad .IP line, issue a warning
6506 and continue processing (Bug#12110).
6507
638eaeb9
SM
65082012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6509
6510 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6511 syntax-propertize-function (bug#10095).
6512
ea376861
SM
65132012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6514
f91b35be
SM
6515 * help-fns.el (help-fns--key-bindings, help-fns--signature)
6516 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6517 describe-function-1.
6518 (describe-function-1): Use them. Move compiler macro after sig.
6519 (help-fns--compiler-macro): Use function-get. Assume we're already in
6520 standard-output. Adjust layout to new call order.
6521
ea376861
SM
6522 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6523 re-binding a symbol that has a symbol-macro (bug#12119).
6524
d5be7bd0
MB
65252012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
6526
6527 * language/persian.el: New file. (Bug#11812)
6528 * loadup.el: Add language/persian.el.
6529
90749b53
CY
65302012-08-06 Chong Yidong <cyd@gnu.org>
6531
6532 * window.el (window--maybe-raise-frame): New function.
6533 (window--display-buffer): Split off from here.
6534 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6535 (display-buffer-pop-up-window, display-buffer-use-some-window):
6536 Obey an inhibit-switch-frame action alist entry.
6537 (display-buffer): Update doc.
6538
6539 * replace.el (occur-after-change-function): Avoid losing focus by
6540 using the inhibit-switch-frame display parameter (Bug#12139).
6541
ba7b0154
FEG
65422012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
6543
6544 Make internal shell process buffer names start with space.
6545 * progmodes/python.el (python-shell-make-comint): Add optional
6546 argument INTERNAL.
6547 (run-python-internal): Use it.
6548 (python-shell-internal-get-or-create-process): Check for new
6549 internal buffer names.
6550
5eaeacb5
GM
65512012-08-06 Glenn Morris <rgm@gnu.org>
6552
e296d94b 6553 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
6554 Do less getting and setting of environment variables.
6555
b7ccbdc2
CY
65562012-08-05 Chong Yidong <cyd@gnu.org>
6557
777fe95e
CY
6558 * proced.el (proced): Add substitution string to docstring to
6559 trigger autoloading of the proced library on C-h f (Bug#1768).
6560
4250fdf5
SM
6561 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6562 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
6563
6564 * imenu.el (imenu-generic-expression): Move documentation here
6565 from imenu--generic-function.
6566 (imenu--generic-function): Refer to imenu-generic-expression.
6567
9e3b7800 65682012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
6569
6570 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
6571 indentation declaration.
6572 (viper-loop): Add indentation declaration (Bug#7025).
6573
e5d9c0d1
CY
65742012-08-05 Chong Yidong <cyd@gnu.org>
6575
f0422feb
CY
6576 * help-fns.el (describe-variable): Add hyperlink for
6577 directory-local variables files. Improve buffer-local and
6578 permanent-local reporting; suggested by MON KEY (Bug#6644).
6579
6580 * help-mode.el (help-dir-local-var-def): New button type.
6581
e5d9c0d1
CY
6582 * files.el (kill-buffer-hook): Provide a defvar.
6583
a4f2deaa
GM
65842012-08-05 Glenn Morris <rgm@gnu.org>
6585
6586 * eshell/esh-ext.el (eshell/addpath):
6587 Also update eshell-path-env. (Bug#12013)
6588
a9dd5754
CY
65892012-08-05 Chong Yidong <cyd@gnu.org>
6590
a4f2deaa 6591 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 6592
d014c740
CY
6593 * fringe.el (fringe-styles): Add docstring.
6594 (fringe--check-mode): New function.
6595 (set-fringe-mode, set-fringe-style): Use it.
6596 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6597
a9dd5754
CY
6598 * files.el (set-auto-mode): Fix invalid setq call.
6599
7c2dc8bd
SM
66002012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6601
6602 * isearch.el: Misc simplification; use defstruct.
6603 (isearch-mode-map): Dense maps now work like sparse ones.
6604 (isearch--state): New defstruct.
6605 (isearch-string-state, isearch-message-state, isearch-point-state)
6606 (isearch-success-state, isearch-forward-state)
6607 (isearch-other-end-state, isearch-word-state, isearch-error-state)
6608 (isearch-wrapped-state, isearch-barrier-state)
6609 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6610 replaced by defstruct's accessors.
6611 (isearch--set-state): Rename from isearch-top-state and change
6612 calling convention.
6613 (isearch-push-state): Use new isearch--get-state.
6614 (isearch-toggle-word): Disable regexp when enabling word.
6615 (isearch-message-prefix): Remove unused arg _c-q-hack.
6616 (isearch-message-suffix): Remove unused arg _ellipsis.
6617
7fcc0070
AS
66182012-08-04 Andreas Schwab <schwab@linux-m68k.org>
6619
6620 * simple.el (list-processes--refresh): For a server use :host or
6621 :local as the address.
97ad0769 6622 (list-processes): Doc fix.
7fcc0070 6623
a11035b8 66242012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
6625
6626 * lisp/mpc.el: Support password in host argument.
6627 (mpc--proc-connect): Parse and use new password element.
6628 Set mpc-proc variable instead of returning process.
6629 (mpc-proc): Adjust accordingly.
6630
6dad7178
EZ
66312012-08-03 Eli Zaretskii <eliz@gnu.org>
6632
18949c2f
EZ
6633 * whitespace.el (whitespace-display-mappings): Use Unicode
6634 codepoints, instead of emacs-mule codepoints. See
6635 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6636 for the details.
6637
6dad7178
EZ
6638 * files.el (file-truename): Don't skip symlink-chasing part on
6639 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
6640 Windows into the loop that recursively chases symlinks.
6641 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
6642 MS-DOS.
6643
385b0198
CY
66442012-08-03 Chong Yidong <cyd@gnu.org>
6645
6200f3c4
CY
6646 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6647
385b0198
CY
6648 * sort.el (sort-regexp-fields): Doc fix.
6649
b9e74744
TH
66502012-08-03 Tassilo Horn <tsdh@gnu.org>
6651
6652 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6653 labels regex position point at the expected place.
6654
41013cb4
MK
66552012-08-03 MON KEY <monkey@sandpframing.com>
6656
6657 * net/imap.el (imap-interactive-login, imap-authenticate)
6658 (imap-mailbox-lsub, imap-mailbox-list)
6659 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6660 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6661 (imap-parse-response): Doc fix.
6662
0ffee616
JT
66632012-08-03 João Távora <joaotavora@gmail.com>
6664
6665 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6666 if sexp scanning does not move point (Bug#5734).
6667
cfcc9cc8
TH
66682012-08-02 Tassilo Horn <tsdh@gnu.org>
6669
6670 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6671 Add listings, minted, and ctable packages.
6672 (reftex-label-alist-builtin): Move listings, minted, and ctable
6673 entries before LaTeX.
a01bbb84 6674 (reftex-label-alist): Docfix.
cfcc9cc8 6675
66ec2442
BG
66762012-08-02 Bastien Guerry <bzg@gnu.org>
6677
6678 * replace.el (occur): Fix docstring (bug#12122).
6679
837b365b
GM
66802012-08-02 Glenn Morris <rgm@gnu.org>
6681
6682 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6683
e098de97
PE
66842012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6685
6686 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6687 * international/mule-cmds.el: Create
6688 inactivate-current-input-method-function as an obsolete alias for
6689 deactivate-current-input-method-function. See Katsumi Yamaoka in
6690 <http://bugs.gnu.org/10150#46>.
6691
a0f95636
JB
66922012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6693
6694 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6695 of nested `if's.
6696
0d26d7c4
GM
66972012-08-01 Glenn Morris <rgm@gnu.org>
6698
6699 * progmodes/autoconf.el (autoconf-definition-regexp):
6700 Add AH_TEMPLATE, adjust submatch numbering.
6701 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6702 (autoconf-current-defun-function): Update for above change.
6703 (autoconf-current-defun-function): First skip to end of current word.
6704
b686ba06
RS
67052012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6706
6707 * calendar/cal-html.el (cal-html-insert-agenda-days):
6708 Fix typo. (Bug#12018)
6709
0d49da68
FEG
67102012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6711
6712 Shell processes: enhancements to startup and CEDET compatibility.
6713 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6714 (python-shell-make-comint): accept-process-output at startup.
6715 (run-python-internal): Set inferior-python-mode-hook to nil.
6716 (python-shell-internal-get-or-create-process): call sit-for.
6717 (python-preoutput-result): Add obsolete alias.
6718 (python-shell-internal-send-string): Use it.
6719 (python-shell-send-setup-code): Remove call to
6720 accept-process-output.
6721
f1a71c6e
AS
67222012-07-31 Andreas Schwab <schwab@linux-m68k.org>
6723
6724 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6725 (Bug#12108)
6726
d2605269
JB
67272012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
6728
6729 * calc-mode.el (calc-basic-simplification-mode): Rename from
6730 `calc-limited-simplification-mode'.
6731 (calc-alg-simplification-mode): New function.
fc0c31f8 6732 (calc-set-simplify-mode): Adjust message.
f1a71c6e 6733
d2605269
JB
6734 * calc.el (calc-set-mode-line): Adjust mode line display for
6735 basic simplification mode.
6736
6737 * calc-help.el (calc-m-prefix-help): Update help message.
6738
6739 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6740 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6741
a3827a43
BG
67422012-07-31 Bastien Guerry <bzg@gnu.org>
6743
6744 * man.el (man): Fix comment. (bug#12101)
6745
502e3f89
MR
67462012-07-31 Martin Rudalics <rudalics@gmx.at>
6747
6748 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6749 Don't return a non-nil value when no suitable buffer was found.
6750
d7714961
FEG
67512012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6752
6753 * progmodes/python.el (run-python-internal): Disable font lock for
6754 internal shells.
6755
1f45e27e
SM
67562012-07-30 Stefan Merten <smerten@oekonux.de>
6757
70efc5c9 6758 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
6759 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6760 (rst-official-version, rst-official-cvs-rev)
6761 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6762 (rst-mode-map): New key binding.
6763
0aee6912
PE
67642012-07-30 Paul Eggert <eggert@cs.ucla.edu>
6765
6766 Update .PHONY listings in makefiles.
6767 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6768 autoloads, update-subdirs, updates, bzr-update, update-authors,
6769 compile-onefile, compile-calc, backup-compiled-files,
6770 compile-after-backup, compile-one-process, mh-autoloads,
6771 bootstrap-clean, distclean, maintainer-clean.
6772
9052f9f0
JB
67732012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
6774
1823ac5a
JB
6775 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6776 (calc-set-mode-line): Don't display "AlgSimp ".
6777
6778 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6779 (calc-lim-simplify-mode): New function.
6780 (calc-set-simplify-mode): Default to 'alg.
6781 (calc-default-simplify-mode): Make algebraic simplifications
6782 the default.
6783
6784 * calc/calc-ext.el (calc-init-extensions): Remove binding for
6785 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
6786
8d7c7eed 6787 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
6788 indicate new simplification modes.
6789
1823ac5a
JB
6790 * calc/README: Mention new default simplification mode.
6791
9052f9f0
JB
6792 * calc/calc.el (math-normalize-error): New variable.
6793 (math-normalize): Set `math-normalize-error' to t
6794 when there's an error.
6795
6796 * calc/calc-alg.el (math-simplify): Don't simplify when
6797 `math-normalize' returns an error.
6798
20ba0cb4
EZ
67992012-07-29 Eli Zaretskii <eliz@gnu.org>
6800
6801 * international/mule-cmds.el (set-locale-environment): Revert last
6802 change, since display-graphic-p returns nil when this function is
6803 called during startup. Instead...
6804
6805 * term/w32console.el (terminal-init-w32console): ...setup the
6806 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
6807
a5dcc929
JL
68082012-07-29 Juri Linkov <juri@jurta.org>
6809
6810 * simple.el (goto-line): Don't display default line number in the
6811 prompt because it should be displayed by `read-number' (bug#9952).
6812 Add the current line number to the defaults of `goto-line' to
6813 allow its easier modification by users with `M-n' (bug#9201).
6814
6815 * subr.el (read-number): Support multiple default values like in
6816 other minibuffer reading functions. Replace `read' with
6817 `string-to-number' for consistency with `number-to-string'.
6818
72b255c7
PE
68192012-07-29 Paul Eggert <eggert@cs.ucla.edu>
6820
6821 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6822 * emulation/viper-init.el (viper-deactivate-input-method-action):
6823 Rename from viper-inactivate-input-method-action.
6824 (viper-deactivate-input-method):
6825 Rename from viper-inactivate-input-method.
6826 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6827 * international/mule-cmds.el (deactivate-input-method):
6828 Rename from inactivate-input-method.
6829 Also run input-method-deactivate-hook.
6830 (deactivate-current-input-method-function):
6831 Rename from inactivate-current-input-method-function.
6832 (input-method-deactivate-hook): New hook.
6833 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
6834 (inactivate-input-method): Mark obsolete.
6835
72b255c7
PE
6836 * international/quail.el (quail-activate):
6837 Also run quail-deactivate-hook.
6838 (quail-deactivate): Rename from quail-inactivate.
6839 * international/robin.el (robin-activate):
6840 Also run robin-deactivate-hook.
6841 (robin-deactivate): Rename from robin-inactivate.
6842
2549c068
CY
68432012-07-29 Chong Yidong <cyd@gnu.org>
6844
6845 * simple.el (indicate-copied-region): New function.
6846 (kill-ring-save): Split off from here.
6847
6848 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6849 (kill-rectangle): Set deactivate-mark to t on read-only error.
6850
6851 * register.el (copy-to-register, copy-rectangle-to-register):
6852 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
6853 (append-to-register, prepend-to-register): Call indicate-copied-region.
6854
68552012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
6856
6857 * simple.el (async-shell-command-buffer): New defcustom.
6858 (shell-command): Use it. (Bug#4719)
6859
01bd1b0d
EZ
68602012-07-28 Eli Zaretskii <eliz@gnu.org>
6861
6862 * international/mule-cmds.el (set-locale-environment): In a
6863 console session on MS-Windows, set up keyboard and terminal
6864 encoding from the OEM codepage, not the ANSI codepage.
6865 (Bug#12055)
6866
a55739d3
CY
68672012-07-28 Chong Yidong <cyd@gnu.org>
6868
6869 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6870 gdb-get-location.
6871
0e1a094f 68722012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
6873
6874 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6875 the alist (bug#12029).
6876
20329d73
EZ
68772012-07-28 Eli Zaretskii <eliz@gnu.org>
6878
6879 * makefile.w32-in (custom-deps, finder-data, updates, compile)
6880 (compile-always, compile-first)
6881 ($(lisp)/calendar/cal-loaddefs.el)
6882 ($(lisp)/calendar/diary-loaddefs.el)
6883 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6884 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6885 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6886 instead of on update-subdirs.
6887 (bootstrap-clean): Delete $(lisp)/subdirs.el.
6888
345a2258
CY
68892012-07-28 Chong Yidong <cyd@gnu.org>
6890
1eee6341
CY
6891 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6892 directory if vc-deduce-backend returns nil (Bug#7350).
6893
345a2258
CY
6894 * simple.el (delete-trailing-lines): New option.
6895 (delete-trailing-whitespace): Obey it (Bug#11879).
6896
049a0936
DE
68972012-07-28 David Engster <deng@randomsample.de>
6898
6899 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6900 Explanation of new 'symbol-qnames feature in doc-strings.
6901 (xml-maybe-do-ns): Return expanded names as plain symbols if
6902 'symbol-qnames was provided in XML-NS argument (Bug#11916).
6903 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
6904
aa81af71
FEG
69052012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6906
6907 Consistent completion in inferior python with emacs -nw.
6908 * progmodes/python.el (inferior-python-mode): replace "<tab>"
6909 binding in inferior-python-mode-map with "\t".
6910 (python-shell-completion-complete-at-point)
6911 (python-completion-complete-at-point): Remove interactive spec.
6912
e827b1eb
JB
69132012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6914
6915 * calc/calccomp.el (math-compose-expr): Undo previous change.
6916
a90dfb95
FEG
69172012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6918
4250fdf5 6919 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
6920 run-python.
6921 (python-shell-make-comint): Fix pop-to-buffer call.
6922 (run-python): Autoload. New arg SHOW.
6923 (python-shell-get-or-create-process): Do not pop python process
6924 buffer.
6925
32770973 69262012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
6927
6928 * notifications.el (notifications-on-action-signal)
6929 (notifications-on-closed-signal): Use also the bus address for the map.
6930 (notifications-notify, notifications-close-notification)
fc0c31f8 6931 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 6932
86332df2
TH
69332012-07-27 Tassilo Horn <tsdh@gnu.org>
6934
4250fdf5
SM
6935 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6936 Add support for the lstlisting and minted environments, and for the
86332df2
TH
6937 ctable macro.
6938 * textmodes/reftex.el (reftex-compile-variables): Also recognize
6939 labels written in keyvals syntax.
6940
ca1302a4
JB
69412012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6942
6943 * calc/calccomp.el (math-compose-expr): Use parentheses when
6944 there is a product in the denominator of a fraction.
6945
f8b91036
EZ
69462012-07-26 Eli Zaretskii <eliz@gnu.org>
6947
6948 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6949 ($(lisp)/calendar/diary-loaddefs.el)
6950 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
6951 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6952 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
6953 rewritten while the autoload files are built at the same time,
6954 which needs to load subdirs.el.
6955
c8e5a42c
MR
69562012-07-26 Martin Rudalics <rudalics@gmx.at>
6957
6958 * mouse.el (popup-menu): Fix doc-string and re-indent code.
6959 (mouse-drag-line): Don't exit tracking when a switch-frame or
6960 switch-window event occurs (Bug#12006).
6961
670d85ea
SM
69622012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6963
6964 * mouse.el (popup-menu): Fix last change.
6965
7abaf5cc
SM
69662012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6967
6968 Autoload from Lisp with more care. Follow aliases when looking for
6969 function properties.
6970 * subr.el (autoloadp): New function.
6971 (symbol-file): Use it.
6972 (function-get): New function.
6973 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6974 autoload-do-load.
6975 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6976 (lisp-indent-function):
6977 * emacs-lisp/gv.el (gv-get):
6978 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6979 * emacs-lisp/byte-opt.el (byte-optimize-form):
6980 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6981 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6982 Use function-get.
6983 * emacs-lisp/cl.el: Don't propagate function properties any more.
6984
6985 * speedbar.el (speedbar-add-localized-speedbar-support):
6986 * emacs-lisp/disass.el (disassemble-internal):
6987 * desktop.el (desktop-load-file):
6988 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6989 (describe-function-1):
6990 * emacs-lisp/find-func.el (find-function-noselect):
6991 * emacs-lisp/elp.el (elp-instrument-function):
6992 * emacs-lisp/advice.el (ad-has-proper-definition):
6993 * apropos.el (apropos-safe-documentation, apropos-macrop):
6994 * emacs-lisp/debug.el (debug-on-entry):
6995 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6996 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6997 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6998
b1364986
AA
69992012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7000
7001 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7002 function, not an obsolete variable (Bug#12046).
7003
67ada220
AS
70042012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7005
7006 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7007
f08088e3
CS
70082012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7009
7010 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7011 window only if it is still live (Bug#12034).
7012
8137e7b3
MR
70132012-07-25 Martin Rudalics <rudalics@gmx.at>
7014
7015 * subr.el (redirect-frame-focus): Add advertised calling
7016 convention (Bug#12030).
7017
09ae5da1
PE
70182012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7019
7020 Prefer typical American spelling for "acknowledgment".
7021 * vc/add-log.el (change-log-acknowledgment): Rename from
7022 change-log-acknowledgement, with an alias for the old name.
7023
3cc5a3a8
JB
70242012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7025
7026 * calc-alg.el (math-simplify-divide): Don't cross multiply
7027 in an equation when the lhs is a variable.
7028
b7af7f62
JD
70292012-07-24 Julien Danjou <julien@danjou.info>
7030
7031 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7032 Remove, unused.
7033
ec1b09b1
EZ
70342012-07-23 Eli Zaretskii <eliz@gnu.org>
7035
7036 * startup.el (command-line): Don't display an empty user name in
7037 the error message about non-existent home directory, when
7038 init-file-user was set to an empty string. See
7039 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7040 for the details and context.
7041
b525fd8a
VB
70422012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7043
7044 * ses.el (ses-cell-formula-aset): New macro.
7045 (ses-cell-references-aset): New macro.
7046 (ses-cell-p): New function.
7047 (ses-rename-cell): Do no longer rely on complex operations like
7048 ses-cell-set-formula or ses-set-cell to change the cell and handle
7049 the undo at the same time, but rather use lower level new macros
7050 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 7051 the undo directly. Refresh the mode line.
b525fd8a 7052
2c73e345
LL
70532012-07-21 Leo Liu <sdl.web@gmail.com>
7054
670d85ea
SM
7055 * progmodes/cc-cmds.el (c-defun-name):
7056 Use match-string-no-properties instead for consistency.
2c73e345 7057
542dfbde
LL
70582012-07-20 Leo Liu <sdl.web@gmail.com>
7059
3646bcd6
LL
7060 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7061 (Bug#7879)
7062
542dfbde
LL
7063 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7064
25721031
CY
70652012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7068 * progmodes/bug-reference.el, misearch.el: Provide themselves
7069 (bug#11915).
7070
7071 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7072 of narrowed buffer (bug#11966).
7073
316e68a7
VB
70742012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7075
7076 * ses.el (ses-rename-cell): Set new name also in reference list of
7077 cells of which the renamed cell depends.
7078
bbf0e7d9
MY
70792012-07-20 Masatake YAMATO <yamato@redhat.com>
7080
7081 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7082 to check whether menu-bar is shown or not. If not shown,
7083 show the menu-bar as a popup menu instead of using tmm.
7084 * mouse.el (popup-menu): Accept `point' as `position' argument.
7085
c28662a8
DG
70862012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7087
7088 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7089 up inside string symbol literal (bug#11923).
7090
87ab808f
EZ
70912012-07-20 Eli Zaretskii <eliz@gnu.org>
7092
7093 * startup.el (fancy-startup-text): Read the whole tutorial, not
7094 just its first 256 bytes. Prevents gibberish in display of the
7095 tutorial title.
7096
89dea803
DA
70972012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7098
7099 Drop idle buffer compaction due to an absence of the
7100 proved efficiency.
7101 * compact.el: Remove.
7102
8a4e6db8
SS
71032012-07-19 Sam Steingold <sds@gnu.org>
7104
7105 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7106 vc-bzr-pull & vc-bzr-merge-branch.
7107 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7108 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7109 for consistency with compilation-error-regexp-alist.
7110 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7111 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7112 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7113 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7114
5db81e33
SM
71152012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7116
7117 * emacs-lisp/chart.el: Use lexical-binding.
7118 (chart-emacs-storage): Don't hardcode the list of entries.
7119
5b835e1d
DA
71202012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7121
7122 Next round of tweaks caused by Fgarbage_collect changes.
7123 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7124
9cd47b72
DA
71252012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7126
7127 Compact buffers when idle.
7128 * compact.el: New file.
7129
1d6fc0df
SM
71302012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7131
7132 * subr.el (eventp): Presume that if it looks vaguely like an event,
7133 it's an event (bug#10190).
7134
1d29cc7d
FEG
71352012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7136
7137 Enhancements to ppss related code (thanks Stefan).
7138 * progmodes/python.el (python-indent-context)
7139 (python-indent-calculate-indentation, python-indent-dedent-line)
7140 (python-indent-electric-colon, python-nav-forward-block)
7141 (python-mode-abbrev-table)
1d6fc0df 7142 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
7143 for ppss context.
7144 (python-info-continuation-line-p): Cleanup.
7145 (python-info-ppss-context): Do not catch 'quote.
7146 (python-info-ppss-context-type)
7147 (python-info-ppss-comment-or-string-p): Simplify.
7148
d583cbe6
FEG
71492012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7150
7151 * progmodes/python.el: Enhancements to eldoc support.
7152 (python-info-current-symbol): New function.
7153 (python-eldoc-at-point): Use python-info-current-symbol.
7154 (python-info-current-defun): Fix cornercase on first defun scan.
7155 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7156 and signal error when no inferior python process is available.
7157
eceb6feb
DG
71582012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7159
7160 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7161 assume it's always t.
7162 (vc-git-registered): Remove caching, the function is only called
7163 once.
7164 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7165
4c8ff0fe
CY
71662012-07-18 Chong Yidong <cyd@gnu.org>
7167
19fb7186
CY
7168 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7169
9587c688
CY
7170 * simple.el (count-words): Report on narrowing (Bug#9959).
7171
0fe776a1
CY
7172 * bindings.el: Bind M-= to count-words.
7173
4c8ff0fe
CY
7174 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7175
7f5331cc
MY
71762012-07-18 Masatake YAMATO <yamato@redhat.com>
7177
7178 * progmodes/sh-script.el (sh-imenu-generic-expression):
7179 Capture a function with `function' keyword and without parentheses
7180 like "function FOO" (bug#11856).
7181
2dc2a609
TH
71822012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7183
7184 * window.el (split-window-sensibly): Make WINDOW argument
7185 optional.
7186
439f7677
CY
71872012-07-18 Chong Yidong <cyd@gnu.org>
7188
9aeb25a6
CY
7189 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7190
439f7677
CY
7191 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7192 and make C-x 8 RET exit isearch (Bug#11439).
7193
7194 * international/iso-transl.el: Move isearch-mode-map key
7195 definitions to isearch.el.
7196
12999ea8
SM
71972012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7198
7199 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7200 (eieio-defclass): Use gv-define-setter when possible.
7201
3ab6e069
DA
72022012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7203
7204 Reflect recent changes in Fgarbage_collect.
7205 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7206 reflect new format of data returned by Fgarbage_collect.
7207
0a60bc10
FEG
72082012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7209
7210 New utility functions + python-info-ppss-context fix (Bug#11910).
7211 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7212 (python-info-ppss-comment-or-string-p): New functions.
7213 (python-info-ppss-context): Small fix for string check.
7214
6dafa0d5
JL
72152012-07-17 Juri Linkov <juri@jurta.org>
7216
7217 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7218 (dired-do-async-shell-command): Don't add `*' at the end of the
7219 command (Bug#11815).
7220 (dired-do-shell-command): Doc fix.
7221 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7222 Join the individual commands using either "&" or ";" as the
7223 separator depending on the values of these trailing characters.
7224 At the end re-add the trailing "&". (Bug#10598)
7225
7226 * simple.el (async-shell-command): Sync the interactive spec with
7227 `shell-command'. Doc fix.
7228 (shell-command): Doc fix.
7229
b19dd9d1
JL
72302012-07-17 Juri Linkov <juri@jurta.org>
7231
7232 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7233
bcdc27d7 72342012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 7235
bcdc27d7 7236 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
7237 * progmodes/python.el (python-nav-beginning-of-statement):
7238 Rename from python-nav-statement-start.
bcdc27d7
FEG
7239 (python-nav-end-of-statement): Rename from
7240 python-nav-statement-end.
7241 (python-nav-beginning-of-block): Rename from
7242 python-nav-block-start.
7243 (python-nav-end-of-block): Rename from python-nav-block-end.
7244
191da00e
FEG
72452012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7246
7f5331cc
MY
7247 * progmodes/python.el (python-shell-send-string-no-output):
7248 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
7249 future interactions (Bug#11868).
7250
4dc7c8d5 72512012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 7252
88ecaf8f
SM
7253 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7254
ef501ef0
SM
7255 * emacs-lisp/elint.el (elint-find-args-in-code):
7256 Use help-function-arglist, so as to handle lexical byte-code.
7257
aa7aaf8f
SM
7258 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7259 change (bug#11826).
7260
45fd731c
SM
72612012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7262
2143fa32
SM
7263 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7264 Avoid spuriously marking the buffer as modified because of c-is-sws.
7265
efc26dbe
SM
7266 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7267 as not-a-comment (bug#11946).
7268
f5695c9a
SM
7269 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7270 for uninterned vars.
7271
7272 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7273 Use read-event since we don't really want to read chars but bytes.
7274
45fd731c
SM
7275 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7276 $$..$$ but also $..$ using regexps (bug#11953).
7277 Use tex-verbatim for \url and \path.
7278 (tex-font-lock-keywords): Define as defconst like the others.
7279 (tex-common-initialization): Don't use font-lock-syntax-table any more.
7280
ddfc8813
RK
72812012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
7282
7283 * international/mule-cmds.el (ucs-insert): Make it an obsolete
7284 alias for insert-char.
7285
758e556a
FEG
72862012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7287
7288 * progmodes/python.el: Simplified imenu implementation.
7289 (python-nav-jump-to-defun): Remove command.
7290 (python-mode-map): Use `imenu' instead.
7291 (python-nav-list-defun-positions-cache)
7292 (python-imenu-include-defun-type, python-imenu-make-tree)
7293 (python-imenu-subtree-root-label, python-imenu-index-alist):
7294 Remove vars.
7295 (python-nav-list-defun-positions, python-nav-read-defun)
7296 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
7297 (python-imenu-make-tree, python-imenu-create-index):
7298 Remove functions.
758e556a
FEG
7299 (python-mode): Update to interact with imenu by setting
7300 `imenu-extract-index-name-function' only.
7301
032d23ab
FEG
73022012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7303
7304 * progmodes/python.el: Enhancements to navigation commands.
7305 (python-nav-backward-sentence)
7306 (python-nav-forward-sentence): Remove.
7307 (python-nav-backward-statement, python-nav-forward-statement)
7308 (python-nav-statement-start, python-nav-statement-end)
7309 (python-nav-backward-block, python-nav-forward-block)
7310 (python-nav-block-start, python-nav-block-end)
7311 (python-nav-forward-sexp-function)
7312 (python-info-current-line-comment-p)
7313 (python-info-current-line-empty-p): New functions.
7314 (python-indent-context): Use `python-nav-statement-start'.
7315
01795a1b
MA
73162012-07-16 Michael Albinus <michael.albinus@gmx.de>
7317
9328d9aa
MA
7318 * eshell/em-ls.el (eshell/ls): Use `apply'.
7319
7320 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7321 multi-hops, instead of Tramp internals.
7322
01795a1b
MA
7323 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7324
7325 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7326 when F1 and F2 are located on different hosts.
7327
63408057
CY
73282012-07-14 Chong Yidong <cyd@gnu.org>
7329
7330 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7331 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7332 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7333 (xterm-mouse--read-event-sequence-1000)
7334 (xterm-mouse--read-event-sequence-1006): New functions. For old
7335 mouse protocol, handle M-mouse-X events correctly.
7336 (xterm-mouse-event): New arg specifying mouse protocol.
7337 (turn-on-xterm-mouse-tracking-on-terminal)
7338 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
7339 sequence to toggle extended coordinates on newer XTerms.
7340 This appears to be harmless on terminals which do not support this.
63408057 7341
cd276f6e
LL
73422012-07-14 Leo Liu <sdl.web@gmail.com>
7343
28ca98ac
LL
7344 Add fringe bitmap indicators for flymake. (Bug#11253)
7345 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7346 (flymake-make-overlay): New arg BITMAP.
7347 (flymake-error-bitmap, flymake-warning-bitmap)
7348 (flymake-fringe-indicator-position): New user variables.
7349
cd276f6e
LL
7350 * fringe.el: New bitmap exclamation-mark.
7351
04408072
JD
73522012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7353
7354 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7355 also (Bug#7879).
7356
b5cf7fc4
CY
73572012-07-14 Chong Yidong <cyd@gnu.org>
7358
7359 * electric.el (electric-pair-post-self-insert-function): Fix pair
7360 insertion in empty-region case (Bug#11520).
7361
be755c79
RT
73622012-07-14 Chong Yidong <cyd@gnu.org>
7363
45fd731c
SM
7364 * bindings.el: Consolidate ctl-x-r-map bindings.
7365 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
7366
7367 * rect.el, register.el: Move bindings to bindings.el.
7368
73692012-07-14 Reuben Thomas <rrt@sc3d.org>
7370
7371 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7372
7f5b3198
AS
73732012-07-13 Andreas Schwab <schwab@linux-m68k.org>
7374
7375 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
7376
97662200
JB
73772012-07-13 Juanma Barranquero <lekktu@gmail.com>
7378
80185fed
JB
7379 * bindings.el (top): Use `mapc' instead of `mapcar'.
7380
97662200
JB
7381 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7382
2bb1ae55
MA
73832012-07-13 Michael Albinus <michael.albinus@gmx.de>
7384
7385 * progmodes/sql.el (sql-comint): Suppress the check for program on
7386 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
7387 (Bug#11908)
7388
dea31bd3
CY
73892012-07-13 Chong Yidong <cyd@gnu.org>
7390
7391 * bindings.el: Assign a non-nil permanent-local property to
7392 per-buffer variables which lack a default value (Bug#11930).
7393
7394 * help-fns.el (describe-variable): In the "automatically becomes
7395 local" notice, take note of permanent-local variables.
7396
b68b3337
CY
73972012-07-13 Chong Yidong <cyd@gnu.org>
7398
7399 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
7400 to allow printing the message when called from Lisp.
7401
7402 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7403 Remove toggle-read-only.
7404
7405 * bs.el (bs-toggle-readonly):
45fd731c
SM
7406 * buff-menu.el (Buffer-menu-toggle-read-only):
7407 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
7408
7409 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7410 Remove with-no-warnings around toggle-read-only.
7411 (ffap-read-only, ffap-read-only-other-window)
7412 (ffap-read-only-other-frame): Callers changed.
7413
7414 * help-mode.el: Don't require view package.
7415 (help-mode-finish): Set buffer-read-only instead of calling
7416 toggle-read-only.
7417
7418 * bindings.el (mode-line-toggle-read-only):
7419 * dired.el (dired-toggle-read-only):
7420 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7421 with non-nil second arg.
7422
7423 * emacs-lisp/eieio-custom.el (eieio-customize-object):
7424 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7425 directly.
7426
56bc1586
EZ
74272012-07-12 Eli Zaretskii <eliz@gnu.org>
7428
7429 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7430 not incf.
7431
a464a6c7
SM
74322012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
7433
7434 More CL cleanups and reduction of use of cl.el.
7435 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7436 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7437 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7438 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7439 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7440 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7441 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7442 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7443 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7444 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7445 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7446 * eshell/em-cmpl.el, eshell/em-banner.el:
7447 * calendar/parse-time.el: Use cl-lib.
7448 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7449 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7450 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7451 * term/ns-win.el, term.el, shell.el, ps-samp.el:
7452 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7453 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7454 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7455 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7456 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7457 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7458 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7459 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7460 `lambda' rather than with `quote'.
7461 (eshell-do-opt): Adjust accordingly.
7462 (eshell-process-option): Simplify.
7463 * eshell/esh-var.el:
7464 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7465 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7466 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7467 to `pcase--dontcare'.
7468 * emacs-lisp/cl.el (labels): Mark obsolete.
7469 (cl--letf, letf): Move to cl-lib.
7470 (cl--letf*, letf*): Remove.
7471 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7472 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7473 (cl-progv): Rewrite.
7474 (cl--letf, cl-letf): Move from cl.el.
7475 (cl-letf*): New macro.
7476 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7477
7ad4afe1
MA
74782012-07-11 Michael Albinus <michael.albinus@gmx.de>
7479
7480 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7481
9af57756
CY
74822012-07-11 Chong Yidong <cyd@gnu.org>
7483
7484 * vc/log-edit.el (log-edit-vc-backend): New variable.
7485 (log-edit): Doc fix.
7486
7487 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7488 argument of log-edit to set up all local variables.
7489 (vc-start-logentry): New optional arg specifying VC backend.
7490
7491 * vc/vc.el (vc-checkin): Use it.
7492 (vc-deduce-fileset): Handle Log Edit buffers.
7493 (vc-diff): Make first argument optional too.
7494
7495 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7496
8477cc7a
MA
74972012-07-10 Michael Albinus <michael.albinus@gmx.de>
7498
7499 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7500 command, just in case. The function is not needed anymore.
7501 (eshell-external-command): Do not call `eshell-remote-command'.
7502
19faa8e8
SM
75032012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
7504
f58e0fd5
SM
7505 Reduce use of (require 'cl).
7506 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7507 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7508 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7509 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7510 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7511 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7512 * battery.el, avoid.el, abbrev.el: Use cl-lib.
7513 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
7514 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
7515 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
7516 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7517 * calculator.el, autorevert.el, apropos.el: Don't require CL.
7518 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7519 (byte-compile-unfold-bcf, byte-compile-check-variable):
7520 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7521 (byte-compile-nilconstp):
7522 * emacs-lisp/autoload.el (make-autoload): Use pcase.
7523 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7524
2519d43a
SM
7525 * emacs-lisp/gv.el (cond): Make it a valid place.
7526 (if): Simplify slightly.
7527
19faa8e8
SM
7528 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7529 (pcase--self-quoting-p): New function.
7530 (pcase--u1): Use it.
7531
c4907a5e
GM
75322012-07-10 Glenn Morris <rgm@gnu.org>
7533
7534 * emacs-lisp/authors.el (authors-fixed-entries):
7535 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7536
c4444d16
PE
75372012-07-09 Paul Eggert <eggert@cs.ucla.edu>
7538
7539 Rename configure.in to configure.ac (Bug#11603).
7540 * emacs-lisp/authors.el (authors-canonical-file-name):
7541 * progmodes/autoconf.el (autoconf-mode):
7542 Prefer configure.ac to configure.in.
7543
d75be97d
CY
75442012-07-08 Chong Yidong <cyd@gnu.org>
7545
01ac65bd
CY
7546 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7547 Implement the mouse-1-click-follows-link handling properly.
7548
7549 * info.el (Info-link-keymap): Use follow-link mechanism for
7550 header-line links (Bug#374).
7551
d75be97d
CY
7552 * simple.el (deactivate-mark): Do not set the primary selection
7553 if another program has acquired it (Bug#11772).
7554
87a92845 75552012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
7556
7557 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7558 (woman-decode-region): Replace escaped-escapes without destroying
7559 bold or underline (Bug#11552).
87a92845 7560 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 7561
621b9d6c
CY
75622012-07-07 Chong Yidong <cyd@gnu.org>
7563
7564 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
7565 (interprogram-cut-function, interprogram-paste-function):
7566 Mention that we typically mean the clipboard.
621b9d6c 7567
133a11fc
GM
75682012-07-06 Glenn Morris <rgm@gnu.org>
7569
0d27a45e
GM
7570 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
7571
133a11fc
GM
7572 * files.el (toggle-read-only): Restrict message to interactive use.
7573
07b151f1
MA
75742012-07-06 Michael Albinus <michael.albinus@gmx.de>
7575
7576 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
7577
7578 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
7579
211b896b
GM
75802012-07-06 Glenn Morris <rgm@gnu.org>
7581
50394322
GM
7582 * Makefile.in (compile-one-process): Rename from "recompile".
7583
211b896b
GM
7584 * Makefile.in (bzr-update): "compile" is the same as "recompile
7585 autoloads", but parallelizable, so use that instead.
7586
4737eec9
DG
75872012-07-06 Dmitry Gutov <dgutov@yandex.ru>
7588
7589 * window.el (quit-window): Always restore window height when
8137e7b3 7590 it's saved in quit-restore parameter (Bug#11810).
4737eec9 7591
226c3633 75922012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
7593
7594 * simple.el (kill-whole-line): Doc tweak.
7595
226c3633 75962012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
7597
7598 * files.el (file-relative-name): Compare file names
7599 case-insensitively if on MS-Windows or MS-DOS, or if
7600 read-file-name-completion-ignore-case is non-nil. Don't use
7601 case-fold-search for this purpose. (Bug#11827)
7602
4dc7c8d5
SM
76032012-07-17 Andreas Schwab <schwab@linux-m68k.org>
7604
7605 * calendar/cal-dst.el (calendar-current-time-zone):
7606 Return calendar-current-time-zone-cache if non-nil.
7607
76082012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 76092012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7610
19faa8e8
SM
7611 * calendar/cal-dst.el (calendar-current-time-zone):
7612 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7613
60198fc9
GM
76142012-07-06 Glenn Morris <rgm@gnu.org>
7615
7616 * Makefile.in (cvs-update): Remove old alias.
7617
957b3189
MA
76182012-07-05 Michael Albinus <michael.albinus@gmx.de>
7619
7620 Sync with Tramp 2.2.6-pre.
7621
7622 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7623 compatible declaration.
7624
19faa8e8
SM
7625 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7626 Protect `list-load-path-shadows' call.
957b3189
MA
7627
7628 * net/tramp-compat.el (top): Require packages, which aren't
7629 autoloaded anymore for XEmacs. Protect call of
7630 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7631 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
7632 it hurts at least for SXEmacs.
7633 (tramp-compat-temporary-file-directory): In XEmacs, there is no
7634 standard-value for `temporary-file-directory'.
7635
7636 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7637 Redirect stderr to /dev/null.
7638 (tramp-sh-handle-write-region): uid and gid can be floats.
7639 Reported by Russell Sim <russell.sim@gmail.com>.
7640 (tramp-sh-handle-vc-registered): Hide errors.
7641 (tramp-vc-file-name-handler): Use dummy results for `process-file'
7642 and `start-file-process'.
7643 (tramp-maybe-open-connection): Check also whether `non-essential'
7644 is bound.
7645
566df3fc
CY
76462012-07-04 Chong Yidong <cyd@gnu.org>
7647
7648 * xml.el (xml--parse-buffer): Use xml-syntax-table.
7649 (xml-parse-tag): Likewise, and avoid changing entity tables.
7650 (xml-syntax-table): Define from scratch, making sure not to give
7651 x2000 and other Unicode spaces whitespace syntax, since those are
7652 not spaces in XML.
7653 (xml-parse-fragment): Delete unused function.
7654 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7655 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7656 (xml-entity-ref, xml-pe-reference-re)
7657 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7658 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7659 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7660 (xml-entity-value-re): Use syntax references in regexps where
7661 possible; no need to define inside a let-binding.
7662 (xml-parse-dtd): Use xml-pe-reference-re.
7663 (xml-entity-or-char-ref-re): New defconst.
7664 (xml-parse-string, xml-substitute-special): Use it.
7665
30eabd7a
SM
76662012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7667
0781098a
SM
7668 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7669 (find-file--read-only): New function.
7670 (find-file-read-only, find-file-read-only-other-window)
7671 (find-file-read-only-other-frame): Use it.
7672 (insert-file-contents-literally): Don't `fset'.
7673 (get-free-disk-space): Use locate-dominating-file.
7674
b5771c0d
SM
7675 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7676 function is already compiled.
7677
30eabd7a
SM
7678 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7679
b4886f6e
MA
76802012-07-03 Michael Albinus <michael.albinus@gmx.de>
7681
7682 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7683 files on the same host.
7684
b9d82339
AS
76852012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7686
7687 * help-fns.el (describe-function-1): Only call
7688 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7689
a76e6535
CY
76902012-07-03 Chong Yidong <cyd@gnu.org>
7691
7692 * xml.el: Protect parser against XML bombs.
7693 (xml-entity-expansion-limit): New variable.
7694 (xml-parse-string, xml-substitute-special): Use it.
7695 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7696
b544fef2
GM
76972012-07-03 Glenn Morris <rgm@gnu.org>
7698
7699 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7700 Allow linking to specific messages in debbugs reports (eg 123#5).
7701
a7aef6f5
CY
77022012-07-02 Chong Yidong <cyd@gnu.org>
7703
7704 * xml.el: Fix entity and character reference expansion, allowing
7705 them to expand into markup as per XML spec.
7706 (xml-default-ns): New variable.
7707 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
7708 (xml-parse-region): Make first two arguments optional.
7709 Discard text properties.
7710 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7711 All callers changed.
a7aef6f5
CY
7712 (xml-parse-tag): Call xml-parse-tag-1. For backward
7713 compatibility, this function should not modify buffer contents.
7714 (xml-parse-tag-1): Fix opening-tag regexp.
7715 (xml-parse-string): Rewrite, handling entity and character
7716 references properly.
7717 (xml--entity-replacement-text): Signal an error if a parameter
7718 entity is undefined.
7719
3df31c9f
SM
77202012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7721
2b5208f1
SM
7722 * comint.el (comint-output-filter): Filter out repeated prompts.
7723
3df31c9f
SM
7724 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7725 and file-name-absolute-p.
7726 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7727 internal calls.
7728
e3ac1281
PE
77292012-07-02 Paul Eggert <eggert@cs.ucla.edu>
7730
7731 Spelling fixes.
7732 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7733 Rename from byte-compile--refiy-function. All uses changed.
7734
fbf2e7ad
CY
77352012-07-01 Chong Yidong <cyd@gnu.org>
7736
7737 * xml.el (xml--parse-buffer): New function. Move most of
7738 xml-parse-region here.
7739 (xml-parse-region): Copy region into a temporary buffer, since
7740 parameter entity substitution requires changing buffer contents.
7741 Use xml--parse-buffer.
7742 (xml-parse-file): Use xml--parse-buffer.
7743 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 7744 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 7745
9bf0aa15
GM
77462012-06-30 Glenn Morris <rgm@gnu.org>
7747
bbce2853
GM
7748 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7749
9bf0aa15
GM
7750 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7751 Remove outdated and unnecessary dbus declarations.
7752
0d23c240
EZ
77532012-06-30 Eli Zaretskii <eliz@gnu.org>
7754
7755 * emacs-lisp/timer.el (timer-until): Subtract results of
7756 float-time, instead of taking float-time of the result of
7757 time-subtract, since float-time signals an error for negative time
7758 arguments.
7759
b3218de1
CY
77602012-06-30 Chong Yidong <cyd@gnu.org>
7761
7762 * xml.el (xml-*-re): Convert defvars into defconsts, and
7763 eval-and-compile them so eval-and-compile works on derivatives.
7764 (xml--entity-replacement-text): Use eval-and-comple.
7765
a40c87a0
MA
77662012-06-30 Michael Albinus <michael.albinus@gmx.de>
7767
7768 * vc/vc-git.el (vc-git-registered): Use cache property
7769 `git-registered'.
7770 (vc-git-mode-line-string): Call `vc-working-revision' instead of
7771 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 7772 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 7773
ac87de97
DG
77742012-06-30 Dmitry Gutov <dgutov@yandex.ru>
7775
7776 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 7777 removed (likely outside Emacs). (Bug#11757)
ac87de97 7778
ac10fe06
SM
77792012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7780
3df31c9f 7781 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 7782
7f3fbd5d
CY
77832012-06-30 Chong Yidong <cyd@gnu.org>
7784
7785 * xml.el: Implement XML parameter entities.
7786 (xml-parameter-entity-alist): New variable.
7787 (xml-parse-region, xml-parse-fragment): Preserve previous values
7788 of xml-entity-alist and xml-parameter-entity-alist, so that
7789 repeated calls on different documents do not change them.
7790 (xml-parse-tag): Fix doctype regexp.
7791 (xml--entity-replacement-text): New function.
7792 (xml-parse-dtd): Use it. Don't handle system entities; doing that
7793 properly requires url retrieval which is unimplemented.
7794 (xml-escape-string): Doc fix.
7795
3cfbebba
SM
77962012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7797
7798 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7799
2af3565e
DA
78002012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
7801
7802 * fringe.el (fringe-mode): Doc fix.
7803
929df0e7
MA
78042012-06-29 Michael Albinus <michael.albinus@gmx.de>
7805
7806 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7807 is non-nil.
7808 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7809 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
7810
c8d3a25c 78112012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7812
c8d3a25c
GM
7813 * calendar/cal-dst.el (calendar-current-time-zone):
7814 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7815
c8d3a25c 78162012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
7817
7818 * progmodes/which-func.el (which-func-format):
7819 Add mouse-face. (Bug#11698)
7820
c8d3a25c
GM
78212012-06-29 Leo Liu <sdl.web@gmail.com>
7822
7823 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7824
78252012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7826
7827 * minibuffer.el (minibuffer-confirm-exit-commands):
7828 Add completion-at-point (bug#11725).
7829
78302012-06-29 Glenn Morris <rgm@gnu.org>
7831
7832 * progmodes/f90.el (f90-font-lock-keywords-2):
7833 Add some preprocessor elements. (Bug#10499)
7834
78352012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7836
7837 * progmodes/cperl-mode.el (cperl-update-syntaxification):
7838 Use syntax-propertize (bug#11739).
7839
2badeec4
JB
78402012-06-28 Juanma Barranquero <lekktu@gmail.com>
7841
7842 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7843
ae4969c2
JD
78442012-06-28 Julien Danjou <julien@danjou.info>
7845
7846 * term.el (term-handle-colors-array): Use a set of new faces to
7847 color the terminal. Also uses :inverse-video property.
7848 (term-default-fg-color): Set to nil by default, deprecate in favor
7849 of `term-face'.
7850 (term-default-bg-color): Set to nil by default, deprecate in favor
7851 of `term-face'.
7852 (term-current-face): Use `term-face' by default.
7853 (term-bold-attribute): Variable deleted.
7854
1c9bd870
GM
78552012-06-28 Glenn Morris <rgm@gnu.org>
7856
7857 * simple.el (completion-list-mode-finish):
7858 Don't use toggle-read-only. (Since completion-list-mode has
7859 a special mode-class, it wasn't doing anything extra anyway.)
7860
c207708c
SM
78612012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7862
7863 Make inlining of other-mode interpreted functions work (bug#11799).
7864 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7865 (byte-compile): Use it to fix compilation of lexical-binding closures.
7866 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7867 function, if needed.
7868
3fd56834
SM
78692012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7870
04901786
SM
7871 * help-mode.el (help-make-xrefs): Don't just withstand
7872 cyclic-variable-indirection but any error in documentation-property.
7873
1ec4b7b2
SM
7874 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7875 memory use.
7876 * bindings.el (bindings--define-key): New function.
7877 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7878 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7879 * bindings.el: Use it to purecopy define-key bindings.
7880
e309e2a5
SM
7881 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7882
d5c6faf9
SM
7883 * emacs-lisp/cl.el (flet): Mark obsolete.
7884 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7885 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7886 * progmodes/js.el (js-c-fill-paragraph):
7887 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7888 (ebrowse-switch-member-buffer-to-derived-class):
7889 * play/5x5.el (5x5-solver): Use cl-flet.
7890
6e9590e2
SM
7891 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
7892 (cl--symbol-function): New macro.
7893 (cl--letf, cl--letf*): Use it.
7894
3fd56834
SM
7895 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7896 Strip "toggle-" if any.
7897
35ff222c
GM
78982012-06-27 Glenn Morris <rgm@gnu.org>
7899
1ba6038a
GM
7900 * info.el (Info-default-directory-list): Move here from paths.el.
7901 * paths.el: Remove file, which is now empty.
7902 * loadup.el: No longer load "paths".
7903
0ea0e51b
GM
7904 * custom.el (custom-initialize-delay): Doc fix.
7905
35ff222c
GM
7906 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7907 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7908 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7909 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7910 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7911 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
7912 * eshell/eshell.el (eshell-defgroup): Remove alias.
7913
c89926a5
CY
79142012-06-27 Chong Yidong <cyd@gnu.org>
7915
7916 * help.el (help-enable-auto-load): New variable.
7917
7918 * help-fns.el (help-fns--autoloaded-p): New function.
7919 (describe-function-1): Refer to a function as "autoloaded" if it
7920 was autoloaded at any time in the past. Perform autoloading if
7921 help-enable-auto-load is non-nil.
7922
cc06e7e7
EZ
79232012-06-26 Eli Zaretskii <eliz@gnu.org>
7924
7925 * makefile.w32-in (compile, compile-always): Depend on
7926 update-subdirs, not on subdirs.el. Otherwise, several different
7927 sub-targets of 'bootstrap' running in parallel could
7928 simultaneously write to subdirs.el, producing a garbled file.
7929
d2c32364
SS
79302012-06-26 Sam Steingold <sds@gnu.org>
7931
7932 * files.el (file-name-base): New convenience function.
0d14cc21
GM
7933 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
7934 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
7935 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
7936 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
7937 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
7938 * textmodes/tex-mode.el: Use it.
7939 Did not touch cedet and org because they are maintained elsewhere.
7940
5cf983b2
MR
79412012-06-26 Martin Rudalics <rudalics@gmx.at>
7942
7943 * calendar/calendar.el (calendar-exit): Don't try to delete or
7944 iconify last frame. See:
7945 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7946
8c4f2952
JD
79472012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
7948
7949 * server.el (server-process-filter): Remember dir in the
7950 process's `server-client-directory' properties.
7951
772b2e2c
CY
79522012-06-24 Chong Yidong <cyd@gnu.org>
7953
7954 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7955 non-tag text.
7956
711b11e1
JB
79572012-06-23 Juanma Barranquero <lekktu@gmail.com>
7958
7959 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7960
dc5d230c
SM
79612012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7962
7963 * help-fns.el (describe-variable): Don't croak when doc is not found.
7964 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7965 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7966 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7967 * emacs-lisp/smie.el (smie-next-sexp): CSE.
7968 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7969 ((lambda ..) ..).
7970 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7971
136e1c1d
CY
79722012-06-23 Chong Yidong <cyd@gnu.org>
7973
e8c1cabf
CY
7974 * info.el (Info-mouse-follow-link): Accept symbol values of
7975 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
7976 (Info-fontify-node): Use Info-link-keymap for all navigation
7977 buttons, with link-args property to perform the desired action.
7978 (Info-link-keymap): Doc fix.
7979 (Info-next-link-keymap, Info-prev-link-keymap)
7980 (Info-up-link-keymap): Delete now-unused keymaps.
7981
0e9e6c6a
CY
79822012-06-23 Chong Yidong <cyd@gnu.org>
7983
05e89fea
CY
7984 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7985
0e9e6c6a
CY
7986 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7987 system abbrevs.
7988
7989 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7990
e33c6771
SM
79912012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7992
b68581e2
SM
7993 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7994 (bug#11719).
7995
e33c6771
SM
7996 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7997 the requote function doesn't work properly (bug#11714).
7998
7117e105
GM
79992012-06-23 Glenn Morris <rgm@gnu.org>
8000
8001 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8002
36cec983
SM
80032012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8004
8005 Further GV/CL cleanups.
8006 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8007 gv-expander.
8008 (gv--defun-declaration): New function.
8009 (defun-declarations-alist): Use it.
8010 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8011 (gv-place): Autoload.
8012 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8013 original definition of dotimes and dolist.
8014 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8015 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8016 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8017 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8018 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8019 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8020 to the function's definition.
8021 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8022 * window.el:
8023 * files.el:
8024 * faces.el:
8025 * env.el: Don't use CL.
8026
d35af63c
PE
80272012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8028
8029 Support higher-resolution time stamps (Bug#9000).
8030
8031 * calendar/time-date.el (with-decoded-time-value): New arg
8032 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8033 (encode-time-value): New optional arg PICO. New type 3.
8034 (time-to-seconds) [!float-time]: Support the new picoseconds
8035 component if it's used.
8036 (seconds-to-time, time-subtract, time-add):
8037 Support ps-resolution time stamps as well.
8038
8039 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8040 (timerp): Timer vectors now have length 9, not 8.
8041 (timer--time): Support new-style (4-part) time stamps.
8042 (timer-next-integral-multiple-of-time): Time stamps now have
8043 picosecond resolution, so take a bit more care about rounding.
8044 (timer-relative-time, timer-inc-time): New optional arg psecs.
8045 (timer-set-time-with-usecs): Set psecs to 0.
8046 (timer--activate): Check psecs component, too.
8047
8048 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8049
ac77b21a
SM
80502012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8051
f143bfe3
SM
8052 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8053 Move the non-essential binding to the post/pre-command-hook where it is
8054 more obviously correct.
8055
ac77b21a
SM
8056 * subr.el (read-passwd): Don't use a history at all.
8057 * savehist.el (savehist-save): Remove password saved accidentally
8058 because of the above bug.
8059
76386c5a
BG
80602012-06-22 Bastien Guerry <bzg@gnu.org>
8061
8062 * files.el (toggle-read-only): Display a message telling whether
8063 the buffer is read-only or not (bug#11726).
8064
2ee3d7f0
SM
80652012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8066
8067 * emacs-lisp/gv.el: New file.
8068 * subr.el (push, pop): Extend to generalized variables.
8069 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8070 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8071 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8072 gv-define-simple-setter, and gv-define-expander.
8073 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8074 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8075 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8076 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8077 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8078 gv-letplace.
8079 (cl-defstruct): Don't define setf-method any more.
8080 * emacs-lisp/cl.el (flet): Don't autoload.
8081 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8082 (define-setf-expander, defsetf, define-modify-macro)
8083 (cl-struct-setf-expander): Move from cl-lib.el.
8084 * emacs-lisp/syntax.el:
8085 * emacs-lisp/ewoc.el:
8086 * emacs-lisp/smie.el:
8087 * emacs-lisp/cconv.el:
8088 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8089 (timer--time): Use gv-define-simple-setter.
8090 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8091 to avoid coding-system problems in subr.el. Adjust all users.
8092 (macroexp--maxsize, macroexp-small-p): New functions.
8093 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8094 * scroll-bar.el (scroll-bar-mode):
8095 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8096 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8097 * winner.el (winner-configuration, winner-make-point-alist)
8098 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8099 * files.el (locate-file-completion-table): Avoid list*.
8100
c5695d1d
CY
81012012-06-22 Chong Yidong <cyd@gnu.org>
8102
8103 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8104 (dired-create-files): Doc fix (Bug#11329).
8105 (dired-do-copy): Doc fix (Bug#11334).
8106 (dired-mark-read-string): Doc fix (Bug#11553).
8107
2ee3d7f0
SM
8108 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8109 Doc fix (Bug#11326).
c5695d1d
CY
8110 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8111 (dired-dwim-target): Doc fix.
8112
8113 * wdired.el (wdired-mode): Doc fix.
8114
89b5595a
GM
81152012-06-22 Glenn Morris <rgm@gnu.org>
8116
575db3f1
GM
8117 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8118 (pcmpl-rpm-cache-stamp-file): New constant.
8119 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8120 (pcmpl-rpm-packages): Optionally cache list of packages.
8121
a4c8dd51
GM
8122 * pcmpl-rpm.el (pcmpl-rpm): New group.
8123 (pcmpl-rpm-query-options): New option.
8124 (pcmpl-rpm-packages): No need to inline it.
8125 Use pcmpl-rpm-query-options.
8126
89b5595a
GM
8127 * calendar/calendar.el (calendar-in-read-only-buffer):
8128 Avoid some needless mode changes.
8129
e76f0800
CY
81302012-06-21 Chong Yidong <cyd@gnu.org>
8131
8132 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8133 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 8134 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 8135
297a8f1d
CY
81362012-06-20 Chong Yidong <cyd@gnu.org>
8137
8138 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8139
d34c18b1
DR
81402012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8141
8142 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8143 (bug#11201).
8144
32f7f28e
CY
81452012-06-20 Chong Yidong <cyd@gnu.org>
8146
8147 * term.el (term-window-width): Handle the case of a missing right
8148 fringe (Bug#8837).
8149 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
8150 (term-mode): Use define-derived-mode. Minor cleanups.
8151 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
8152 (term-move-columns, term-insert-char, term-emulate-terminal)
8153 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 8154
493c6688
MA
81552012-06-20 Michael Albinus <michael.albinus@gmx.de>
8156
d34c18b1
DR
8157 * net/ange-ftp.el (ange-ftp-get-passwd):
8158 Bind `enable-recursive-minibuffers'.
493c6688
MA
8159 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8160
3f06ecf4
DR
81612012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8162
8163 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8164
68f12411
GM
81652012-06-19 Glenn Morris <rgm@gnu.org>
8166
8167 * progmodes/python.el (python-mode): Derive from prog-mode.
8168
b3820318
KG
81692012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8170
8171 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8172 (edt-user-menu-bar-update-buffers): New functions.
8173 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8174
c6bf3022
CY
81752012-06-19 Chong Yidong <cyd@gnu.org>
8176
8177 * subr.el (with-selected-window): Preserve the selected window's
8178 terminal's top-frame (Bug#4702).
8179
8180 * window.el (save-selected-window): Likewise.
8181
25f09295
SM
81822012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8183
8184 * progmodes/python.el (python-rx-constituents): Move backquote.
8185 (python-skeleton-define, python-define-auxiliary-skeleton):
8186 Use `declare'.
8187
6b11952a
MA
81882012-06-18 Michael Albinus <michael.albinus@gmx.de>
8189
8190 * minibuffer.el (read-file-name-default): Revert the patch from
8191 2012-06-17.
8192
ee4b1330
SM
81932012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8194
8195 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8196 (pcase--u1, pcase--q1): Don't use apply-partially.
8197
35647f79
GM
81982012-06-18 Glenn Morris <rgm@gnu.org>
8199
8200 * progmodes/python.el (python-proc, python-buffer)
8201 (python-send-receive, python-send-string): Fix obsolete versions.
8202
24b0cff0
MR
82032012-06-18 Martin Rudalics <rudalics@gmx.at>
8204
8205 * window.el (special-display-p): Completely remove stringp
8206 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8207
29855149
MA
82082012-06-17 Michael Albinus <michael.albinus@gmx.de>
8209
8210 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8211
8212 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8213
8214 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8215 * net/tramp-sh.el (tramp-maybe-open-connection):
8216 Throw if `non-essential' is non-nil.
8217
07463363
MR
82182012-06-17 Martin Rudalics <rudalics@gmx.at>
8219
8220 * window.el (special-display-p): Signal an error if BUFFER-NAME
8221 is not a string (Bug#11713).
8222
48d1354e
PE
82232012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8224
8225 * progmodes/python.el (python-info-beginning-of-backslash):
8226 Rename from python-info-beginning-of-backlash, as a spelling fix.
8227
eb4a8a9a
CY
82282012-06-17 Chong Yidong <cyd@gnu.org>
8229
8230 * term.el (term-emulate-terminal): If term-check-size is called,
8231 move point to the process mark without resetting point (Bug#4635).
8232
ddfbf826 82332012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
8234
8235 * international/mule-cmds.el (mule-menu-keymap)
8236 (set-language-environment, set-locale-environment): Doc tweaks.
8237
9b0e3eba
AA
82382012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8239
8240 * cus-face.el (custom-face-attributes): Add wave-style underline
8241 attribute.
8242 * faces.el (set-face-attribute): Update docstring to describe
8243 wave-style underline attribute.
8244
771e3eae
CY
82452012-06-16 Chong Yidong <cyd@gnu.org>
8246
8247 * term/xterm.el (terminal-init-xterm): Discard input before
8248 querying background mode (Bug#10959).
8249
7ae2ea10
SM
82502012-06-16 Stefan Merten <smerten@oekonux.de>
8251
8252 * textmodes/rst.el: Added and corrected some comments.
8253 (rst-re-alist-def): Improve symbol syntax.
8254 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
8255 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8256 (rst-official-version, rst-official-cvs-rev): Update version
8257 information.
7ae2ea10 8258
b6974efa
JB
82592012-06-15 Juanma Barranquero <lekktu@gmail.com>
8260
8261 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8262 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8263
8826d473
GM
82642012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
8265
8266 * progmodes/python.el: New python.el merge.
8267 (python-guess-indent): Obsolete var.
8268 (python-indent-guess-indent-offset): New defcustom.
8269 (python-indent): Obsolete var.
8270 (python-indent-offset): New defcustom.
8271 (python-python-command, python-jython-command): Delete var.
8272 (python-shell-interpreter): New defcustom.
8273 (python-pdbtrack-do-tracking-p): Delete var.
8274 (python-pdbtrack-activate): New defcustom.
8275 (python-use-skeletons): Obsolete var.
8276 (python-skeleton-autoinsert): New defcustom.
8277 (inferior-python-filter-regexp, python-continuation-offset)
8278 (python-honour-comment-indentation, python-indent-string-contents)
8279 (python-jython-packages, python-mode-hook)
8280 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8281 (python-shell-prompt-alist)
8282 (python-source-modes): Delete defcustoms.
8283 (python-check-buffer-name, python-eldoc-setup-code)
8284 (python-eldoc-string-code, python-ffap-setup-code)
8285 (python-ffap-string-code, python-fill-comment-function)
8286 (python-fill-decorator-function, python-fill-paren-function)
8287 (python-fill-string-function, python-imenu-include-defun-type)
8288 (python-imenu-make-tree, python-imenu-subtree-root-label)
8289 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8290 (python-shell-compilation-regexp-alist)
8291 (python-shell-completion-module-string-code)
8292 (python-shell-completion-pdb-string-code)
8293 (python-shell-completion-setup-code)
8294 (python-shell-completion-string-code)
8295 (python-shell-enable-font-lock, python-shell-exec-path)
8296 (python-shell-extra-pythonpaths)
8297 (python-shell-internal-buffer-name, python-shell-interpreter-args)
8298 (python-shell-process-environment)
8299 (python-shell-prompt-block-regexp)
8300 (python-shell-prompt-output-regexp)
8301 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8302 (python-shell-send-setup-max-wait, python-shell-setup-codes)
8303 (python-shell-virtualenv-path): New defcustoms.
8304 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8305 (inferior-python-mode-syntax-table, python--prompt-regexp)
8306 (python-buffer, python-command python-python-command)
8307 (python-default-template, python-imports, python-indent-index)
8308 (python-indent-list, python-indent-list-length)
8309 (python-mode-running, python-pdbtrack-is-tracking-p)
8310 (python-preoutput-continuation, python-preoutput-leftover)
8311 (python-preoutput-result, python-preoutput-skip-next-prompt)
8312 (python-prev-dir/file, python-recursing)
8313 (python-saved-check-command, python-version-checked)
8314 (python-which-func-length-limit)
8315 (view-return-to-alist): Delete vars.
8316 (python-check-custom-command, python-dotty-syntax-table)
8317 (python-imenu-index-alist, python-indent-current-level)
8318 (python-indent-dedenters, python-indent-levels)
8319 (python-nav-beginning-of-defun-regexp)
8320 (python-nav-list-defun-positions-cache)
8321 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8322 (python-shell-internal-buffer)
8323 (python-skeleton-available): New vars.
8324 (def-python-skeleton): Delete macro.
8325 (python-skeleton-define): New macro.
8326 (python-define-auxiliary-skeleton, python-rx): New macros.
8327 (python-insert-class): Delete command.
8328 (python-skeleton-class): New command.
8329 (python-insert-def): Delete command.
8330 (python-skeleton-def): New command.
8331 (python-insert-for): Delete command.
8332 (python-skeleton-for): New command.
8333 (python-insert-if): Delete command.
8334 (python-skeleton-if): New command.
8335 (python-insert-try/except, python-insert-try/finally): Delete commands.
8336 (python-skeleton-try): New command.
8337 (python-insert-while): Delete command.
8338 (python-skeleton-while): New command.
8339 (python-backspace): Delete command.
8340 (python-indent-dedent-line-backspace): New command.
8341 (python-electric-colon): Delete command.
8342 (python-indent-electric-colon): New command.
8343 (python-guess-indent): Delete command.
8344 (python-indent-guess-indent-offset): New command.
8345 (python-shift-left): Delete command.
8346 (python-indent-shift-left): New command.
8347 (python-shift-right): Delete command.
8348 (python-indent-shift-right): New command.
8349 (python-find-function): Delete command.
8350 (python-nav-jump-to-defun): New command.
8351 (python-next-statement): Delete command.
8352 (python-nav-forward-sentence): New command.
8353 (python-previous-statement): Delete command.
8354 (python-nav-backward-sentence): New command.
8355 (python-fill-paragraph): Delete command.
8356 (python-fill-paragraph-function): New command.
8357 (python-send-buffer): Delete command.
8358 (python-shell-send-buffer): New command.
8359 (python-send-defun): Delete command.
8360 (python-shell-send-defun): New command.
8361 (python-send-region, python-send-region-and-go): Delete commands.
8362 (python-shell-send-region)
8363 (python-shell-switch-to-shell): New commands.
8364 (python-send-string): Delete command.
8365 (python-shell-send-string): New command.
8366 (python-switch-to-python): Delete command.
8367 (python-shell-switch-to-shell): New command.
8368 (python-describe-symbol): Delete command.
8369 (python-eldoc-at-point): New command.
8370 (python--set-prompt-regexp, python-args-to-list)
8371 (python-after-info-look, python-check-version)
8372 (python-check-comint-prompt, python-find-imports)
8373 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8374 (python-unload-function, python-expand-template)
8375 (python-maybe-jython, python-preoutput-filter)
8376 (python-pdbtrack-get-source-buffer)
8377 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8378 (python-pdbtrack-toggle-stack-tracking)
8379 (python-pdbtrack-track-stack-file, python-initial-text)
8380 (python-first-word, python-comment-line-p, python-send-command)
8381 (python-setup-brm, python-sentinel, python-set-proc)
8382 (python-skip-out, python-input-filter, python-outdent-p)
8383 (python-outline-level, python-backslash-continuation-line-p)
8384 (python-end-of-block, python-end-of-statement, python-mark-block)
8385 (python-beginning-of-block, python-beginning-of-statement)
8386 (python-blank-line-p, python-beginning-of-string)
8387 (python-open-block-statement-p): Delete functions.
8388 (python-indent-line, python-indent-line-1): Delete functions.
8389 (python-indent-line): New function.
8390 (python-indentation-levels): Delete function.
8391 (python-indent-calculate-levels): New function.
8392 (python-proc): Delete function.
8393 (python-shell-get-process): New function.
8394 (python-send-receive): Delete function.
8395 (python-shell-send-string-no-output): New function.
8396 (python-module-path): Delete function.
8397 (python-ffap-module-path): New function.
8398 (python-completion-at-point)
8399 (python-symbol-completions): Delete functions.
8400 (python-completion-complete-at-point): New function.
8401 (python-load-file): Delete function.
8402 (python-shell-send-file): New function.
8403 (python-calculate-indentation): Delete function.
8404 (python-indent-calculate-indentation): New function.
8405 (python-skip-comments/blanks): Delete function.
8406 (python-util-forward-comment): New function.
8407 (python-continuation-line-p): Delete function.
8408 (python-info-continuation-line-p): New function.
8409 (python-which-func, python-current-defun): Delete function.
8410 (python-info-current-defun): New function.
8411 (python-beginning-of-defun): Delete function.
8412 (python-nav-beginning-of-defun): New function.
8413 (python-close-block-statement-p)
8414 (python-block-end-p): Delete function.
8415 (python-info-closing-block): New function.
8416 (python-comint-output-filter-function)
8417 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8418 (python-fill-comment, python-fill-decorator, python-fill-paren)
8419 (python-fill-string, python-imenu-make-element-tree)
8420 (python-imenu-make-tree, python-imenu-tree-assoc)
8421 (python-indent-context, python-indent-dedent-line)
8422 (python-indent-line-function)
8423 (python-indent-post-self-insert-function)
8424 (python-indent-toggle-levels)
8425 (python-info-assignment-continuation-line-p)
8426 (python-info-beginning-of-backlash)
8427 (python-info-block-continuation-line-p)
8428 (python-info-closing-block-message)
8429 (python-info-line-ends-backslash-p)
8430 (python-info-looking-at-beginning-of-defun)
8431 (python-info-ppss-context, python-info-ppss-context-type)
8432 (python-nav-list-defun-positions, python-nav-read-defun)
8433 (python-nav-sentence-end, python-nav-sentence-start)
8434 (python-pdbtrack-comint-output-filter-function)
8435 (python-pdbtrack-set-tracked-buffer)
8436 (python-shell-calculate-exec-path)
8437 (python-shell-calculate-process-environment)
8438 (python-shell-completion--do-completion-at-point)
8439 (python-shell-completion--get-completions)
8440 (python-shell-completion-complete-at-point)
8441 (python-shell-completion-complete-or-indent)
8442 (python-shell-get-or-create-process)
8443 (python-shell-get-process-name)
8444 (python-shell-internal-get-or-create-process)
8445 (python-shell-internal-get-process-name)
8446 (python-shell-internal-send-string, python-shell-make-comint)
8447 (python-shell-parse-command, python-shell-send-setup-code)
8448 (python-skeleton-add-menu-items)
8449 (python-util-clone-local-variables, python-util-position)
8450 (run-python-internal, python-indentation-levels)
8451 (python-nav-beginning-of-defun)
8452 (python-completion-complete-at-point): New functions.
8453 (run-python): Change arguments. New API requirements.
8454
4302f5ba
SM
84552012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8456
f38ea36d
SM
8457 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8458 (bug#11649).
8459
8460 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8461 (macroexp--expand-all): Use it.
8462
4302f5ba
SM
8463 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8464 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8465 Use `cl-function' instead.
8466
33377562
JB
84672012-06-14 Juanma Barranquero <lekktu@gmail.com>
8468
8469 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8470 Suggested by Stefan Monnier while discussing bug#11657.
8471
54c5ba1a
SS
84722012-06-14 Sam Steingold <sds@gnu.org>
8473
8474 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8475
f9f1b1fe
AS
84762012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8477
8478 * play/doctor.el (doctor-doc): Remove parameter and use
8479 doctor-sent instead of sent.
8480 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
8481
a81068ba
SM
84822012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8483
5a315f9c
SM
8484 * files.el: Require cl-lib.
8485 (file-name-non-special): Replace case -> cl-case.
8486
8487 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8488
a81068ba
SM
8489 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8490 mapping from #' to function*.
8491
8cca9703
CY
84922012-06-13 Chong Yidong <cyd@gnu.org>
8493
8494 * mouse.el (mouse-drag-track): Do not set the mark if the user
8495 releases the mouse without selecting anything (Bug#11588).
8496
a12ac9d7
SM
84972012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8498
ccf1dc18
SM
8499 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8500 as well (bug#11646).
8501
ef62b23d
SM
8502 * loadup.el: Count byte-code functions as well.
8503
c4c8444a
SM
8504 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8505 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8506
a12ac9d7
SM
8507 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8508 (bug#11649). Add cl-defun and cl-defmacro.
8509
87e6e64f
DA
85102012-06-13 Drew Adams <drew.adams@oracle.com>
8511
8512 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8513 Fix last change.
8514
682cefaf
MA
85152012-06-13 Michael Albinus <michael.albinus@gmx.de>
8516
8517 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8518 Otherwise, it blocks in batch mode.
8519
773e1f08
JB
85202012-06-13 Juanma Barranquero <lekktu@gmail.com>
8521
8522 * help-mode.el (bookmark-make-record-default): Declare.
8523
60057926
CY
85242012-06-13 Chong Yidong <cyd@gnu.org>
8525
8526 * emacs-lisp/package.el (list-packages): Compute a list of
8527 packages that are newly-available since the last list-packages
8528 invocation.
8529 (package-menu--new-package-list): New var.
8530 (package-menu--generate, package-menu--print-info)
8531 (package-menu--status-predicate, package-menu-mark-install):
8532 Handle new status label "new".
8533
ad4d226c
SM
85342012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8535
8536 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8537 conversion to backquotes.
8538
f1a4e679
CY
85392012-06-12 Chong Yidong <cyd@gnu.org>
8540
8541 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8542 Rename from gud-inhibit-global-bindings.
8543
8544 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8545
8546 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8547 hook from nxml-glyph-set-hook.
8548
8549 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8550 declaration.
8551
8552 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8553
8554 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8555 Convert to defcustom.
8556
0c9e42b5
DA
85572012-06-12 Drew Adams <drew.adams@oracle.com>
8558
8559 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8560 New functions.
8561 (help-mode): Use them.
8562
09e06855
GM
85632012-06-11 Glenn Morris <rgm@gnu.org>
8564
8565 * progmodes/fortran.el (fortran-font-lock-keywords-3):
8566 Use preprocessor face for directives.
8567 (fortran-directive-re): Doc fix.
8568
71adb94b
SM
85692012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8570
2eb87922
SM
8571 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
8572 conversion to backquotes (bug#11652).
8573
71adb94b
SM
8574 Fix compiler-expansion of CL's cXXr functions (bug#11673).
8575 * emacs-lisp/cl-lib.el (cl--defalias): New function.
8576 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
8577 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
8578 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8579 (cl-ninth, cl-tenth): Mark them as inlinable.
8580 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
8581 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
8582 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
8583 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
8584 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
8585 (cl-list*, cl-adjoin): Don't put an autoload manually.
8586 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
8587 (cl--compiler-macro-list*): Add autoload cookie.
8588 (cl--compiler-macro-cXXr): New function.
2eb87922 8589
71adb94b
SM
8590 * help-fns.el (help-fns--compiler-macro): New function extracted from
8591 describe-function-1; follow aliases and use `compiler-macro' property.
8592 (describe-function-1): Use it.
8593
a6674402
CY
85942012-06-11 Chong Yidong <cyd@gnu.org>
8595
8596 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8597 is uninstalled, if imagemagick is installed.
8598
bb3faf5b
SM
85992012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8600
8601 * emacs-lisp/cl-lib.el: Use lexical-binding.
8602 (cl-map-extents, cl-maclisp-member): Remove.
8603 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8604 (cl--set-substring, cl--block-wrapper, cl--block-throw)
8605 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8606 * emacs-lisp/cl-extra.el: Use lexical-binding.
8607 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8608 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8609 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8610 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8611 * emacs-lisp/cl-seq.el: Use lexical-binding.
8612 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8613 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8614 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8615 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8616 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8617 CL's internals.
8618
2fe4b125
MA
86192012-06-11 Michael Albinus <michael.albinus@gmx.de>
8620
8621 Sync with Tramp 2.2.6-pre.
8622
8623 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8624 `print-length' and `print-level' to nil, in order to avoid
8625 truncation. Reported by Christopher Schmidt
8626 <christopher@ristopher.com>.
8627
8628 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8629
8630 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8631 New defmacro.
8632 (tramp-compat-copy-directory): Add optional argument
8633 COPY-CONTENTS. It is not handled yet.
8634
8635 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8636 (tramp-ftp-file-name-p): Simplify.
8637
8638 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8639 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8640 connection vector.
8641
8642 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8643 (tramp-methods): Do not use `tramp-password-end-of-line'.
8644 (tramp-completion-function-alist-putty): Handle UNIX case.
8645 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8646 (tramp-do-file-attributes-with-stat)
8647 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8648 gid as real numbers. They could run out of integer range on cygwin.
8649 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8650 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
8651 (tramp-open-connection-setup-interactive-shell):
8652 Use `tramp-cleanup'. Move check for busyboxes ...
8653 (tramp-find-shell): ... here. Simplify implementation.
8654 Set "remote-shell" property also for alternative shells.
8655 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8656 If failing, a regular file would be written otherwise.
8657 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
8658 (tramp-find-inline-encoding): Cache the coding commands in the
8659 process cache. Apply test command on the remote side, if defined.
8660 (tramp-find-inline-compress): Cache the compress commands in the
8661 process cache.
8662 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8663 when requested. Handle hops.
8664 (tramp-current-connection): New defvar.
87e6e64f
DA
8665 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8666 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 8667 Handle user interrupt. (Bug#10187)
87e6e64f
DA
8668 (tramp-get-inline-compress, tramp-get-inline-coding):
8669 Read connection properties from the process cache.
2fe4b125
MA
8670
8671 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
8672 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8673 New defconsts.
2fe4b125
MA
8674 (tramp-smb-prompt): Extend for powershell prompt.
8675 (tramp-smb-file-name-handler-alist): Add handlers for
8676 `process-file', `shell-command' and `start-file-process'.
8677 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8678 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8679 (tramp-smb-file-name-p): Simplify.
8680 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8681 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8682 (tramp-smb-shell-quote-argument): New defuns.
8683 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8684 Implement using "tar". By this, time-stamps are preserved.
8685 (tramp-smb-handle-copy-file): Handle also the case of directories.
8686 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
8687 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8688 Use `tramp-get-connection-buffer').
2fe4b125
MA
8689 (tramp-smb-handle-rename-file): Use "rename", when source and
8690 target are on the same share.
87e6e64f
DA
8691 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8692 Use `tramp-smb-server-version'.
2fe4b125
MA
8693 (tramp-smb-wait-for-output): Remove prompt.
8694
8695 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
8696 (tramp-methods, tramp-rsh-end-of-line):
8697 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
8698 (tramp-save-ad-hoc-proxies): New defcustom.
8699 (tramp-completion-function-alist): Adapt docstring.
8700 (tramp-default-password-end-of-line): Remove defcustom.
8701 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8702 (tramp-user-regexp, tramp-file-name-regexp-unified)
8703 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8704 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8705 (tramp-remote-file-name-spec-regexp): New defconst.
8706 (tramp-file-name-structure): Extend structure for hops.
8707 (tramp-get-method-parameter): Move up.
8708 (tramp-file-name-p, tramp-dissect-file-name)
8709 (with-parsed-tramp-file-name): Handle hops.
8710 (tramp-file-name-hop): New defun.
8711 (tramp-make-tramp-file-name): New optional arg HOP.
8712 (tramp-message-show-progress-reporter-message): New defvar.
8713 (tramp-with-progress-reporter): Use it. We cannot use
8714 `tramp-message-show-message' here, because this suppresses also
8715 error buffers.
8716 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
8717 `tramp-message-show-message' is nil.
8718 Use `tramp-get-connection-buffer'.
2fe4b125
MA
8719 (tramp-cleanup): New defun.
8720 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8721 (tramp-file-name-handler): If `debug-on-error' is set, propagate
8722 an error unchanged.
8723 (tramp-completion-handle-file-name-all-completions): Handle hops.
8724 Fix an error when called from ido.
8725 (tramp-completion-dissect-file-name): Use better local variable
8726 name. Add hop to the vector.
8727 (tramp-handle-insert-file-contents): Use progress-reporter for the
8728 whole scenario.
8729 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8730 to `t'.
8731 (tramp-check-for-regexp): Simplify search.
8732 (tramp-enter-password): Remove it. Move implementation ...
8733 (tramp-action-password): ... here.
8734 (tramp-mode-string-to-int, tramp-local-host-p)
8735 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
8736 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8737 Set tramp-autoload cookie.
2fe4b125
MA
8738
8739 * net/trampver.el: Update release number.
8740
87412012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8742 Michael Albinus <michael.albinus@gmx.de>
8743
8744 * net/tramp.el (tramp-set-completion-function): Fix docstring.
8745 (tramp-parse-group, tramp-parse-file)
8746 (tramp-parse-shostkeys-sknownhosts): New defuns.
8747 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8748 (tramp-parse-shosts-group, tramp-parse-sconfig)
8749 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8750 (tramp-parse-sknownhosts, tramp-parse-hosts)
8751 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8752 Use them.
8753 (tramp-parse-passwd-group, tramp-parse-netrc-group)
8754 (tramp-parse-putty-group): Don't narrow.
8755 (tramp-parse-putty): Make a loop.
8756 (tramp-file-name-handler): Catch the `suppress' signal.
8757
72834e10
CY
87582012-06-11 Chong Yidong <cyd@gnu.org>
8759
8760 * image.el (imagemagick-register-types): Put the ImageMagick entry
8761 at the end of image-type-file-name-regexps.
8762
a4712e11
JB
87632012-06-11 Johan Bockgård <bojohan@gnu.org>
8764
8765 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8766 (pcase, pcase-let*, pcase-dolist): Use them.
8767
82ad98e3
SM
87682012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8769
8770 * emacs-lisp/pcase.el (pcase--let*): New function.
8771 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
8772 (pcase--expand): Use macroexp-let².
8773
f80efb86
SM
87742012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8775
8776 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8777 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8778 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8779 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8780 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8781 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8782
31ca4639 87832012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 8784
31ca4639
CY
8785 * mail/rmail.el (rmail-yank-current-message): Leave point at
8786 correct position. (Bug#11660)
94f0aa34 8787
31ca4639 87882012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 8789
31ca4639 8790 * allout-widgets.el: Fix code header.
9e1b8ec4 8791
31ca4639 87922012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 8793
f80efb86
SM
8794 * cus-edit.el (customize-changed-options-previous-release):
8795 Bump to 24.1.
31ca4639 8796
642b6d30
AS
87972012-06-09 Andreas Schwab <schwab@linux-m68k.org>
8798
8799 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8800
4f5d2ba1
CY
88012012-06-09 Chong Yidong <cyd@gnu.org>
8802
8803 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8804
e75852fd
MR
88052012-06-09 Martin Rudalics <rudalics@gmx.at>
8806
8807 * window.el (special-display-popup-frame): Don't use
8808 window--display-buffer (Bug#11651).
8809
1e48e282
EZ
88102012-06-09 Eli Zaretskii <eliz@gnu.org>
8811
8a26b487
EZ
8812 Fix parallel builds: make sure loaddefs.el is not being written
8813 while Lisp files are compiled.
8814 (compile): Don't depend on 'mh-autoloads'.
8815 (compile-CMD, compile-SH): Depend on 'autoloads'.
8816 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8817
1e48e282
EZ
8818 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
8819
6175e34b
CY
88202012-06-09 Chong Yidong <cyd@gnu.org>
8821
8822 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8823 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8824 Doc fixes (Bug#11225).
8825
d9857e53
SM
88262012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8827
8828 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8829 a function if there's a clear indication that it has a compiler-macro.
8830 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8831 (macro-declarations-alist): Add arglist to declaration functions.
8832 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8833 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8834 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8835 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8836 Also add autoload to find the compiler macro.
8837 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8838 (cl--compiler-macro-member, cl--compiler-macro-assoc)
8839 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8840 (cl--compiler-macro-get): New functions, replacing calls to
8841 cl-define-compiler-macro.
8842 (cl-typep) [compiler-macro]: Use macroexp-let².
8843
f81298f8 88442012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
8845
8846 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8847 string properly, fixes Bug#11473.
8848
4b56d0fe
CY
88492012-06-08 Chong Yidong <cyd@gnu.org>
8850
8851 * faces.el (set-face-attribute): Doc fix.
8852 (modify-face): Don't use :bold and :italic.
8853 (error, warning, success): Tweak definitions.
8854
8855 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
8856 (custom-modified, custom-set, custom-changed, custom-themed)
8857 (custom-saved, custom-button, custom-button-mouse)
8858 (custom-button-pressed, custom-state, custom-comment-tag)
8859 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8860 (custom-group-subtitle): Use new-style face specs.
8861 (custom-invalid-face, custom-rogue-face, custom-modified-face)
8862 (custom-set-face, custom-changed-face, custom-saved-face)
8863 (custom-button-face, custom-button-pressed-face)
8864 (custom-documentation-face, custom-state-face)
8865 (custom-comment-face, custom-comment-tag-face)
8866 (custom-variable-tag-face, custom-variable-button-face)
8867 (custom-face-tag-face, custom-group-tag-face-1)
8868 (custom-group-tag-face): Remove obsolete face alias.
8869
8870 * epa.el (epa-validity-high, epa-validity-medium)
8871 (epa-validity-low, epa-mark, epa-field-name, epa-string)
8872 (epa-field-name, epa-field-body):
8873 * font-lock.el (font-lock-comment-face, font-lock-string-face)
8874 (font-lock-keyword-face, font-lock-builtin-face)
8875 (font-lock-function-name-face, font-lock-variable-name-face)
8876 (font-lock-type-face, font-lock-constant-face):
8877 * ido.el (ido-first-match, ido-only-match, ido-subdir)
8878 (ido-virtual, ido-indicator, ido-incomplete-regexp):
8879 * speedbar.el (speedbar-button-face, speedbar-file-face)
8880 (speedbar-directory-face, speedbar-tag-face)
8881 (speedbar-selected-face, speedbar-highlight-face)
8882 (speedbar-separator-face):
8883 * whitespace.el (whitespace-newline, whitespace-space)
8884 (whitespace-hspace, whitespace-tab, whitespace-trailing)
8885 (whitespace-line, whitespace-space-before-tab)
8886 (whitespace-space-after-tab, whitespace-indentation)
8887 (whitespace-empty):
8888 * emulation/cua-base.el (cua-global-mark):
8889 * eshell/em-prompt.el (eshell-prompt):
8890 * net/newst-plainview.el (newsticker-new-item-face)
8891 (newsticker-old-item-face, newsticker-immortal-item-face)
8892 (newsticker-obsolete-item-face, newsticker-date-face)
8893 (newsticker-statistics-face, newsticker-default-face):
8894 * net/newst-reader.el (newsticker-feed-face)
8895 (newsticker-extra-face, newsticker-enclosure-face):
8896 * net/newst-treeview.el (newsticker-treeview-face)
8897 (newsticker-treeview-new-face, newsticker-treeview-old-face)
8898 (newsticker-treeview-immortal-face)
8899 (newsticker-treeview-obsolete-face)
8900 (newsticker-treeview-selection-face):
8901 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
8902 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
8903 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
8904 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
8905 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
8906 (nxml-outline-active-indicator, nxml-outline-ellipsis):
8907 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
8908 (mpuz-text):
8909 * progmodes/vera-mode.el (vera-font-lock-number)
8910 (vera-font-lock-function, vera-font-lock-interface):
8911 * textmodes/table.el (table-cell): Use new-style face specs, and
8912 don't use the old :bold and :italic attributes.
8913
8914 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
8915 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
8916 (ebrowse-member-class, ebrowse-progress): Likewise.
8917 (ebrowse-tree-mark-face, ebrowse-root-class-face)
8918 (ebrowse-file-name-face, ebrowse-default-face)
8919 (ebrowse-member-attribute-face, ebrowse-member-class-face)
8920 (ebrowse-progress-face): Remove obsolete faces.
8921
8922 * progmodes/flymake.el (flymake-errline, flymake-warnline):
8923 Inherit from error and warning faces respectively.
8924
8925 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
8926 Likewise.
f80efb86
SM
8927 (flyspell-incorrect-face, flyspell-duplicate-face):
8928 Remove obsolete aliases.
4b56d0fe 8929
03310646
MA
89302012-06-08 Michael Albinus <michael.albinus@gmx.de>
8931
8932 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8933 Avoid infloop.
8934
513749ee
SM
89352012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8936
8937 * startup.el (argv, argi): Make lexically scoped.
8938 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
8939 * emacs-lisp/cl-macs.el: Use lexical-binding.
8940 Rename cl-bind-* to cl--bind-*.
8941 * files.el: Don't require `cl' since it doesn't use it.
8942 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8943
595ef4ad
JB
89442012-06-08 Juanma Barranquero <lekktu@gmail.com>
8945
8946 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8947 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8948 instead of calling external sort utility.
8949 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8950
e9f66fcb
EZ
89512012-06-08 Eli Zaretskii <eliz@gnu.org>
8952
8953 * descr-text.el (describe-char): Mention how to insert the
8954 character, if the current input method doesn't support it.
8955 See the discussion in this thread for the details:
8956 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8957
3d10db47
SS
89582012-06-08 Sam Steingold <sds@gnu.org>
8959
8960 * bindings.el (global-map): Bind XF86Forward to next-buffer and
8961 XF86Back to previous-buffer.
8962 (minibuffer-local-map): Bind them to next-history-element and
8963 previous-history-element respectively.
8964 * help-mode.el (help-mode-map): Bind them to help-go-forward and
8965 help-go-back respectively.
8966 * info.el (Info-mode-map): Bind them to Info-history-forward and
8967 Info-history-back respectively.
8968 These are the keys next to Up on the ThinkPad keyboard.
8969
de7e2b36
SM
89702012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8971
8972 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8973 * emacs-lisp/cl-macs.el: Provide itself.
8974 (cl--labels-convert-cache): New var.
8975 (cl--labels-convert): New function.
8976 (cl-flet, cl-labels): New implementation with new semantics, relying on
8977 lexical-binding.
8978 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8979 (cl-closure-vars, cl--function-convert-cache)
8980 (cl--function-convert): Move from cl-macs.el.
8981 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8982 rename by removing the "cl-" prefix.
8983 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8984
6fa6c4ae
SM
89852012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8986
8987 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8988 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8989 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8990 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8991 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8992 (cl-hash-table-count): Add old compatibility aliases.
8993
8994 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8995 Use macroexpand-all-environment instead.
8996 (cl--old-macroexpand): New var.
8997 (cl--sm-macroexpand): New function.
8998 (cl-symbol-macrolet): Use it during macro expansion.
8999 (cl--function-convert-cache): New var.
9000 (cl--function-convert): New function, extracted from
9001 cl-macroexpand-all.
9002 (cl-lexical-let): Use it.
9003
9004 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9005 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9006 (cl-member): Remove old alias.
9007
9008 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9009 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9010 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9011 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9012 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9013 (cl-macroexpand-cmacs): Remove var.
9014 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9015 Use macroexpand-all instead.
9016
4dd1c416
SM
90172012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9018
9019 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9020 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9021 (macroexp-copyable-p): New functions and macros.
9022 * emacs-lisp/edebug.el (edebug-unwrap):
9023 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9024 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9025 (pcase--let*): Remove.
9026 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9027 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9028 macroexp-const-p instead.
9029 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9030
9031 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9032 instead of "cl-" for internal definitions. Use macroexp-const-p.
9033 (cl-old-bc-file-form): Remove var.
9034 (cl-const-exprs-p): Remove fun.
9035 (cl-labels, cl-macrolet): Use backquote.
9036 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9037 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9038 (cl-define-setf-expander): Rename from cl-define-setf-method.
9039 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9040
9041 * international/mule-cmds.el: Don't require CL.
9042 (view-hello-file): Don't use `letf'.
9043
ed8bd4d7
SM
90442012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9045
7287f2f3
SM
9046 * tmm.el (tmm-prompt): Use string-prefix-p.
9047 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9048 (tmm-add-prompt): Use minibuffer-completion-help.
9049 (tmm-delete-map): Remove.
9050
ed8bd4d7
SM
9051 * subr.el (kbd): Make it its own function.
9052
7b4cdbf4
SM
90532012-06-07 Stefan Merten <smerten@oekonux.de>
9054
9055 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9056 Silence compiler warnings. Fix versions.
ed8bd4d7 9057 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 9058 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 9059 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
9060 (rst-package-emacs-version-alist): Correct Emacs version to
9061 represent major merge with upstream.
ed8bd4d7 9062 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 9063
2b48d721
GM
90642012-06-06 Glenn Morris <rgm@gnu.org>
9065
9066 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9067 Only print environment variables if set.
9068
fa779ab0
SM
90692012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9070
9071 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9072 (macroexp--cons): Rename from maybe-cons.
9073 (macroexp--accumulate): Rename from macroexp-accumulate.
9074 (macroexp--all-forms): Rename from macroexpand-all-forms.
9075 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9076 (macroexp--expand-all): Rename from macroexpand-all-1.
9077
628299e0
SS
90782012-06-06 Sam Steingold <sds@gnu.org>
9079
9080 * calendar/calendar.el (calendar-in-read-only-buffer):
9081 Call `special-mode' to enable the standard read-only keybindings.
9082
b7bb5838
SM
90832012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9084
9085 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9086 with "loading" messages (bug#11635).
9087
dfb308ba
MA
90882012-06-06 Michael Albinus <michael.albinus@gmx.de>
9089
9090 * files.el (enable-remote-dir-locals): New option.
9091 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9092
0372ee92
MA
9093 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9094 Ensure, that the temp directory is local.
9095
9096 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9097 `temporary-file-directory'.
9098
eed0bb91
MA
9099 * progmodes/python.el (python-send-region): Ensure, that the
9100 temporary file is created also in the remote case.
9101
7a58f64d
GM
91022012-06-06 Glenn Morris <rgm@gnu.org>
9103
f7dd4e98
GM
9104 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9105 (vc-rcs-update-changelog): Use it.
9106
090bd7cb 9107 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 9108
7a58f64d
GM
9109 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9110 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9111 (vc-sccs-diff): Replace use of the external vcdiff script.
9112
daed4003
GM
91132012-06-05 Glenn Morris <rgm@gnu.org>
9114
9115 * ledit.el: Move to obsolete/.
9116
48c455c7
SS
91172012-06-05 Sam Steingold <sds@gnu.org>
9118
ed9265fc 9119 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
9120 patch (Bug#11140).
9121
57a7d507
SM
91222012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9123
090bd7cb 9124 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 9125
53aacf21
SM
9126 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9127 compiler-macro expansion.
9128
57a7d507
SM
9129 Add native compiler-macro support.
9130 * emacs-lisp/macroexp.el (macroexpand-all-1):
9131 Support compiler-macros directly. Properly follow aliases and apply
9132 the compiler macros more thoroughly.
9133 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9134 macroexpand now properly follows aliases.
9135 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9136 (cl-compiler-macroexpand): Use new prop.
9137 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9138
9139 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9140
51a5f9d8
MR
91412012-06-05 Martin Rudalics <rudalics@gmx.at>
9142
9143 * window.el (get-lru-window, get-mru-window, get-largest-window):
9144 New argument NOT-SELECTED to avoid picking the selected window.
9145 (window--display-buffer-1, window--display-buffer-2): Replace by
9146 new function window--display-buffer
9147 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
9148 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9149 Use window--display-buffer.
51a5f9d8
MR
9150 (display-buffer-use-some-window): Remove temporary dedication
9151 hack by calling get-lru-window and get-largest-window with
9152 NOT-SELECTED argument non-nil. Call window--display-buffer.
9153
08f9f738
GM
91542012-06-05 Glenn Morris <rgm@gnu.org>
9155
9156 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9157 Replace external vcdiff script.
9158
e364a2b7
SM
91592012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9160
9161 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9162
041df390
CY
91632012-06-04 Chong Yidong <cyd@gnu.org>
9164
e364a2b7
SM
9165 * image.el (imagemagick-types-inhibit): Revert last change.
9166 Add INFO and M.
47b36b94 9167 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 9168
7c1898a7
SM
91692012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9170
9171 * emacs-lisp/cl-lib.el: Rename from cl.el.
9172 * emacs-lisp/cl.el: New compatibility file.
9173 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9174 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9175 to obey the "cl-" prefix.
9176 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9177
0c3461de
GM
91782012-06-03 Glenn Morris <rgm@gnu.org>
9179
1e266c88
GM
9180 * emacs-lisp/authors.el (authors-aliases): Addition.
9181
0c3461de
GM
9182 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9183 Fix :version.
9184
d8a52e15
SM
91852012-06-03 Stefan Merten <smerten@oekonux.de>
9186
9187 * textmodes/rst.el: Add comments.
9188 (rst-transition, rst-adornment): New faces.
9189 (rst-adornment-faces-alist): Make default safe to reevaluate.
9190 Fixes
9191 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9192 Improve customization tags.
9193 (rst-define-level-faces): Clarify meaning.
9194
5205d6f6
CY
91952012-06-03 Chong Yidong <cyd@gnu.org>
9196
9197 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
9198 (compilation-mode-line-run, compilation-mode-line-exit):
9199 New faces.
5205d6f6
CY
9200 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9201
757ee657
JD
92022012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9203
7c1898a7
SM
9204 * progmodes/which-func.el (which-func-update-ediff-windows):
9205 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 9206
5f2c76c6
CY
92072012-06-03 Chong Yidong <cyd@gnu.org>
9208
9209 * bindings.el: Remove explicit help text from format-mode-line.
9210 It is now supplied by mode-line-default-help-echo.
9211 (mode-line-front-space, mode-line-end-spaces)
9212 (mode-line-misc-info): New variables.
9213 (mode-line-modes, mode-line-position): Move the default value to
9214 the variable definition.
9215 (mode-line-default-help-echo): New defcustom.
383f7350
CY
9216 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9217 (mode-line-modified-help-echo): New functions.
9218 (mode-line-mule-info, mode-line-modified): Use them.
9219 (mode-line-eol-desc, propertized-buffer-identification):
9220 Consistency fixes for help text.
cbe46e5f
CY
9221 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9222 set-buffer-file-coding-system (Bug#289).
9223 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 9224
f2d6a3df
SM
92252012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9226
9227 * simple.el (execute-extended-command): Set real-this-command
9228 (bug#11506).
9229
37269466
CY
92302012-06-02 Chong Yidong <cyd@gnu.org>
9231
9232 Remove incorrect uses of "modeline" in comments, docstrings, and
9233 function/variable names (Bug#10329).
9234
9235 * cus-edit.el (mode-line):
9236 * dframe.el (dframe-mouse-hscroll):
9237 * emacs-lisp/re-builder.el:
9238 * emacs-lisp/easy-mmode.el (define-minor-mode):
9239 * frame.el (set-frame-name):
9240 * help.el (lookup-minor-mode-from-indicator):
9241 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9242 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9243 (c-toggle-hungry-state):
9244 * progmodes/antlr-mode.el (antlr-language-alist):
9245 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9246 * progmodes/vhdl-mode.el (vhdl-mode):
9247 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9248 * term/ns-win.el (ns-face-at-pos):
9249 * term/sup-mouse.el (sup-mouse-report):
9250 * textmodes/flyspell.el (flyspell-mode-line-string):
9251 * textmodes/ispell.el (ispell-highlight-face):
9252 * textmodes/reftex-global.el:
9253 * vc/vc-arch.el (vc-arch-mode-line-string):
9254 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9255 * vc/vc-git.el (vc-git-mode-line-string):
9256 * vc/vc-hooks.el (vc-display-status)
9257 (vc-default-mode-line-string):
9258 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9259
9260 * ansi-color.el (ansi-color-faces-vector): Change default faces.
9261
9262 * dired.el (dired-sort-set-mode-line): Rename from
9263 dired-sort-set-modeline. All callers changed.
9264
9265 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9266 eshell-status-in-modeline.
9267
9268 * foldout.el (foldout-mode-line-string): Rename from
9269 foldout-modeline-string. All callers changed.
9270 (foldout-update-mode-line): Rename from foldout-update-modeline.
9271
9272 * subr.el (redraw-modeline): Make into obsolete alias.
9273
9274 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9275 timeclock-modeline-display. Make old name an alias.
9276 (timeclock-update-mode-line): Likewise. All callers changed.
9277 (timeclock-mode-line-display): No need to check before using
9278 add-hook.
9279 (timeclock-relative, timeclock-day-over-hook)
9280 (timeclock-use-elapsed, timeclock-mode-string)
9281 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9282
9283 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9284 crisp-mode-modeline-string.
9285
9286 * play/solitaire.el (solitaire-build-mode-line): Rename from
9287 solitaire-build-modeline. All callers changed.
9288
9289 * play/zone.el (zone-hiding-mode-line): Rename from
9290 zone-hiding-modeline. All callers changed.
9291 (zone): Remove unusued `modeline-hidden-level' property.
9292
9293 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9294 xscheme-modeline-initialize. All callers changed.
9295
9296 * strokes.el (strokes-lighter): Rename from
9297 strokes-modeline-string.
9298
9299 * textmodes/sgml-mode.el (html-face-tag-alist)
9300 (html-tag-face-alist): Use mode-line face instead of obsolete
9301 alias modeline.
9302
42152ee4
SM
93032012-06-02 Stefan Merten <smerten@oekonux.de>
9304
9305 * textmodes/rst.el: Always require `cl'.
4cf9b38d 9306 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 9307
95f520b5
CY
93082012-06-02 Chong Yidong <cyd@gnu.org>
9309
9310 * image.el (imagemagick-enabled-types): Rename from
9311 imagemagick-types-enable. Add many more types.
9312 (imagemagick-types-inhibit): Change default to nil.
9313 (imagemagick-filter-types): Caller changed.
9314
4a5f187a
SM
93152012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9316
03fef3e6
SM
9317 * emacs-lisp/cl-macs.el: Use backquotes.
9318 (cl-transform-function-property): Use eval-and-compile rather than
9319 abusing `require'.
9320 (defstruct): Use declare-function instead of with-no-warnings.
9321
4a5f187a
SM
9322 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9323 (byte-compile-output-docform): Re-add the print-circle bindings.
9324 (byte-compile-fix-header): Use #$ just because it's shorter.
9325 (byte-compile-output-file-form): Remove defun/defmacro.
9326
bd56924f
MR
93272012-06-01 Martin Rudalics <rudalics@gmx.at>
9328
9329 * simple.el (choose-completion): Remove now obsolete binding for
9330 owindow.
9331
046e38ce
MA
93322012-06-01 Michael Albinus <michael.albinus@gmx.de>
9333
9334 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9335 in order to avoid "Stack overflow in regexp matcher".
9336
32d72c2f
GM
93372012-05-31 Glenn Morris <rgm@gnu.org>
9338
9339 * image.el: For clarity, call imagemagick-register-types at
9340 top-level, rather than relying on a custom :initialize.
9341 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
9342 (imagemagick-filter-types): New function. (Bug#7406)
9343 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
9344 If disabling support, remove elements altogether rather
9345 than using an impossible regexp.
9346 (imagemagick-types-inhibit): Give it the default init function.
9347
dd41169b
SM
93482012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9349
4a5f187a
SM
9350 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9351 Handle arbitrary file name lengths (Bug#11585).
dd41169b 9352
efc00ab1 93532012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
9354
9355 * desktop.el (desktop-read): Clear previous and next buffers for
9356 all windows and bury *Messages* buffer (bug#11556).
9357
500fcedc
SM
93582012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9359
9360 Add `declare' for `defun'. Align `defmacro's with it.
9361 * emacs-lisp/easy-mmode.el (define-minor-mode)
9362 (define-globalized-minor-mode): Don't autoload the var definitions.
9363 * emacs-lisp/byte-run.el: Use lexical-binding.
9364 (defun-declarations-alist, macro-declarations-alist): New vars.
9365 (defmacro, defun): Use them.
9366 (make-obsolete, define-obsolete-function-alias)
9367 (make-obsolete-variable, define-obsolete-variable-alias):
9368 Use `declare'.
9369 (macro-declaration-function): Mark obsolete.
9370 * emacs-lisp/autoload.el: Use lexical-binding.
9371 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
9372
6e8a1786
AM
93732012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9374
9375 * textmodes/ispell.el (ispell-with-no-warnings):
9376 Define as a macro.
500fcedc
SM
9377 (ispell-kill-ispell, ispell-change-dictionary):
9378 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
9379 `interactive-p'.
9380
61b108cc
SM
93812012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9382
9383 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9384 (macro-declaration-function): Move var from C code.
9385 (macro-declaration-function): Define function with defalias.
9386 * emacs-lisp/macroexp.el (macroexpand-all-1):
9387 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9388 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9389 defun/defmacro any more.
9390 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9391 Provide fallback for unknown arglist.
9392 (byte-compile-arglist-warn): Change calling convention.
9393 (byte-compile-output-file-form): Move print-vars binding.
9394 (byte-compile-output-docform): Simplify accordingly.
9395 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9396 (byte-compile-defmacro-declaration): Remove.
9397 (byte-compile-file-form-defmumble): Generalize to defalias.
9398 (byte-compile-output-as-comment): Return byte-positions.
9399 Simplify callers accordingly.
9400 (byte-compile-lambda): Use `assert'.
9401 (byte-compile-defun, byte-compile-defmacro): Remove.
9402 (byte-compile-file-form-defalias):
9403 Use byte-compile-file-form-defmumble.
9404 (byte-compile-defalias-warn): Remove.
9405
6d3f7c2f
SM
94062012-05-29 Stefan Merten <smerten@oekonux.de>
9407
9408 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 9409 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
9410
9411 (rst-mode-abbrev-table): Merge definition.
9412 (rst-mode): Make sure `font-lock-defaults' is buffer local.
9413 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9414
6dbaa1c7
UJ
94152012-05-29 Ulf Jasper <ulf.jasper@web.de>
9416
9417 * calendar/icalendar.el
9418 (icalendar-export-region): Export UID properly.
9419
d209e2fb 94202012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
9421 * calendar/icalendar.el (icalendar-import-format):
9422 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
9423 (icalendar-import-format-uid): New.
9424 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9425 Export UID.
9426
6876a58d
SM
94272012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9428
9429 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9430 different alternative patterns.
9431 (pcase-codegen): Be more careful to preserve identity.
9432 (pcase--u1): Don't forget to mark vars as used.
9433
9434 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9435 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9436 (byte-compile-from-buffer): ...rather than here.
9437
9438 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9439 functions from byte-compile-function-environment.
9440
46b7967e
TN
94412012-05-29 Troels Nielsen <bn.troels@gmail.com>
9442
9443 * window.el (window-deletable-p): Avoid deleting the root window
9444 of a frame with an active minibuffer.
9445
69d565e2
MR
94462012-05-29 Martin Rudalics <rudalics@gmx.at>
9447
9448 * simple.el (choose-completion): Use quit-window (Bug#11567).
9449
a149fa51
CY
94502012-05-29 Chong Yidong <cyd@gnu.org>
9451
9452 * whitespace.el (whitespace-cleanup): Fix usage of
9453 whitespace-empty-at-bob-regexp (Bug#11492).
9454
2b311310
AH
94552012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9456
9457 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9458 revert (Bug#11488).
9459
b9cb2387
JL
94602012-05-29 Juri Linkov <juri@jurta.org>
9461
9462 * isearch.el (isearch-mode-map): Bind `M-s _' to
9463 `isearch-toggle-symbol'. Bind `M-s c' to
9464 `isearch-toggle-case-fold'.
9465 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9466 (isearch-forward): Add `M-s _' to the docstring.
9467 (isearch-forward-symbol, isearch-toggle-case-fold)
9468 (isearch-symbol-regexp): New functions. (Bug#11381)
9469
d5e61c1c
JL
94702012-05-29 Juri Linkov <juri@jurta.org>
9471
9472 * isearch.el (isearch-word): Add docstring. (Bug#11381)
9473 (isearch-occur, isearch-search-and-update): If `isearch-word' is
9474 a function, call it to get the regexp.
9475 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9476 property `isearch-message-prefix' instead of the string "word ".
9477 (isearch-search-fun-default): For the case of `isearch-word',
9478 return a lambda that calls re-search-forward/re-search-backward
9479 with a regexp returned by `word-search-regexp' or by the function
9480 in `isearch-word'.
9481
8cbd80f7
JL
94822012-05-29 Juri Linkov <juri@jurta.org>
9483
9484 * isearch.el (isearch-search-fun-default): New function.
9485 (isearch-search-fun): Move default part to the new function
9486 `isearch-search-fun-default'.
9487 (isearch-search-fun-function): Set the default value to
9488 `isearch-search-fun-default'. (Bug#11381)
9489
9490 * comint.el (comint-history-isearch-end):
9491 Use `isearch-search-fun-default'.
9492 (comint-history-isearch-search): Use `isearch-search-fun-default'
9493 and remove spacial case for `isearch-word'.
9494 (comint-history-isearch-wrap): Remove spacial case for
9495 `isearch-word'.
9496
9497 * hexl.el (hexl-isearch-search-function):
9498 Use `isearch-search-fun-default'.
9499
9500 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9501 Use `word-search-regexp' for `isearch-word'.
9502
9503 * misearch.el (multi-isearch-search-fun):
9504 Use `isearch-search-fun-default'.
9505
9506 * simple.el (minibuffer-history-isearch-search):
9507 Use `isearch-search-fun-default' and remove spacial case for
9508 `isearch-word'.
9509 (minibuffer-history-isearch-wrap): Remove spacial case for
9510 `isearch-word'.
9511
9512 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
9513 Remove spacial case for `isearch-word'.
9514 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
9515
85c8c5b6
AM
95162012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9517
9518 Decrease XEmacs incompatibilities.
9519 * textmodes/flyspell.el (flyspell-check-pre-word-p):
9520 Use `string-match'.
9521 (flyspell-delete-region-overlays): Use alternative definition for
9522 XEmacs.
9523 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9524 (flyspell-word): Use `process-kill-without-query' if XEmacs.
9525 (flyspell-mode-on): Use `interactive-p' if XEmacs.
9526 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9527 `define-obsolete-face-alias' under XEmacs, but old method.
9528
9529 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9530 `with-no-warnings' definition or Emacs alias.
9531 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9532 (ispell-word): Do not use `region-p' if XEmacs.
9533
8cab9efc
AM
95342012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9535
9536 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9537 Check for `ispell-dictionary-base-alist' instead of full
9538 `ispell-dictionary-alist'.
9539 (ispell-init-process): Show spellchecker when starting new Ispell
9540 process.
9541
fda91268
RZ
95422012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9543
9544 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9545 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9546
694ea8e3
JB
95472012-05-27 Juanma Barranquero <lekktu@gmail.com>
9548
9549 * version.el (motif-version-string, gtk-version-string)
9550 (ns-version-string): Declare.
9551
e4d4f539
JL
95522012-05-27 Juri Linkov <juri@jurta.org>
9553
9554 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9555 after the `eval-defun-1' specialcaseing
9556 like in `edebug-eval-defun' (bug#10181).
9557
9558 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9559 like in `eval-defun-1'.
9560
33017faf 95612012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 9562
fda91268
RZ
9563 * mail/sendmail.el (mail-yank-region):
9564 Recognize rmail-yank-current-message in addition to insert-buffer.
9565 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
9566 a *mail* buffer created through rmail-start-mail with sendmail as
9567 mail-user-agent.
9568
33017faf
GM
95692012-05-27 Chong Yidong <cyd@gnu.org>
9570
9571 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
9572 Default to 256 (Bug#11267).
9573
9574 * help.el (describe-mode): Doc fix.
9575
04188bb9
GM
95762012-05-26 Glenn Morris <rgm@gnu.org>
9577
38264cc9
GM
9578 * w32-fns.el (w32-init-info): Remove.
9579 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
9580
eb7afdad
GM
9581 * info.el (info-initialize): For self-contained NS builds, put the
9582 included info/ directory at the front. (Bug#2791)
9583
04188bb9
GM
9584 * paths.el (Info-default-directory-list): Make it a defcustom,
9585 mainly so that we can use custom-initialize-delay.
9586
a179e3f7
SM
95872012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9588
43416392
SM
9589 * subr.el (buffer-has-markers-at): Mark obsolete.
9590
a179e3f7 9591 * subr.el (lambda): Use declare.
43416392 9592
a179e3f7
SM
9593 * emacs-lisp/lisp-mode.el (lambda):
9594 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9595
34a008d9
AH
95962012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9597
9598 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
9599
0a3b289f
GM
96002012-05-26 Glenn Morris <rgm@gnu.org>
9601
9602 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9603
758c81e8
GM
96042012-05-25 Glenn Morris <rgm@gnu.org>
9605
f9f334f0
GM
9606 * paths.el: Remove no-byte-compile.
9607 * loadup.el: No need to load paths.el uncompiled.
9608
87eb79c2
GM
9609 * image.el (imagemagick-types-inhibit): Doc fix.
9610
758c81e8
GM
9611 * version.el: Remove no-byte-compile and associated formatting.
9612 * loadup.el: No need to load version.el uncompiled. AFAICS, this
9613 is ancient code from when there was an "inc-vers.el".
9614
e7e85dc0
SM
96152012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9616
9617 * progmodes/gdb-mi.el: Minor style changes.
9618 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9619 Turn into minor modes.
9620 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9621 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9622 (gdb-shell): Remove unneeded let-binding.
9623 (gdb-get-many-fields): Eliminate O(n²) behavior.
9624
f31237a4
EZ
96252012-05-25 Eli Zaretskii <eliz@gnu.org>
9626
9627 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9628 platforms that don't link in fontset.c.
9629
bc1b21bb
JL
96302012-05-25 Juri Linkov <juri@jurta.org>
9631
9632 Use the same diff color scheme as in modern VCSes (bug#10181).
9633
9634 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9635 to avoid confusion with `diff-added' that now uses green colors.
9636 (diff-removed): Use shades of red.
9637 (diff-added): Use shades of green.
9638 (diff-changed): Leave just the yellow color.
9639 (diff-use-changed-face): New variable.
9640 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9641 how to highlight context diff changes.
9642 (diff-refine-change): Use shades of yellow.
9643 (diff-refine-removed): New face that uses shades of red.
9644 (diff-refine-added): New face that uses shades of green.
9645 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9646 `diff-refine-removed' in the call to `smerge-refine-subst'
9647 depending on the value of `diff-use-changed-face'.
9648
9649 * vc/smerge-mode.el (smerge-mine): Use shades of red.
9650 (smerge-other): Use shades of green.
9651 (smerge-base): Use shades of yellow.
9652 (smerge-refined-change): Empty face.
9653 (smerge-refined-removed): New face that uses shades of red.
9654 (smerge-refined-added): New face that uses shades of green.
9655 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9656 args `props-r' and `props-a', and use them. Doc fix.
9657 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9658 on its value use different faces `smerge-refined-change',
9659 `smerge-refined-removed', `smerge-refined-added' in the call to
9660 `smerge-refine-subst'.
9661
9662 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9663 Add face condition `min-colors 88' with shades of red.
9664 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9665 `min-colors 88' with shades of green.
9666 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9667 `min-colors 88' with shades of yellow.
9668
6df9112c
GM
96692012-05-24 Glenn Morris <rgm@gnu.org>
9670
ead5edc0
GM
9671 * paths.el (prune-directory-list, remote-shell-program): Move to...
9672 * files.el (prune-directory-list, remote-shell-program): ...here.
9673 For the latter, delay initialization, prefer ssh, just search PATH.
9674
f18b81e6
GM
9675 * paths.el (term-file-prefix): Move to faces.el (the only user).
9676 * faces.el (term-file-prefix): Move here, make it a defcustom.
9677
ee2f89a6
GM
9678 * paths.el (news-directory, news-path, news-inews-program):
9679 Move to gnus/nnspool.el.
61a583ca 9680
f8815e4c
GM
9681 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9682
c8f3b42c
GM
9683 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9684 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9685 Make the latter a defcustom, with a delayed initialization.
9686
6df9112c
GM
9687 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9688 These were deleted from Gnus itself late 2010.
9689
5dadff36
JB
96902012-05-22 Juanma Barranquero <lekktu@gmail.com>
9691
9e1701c6
JB
9692 * progmodes/which-func.el (which-func-ff-hook):
9693 Check against user-error, not error.
9694
bd7239f5 9695 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
9696 cl-specs.el, which no longer exists.
9697
3290526d
GM
96982012-05-22 Glenn Morris <rgm@gnu.org>
9699
9700 * info.el (info-emacs-bug): New command.
9701 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9702 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9703
ff0c3cfb
GM
97042012-05-21 Glenn Morris <rgm@gnu.org>
9705
9706 * makefile.w32-in (update-subdirs-SH):
9707 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9708
5814f126
SM
97092012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9710
a52c0aa0
SM
9711 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9712
5814f126
SM
9713 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9714 Simplify Maven regexp, and make sure the file can't start with a space
9715 (bug#11517).
9716
b847032c
GM
97172012-05-21 Glenn Morris <rgm@gnu.org>
9718
9719 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9720 Scrap superfluous subshells.
9721
3858bfe7
SM
97222012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9723
9724 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9725 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9726
d14b0029
JB
97272012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
9728
9729 * calc/calc.el (calc-ensure-consistent-units): New variable.
9730
a52c0aa0
SM
9731 * calc/calc-units.el (math-consistent-units-p)
9732 (math-check-unit-consistency): New functions.
9733 (calc-quick-units, calc-convert-units):
9734 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9735 is non-nil.
d14b0029
JB
9736 (calc-extract-units): Fix typo.
9737
60c4db3a
SM
97382012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9739
77f3b62e
SM
9740 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9741
60c4db3a
SM
9742 * textmodes/flyspell.el: Commenting style, plus code simplifications.
9743 (flyspell-default-deplacement-commands): Don't spell check after
9744 repeated window/frame switches (e.g. triggered by mouse-movement).
9745 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9746 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9747 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9748 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9749 Remove unused vars.
9750 (flyspell-get-casechars, flyspell-get-not-casechars):
9751 Simplify; Don't bother removing a ] just to add it back.
9752 * textmodes/ispell.el (ispell-program-name): Use executable-find.
9753
d209e2fb 97542012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
9755
9756 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9757 New functions.
bd7239f5 9758 (math-function-table): Add support for more C functions.
b1a10716 9759
3f1b25b5
AM
97602012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9761
090bd7cb
JB
9762 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9763 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9764 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 9765
b581bb5c
SM
97662012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9767
9768 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9769 their respective macro declarations.
9770 * skeleton.el (define-skeleton):
9771 * progmodes/compile.el (define-compilation-mode):
9772 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9773 (define-ibuffer-filter):
9774 * emacs-lisp/generic.el (define-generic-mode):
9775 * emacs-lisp/easy-mmode.el (define-minor-mode)
9776 (define-globalized-minor-mode):
9777 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9778 * emacs-lisp/byte-run.el (defsubst):
9779 * custom.el (deftheme): Add doc-string metadata.
9780
70b8ef8f
SM
97812012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9782
9783 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9784
b1198e17
SM
97852012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9786
9abdc45d
SM
9787 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9788
b1198e17
SM
9789 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9790 * emacs-lisp/cl-macs.el: Idem.
9791 * emacs-lisp/cl-specs.el: Remove.
9792
4735906a
SM
97932012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9794
9795 Minor renaming of internal CL functions and variables.
9796 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9797 (cl--position): Rename from cl-position.
9798 (cl--delete-duplicates): Rename from cl-delete-duplicates.
9799 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9800 (cl--random-state): Rename from *random-state*.
9801
ac348012
SM
98022012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9803
9804 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9805 parens around the arg list (bug#11499).
9806
a0a79cde
JL
98072012-05-17 Juri Linkov <juri@jurta.org>
9808
9809 * isearch.el (word-search-regexp, word-search-backward)
9810 (word-search-forward, word-search-backward-lax)
9811 (word-search-forward-lax): Move functions from search.c
9812 (bug#10145, bug#11381).
9813
65034a51
AM
98142012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9815
090bd7cb
JB
9816 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9817 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9818 Delay for otherchars as for normal word components.
65034a51 9819
1a72a195
SM
98202012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9821
9822 * minibuffer.el (completion--sifn-requote): Fix last change.
9823 (minibuffer-local-must-match-filename-map):
9824 Move define-obsolete-variable-alias before its var.
9825
fdb058c2
SM
98262012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9827
c41045e6
SM
9828 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9829
036dfb8b
SM
9830 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9831 behavior.
9832 (completion--string-equal-p): New function.
9833 (completion--twq-all): Use it to get better assertion failure data.
9834
2473256d
SM
9835 Only handle ".." and '..' quoting in shell-mode (bug#11466).
9836 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9837 (shell--requote-argument): New functions.
9838 (shell-completion-vars): Use them.
9839 (shell--parse-pcomplete-arguments): Rename from
9840 shell-parse-pcomplete-arguments.
9841 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
9842 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9843 Obey comint-file-name-quote-list.
9844
fdb058c2
SM
9845 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9846 (smie-indent-keyword): Use it.
9847
51fa99f1
SM
98482012-05-14 Stefan Merten <smerten@oekonux.de>
9849
9850 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
9851
e18afed7 98522012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
9853
9854 * net/rlogin.el (rlogin-mode-map): Fix last change.
9855
e18afed7 98562012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
9857
9858 * mail/smtpmail.el (smtpmail-send-command): Send the command and
9859 the following \r\n using a single `process-send-string', since the
9860 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 9861 with two `process-send-string's (Bug#11444).
8633b1f4 9862
e18afed7 98632012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 9864
fdb058c2
SM
9865 * shell.el (shell-parse-pcomplete-arguments):
9866 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 9867
2d21d7f6
WJ
98682012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9869
e18afed7 9870 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
9871 (image-transform-scale, image-transform-right-angle-fudge): New vars.
9872 (image-transform-width, image-transform-fit-width): New functions.
9873 (image-transform-properties): Use them.
9874 (image-transform-check-size): New function.
9875 (image-toggle-display-image): Use it (for testing).
9876 (image-transform-set-rotation): Reduce angle mod 360.
9877 Delete obsolete comment.
9878
7102e6d0
WJ
98792012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9880
9881 * image-mode.el: Fix scaling (bug#11399).
9882 (image-transform-resize): Doc fix.
9883 (image-transform-properties): Default scale is 1 and height should
9884 be an integer.
9885
06bc5e6e
SM
98862012-05-13 Johan Bockgård <bojohan@gnu.org>
9887
9888 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9889 than hard-coding `car', to fix misbehavior when moving forward.
9890
0ae03b6a
CY
98912012-05-13 Chong Yidong <cyd@gnu.org>
9892
9893 * emacs-lisp/tabulated-list.el (tabulated-list-format)
9894 (tabulated-list-entries, tabulated-list-padding)
9895 (tabulated-list-sort-key): Make permanent-local.
9896
9897 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9898 (electric-buffer-list): Put electric buffer menu
9899 command descriptions in this docstring, instead of the docstring
9900 of electric-buffer-menu-mode. Code cleanups.
9901 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
9902 Electric-buffer-menu-mode.
9903 (electric-buffer-update-highlight): Minor code cleanup.
9904
205a7391
MA
99052012-05-13 Michael Albinus <michael.albinus@gmx.de>
9906
9907 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
9908 (Bug#11447)
9909
e5bd0a28
SM
99102012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 Move define-obsolete-variable-alias before the var's definition.
9913 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
9914 * tooltip.el (tooltip-hook):
9915 * textmodes/reftex-toc.el (reftex-toc-map):
9916 * textmodes/reftex-sel.el (reftex-select-label-map)
9917 (reftex-select-bib-map):
9918 * textmodes/reftex-index.el (reftex-index-map)
9919 (reftex-index-phrases-map):
9920 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
9921 * progmodes/meta-mode.el (meta-mode-map):
9922 * novice.el (disabled-command-hook):
9923 * loadhist.el (unload-hook-features-list):
9924 * frame.el (blink-cursor):
9925 * files.el (find-file-not-found-hooks, write-file-hooks)
9926 (write-contents-hooks):
9927 * emulation/tpu-edt.el (GOLD-map):
9928 * emacs-lock.el (emacs-lock-from-exiting):
9929 * emacs-lisp/generic.el (generic-font-lock-defaults):
9930 * emacs-lisp/chart.el (chart-map):
9931 * dos-fns.el (register-name-alist):
9932 * dired-x.el (dired-omit-files-p):
9933 * desktop.el (desktop-enable):
9934 * cus-edit.el (custom-mode-hook):
9935 * buff-menu.el (buffer-menu-mode-hook):
9936 * bookmark.el (bookmark-read-annotation-text-func)
9937 (bookmark-exit-hooks):
9938 * allout.el (allout-mode-deactivate-hook)
9939 (allout-exposure-change-hook, allout-structure-added-hook)
9940 (allout-structure-deleted-hook, allout-structure-shifted-hook):
9941 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9942 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9943 comes before the corresponding variable's definition.
9944
ac59c2f6
CY
99452012-05-12 Chong Yidong <cyd@gnu.org>
9946
9947 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
9948 (Buffer-menu-mouse-select): Restore function (Bug#11459).
9949 (Buffer-menu-mode-map): Bind it.
9950 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 9951
dee6c9a3
SM
99522012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9953
2171cea5
SM
9954 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9955 (prolog-upper-case-string, prolog-lower-case-string)
9956 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9957 (prolog-use-smie, prolog-smie-grammar): New vars.
9958 (prolog-smie-forward-token, prolog-smie-backward-token)
9959 (prolog-smie-rules): New funs.
9960 (prolog-comment-indent): Remove.
9961 (prolog-mode-variables): Use default comment indentation instead.
9962 Setup SMIE.
9963 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9964 (prolog-mode): Don't call them any more.
9965 (prolog-electric-colon, prolog-electric-dash)
9966 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9967
aa0382bd
SM
9968 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9969
dbacb4bd
SM
9970 * minibuffer.el (completion--twq-all): Again, allow case differences.
9971
13bdd94c
SM
9972 * term.el: Move keymap initialization code to be more idiomatic.
9973 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9974 (term-terminal-menu): Move initialization into declaration.
9975 (term-escape-char): Let the user set it in her .emacs.
9976
ff46c759
SM
9977 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9978 Provide SMIE-based indentation (not enabled by default yet).
9979 (sh-mode-map): Don't bind electric keys.
9980 Use electric-pair-mode instead of skeleton-pair.
9981 (sh-assignment-regexp): Fit within 80 columns.
9982 (sh-indent-supported): Specify actual shell name instead of boolean.
9983 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9984 (sh-maybe-here-document): Use it. Make obsolete.
9985 (sh-electric-here-document-mode) New minor mode.
9986 (sh-mode): Use it. Don't set sh-indent-supported-here here.
9987 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9988 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9989 (sh-smie-rc-grammar, sh-use-smie): New vars.
9990 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9991 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9992 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9993 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9994 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9995 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9996 (sh-set-shell): Use smie-setup if requested.
9997
dee6c9a3
SM
9998 * term.el (term-set-escape-char): Properly set term-escape-char.
9999 See http://stackoverflow.com/questions/10524656.
10000
9f9aa044
CY
100012012-05-10 Chong Yidong <cyd@gnu.org>
10002
10003 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10004 Use url-generic-parse-url, and handle host names and Windows
10005 filenames properly.
10006 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10007 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10008 URL schemes to work on.
10009 (ffap--toggle-read-only): New function.
10010 (ffap-read-only, ffap-read-only-other-window)
10011 (ffap-read-only-other-frame): Use it.
10012 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10013 necessary for ffap-url-unwrap-remote.
10014
836d29b3
DA
100152012-05-10 Dave Abrahams <dave@boostpro.com>
10016
10017 * cus-start.el (create-lockfiles): Add it.
10018
00fd78ed
CY
100192012-05-09 Chong Yidong <cyd@gnu.org>
10020
10021 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10022 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10023
666b903b 100242012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
10025
10026 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10027
666b903b 100282012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
10029
10030 * ansi-color.el (ansi-color-process-output): Check for validity of
10031 comint-last-output-start before using it. This avoids a bad
10032 interaction with gdb-mi's input/output buffer.
10033
666b903b 100342012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
10035
10036 * files.el (dir-locals-read-from-file):
10037 Mention dir-locals in any error message.
10038
666b903b 100392012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
10040
10041 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10042 package (Bug#11410).
10043
f677562b
CY
10044 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10045 variables into description.
10046
666b903b 100472012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
10048
10049 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10050 shell-delimiter-argument-list (bug#11348).
10051 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10052
b499d8d0
JB
100532012-05-09 Juanma Barranquero <lekktu@gmail.com>
10054
8f6b6da8
JB
10055 * textmodes/rst.el: Silence byte-compiler warnings.
10056 (rst-re-alist, rst-reset-section-caches): Move around.
10057 (rst-re): Use `characterp', not `char-valid-p'.
10058 (font-lock-beg, font-lock-end): Declare.
10059
4824146a
JB
10060 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10061 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10062
b499d8d0
JB
10063 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10064
ad89bb83
GM
100652012-05-08 Glenn Morris <rgm@gnu.org>
10066
10067 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10068
8bba5a75
SM
100692012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10070
49ed9c8e
SM
10071 * vc/log-edit.el: Add GNU coding standards highlighting.
10072 (log-edit-font-lock-gnu-style)
10073 (log-edit-font-lock-gnu-keywords): New vars.
10074 (log-edit-font-lock-keywords): New fun.
10075 (log-edit-mode): Don't fold case in font-lock.
10076 (log-edit-font-lock-keywords): Do not assume case-folding.
10077
07d00b56
SM
10078 * imenu.el: Misc cleanup. Make docstrings out of comments.
10079 Use lexical-binding.
10080 (imenu--index-alist, imenu--last-menubar-index-alist)
10081 (imenu-menubar-modified-tick): Use defvar-local.
10082 (imenu--split-menu): Remove unused var.
10083 (imenu--cleanup-seen): Declare as global.
10084 (imenu--cleanup): Use dolist.
10085
8bba5a75
SM
10086 * subr.el (defvar-local): Add debug spec and doc-string position.
10087
5075bdb5
GM
100882012-05-08 Glenn Morris <rgm@gnu.org>
10089
090bd7cb 10090 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
10091 * language/english.el, language/georgian.el, language/greek.el:
10092 * language/japanese.el, language/khmer.el, language/korean.el:
10093 * language/lao.el, language/misc-lang.el, language/romanian.el:
10094 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10095 * language/thai.el, language/utf-8-lang.el:
10096 Remove no-byte-compile setting.
10097
5075bdb5
GM
10098 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10099
06f679a7
AH
101002012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10101
10102 * progmodes/make-mode.el (makefile-browse):
10103 Remove unnecessary interactive. (Bug#11324)
10104
03794570
GM
101052012-05-07 Glenn Morris <rgm@gnu.org>
10106
af8630f4
GM
10107 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10108
03794570
GM
10109 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10110
f0809a9d
SM
101112012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10112
28be5ce7
SM
10113 * loadup.el: Preload newcomment.el.
10114 * newcomment.el: Move autoload-only code to toplevel.
10115
f0809a9d
SM
10116 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10117 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10118 Handle new :right-align column property.
10119 (tabulated-list-print-col): Idem, plus use `display' text-property to
10120 try and preserve alignment for variable pitch fonts.
10121
1241b724
CY
101222012-05-07 Chong Yidong <cyd@gnu.org>
10123
10124 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10125 (tabulated-list-use-header-line): New var.
10126 (tabulated-list-init-header): Use it.
10127 (tabulated-list-print-fake-header): New function.
10128 (tabulated-list-print): Use it.
10129 (tabulated-list-sort-button-map): Add non-header-line commands.
10130 (tabulated-list-init-header): Add column name property to basic
10131 labels as well.
10132 (tabulated-list-col-sort): Handle non-header-line button case.
10133 (tabulated-list--sort-by-column-name): Fix a corner case.
10134
f0809a9d
SM
10135 * buff-menu.el (list-buffers--refresh):
10136 Handle Buffer-menu-use-header-line.
1241b724 10137
e5f9458f
CY
101382012-05-06 Chong Yidong <cyd@gnu.org>
10139
10140 * buff-menu.el: Convert to Tabulated List mode.
10141 (Buffer-menu-buffer+size-width): Make obsolete.
10142 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10143 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10144 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10145 documentation into docstring of buffer-menu.
10146 (Buffer-menu-toggle-files-only): Add an informative message.
10147 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10148 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10149 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10150 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10151 (Buffer-menu-execute, Buffer-menu-select)
10152 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10153 (Buffer-menu-bury): Use Tabulated List machinery.
10154 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10155 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 10156 Delete.
e5f9458f
CY
10157 (list-buffers--refresh): New function.
10158 (list-buffers-noselect): Use it.
10159 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10160 (Buffer-menu--pretty-file-name): New helper functions.
10161
10162 * loadup.el: Preload tabulated-list.
10163
10164 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10165 tabulated-list-sort-column.
10166 (tabulated-list-init-header): Add the initial aligning space even
10167 if tabulated-list-padding is zero.
10168
e129292c
CS
101692012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10170
10171 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10172 whose cdr is not a cons cell correctly (bug#11038).
10173
6632d361
CY
101742012-05-06 Chong Yidong <cyd@gnu.org>
10175
e129292c
CS
10176 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10177 Accept additional plist in column descriptors.
6632d361
CY
10178 (tabulated-list-init-header): Obey it.
10179 (tabulated-list-get-entry): New function.
10180 (tabulated-list-put-tag): Use it. Use string-width instead of
10181 length.
10182 (tabulated-list--column-number): New function.
10183 (tabulated-list-print): Use it.
e129292c
CS
10184 (tabulated-list-print-col): New function.
10185 Set `tabulated-list-column-name' property on each column's text.
6632d361 10186 (tabulated-list-print-entry): Use it.
e129292c
CS
10187 (tabulated-list-delete-entry, tabulated-list-set-col):
10188 New functions.
6632d361
CY
10189 (tabulated-list-sort-column): New command (Bug#11337).
10190
3cc99f68
CY
10191 * buff-menu.el (list-buffers): Move C-x C-b binding from
10192 buff-menu.el to bindings.el.
10193
10194 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10195 :advertised-binding feature.
10196
52b61776
TN
101972012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10198
10199 * progmodes/compile.el (compilation-internal-error-properties):
10200 Calculate start position correctly when end-col is set but
10201 end-line is not (Bug#11382).
10202
ebfe2597
WJ
102032012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10204
10205 * man.el (Man-unindent): Use text-property-default-nonsticky to
10206 prevent untabify from inheriting face properties (Bug#11408).
10207
6d3f7c2f
SM
102082012-05-05 Stefan Merten <smerten@oekonux.de>
10209
10210 * textmodes/rst.el: Major merge with upstream development up to
10211 Docutils SVN r7399 / rst.el V1.2.1.
10212
10213 Clarify maintainership and authors.
10214
10215 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10216 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10217 (rst-official-version, rst-official-cvs-rev, rst-version)
10218 (rst-package-emacs-version-alist): New functions and variables
10219 for version information.
10220
10221 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10222 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10223 (rst-mode-syntax-table, rst-mode): New and corrected functions
10224 and variables representing reStructuredText features.
10225
10226 (rst-re): New function for reStructuredText regexes. Use in
10227 many places.
10228
10229 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10230 (rst-mode-map): Rebind keys.
10231
10232 (rst-mode-lazy, rst-font-lock-keywords)
10233 (rst-font-lock-extend-region)
10234 (rst-font-lock-extend-region-internal)
10235 (rst-font-lock-extend-region-extend)
10236 (rst-font-lock-find-unindented-line-limit)
10237 (rst-font-lock-find-unindented-line-match)
10238 (rst-adornment-level, rst-font-lock-adornment-level)
10239 (rst-font-lock-adornment-match)
10240 (rst-font-lock-handle-adornment-pre-match-form)
10241 (rst-font-lock-handle-adornment-matcher): Major revision of
10242 font-locking. Integrate with other code. Use `jit-lock-mode'.
10243
10244 (rst-preferred-adornments, rst-adjust-hook)
10245 (rst-new-adornment-down, rst-preferred-bullets)
10246 (rst-preferred-bullets, rst-indent, rst-indent-width)
10247 (rst-indent-field, rst-indent-literal-normal)
10248 (rst-indent-literal-minimized, rst-indent-comment): Change,
10249 extend and improve customization.
10250
10251 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10252 (rst-normalize-cursor-position, rst-get-decoration)
10253 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10254 (rst-rstrip, rst-toc-insert-find-delete-contents)
10255 (rst-shift-fill-region, rst-compute-bullet-tabs)
10256 (rst-debug-print-tabs, rst-debug-mark-found)
10257 (rst-shift-region-guts, rst-shift-region-right)
10258 (rst-shift-region-left, rst-use-char-classes)
10259 (rst-font-lock-keywords-function)
10260 (rst-font-lock-indentation-point)
10261 (rst-font-lock-find-unindented-line-begin)
10262 (rst-font-lock-find-unindented-line-end)
10263 (rst-font-lock-find-unindented-line)
10264 (rst-font-lock-adornment-point, rst-font-lock-level)
10265 (rst-adornment-level-alist): Remove functions and variables.
10266
10267 (rst-compare-adornments, rst-get-adornment-match)
10268 (rst-suggest-new-adornment, rst-get-adornments-around)
10269 (rst-adornment-complete-p, rst-get-next-adornment)
10270 (rst-adjust-adornment, rst-display-adornments-hierarchy)
10271 (rst-straighten-adornments): Standardize function names to
10272 use "adornment" instead of "decoration". Correct callers.
10273 Similar standardizing in many places.
10274
10275 (rst-update-section, rst-adjust, rst-promote-region)
10276 (rst-enumerate-region, rst-bullet-list-region)
10277 (rst-repeat-last-character): Correct use of `interactive'.
10278
10279 (rst-classify-adornment, rst-find-all-adornments)
10280 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10281 (rst-find-leftmost-column, rst-repeat-last-character):
10282 Refactor functions.
10283
10284 (rst-find-title-line, rst-reset-section-caches)
10285 (rst-get-adornments-around, rst-adjust-adornment-work)
10286 (rst-arabic-to-roman, rst-roman-to-arabic)
10287 (rst-insert-list-pos, rst-insert-list-new-item)
10288 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10289 New functions.
10290
10291 (rst-all-sections, rst-section-hierarchy)
10292 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10293 New variables.
10294
10295 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10296 configuration instead of only buffer. Change where necessary.
10297
10298 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10299 (rst-shift-region, rst-adaptive-fill): New functions for
10300 indentation and filling.
10301
10302 (rst-comment-line-break, rst-comment-indent)
10303 (rst-comment-insert-comment, rst-comment-region)
10304 (rst-uncomment-region): New functions for handling comments.
10305
10306 (rst-compile): Quote shell arguments.
10307
10308 (rst-compile-pdf-preview, rst-compile-slides-preview):
10309 Delete temporary files after use.
10310
a43f98b3
GM
103112012-05-05 Glenn Morris <rgm@gnu.org>
10312
48176e8b
GM
10313 * calendar/cal-html.el: Optionally include holidays in the output.
10314 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10315 (cal-html-holidays): New option.
10316 (cal-html-css-default): Add holiday entry.
10317 (holiday-in-range): Autoload it.
10318 (cal-html-htmlify-entry): Add optional class argument.
10319 (cal-html-htmlify-list): Add optional holidays argument.
10320 (cal-html-insert-agenda-days): Include holidays in the output.
10321 (cal-html-one-month): Maybe include holidays.
10322
a43f98b3
GM
10323 * calendar/holidays.el (holiday-in-range):
10324 Move here from cal-tex-list-holidays.
10325 * calendar/cal-tex.el (cal-tex-list-holidays):
10326 Make it an obsolete alias for holiday-in-range. Update all callers.
10327
fef9d149 103282012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
10329
10330 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10331 Nextstep.
10332
248da2f4
RW
103332012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10334
10335 * files.el (file-auto-mode-skip): New var.
10336 (set-auto-mode-1): Use it.
10337
f95e9344
SM
103382012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10339
df96ab1e
SM
10340 * repeat.el: Use lexical-binding.
10341 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10342 (repeat-undo-count): Remove.
10343 (repeat):
10344 * progmodes/octave-mod.el (octave-abbrev-start):
10345 * progmodes/f90.el (f90-abbrev-start):
10346 * face-remap.el (text-scale-adjust):
10347 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10348
5342bb06
SM
10349 * emacs-lisp/pcase.el (pcase--let*): New function.
10350 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10351 a bit more.
10352 (pcase--split-pred): Be more clever about ruling out overlap between
10353 a predicate and some constant pattern.
10354 (pcase--q1): Use `null' instead of (eq foo nil).
10355
f95e9344
SM
10356 * subr.el (setq-local, defvar-local): New macros.
10357 (kbd): Redefine as an alias.
10358 (with-selected-window): Leave unrelated frames alone.
10359 (set-temporary-overlay-map): New function.
10360
71873e2b
SM
103612012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10362
10363 * subr.el (user-error): New function.
10364 * window.el (switch-to-buffer):
10365 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10366 (smerge-match-conflict):
10367 * simple.el (previous-matching-history-element)
10368 (next-matching-history-element, goto-history-element, undo-more)
10369 (undo-start):
10370 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10371 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10372 (next-file, tags-loop-scan, list-tags, complete-tag):
10373 * progmodes/compile.el (compilation-loop):
10374 * mouse.el (mouse-minibuffer-check):
10375 * man.el (Man-bgproc-sentinel, Man-goto-page):
10376 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10377 (Info-history-forward, Info-follow-reference, Info-menu)
10378 (Info-extract-menu-item, Info-extract-menu-counting)
10379 (Info-forward-node, Info-backward-node, Info-next-menu-item)
10380 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10381 (Info-next-reference, Info-prev-reference, Info-index)
10382 (Info-index-next, Info-follow-nearest-node)
10383 (Info-copy-current-node-name):
10384 * imenu.el (imenu--make-index-alist)
10385 (imenu-default-create-index-function, imenu-add-to-menubar):
10386 * files.el (basic-save-buffer, recover-file):
10387 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10388 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10389 (checkdoc-message-text, checkdoc-defun):
10390 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10391 * cus-edit.el (customize-changed-options, customize-rogue)
10392 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10393 (custom-variable-mark-to-reset-standard)
10394 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10395 (custom-file):
10396 * completion.el (check-completion-length):
10397 * comint.el (comint-search-arg)
10398 (comint-previous-matching-input-string-position)
10399 (comint-previous-matching-input)
10400 (comint-replace-by-expanded-history-before-point, comint-send-input)
10401 (comint-copy-old-input, comint-backward-matching-input)
10402 (comint-goto-process-mark, comint-set-process-mark):
10403 * calendar/calendar.el (calendar-cursor-to-date): Use it.
10404 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10405
8a61ee22
SM
104062012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10407
66408d1e
SM
10408 * dabbrev.el (dabbrev--ignore-case-p): New function.
10409 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10410 Use it.
10411
8a61ee22
SM
10412 * files.el (automount-dir-prefix): Mark as obsolete.
10413
3c74813a
GM
104142012-05-04 Glenn Morris <rgm@gnu.org>
10415
10416 * patcomp.el, play/bruce.el: Move to obsolete/.
10417
0bfcf5c5
PE
104182012-05-04 Paul Eggert <eggert@cs.ucla.edu>
10419
10420 Fix minor Y10k bugs.
10421 * arc-mode.el (archive-unixdate):
10422 * autoinsert.el (auto-insert-alist):
10423 * calc/calc-forms.el (math-this-year):
10424 * emacs-lisp/copyright.el (copyright-current-year)
10425 (copyright-update-year, copyright):
10426 * tar-mode.el (tar-clip-time-string):
10427 * time.el (display-time-update):
10428 Don't assume years have 4 digits.
10429
78f3273a
CY
104302012-05-04 Chong Yidong <cyd@gnu.org>
10431
10432 * dos-w32.el (file-name-buffer-file-type-alist)
10433 (direct-print-region-use-command-dot-com):
10434 * ffap.el (ffap-menu-regexp):
10435 * find-file.el (ff-special-constructs):
10436 * follow.el (follow-debug):
10437 * forms.el (forms--debug):
10438 * iswitchb.el (iswitchb-all-frames):
10439 * ido.el (ido-all-frames):
10440 * emacs-lisp/timer.el (timer-max-repeats):
10441 * mail/feedmail.el (feedmail-mail-send-hook)
10442 (feedmail-mail-send-hook-queued):
10443 * mail/footnote.el (footnote-signature-separator):
10444 * mail/mailabbrev.el (mail-alias-separator-string)
10445 (mail-abbrev-mode-regexp):
10446 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10447 * progmodes/idlwave.el (idlwave-libinfo-file)
10448 (idlwave-default-completion-case-is-down)
10449 (idlwave-library-routines): Convert defvars to defcustoms.
10450
10451 * mail/rmail.el (rmail-decode-mime-charset):
10452 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10453 (idlwave-shell-fix-inserted-breaks)
10454 (idlwave-shell-activate-alt-keybindings)
10455 (idlwave-shell-use-breakpoint-glyph):
10456 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10457
f7ae6719
SM
104582012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10459
10460 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10461
47086495
WS
104622012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10463
10464 * progmodes/verilog-mode.el (font-lock-keywords):
10465 Fix mis-highligting auto. Reported by Craig Barner.
10466 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 10467 defines from global name space. Reported by Dan Dever.
47086495
WS
10468 (verilog-auto-reset, verilog-auto-reset-widths)
10469 (verilog-auto-tieoff): Support using unbased numbers for
10470 AUTORESET and AUTOTIEOFF.
10471 (verilog-submit-bug-report): Update variable list.
10472 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 10473 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
10474 (verilog-auto-template-lint): Fix hash error when linting modules
10475 with no used templates.
10476 (verilog-warn, verilog-warn-error)
10477 (verilog-warn-fatal): When non-interactive report multiple
10478 warnings before exiting. Suggested by Brad Dobbie.
10479 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10480 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10481 to report unused template errors. Reported by Brad Dobbie.
10482 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 10483 nets, bug438. Reported by Vns Blore.
47086495
WS
10484 (verilog-auto-inout-module, verilog-auto-reg)
10485 (verilog-read-decls, verilog-read-sub-decls-sig)
10486 (verilog-signals-edit-wire-reg, verilog-signals-with):
10487 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 10488 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
10489 "reg" for backwards compatibility presuming Verilog 2001.
10490 (verilog-auto-ascii-enum): Add "auto enum" as alias.
10491 (verilog-preprocess): Fix replication of preprocess output.
10492 Reported by Brad Dobbie.
10493 (verilog-auto-inst-interfaced-ports):
10494 Create verilog-auto-inst-interfaced-ports, bug429.
10495 Reported by Julian Gorfajn.
10496 (verilog-after-save-font-hook)
10497 (verilog-before-save-font-hook): New variable.
10498 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10499 (verilog-save-font-mods): Wrap disabling fontification, reported
10500 by David Rogoff.
10501 (verilog-do-indent, verilog-pretty-declarations-auto)
10502 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10503 Reported by Pierre-David Pfister.
10504 (verilog-set-auto-endcomments): Fix endtask auto comments outside
10505 of class declarations, bug292. Reported by Kevin Heilman.
10506 (verilog-read-decls): Fix 'parameter type' not appearing in
10507 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
10508 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 10509 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
10510 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10511 Reported by David Kravitz.
10512
105132012-05-03 Michael McNamara <mac@mail.brushroad.com>
10514
10515 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
10516 assignment with tests in ifs and for loops.
10517 (verilog-extended-complete-re, verilog-complete-reg): Change so
10518 that DPI inport functions don't look like fuction declarations.
10519 (verilog-pretty-expr): Don't line up assignment
10520 operations to the test and increment in if and for loops
10521 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 10522 that DPI inport functions don't look like fuction declarations.
47086495 10523
2e51d4b5
KH
105242012-05-03 Kenichi Handa <handa@m17n.org>
10525
10526 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 10527 decoding, and show a warning message without signaling an error
2e51d4b5
KH
10528 (Bug#11282).
10529
2bd785a2
SM
105302012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10531
10532 * emacs-lisp/bytecomp.el
10533 (byte-compile-file-form-custom-declare-variable): Compile all elements,
10534 since cconv.el might have introduced :fun-body, internal-make-closure,
10535 and friends for bytecomp to handle (bug#11391).
10536 * custom.el (defcustom): Avoid ((λ ..) ..).
10537
99d27583
SM
105382012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10539
10540 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10541
55a71479
JB
105422012-05-02 Juanma Barranquero <lekktu@gmail.com>
10543
10544 * notifications.el (dbus-debug):
10545 * term/linux.el (gpm-mouse-enable):
10546 * term/screen.el (xterm-register-default-colors): Declare.
10547
7b97c764
CY
105482012-05-02 Chong Yidong <cyd@gnu.org>
10549
2bc356d7
CY
10550 * cus-start.el (gc-cons-percentage, exec-suffixes)
10551 (dos-display-scancodes, dos-hyper-key, dos-super-key)
10552 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10553 (make-cursor-line-fully-visible, void-text-area-pointer)
10554 (font-list-limit): Add customization data.
10555
7b97c764
CY
10556 * allout.el (allout-exposure-change-functions)
10557 (allout-structure-added-functions)
10558 (allout-structure-deleted-functions)
10559 (allout-structure-shifted-functions): Rename abnormal hooks from
10560 *-hook, and convert to defcustoms.
5d3385a0
JB
10561 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
10562 Convert to defcustoms.
7b97c764
CY
10563 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
10564
10565 * allout-widgets.el: Hook callers changed.
10566
90207a15 105672012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
10568
10569 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
10570 the yanked message in preference to the default value of
10571 buffer-file-coding-system.
10572
90207a15 105732012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 10574
5d3385a0
JB
10575 * window.el (display-buffer--action-function-custom-type):
10576 Fix entry.
d9558cad 10577
90207a15 105782012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
10579
10580 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
10581
d80ac57b
GM
105822012-05-01 Glenn Morris <rgm@gnu.org>
10583
976f7668
GM
10584 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
10585
beb83b5a
GM
10586 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
10587
d80ac57b
GM
10588 * cus-edit.el (custom-variable-documentation): Simplify with format.
10589
b593d6a9 105902012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 10591 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
10592
10593 * simple.el (suggest-key-bindings, execute-extended-command):
10594 Move from keyboard.c.
10595
782fbf2a
CY
105962012-05-01 Chong Yidong <cyd@gnu.org>
10597
10598 * follow.el: Eliminate advice.
10599 (set-process-filter, process-filter, sit-for): Advice deleted.
10600 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
10601 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10602 Vars deleted.
782fbf2a
CY
10603 (follow-auto): Use a :set function.
10604 (follow-mode): Rewritten. Don't advise process filters.
10605 (follow-switch-to-current-buffer-all, follow-scroll-up)
10606 (follow-scroll-down): Assume follow-mode is bound.
10607 (follow-comint-scroll-to-bottom)
10608 (follow-align-compilation-windows): New functions.
10609 (follow--window-sorter): New function.
10610 (follow-all-followers): Use it to explicitly sort windows by their
10611 positions; don't make assumptions about next-window order.
10612 (follow-windows-start-end, follow-delete-other-windows-and-split)
10613 (follow-calc-win-start): Doc fix.
10614 (follow-windows-aligned-p, follow-select-if-visible): Don't call
10615 vertical-motion unnecessarily.
10616 (follow-adjust-window): New function.
10617 (follow-post-command-hook): Use it.
10618 (follow-call-set-process-filter, follow-call-process-filter)
10619 (follow-intercept-process-output, follow-tidy-process-filter-alist)
10620 (follow-stop-intercept-process-output, follow-generic-filter):
10621 Functions deleted.
10622 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
10623 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10624 New functions, replacing advice on scroll-bar-* commands.
87233a14 10625 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
10626
10627 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
10628 (comint-postoutput-scroll-to-bottom): Use it.
10629 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 10630
290af740
GM
106312012-05-01 Glenn Morris <rgm@gnu.org>
10632
10633 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10634 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10635 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10636 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10637 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10638 Remove no-byte-compile setting.
10639
6eac8dc9
SM
106402012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10641
10642 * minibuffer.el (completion-table-with-quoting): Fix compatibility
10643 all-completions code to not return a number in the last cdr.
10644
9cc7819c
LL
106452012-04-30 Leo Liu <sdl.web@gmail.com>
10646
10647 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10648 read-only error.
10649
c93b886f
CY
106502012-04-29 Chong Yidong <cyd@gnu.org>
10651
10652 * follow.el (follow-calc-win-end): Rewrite to handle partial
10653 screen lines correctly (Bug#8390).
10654 (follow-avoid-tail-recenter): Minor cleanup.
10655
8b6c19f4
SM
106562012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10657
10658 Avoid the obsolete `assoc' package.
10659 * speedbar.el (speedbar-refresh): Avoid adelete.
10660 (speedbar-file-lists): Simplify and avoid aput.
10661 * man.el (Man--sections, Man--refpages): New vars, replacing
10662 Man-sections-alist and Man-refpages-alist.
10663 (Man-build-section-alist, Man-build-references-alist):
10664 Use them; avoid aput.
10665 (Man--last-section, Man--last-refpage): New vars.
10666 (Man-follow-manual-reference): Use them.
10667 Use the `default' arg of completing-read.
10668 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10669
c5bb7569
CY
106702012-04-27 Chong Yidong <cyd@gnu.org>
10671
d1d2e2e8
CY
10672 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10673
15cd8efd
CY
10674 * startup.el (x-apply-session-resources): New function.
10675
10676 * term/ns-win.el (ns-initialize-window-system):
10677 * term/w32-win.el (w32-initialize-window-system):
10678 * term/x-win.el (x-initialize-window-system): Use it to properly
10679 set menu-bar-mode and other vars from X resources, even if the
10680 initial frame is not a window-system frame (Bug#2299).
10681
c5bb7569
CY
10682 * subr.el (read-key): Avoid running filter function when setting
10683 up temporary tool bar entries (Bug#9922).
10684
a8e7d6d7 106852012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
10686
10687 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10688 (Bug#11344)
10689
a8e7d6d7 106902012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
10691
10692 * select.el (xselect--encode-string): New function, split from
10693 xselect-convert-to-string.
10694 (xselect-convert-to-string): Use it.
10695 (xselect-convert-to-filename, xselect-convert-to-os)
10696 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10697 returned strings are properly encoded (Bug#11315).
10698
a8e7d6d7 106992012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
10700
10701 * simple.el (delete-active-region): Move to killing custom group.
10702
a8e7d6d7 107032012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
10704
10705 * progmodes/which-func.el (which-func-current): Quote %
10706 characters for mode-line processing.
10707
578c1d4b 107082012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
10709
10710 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10711 reaching eob (Bug#11286).
10712
a8e7d6d7 107132012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
10714
10715 * progmodes/gdb-mi.el (gdb-control-level): New variable.
10716 (gdb): Make it buffer-local and init to zero.
10717 (gdb-control-commands-regexp): New variable.
10718 (gdb-send): Don't wrap in "-interpreter-exec console" if
10719 gdb-control-level is positive. Increment gdb-control-level
10720 whenever the command matches gdb-control-commands-regexp, and
10721 decrement it each time the command is "end". (Bug#11279)
10722
a8e7d6d7 107232012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
10724
10725 * window.el (adjust-window-trailing-edge, enlarge-window)
10726 (shrink-window, window-resize):
10727 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10728 windows (Bug#11276).
10729
b3608390
CY
107302012-04-27 Chong Yidong <cyd@gnu.org>
10731
10732 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 10733 fix "missing prefix" warning. All callers changed.
b3608390 10734
797e6e88
SM
107352012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10736
10737 * emacs-lisp/assoc.el: Move to obsolete/.
10738
e95a67dc
SM
107392012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10740
657c21e4 10741 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
10742
10743 * term/ns-win.el (ns-define-service):
10744 * progmodes/pascal.el (pascal-goto-defun):
10745 * progmodes/js.el (js--read-tab):
10746 * progmodes/etags.el (tags-lazy-completion-table):
10747 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10748 * emacs-lisp/ewoc.el (ewoc--wrap):
10749 * emacs-lisp/assoc.el (aput, adelete, amake):
10750 * doc-view.el (doc-view-convert-current-doc):
10751 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10752
cb3e7ae0
CY
107532012-04-26 Chong Yidong <cyd@gnu.org>
10754
dce04f7f
CY
10755 * image.el (image-type-from-buffer): Only return supported image
10756 type (Bug#9045).
10757
cb3e7ae0
CY
10758 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10759 value, for symmetry with diff-end-of-hunk.
10760 (diff-split-hunk, diff-find-source-location)
10761 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10762 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10763 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10764 compute the relevant hunk or file properly (Bug#6005).
10765 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10766
0d42eb3e
SM
107672012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10768
10769 * vc/vc-mtn.el:
10770 * vc/vc-hg.el:
10771 * vc/vc-git.el:
10772 * vc/vc-dir.el:
10773 * vc/vc-cvs.el:
10774 * vc/vc-bzr.el:
10775 * vc/vc-arch.el:
10776 * vc/vc.el: Replace lexical-let by lexical-binding.
10777 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10778 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10779 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10780
f08ae1c9
CY
107812012-04-26 Chong Yidong <cyd@gnu.org>
10782
8b71081d
CY
10783 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10784 (diff-mode-shared-map): Bind it to / and [remap undo].
10785
f08ae1c9
CY
10786 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10787 (ediff-window-setup-function): Use it as the default, to set up
10788 windows based on whether the current frame is graphical (Bug#2138).
10789 (ediff-choose-window-setup-function-automatically): Make obsolete.
10790
10791 * vc/ediff-init.el: Always define ediff-pixel-width/height.
10792
ef24141c
SM
107932012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10794
cc356a5d
SM
10795 * ffap.el: Remove old code for obsolete package.
10796 (ffap-complete-as-file-p): Remove.
10797
b4ff4f1f
SM
10798 Use completion-table-with-quoting for comint and pcomplete.
10799 * comint.el (comint--unquote&requote-argument)
10800 (comint--unquote-argument, comint--requote-argument): New functions.
10801 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10802 (comint-quote-filename): Use regexp-opt-charset.
10803 (comint--common-suffix, comint--common-quoted-suffix)
10804 (comint--table-subvert): Remove.
10805 (comint-unquote-function, comint-requote-function): New vars.
10806 (comint--complete-file-name-data): Use them with
10807 completion-table-with-quoting.
10808 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10809 * pcomplete.el (pcomplete-arg-quote-list)
10810 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10811 (pcomplete-unquote-argument-function): Default to non-nil.
10812 (pcomplete-unquote-argument): Simplify.
10813 (pcomplete--common-quoted-suffix): Remove.
10814 (pcomplete-requote-argument-function): New var.
10815 (pcomplete--common-suffix): New function.
10816 (pcomplete-completions-at-point): Use completion-table-with-quoting
10817 and completion-table-subvert.
10818
79c4eeb4
SM
10819 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10820 (minibuffer--double-dollars): Preserve properties.
10821 (completion--sifn-requote): New function.
10822 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10823
ef24141c
SM
10824 * minibuffer.el: Add support for completion of quoted/escaped data.
10825 (completion-table-with-quoting, completion-table-subvert): New funs.
10826 (completion--twq-try, completion--twq-all): New functions.
10827 (completion--nth-completion): New function.
10828 (completion-try-completion, completion-all-completions): Use it.
10829
784e7d6e
LL
108302012-04-25 Leo Liu <sdl.web@gmail.com>
10831
dd2ac746
SM
10832 * progmodes/python.el (python-pdbtrack-get-source-buffer):
10833 Use compilation-message if available to find real filename.
784e7d6e 10834
07875ee7
CY
108352012-04-25 Chong Yidong <cyd@gnu.org>
10836
10837 * vc/diff-mode.el (diff-setup-whitespace): New function.
10838 (diff-mode): Use it.
10839
10840 * vc/diff.el (diff-sentinel):
10841 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10842 Whitespace mode variables based on diff style (Bug#8612).
10843
5055880d
LL
108442012-04-25 Leo Liu <sdl.web@gmail.com>
10845
daf75653
LL
10846 * progmodes/python.el (python-send-region): Add suffix .py to the
10847 temp file.
10848
5055880d
LL
10849 * files.el (auto-mode-alist): Use javascript-mode instead.
10850
db9b177b
AH
108512012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
10852
ef24141c 10853 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 10854
090bd7cb 10855 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 10856 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 10857 references, see Bug#9.
ef24141c 10858 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 10859 when receiving a fault reply.
ef24141c 10860 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 10861
090bd7cb 10862 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 10863 (soap-inspect-simple-type): New function.
db9b177b 10864
090bd7cb 10865 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 10866 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
10867 (soap-decode-basic-type, soap-encode-basic-type):
10868 support unsignedInt and double basic types.
db9b177b 10869 (soap-resolve-references-for-simple-type)
ef24141c
SM
10870 (soap-parse-simple-type, soap-encode-simple-type): New function.
10871 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 10872
090bd7cb 10873 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
10874 (soap-default-soapenc-types): Add integer, byte and anyURI types.
10875 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10876 the local name of "soapenc:Array".
10877 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
10878 decoding integer, byte and anyURI xsd types.
10879
1fc6097b
CY
108802012-04-25 Chong Yidong <cyd@gnu.org>
10881
10882 * cus-edit.el (custom-buffer-create-internal): Update header text.
10883
afc6df87
EZ
108842012-04-25 Eli Zaretskii <eliz@gnu.org>
10885
10886 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10887 settings on 'system-type', not on 'window-system'. On MS-Windows,
10888 set interactive-mode on in GDB.
10889
dfbd787f
SM
108902012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10891
10892 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10893 (ruby-syntax-propertize-regexp): Remove.
10894 (ruby-syntax-propertize-function): Split regexp into chunks.
10895 Match following code directly.
10896
85222d44
DG
108972012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10898
51a8ea2a
DG
10899 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10900 (ruby-syntax-propertize-regexp): New function.
10901 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
10902 by a special keyword.
10903
85222d44
DG
10904 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
10905 (ruby-syntax-general-delimiters-goto-beg)
10906 (ruby-syntax-propertize-general-delimiters): New functions.
10907 (ruby-syntax-propertize-function): Use them to handle GDL.
10908 (ruby-font-lock-keywords): Move old handling of GDL...
10909 (ruby-font-lock-syntactic-keywords): .. to here.
10910 (ruby-calculate-indent): Adjust indentation for GDL.
10911
b613912b
MA
109122012-04-24 Michael Albinus <michael.albinus@gmx.de>
10913
b5380639
MA
10914 * notifications.el (top): Remove unneeded declarations.
10915 (notifications-specification-version): Change to "1.2".
e43042fe 10916 (notifications-interface, notifications-notify-method)
b613912b
MA
10917 (notifications-close-notification-method): Fix docstring.
10918 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
10919 (notifications-notify): Add :action-items, :resident and
10920 :transient hints. Change "image_data" to "image-data" and
10921 "image_path" to "image-path".
b613912b
MA
10922 (notifications-get-capabilities): New defun.
10923
257440aa
LL
109242012-04-24 Leo Liu <sdl.web@gmail.com>
10925
10926 * progmodes/python.el: Move hideshow setup to the end.
10927
b1bac16e
MR
109282012-04-24 Martin Rudalics <rudalics@gmx.at>
10929
10930 * window.el (handle-select-window): Clear echo area since this is
10931 no more done by read_char (Bug#11304).
10932
d81bd059
SM
109332012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10934
10935 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
10936 and `/ M' to filter-derived-mode.
10937 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
10938 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
10939 (ibuffer-mark-by-mode): Use default rather than initial-input.
10940 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10941
c4cf6d91
IA
109422012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
10943
10944 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10945 (ibuffer-filter-by-derived-mode): New filter.
10946 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10947
7511ded8
CY
109482012-04-23 Andreas Politz <politza@fh-trier.de>
10949
10950 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10951
775c916b
CY
109522012-04-23 Chong Yidong <cyd@gnu.org>
10953
10954 * cus-edit.el (customize-apropos, customize-apropos-options):
10955 Disable matching of non-option variables (Bug#11176).
10956 (customize-option, customize-option-other-window)
10957 (customize-changed-options): Doc fix.
10958 (customize-apropos-options, customize-apropos-faces)
10959 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10960
10961 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 10962 Fix word list splitting (Bug#11132).
46c71e23
CY
10963 (apropos-symbol, apropos-keybinding, apropos-label)
10964 (apropos-property, apropos-function-button)
10965 (apropos-variable-button, apropos-misc-button): New faces.
10966 (apropos-symbol-face, apropos-keybinding-face)
10967 (apropos-label-face, apropos-property-face, apropos-match-face):
10968 Variables removed (Bug#8396).
10969 (apropos-library-button, apropos-format-plist, apropos-print)
10970 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 10971
2df41f9c
MA
109722012-04-23 Michael Albinus <michael.albinus@gmx.de>
10973
10974 * net/xesam.el (xesam-mode-map): Use let-bound map in
10975 initialization. (Bug#11292)
10976
da00640a
AM
109772012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10978
10979 Preserve ispell session localwords when switching back to
10980 original buffer.
10981
090bd7cb
JB
10982 * textmodes/ispell.el (ispell-buffer-session-localwords):
10983 New buffer-local variable to hold buffer session localwords.
ed9265fc 10984 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
10985 localwords.
10986 (ispell-command-loop, ispell-change-dictionary)
10987 (ispell-buffer-local-words): Preserve session localwords when
10988 needed.
10989
090bd7cb
JB
10990 * textmodes/flyspell.el (flyspell-process-localwords)
10991 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 10992
f621ccf5
AM
109932012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10994
090bd7cb
JB
10995 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10996 using obsolete `translation-table-for-input'.
ef24141c
SM
10997 (ispell-word, ispell-process-line, ispell-complete-word):
10998 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 10999
c2d1019e
CY
110002012-04-22 Chong Yidong <cyd@gnu.org>
11001
11002 * cus-edit.el (custom-variable-menu)
11003 (custom-variable-reset-saved, custom-face-menu)
11004 (custom-face-reset-saved): If there is no saved value, make the
11005 "reset-saved" operation bring back the default (Bug#9509).
11006 (custom-face-state): Properly detect themed faces.
11007
eeddc531
CY
11008 * faces.el (face-spec-set): Stop supporting deprecated form of
11009 third arg.
11010
dcbf5805
MA
110112012-04-22 Michael Albinus <michael.albinus@gmx.de>
11012
11013 Move functions from C to Lisp. Make non-blocking method calls
11014 the default. Implement further D-Bus standard interfaces.
11015
ef24141c
SM
11016 * net/dbus.el (dbus-message-internal): Declare function.
11017 Remove unneeded function declarations.
dcbf5805
MA
11018 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11019 (dbus-message-type-method-return, dbus-message-type-error)
11020 (dbus-message-type-signal): Declare variables. Remove local
11021 definitions.
11022 (dbus-interface-dbus, dbus-interface-peer)
11023 (dbus-interface-introspectable, dbus-interface-properties)
11024 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11025 Adapt docstring.
11026 (dbus-interface-objectmanager): New defconst.
11027 (dbus-call-method, dbus-call-method-asynchronously)
11028 (dbus-send-signal, dbus-method-return-internal)
11029 (dbus-method-error-internal, dbus-register-service)
11030 (dbus-register-signal, dbus-register-method): New defuns, moved
11031 from dbusbind.c
11032 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
11033 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11034 New defuns.
dcbf5805
MA
11035 (dbus-call-method-non-blocking): Make it an obsolete function.
11036 (dbus-unregister-object, dbus-unregister-service)
11037 (dbus-handle-event, dbus-register-property)
11038 (dbus-property-handler): Obey the new structure of
11039 `bus-registered-objects'.
11040 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11041 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11042 Use `dbus-call-method'.
11043
cf20dee0
CY
110442012-04-22 Chong Yidong <cyd@gnu.org>
11045
11046 * cus-edit.el (custom-commands, custom-reset-menu)
11047 (Custom-reset-standard): Tweak labels.
11048 (custom-reset-button-menu): Change default to t.
11049 (custom-buffer-create-internal): For the custom-reset-button-menu
11050 case, put the revert button first.
11051 (custom-group-subtitle): New face.
11052 (custom-group-value-create): Align docstring to a specific column.
11053
11054 * wid-edit.el (widget-documentation-link-add): Don't handle
11055 indentation in this function.
11056 (widget-documentation-string-indent-to): New function.
11057 (widget-documentation-string-value-create): Use it.
11058
11059 * autorevert.el (auto-revert):
11060 * epg-config.el (epg):
11061 * ibuffer.el (ibuffer):
11062 * mpc.el (mpc):
11063 * ses.el (ses):
11064 * eshell/eshell.el (eshell):
11065 * net/ange-ftp.el (ange-ftp):
11066 * progmodes/ebnf2ps.el (postscript):
11067 * progmodes/flymake.el (flymake):
11068 * progmodes/prolog.el (prolog):
11069 * progmodes/verilog-mode.el (verilog-mode):
11070 * progmodes/which-func.el (which-func):
11071 * term/xterm.el (xterm):
11072 * textmodes/picture.el (picture):
11073 * textmodes/tildify.el (tildify):
11074 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11075 customization buffers.
11076
583e23bd
AM
110772012-04-22 Alan Mackenzie <acm@muc.de>
11078
11079 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11080 Adding a ) can hide the resulting (..) from searches. Fix it.
11081 Bound the backward search to the position of the existing (.
11082
7dd51bf1
JB
110832012-04-21 Juanma Barranquero <lekktu@gmail.com>
11084
11085 * progmodes/verilog-mode.el (verilog-mode): Check whether
11086 which-func-modes is t before adding verilog-mode.
11087 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11088
d64a438f
LL
110892012-04-21 Leo Liu <sdl.web@gmail.com>
11090
7dd51bf1 11091 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 11092
081e8d65
MV
110932012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11094
11095 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11096 filling of the last column of a table (Bug#5635).
11097 (woman-find-next-control-line): New arg, specifying an additional
11098 regexp component for the control line.
11099 (woman2-roff-buffer): Use it.
11100 (woman-break-table): New function.
11101 (woman2-TS): Use it.
11102
111032012-04-21 Chong Yidong <cyd@gnu.org>
11104
11105 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11106 (woman-horizontal-escapes, woman-negative-vertical-space)
11107 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11108 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11109
ed571ccb
SM
111102012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11111
11112 * minibuffer.el (completion-file-name-table): Complete user names.
11113
39773899
LL
111142012-04-20 Leo Liu <sdl.web@gmail.com>
11115
11116 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11117 and pcase-let*.
11118
de6ff46d
CY
111192012-04-20 Chong Yidong <cyd@gnu.org>
11120
11121 * server.el (server-execute): Respect initial-buffer-choice if it
11122 is a string and there are no files to open (Bug#2825).
11123 (server-create-window-system-frame, server-create-tty-frame):
11124 Don't switch buffers here.
2d0e8e61
CY
11125 (server-process-filter): Only try to open a window system frame if
11126 compiled with graphical support (Bug#8314).
de6ff46d 11127
54071013
DN
111282012-04-20 Dan Nicolaescu <dann@gnu.org>
11129
11130 * battery.el (battery-echo-area-format): Display remaining time
11131 for sysfs backend too (Bug#11269).
11132 (battery-linux-sysfs): Fix conditional for the charge.
11133
f30d612a
CY
111342012-04-20 Chong Yidong <cyd@gnu.org>
11135
c07a4c0b 11136 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
11137 (gdb-inferior-io--init-proc): New function.
11138 (gdb-init-1): Use it.
11139 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11140 responsible for allocating a new pty and hooking it to gdb when
11141 the old pty gets an EIO due to process exit.
11142 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11143 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11144 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11145
2116e93c
EZ
111462012-04-20 Eli Zaretskii <eliz@gnu.org>
11147
11148 * window.el (window-min-size, window-sizable, window-min-delta)
11149 (window-max-delta, window--resizable, window-resizable)
11150 (window-total-size, window-full-height-p, window-full-width-p)
11151 (window-in-direction, window--resize-mini-window, window-resize)
11152 (window--resize-child-windows-normal)
11153 (window--resize-child-windows, window--resize-siblings)
11154 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 11155 (enlarge-window, shrink-window): Doc fixes.
2116e93c 11156
c07a4c0b 111572012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 11158
ef24141c
SM
11159 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11160 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
11161 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11162 pty process (Bug#11273).
11163 (gdb-update): New arg to suppress talking to the gdb process.
11164 (gdb-done-or-error): Use it.
11165 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11166 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11167 sentinel not being called.
11168
11169 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11170
d02766ab
CY
11171 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11172
c07a4c0b 111732012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
11174
11175 * net/network-stream.el (open-network-stream): Doc fix.
11176
c07a4c0b 111772012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
11178
11179 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11180
c07a4c0b 111812012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
11182
11183 Ensure searching for keywords is case sensitive.
11184
11185 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11186 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11187 (c-defun-name, c-mark-function, c-cpp-define-name)
11188 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 11189 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 11190
ef24141c
SM
11191 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11192 Bind case-fold-search to nil.
f0f6bc35 11193
c07a4c0b 111942012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
11195
11196 * mail/sendmail.el (mail-bury): Call return action with the right
11197 Rmail buffer (Bug#11242).
11198
9a864fa2
CY
11199 * server.el (server-process-filter): Handle corner case where both
11200 tty and nowait options are present (Bug#11102).
11201
539aa513
EZ
112022012-04-20 Eli Zaretskii <eliz@gnu.org>
11203
11204 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
11205 (top level): Put into the executable the ident-style '$Id:' tag on
11206 windows-nt as well.
539aa513 11207
cfc7d5da
SM
112082012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11209
11210 * electric.el (electric-indent-post-self-insert-function): Check that
11211 electric-indent-mode is enabled in current buffer.
11212
5b01685c
JB
112132012-04-19 Juanma Barranquero <lekktu@gmail.com>
11214
11215 * imenu.el (imenu-progress-message): Restore; it is "used" in
11216 erc/erc-imenu.el and net/snmp-mode.el.
11217
4d6769e1
JB
112182012-04-19 Juanma Barranquero <lekktu@gmail.com>
11219
11220 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11221 (mouse-avoidance-nudge-mouse): Remove unused binding.
11222
11223 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11224
11225 * descr-text.el (describe-char):
11226 * progmodes/python.el (python-describe-symbol):
11227 Don't call `toggle-read-only', set `buffer-read-only'.
11228
11229 * imenu.el (imenu-default-goto-function): Mark unused args.
11230 (imenu-progress-message): Remove obsolete macro; all callers changed.
11231
11232 * subr.el (keymap-canonicalize): Remove unused binding.
11233 (read-passwd): Mark unused arg.
11234
11235 * tutorial.el (tutorial--display-changes): Remove unused binding.
11236 (tutorial--save-tutorial-to): Remove unused variable.
11237
11238 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11239 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11240 (package-generate-autoloads, package-menu--generate)
11241 (package-menu--find-upgrades): Remove unused bindings.
11242
11243 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11244 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11245 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11246 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11247 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11248 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11249 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11250 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11251 (cua-delete-char-rectangle): Mark unused args.
11252 (cua-align-rectangle): Remove unused binding.
11253
11254 * mail/rmail.el (compilation--message->loc)
11255 (epa--find-coding-system-for-mime-charset): Declare.
11256
11257 * net/dbus.el (dbus-register-service): Declare.
11258 (dbus-name-owner-changed-handler): Remove unused binding.
11259
11260 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11261 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11262 (nxml-scan-backward-within): Mark unused arg.
11263 (nxml-dynamic-markup-word): Remove unused binding.
11264
11265 * mouse.el (mouse-menu-major-mode-map):
11266 * emacs-lisp/authors.el (authors-scan-change-log)
11267 (authors-add-to-author-list):
11268 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11269 * emacs-lisp/smie.el (smie-auto-fill):
11270 * mail/sendmail.el (mail-bury):
11271 * mail/unrmail.el (unrmail):
11272 * net/tls.el (open-tls-stream):
11273 * textmodes/picture.el (picture-mouse-set-point):
11274 Remove unused bindings.
11275
8c8fc5df
MA
112762012-04-19 Michael Albinus <michael.albinus@gmx.de>
11277
11278 * net/tramp.el (tramp-action-password): Let-bind
11279 `enable-recursive-minibuffers' to t.
11280
a77b0ac9
SS
112812012-04-18 Sam Steingold <sds@gnu.org>
11282
11283 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11284 instead of 'string to accommodate values like [f11].
11285 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11286 * progmodes/gdb-mi.el: Likewise.
11287
12a106a9
LL
112882012-04-18 Leo Liu <sdl.web@gmail.com>
11289
11290 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11291 current buffer.
11292 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11293 LOCAL is nil.
11294
bc6494ef
CY
112952012-04-18 Chong Yidong <cyd@gnu.org>
11296
11297 * simple.el (line-move): Use forward-line if in batch mode
11298 (Bug#11053).
11299
c09c46b2
CS
113002012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
11301
11302 * files.el (after-find-file): Do not try to add a final newline if
11303 the buffer is read-only (Bug#11156).
11304
5f6530ea
RS
113052012-04-17 Richard Stallman <rms@gnu.org>
11306
11307 * mail/rmail.el (rmail-start-mail):
11308 Pass (rmail-mail-return...) for the return-action.
11309 Pass (rmail-yank-current-message...) for the yank-action.
11310 (rmail-yank-current-message): New function.
11311 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11312 (rmail-reply): Likewise.
11313 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11314
11315 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 11316 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
11317 buffer, not newbuf.
11318
197b6f3c
JB
113192012-04-17 Juanma Barranquero <lekktu@gmail.com>
11320
11321 * server.el (server-ensure-safe-dir): Simplify.
11322
2311d8e5 113232012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 11324
2311d8e5
GM
11325 * emacs-lisp/smie.el: Provide smarter auto-filling.
11326 (smie-auto-fill): New function.
11327 (smie-setup): Use it.
98fb480e 11328
2311d8e5
GM
11329 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11330
113312012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
11332
11333 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11334 (comment-indent): Use it.
11335
2311d8e5 113362012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
11337
11338 * ses.el: The overall change is to add cell renaming, that is
11339 setting fancy names for cell symbols other than name matching
11340 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 11341 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 11342 (ses-create-cell-variable): New defun.
2311d8e5 11343 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
11344 (ses-relocate-formula): Relocate formulas only for cells the
11345 symbols of which are not renamed, i.e. symbols whose names do not
11346 match regexp "\\`[A-Z]+[0-9]+\\'".
11347 (ses-relocate-all): Relocate values only for cells the symbols of
11348 which are not renamed.
11349 (ses-load): Create cells variables as the (ses-cell ...) are read,
11350 in order to check row col consistency with cell symbol name only
11351 for cells that are not renamed.
11352 (ses-replace-name-in-formula): New defun.
11353 (ses-rename-cell): New defun.
4bdf2ad2 11354
fc72b15c
PO
113552012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11356
11357 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11358 New option (bug#11118).
11359 (perl-calculate-indent): Respect it.
11360
12e10e61
GM
113612012-04-17 Glenn Morris <rgm@gnu.org>
11362
11363 * dired-aux.el (dired-mark-read-string): Doc fix.
11364
30009afd
DA
113652012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11366
11367 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11368 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11369
41f03f4d
GM
113702012-04-17 Glenn Morris <rgm@gnu.org>
11371
11372 * mouse.el (mouse-drag-track):
11373 * speedbar.el (speedbar-frame-mode):
11374 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11375
f45f90f3
LL
113762012-04-16 Leo Liu <sdl.web@gmail.com>
11377
11378 * progmodes/python.el: Trivial cleanup.
11379
94ee8db5
GM
113802012-04-16 Glenn Morris <rgm@gnu.org>
11381
121b8917
GM
11382 * vc/vc.el (vc-string-prefix-p):
11383 * vc/pcvs-util.el (cvs-string-prefix-p):
11384 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11385 * mpc.el (mpc-string-prefix-p):
11386 Make all of these into obsolete aliases for string-prefix-p.
11387 Update callers.
11388 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11389
1197ecfa
GM
11390 * textmodes/two-column.el: Move custom options to the start.
11391 (frame-width): Remove compat definition.
11392 (2C-associate-buffer, 2C-dissociate):
11393 Use with-current-buffer rather than save-excursion.
11394 (2C-dissociate): Force a mode-line update.
11395 (2C-autoscroll): Use ignore-errors.
11396
099e7202
GM
11397 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11398 Autoload trivia.
11399
bf350d6a
GM
11400 * emacs-lisp/cl-extra.el (*random-state*):
11401 Remove unnecessary declaration.
11402
0e829eab
GM
11403 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11404
e3ad7552
GM
11405 * play/cookie1.el (cookie-snarf):
11406 Give an explicit error if input file cannot be read.
11407
68892d27
GM
11408 * play/yow.el (yow-file): Use expand-file-name rather than concat.
11409
20f0c46d
GM
11410 * progmodes/perl-mode.el (c-macro-expand):
11411 Remove unnecessary autoload (it is in loaddefs.el).
11412
5a0978ce
GM
11413 * textmodes/picture.el (picture-desired-column)
11414 (picture-update-desired-column): Convert comments to doc-strings.
11415 (picture-substitute): Remove function.
11416 (picture-mode-map): Initialize in the defvar.
11417
6b955486
GM
11418 * woman.el: Remove eval-after-load for tar-mode.
11419 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11420 (woman-tar-extract-file): Autoload it.
11421
94ee8db5
GM
11422 * frame.el (automatic-hscrolling): Make this alias obsolete.
11423
177eca34
AM
114242012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11425
090bd7cb 11426 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 11427 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
11428 (ispell-dictionary-base-alist): Revert to original XEmacs
11429 friendly version for default. [:alpha:] will be added in
090bd7cb 11430 `ispell-set-spellchecker-params' if needed.
177eca34 11431
c505aaeb
CY
114322012-04-16 Chong Yidong <cyd@gnu.org>
11433
b19dd9d1 11434 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
11435 (imagemagick-register-types): Use it.
11436 (imagemagick-types-inhibit): Add :set function. Allow new value
11437 of t to inhibit all types.
11438
11439 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11440 so we can preload it.
11441
11442 * loadup.el (fboundp): Preload regexp-opt, needed by
11443 imagemagick-register-types.
11444
60efac0f
CY
114452012-04-15 Chong Yidong <cyd@gnu.org>
11446
11447 * frame.el (scrolling): Remove nearly unused customization group.
11448
11449 * scroll-all.el (scroll-all-mode): Move to windows group.
11450
5dd1713e
CY
114512012-04-15 Chong Yidong <cyd@gnu.org>
11452
11453 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11454
e6fd457e
CY
114552012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11456
11457 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 11458 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 11459
e153c136
GM
114602012-04-15 Glenn Morris <rgm@gnu.org>
11461
11462 * simple.el (process-file-side-effects): Doc fix.
11463
e6fd457e 114642012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
11465
11466 * international/mule-cmds.el (set-language-environment): Doc fix.
11467
3603c3b1
JB
114682012-04-14 Juanma Barranquero <lekktu@gmail.com>
11469
11470 * server.el (server-auth-key, server-generate-key): Doc fixes.
11471 (server-get-auth-key): Doc fix. Use `string-match-p'.
11472 (server-start): Reflow docstring.
11473
e6de100c
LI
114742012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11475
11476 * server.el (server-generate-key): `called-interactively-p'
11477 requires a parameter.
11478
29734c21
MN
114792012-04-14 Michal Nazarewicz <mina86@mina86.com>
11480
11481 * server.el (server-auth-key): New variable.
75f1671a 11482 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
11483 (server-start): Use the new variable and functions to allow
11484 setting a permanent server key (bug#9423).
11485
d65c9521
LL
114862012-04-14 Leo Liu <sdl.web@gmail.com>
11487
11488 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11489
5ae255c7
PE
114902012-04-14 Paul Eggert <eggert@cs.ucla.edu>
11491
11492 Spelling fixes.
11493 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11494 Emacs uses American spelling.
11495
d5e6342e
JB
114962012-04-14 Juanma Barranquero <lekktu@gmail.com>
11497
11498 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11499 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
11500 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11501 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
11502
ab036cd7
SM
115032012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11504
11505 * progmodes/which-func.el (which-func-modes): Change default.
11506
35dc09a1 115072012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
11508
11509 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11510 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11511
35dc09a1 115122012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
11513
11514 * custom.el (custom-theme-set-variables): Doc fix.
11515
35dc09a1 115162012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
11517
11518 * international/mule.el (set-auto-coding-for-load): Doc fix.
11519
35dc09a1 115202012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 11521
35dc09a1
GM
11522 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11523 imenu work again for Objective C Mode. Correct the *-index values,
11524 these having been disturbed by a previous change in 2011-08.
57f845ee 11525
0de3da9f
AM
11526 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11527 Correct two search limits.
11528
35dc09a1 115292012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
11530
11531 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11532
35dc09a1 115332012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
11534
11535 * international/characters.el: Fix sorting.
11536
35dc09a1 115372012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
11538
11539 * international/characters.el: Add more missing Latin case pairs.
11540
35dc09a1 115412012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
11542
11543 * files.el (dir-locals-set-class-variables): Doc fix.
11544
35dc09a1 115452012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 11546
3f1b5bf8
EZ
11547 * international/characters.el: Add set-case-syntax-pair call for
11548 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11549 counterpart. (Bug#11209)
11550
9f847f41
EZ
11551 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
11552
35dc09a1 115532012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
11554
11555 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11556
35dc09a1 115572012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 11558
35dc09a1
GM
11559 * textmodes/ispell.el (ispell-dictionary-base-alist):
11560 Add data for Hebrew.
e2627d21 11561
35dc09a1 115622012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 11563
35dc09a1
GM
11564 * net/rcirc.el (rcirc-cmd-quit):
11565 Revert 2012-03-18 change (Bug#11192).
5c14e333 11566
35dc09a1 115672012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
11568
11569 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
11570
35dc09a1 115712012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 11572
4517fe3a
SM
11573 * minibuffer.el (completion-in-region-mode-map):
11574 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 11575
b472a594
VD
115762012-04-13 Vivek Dasmohapatra <vivek@etla.org>
11577
11578 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
11579
09b95ce3
MY
115802012-04-13 Masatake YAMATO <yamato@redhat.com>
11581
11582 * minibuffer.el (minibuffer-local-filename-syntax): New variable
11583 to allow `C-M-f' and `C-M-b' to move to the nearest path
11584 separator (bug#9511).
11585
4b63a9ca
LI
115862012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
11587
11588 * avoid.el: Require cl when compiling. And also move the
11589 `provide' to the end.
11590
7b55b8bf
TV
115912012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11592
11593 * avoid.el (mouse-avoidance-banish-position): New variable.
11594 (mouse-avoidance-banish-destination): Use it (bug#10165).
11595
adedaa1f
LL
115962012-04-13 Leo Liu <sdl.web@gmail.com>
11597
11598 * progmodes/which-func.el (which-func-modes): Add objc-mode.
11599
70e74021
KB
116002012-04-13 Ken Brown <kbrown@cornell.edu>
11601
11602 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 11603 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
11604 (browse-url-filename-alist): For the same reason, don't modify
11605 file:// URLs on Cygwin.
11606
e75e89ba
SM
116072012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11608
11609 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11610 the region on shift if the binding is already shifted (bug#11221).
11611
82f289a4
GM
116122012-04-12 Glenn Morris <rgm@gnu.org>
11613
11614 * mail/mailpost.el: Move to obsolete/.
11615
d333dc4c
DA
116162012-04-12 Drew Adams <drew.adams@oracle.com>
11617
11618 * imenu.el (imenu--generic-function): Ignore invisible definitions
11619 (bug#10123).
11620
0d15b5ba
VD
116212012-04-12 Vivek Dasmohapatra <vivek@etla.org>
11622
11623 * hexl.el (hexl-bits): New variable.
11624 (hexl-options): Mention the variable in the doc string.
75f1671a 11625 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 11626 (hexl-mode): Mention the new variable.
75f1671a
JB
11627 (hexl-mode, hexl-current-address, hexl-current-address):
11628 Use the displen.
0d15b5ba
VD
11629 (hexl-ascii-start-column): New function.
11630 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11631 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11632
64a440db
AM
116332012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11634
11635 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11636 '("-i" ENCODING), in 2 separate command-line arguments, to specify
11637 the encoding, as expected by hunspell.
11638
6decb6c2
SM
116392012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11640
11641 * battery.el (battery--linux-sysfs-regexp): New const.
11642 (battery-status-function): Use it. Remove yeeloong special case.
11643 (battery-yeeloong-sysfs): Remove.
11644 (battery-echo-area-format): Remove yeeloong special case.
11645
088be6fb
SM
116462012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11647
6622e416
SM
11648 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11649 Reported by Noah Friedman.
11650
088be6fb
SM
11651 * subr.el (read-passwd): Use read-string.
11652
b49f886e
LMI
116532012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11654
11655 * vcursor.el (vcursor-move): Increase the priority of the overlay
11656 (bug#9663).
11657
a63067fc
DD
116582012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11659
11660 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11661 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11662
ac3cf14a
WS
116632012-04-11 William Stevenson <yhvh2000@gmail.com>
11664
11665 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11666 define-minor-mode (bug#10760).
11667
c4fc691b 116682012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 11669
4d6769e1 11670 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
11671 that directories matching `grep-find-ignored-files' won't be
11672 pruned (bug#10351).
11673
af23e2e5
CY
116742012-04-11 Chong Yidong <cyd@gnu.org>
11675
11676 * startup.el (command-line): Remove support for long-obsolete
11677 variable font-lock-face-attributes.
11678
ab7ce8c1
GM
116792012-04-11 Glenn Morris <rgm@gnu.org>
11680
11681 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11682
de8c03dc
SM
116832012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11684
11685 * window.el (window--state-get-1): Obey window-point-insertion-type.
11686
050cc68b
LB
116872012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11688
11689 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11690 to previous function when point is on the first character of a
75f1671a 11691 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 11692
a38c310c
GM
116932012-04-11 Glenn Morris <rgm@gnu.org>
11694
effed0c2
GM
11695 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11696 not just file-errors.
11697
a38c310c
GM
11698 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11699 (vc-bzr-sha1): Use internal sha1.
11700
0221e323
SM
117012012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11702
11703 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11704
43956923
SG
117052012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11706
11707 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11708 that start in the middle of the line (bug#10496).
11709
6a8c9eaf
DN
117102012-04-10 Dan Nicolaescu <dann@gnu.org>
11711
11712 * battery.el (battery-linux-proc-acpi): Only one battery is
11713 discharged at a time, but that seems to confuse battery.el when
11714 computing `rate-type' for the battery not being discharged
11715 (bug#10332).
11716
1930bf5d
SM
117172012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11718
2a718f6f
SM
11719 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11720
599430d0
SM
11721 * international/quail.el: Use dolist and simplify.
11722 (quail-define-package, quail-update-keyboard-layout)
11723 (quail-define-rules): Use dolist.
11724 (quail-insert-kbd-layout, quail-get-translation): CSE.
11725
a2754b6c
SM
11726 * tmm.el: Use dolist, remove left over hook.
11727 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11728 Use dolist.
11729 (calendar-load-hook): Don't mess with it.
11730
1930bf5d
SM
11731 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11732 Use derived-mode-p. Run the diff asynchronously.
11733
9f67961c
LMI
117342012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11735
11736 * obsolete/mouse-sel.el: Add an Obsolete-since header.
11737
2a8ce227
JB
117382012-04-10 Juanma Barranquero <lekktu@gmail.com>
11739
11740 * misc.el: Display absolute path of loaded DLLs (bug#10424).
11741 (list-dynamic-libraries--loaded): New function.
11742 (list-dynamic-libraries--refresh): Use it.
11743
8f33b5f8
NW
117442012-04-10 Nathan Weizenbaum <nweiz@google.com>
11745
1930bf5d
SM
11746 * progmodes/python.el (python-fill-paragraph):
11747 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
11748 disabled (bug#7018).
11749
b12f0439
L
117502012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
11751
1930bf5d 11752 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
11753 DOS/MS Windows for the Baltic languages. There are still plenty
11754 of texts written in this encoding/codepage (bug#6519).
b12f0439 11755
57c3bd01
GM
117562012-04-10 Glenn Morris <rgm@gnu.org>
11757
11758 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11759 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11760
6c3eab30
FA
117612012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
11762
1930bf5d 11763 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
11764 next-line "n" and previous-line "p" in order to make recentf more
11765 consistent with ibuffer, dired or org-mode (bug#9387).
11766
24d78a88
LMI
117672012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11768
bc72b5d9
LMI
11769 * image.el (put-image): Return the overlay created instead of the
11770 optional input string (bug#7834). Note that this may break code
11771 that is (for some reason or other) depending on `put-image'
11772 returning the string.
11773
bd2dba5a
LMI
11774 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11775
74beb59f
LMI
11776 * simple.el (zap-to-char): Allow zapping using input methods
11777 (bug#1580).
11778
24d78a88
LMI
11779 * textmodes/fill.el (fill-region): Leave point and mark where they
11780 were before filling (bug#5399).
11781
263f20cd
GM
117822012-04-09 Glenn Morris <rgm@gnu.org>
11783
11784 * version.el (emacs-bzr-get-version):
11785 Handle lightweight checkouts of local branches.
11786
58d1f797
AS
117872012-04-09 Andreas Schwab <schwab@linux-m68k.org>
11788
263f20cd 11789 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 11790
b4d3bc10
CY
117912012-04-09 Chong Yidong <cyd@gnu.org>
11792
11793 * custom.el (custom-variable-p): Return nil for non-symbol
11794 arguments instead of signaling an error.
11795 (user-variable-p): Obsolete alias for custom-variable-p.
11796
11797 * apropos.el (apropos-variable):
11798 * files-x.el (read-file-local-variable):
11799 * simple.el (set-variable):
11800 * woman.el (woman-mini-help):
11801 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11802
fd06db5d
GM
118032012-04-09 Glenn Morris <rgm@gnu.org>
11804
e5fcdb5e
GM
11805 * startup.el (normal-top-level): Don't look for leim-list.el
11806 in places where it will not be found. (Bug#910)
11807
fd06db5d
GM
11808 * international/mule-cmds.el (set-default-coding-systems):
11809 * files.el (normal-mode):
11810 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
11811 This function was removed with ucs-tables.el in 2008.
11812
b39bb7e1
EZ
118132012-04-08 Eli Zaretskii <eliz@gnu.org>
11814
11815 * textmodes/ispell.el (ispell-check-version): For hunspell, set
11816 ispell-encoding8-command to "-i", without a trailing space.
11817 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11818 separate command-line arguments, to specify the encoding, since
11819 that's how hunspell expects it.
11820
5c5b8e23
GM
118212012-04-08 Glenn Morris <rgm@gnu.org>
11822
11823 * loadup.el: Load bindings before cus-start.
11824 This reduces somewhat the number of "rogue" settings in emacs -Q.
11825
a1ed8b05
GM
118262012-04-07 Glenn Morris <rgm@gnu.org>
11827
11828 * version.el (emacs-bzr-get-version): New function.
dfae128a 11829 (emacs-bzr-version): New variable.
a1ed8b05
GM
11830 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
11831 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11832
b142f158
EZ
118332012-04-07 Eli Zaretskii <eliz@gnu.org>
11834
dfae128a
GM
11835 * international/uni-bidi.el, international/uni-category.el:
11836 * international/uni-combining.el, international/uni-decimal.el:
11837 * international/uni-decomposition.el, international/uni-digit.el:
11838 * international/uni-lowercase.el, international/uni-mirrored.el:
11839 * international/uni-name.el, international/uni-numeric.el:
11840 * international/uni-titlecase.el, international/uni-uppercase.el:
11841 Update for Unicode 6.1.
b142f158 11842
9078ead6
EZ
118432012-04-07 Eli Zaretskii <eliz@gnu.org>
11844
11845 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11846
f23d2c7d
LMI
118472012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11848
11849 * window.el (shrink-window): Mention the `window-min-height'
11850 variable in the doc string.
11851
0a0a3573
BG
118522012-04-05 Bastien Guerry <bzg@altern.org>
11853
11854 * color.el (color-lighten-name): Fix typo.
11855
e5248ac9
SM
118562012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11857
11858 * server.el (server--on-display-p): New function.
11859 (server--on-display-p): Use it.
11860
b4243e22
GV
118612012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
11862
11863 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11864 (bug#11145).
11865
305d9f44
SM
118662012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11867
11868 * comint.el (comint--common-quoted-suffix): Check string boundary
11869 before comparing (bug#11158).
11870 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11871
3d439cd1
CY
118722012-04-04 Chong Yidong <cyd@gnu.org>
11873
321cc491
CY
11874 * minibuffer.el (completion-extra-properties): Doc fix.
11875
3d439cd1
CY
11876 * subr.el (delayed-warnings-hook): Doc fix.
11877
2d562c0f
DU
118782012-04-04 Daiki Ueno <ueno@unixuser.org>
11879
11880 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11881 selection (Bug#11159).
11882 (epa-insert-keys): Inform that the default public key will be
11883 exported if no key is selected.
11884
4443f204
RS
118852012-04-04 Richard Stallman <rms@gnu.org>
11886
11887 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11888
529c06b6
CY
118892012-04-03 Chong Yidong <cyd@gnu.org>
11890
11891 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11892 mail-insert-file, not its obsolete alias mail-attach-file.
11893
66b907dc
MA
118942012-04-03 Michael Albinus <michael.albinus@gmx.de>
11895
11896 * notifications.el (notifications-notify): Fix docstring.
11897
c0ea195d
GM
118982012-04-02 Glenn Morris <rgm@gnu.org>
11899
11900 * emacs-lisp/authors.el (authors-aliases): Another addition.
11901
5ca64e00
MA
119022012-04-02 Michael Albinus <michael.albinus@gmx.de>
11903
11904 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
11905 `tramp-compat-call-process' instead of `tramp-local-call-process'.
11906 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11907
42ee526b
CY
119082012-04-01 Chong Yidong <cyd@gnu.org>
11909
11910 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
11911 Handle root directory properly.
11912 (copy-directory): Caller changed.
11913
11914 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11915 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
11916
0b021094
GM
119172012-03-31 Glenn Morris <rgm@gnu.org>
11918
40f86458
GM
11919 * term/xterm.el (xterm-extra-capabilities): Doc fix.
11920
7019c177
GM
11921 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
11922
a1daddd6
GM
11923 * calendar/calendar.el (calendar-window-list)
11924 (calendar-hide-window): Restore. (Bug#11140)
11925 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
11926
0b021094
GM
11927 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
11928
40311efc
TV
119292012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11930
11931 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11932 Check if file is a symlink (Bug#10489).
11933
11934 * files.el (copy-directory): Likewise.
11935
5319014e
CY
119362012-03-30 Chong Yidong <cyd@gnu.org>
11937
11938 * image.el (imagemagick-types-inhibit)
11939 (imagemagick-register-types): Doc fix.
11940
935d1290
AM
119412012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11942
090bd7cb 11943 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 11944 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 11945 and treats ~word as ordinary words in pipe mode.
935d1290 11946
61c6e8fd
GM
119472012-03-30 Glenn Morris <rgm@gnu.org>
11948
11949 * tutorial.el (help-with-tutorial): Ensure local variables don't
11950 happen to make the buffer read-only. (Bug#11127)
11951
81fdff00
SM
119522012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11953
11954 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11955 (perl-calculate-indent): Return `noindent' in strings.
11956
6e7a6ec0
SS
119572012-03-28 Sam Steingold <sds@gnu.org>
11958
11959 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11960 instead of the broken adhockery which does not prevent calendar
11961 buffers from being displayed at random after exit.
11962 (calendar-window-list, calendar-hide-window): Remove the broken
11963 adhockery.
11964
fee88ca0
GM
119652012-03-28 Glenn Morris <rgm@gnu.org>
11966
11967 * replace.el (query-replace-map): Doc fix.
11968
38de3354
AS
119692012-03-28 Andreas Schwab <schwab@linux-m68k.org>
11970
11971 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11972 contents. (Bug#11109)
11973
b973155e
SM
119742012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11975
11976 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11977 (bug#11077).
11978 (avl-tree--check, avl-tree--check-node): New funs.
11979
dcb6e7b3
MR
119802012-03-27 Martin Rudalics <rudalics@gmx.at>
11981
11982 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
11983 (switch-to-prev-buffer, switch-to-next-buffer):
11984 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
11985 showing a buffer already is done on the same frame.
11986
b4fa35fa
GM
119872012-03-27 Glenn Morris <rgm@gnu.org>
11988
11989 * startup.el (mail-host-address): Doc fix.
11990
f9210e18
SM
119912012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11992
11993 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11994 than 197 variables.
11995
c0bf7753
AF
119962012-03-26 Ami Fischman <ami@fischman.org>
11997
11998 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11999
33da7b16
GM
120002012-03-26 Glenn Morris <rgm@gnu.org>
12001
02243d9d
GM
12002 * files.el (save-buffers-kill-emacs): Doc fix.
12003
33da7b16
GM
12004 * startup.el (normal-top-level, command-line, command-line-1):
12005 Give them doc strings.
12006
e5a69fd0
EZ
120072012-03-25 Eli Zaretskii <eliz@gnu.org>
12008
12009 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 12010 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 12011
9a69676a
CY
120122012-03-25 Chong Yidong <cyd@gnu.org>
12013
4125cb8b
CY
12014 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12015 theme if it was previously enabled before (Bug#11031).
12016
dd470960
CY
12017 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12018 spec with custom-face-get-current-spec if its :shown-value is not
12019 determined yet (Bug#9337).
4125cb8b 12020 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 12021
9a69676a
CY
12022 * button.el (button-at): Minor addition to docstring.
12023
6e7e90fa
SL
120242012-03-24 Simon Leinen <simon.leinen@gmail.com>
12025
12026 * vc/vc.el (vc-merge): Fix a prompt.
12027
f06e2758
CY
120282012-03-24 Chong Yidong <cyd@gnu.org>
12029
12030 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12031 point (Bug#9623).
12032
6e7e90fa
SL
12033 * button.el (button-at): Minor addition to docstring.
12034
b9d0879b
SM
120352012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12036
12037 * newcomment.el (comment-choose-indent): No space after BOL.
12038
e71cebb3
SS
120392012-03-22 Sam Steingold <sds@gnu.org>
12040
12041 * window.el (switch-to-prev-buffer): Revert last patch because the
12042 bug turned out to be an advertised feature (Elisp manual 28.14).
12043
335aff35
GM
120442012-03-22 Glenn Morris <rgm@gnu.org>
12045
12046 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12047 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12048
c676576a
LMI
120492012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12050
12051 * net/network-stream.el (network-stream-open-starttls): Make error
12052 message under Windows be less misleading.
12053
126f3d39
LW
120542012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12055
12056 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12057 understands (bug#9942).
12058
64fee311
CY
120592012-03-22 Chong Yidong <cyd@gnu.org>
12060
12061 * simple.el (end-of-visible-line): Handle return value of
12062 next-single-property-change properly (Bug#9371).
12063
a640d29a
KH
120642012-03-22 Kenichi Handa <handa@m17n.org>
12065
12066 * international/quail.el (quail-insert-kbd-layout): Fix previous
12067 change. To avoid unwanted bidi reordering, use
12068 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12069
39675016
DG
120702012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12071
12072 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12073 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12074 (ruby-beginning-of-indent): Be more careful with the difference
12075 between word-boundary and symbol boundary.
12076 (ruby-mode-syntax-table): Make : a symbol constituent.
12077
0a6934fc 120782012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 12079
3d008e4f
SM
12080 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12081
0a6934fc
SM
120822012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12083
af67c9d7
SM
12084 * progmodes/etags.el (tags-completion-at-point-function):
12085 Improve last fix.
12086
1acad97c
SM
12087 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12088
e298b5da
SS
120892012-03-21 Sam Steingold <sds@gnu.org>
12090
12091 * progmodes/etags.el (tags-completion-at-point-function):
12092 Avoid the error when point is inside the pattern.
12093
91d82a70
JY
120942012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12095
12096 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12097 line (Bug#10855).
12098
69188b79
CY
120992012-03-21 Drew Adams <drew.adams@oracle.com>
12100
12101 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12102
99fc91fe
AK
121032012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12104
12105 * ido.el (ido-set-current-directory, ido-read-internal)
12106 (ido-choose-completion-string, ido-completion-help): Handle nil
12107 value of ido-completion-buffer (Bug#11008).
12108
087bbb4c
SS
121092012-03-21 Sam Steingold <sds@gnu.org>
12110
12111 * window.el (switch-to-prev-buffer): Do not switch to a visible
12112 window previous buffer, just like with the frame previous buffers.
12113
fb5b8aca
CY
121142012-03-21 Chong Yidong <cyd@gnu.org>
12115
12116 * faces.el (make-face, make-empty-face, copy-face):
12117 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12118 Doc fixes.
12119
dc9924b8
SM
121202012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12121
12122 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12123 (widget-complete): Remove broken use of it.
12124
f0bcceb9
CY
121252012-03-20 Chong Yidong <cyd@gnu.org>
12126
dc9924b8
SM
12127 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12128 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
12129 characters.
12130
ee52ebf3
TH
121312012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12132
12133 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12134 to draw rectangles, not squares. (Regression introduced by revno
12135 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12136
4c5779ab
CY
121372012-03-18 Chong Yidong <cyd@gnu.org>
12138
12139 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12140 it is not yet defined (for temacs).
12141
15360934
LL
121422012-03-18 Leo Liu <sdl.web@gmail.com>
12143
735135f9
PE
12144 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12145 prefix.
15360934 12146
d9a8eb66
EZ
121472012-03-17 Eli Zaretskii <eliz@gnu.org>
12148
12149 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12150 (ispell-choices-win-default-height, ispell-silently-savep)
12151 (ispell-dictionary-alist, ispell-encoding8-command)
12152 (ispell-check-version, ispell-aspell-find-dictionary)
12153 (ispell-valid-dictionary-list, ispell-words-keyword)
12154 (ispell-get-word, ispell-internal-change-dictionary)
12155 (ispell-region, ispell-skip-region-list)
12156 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12157 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12158 (ispell-message-text-end, ispell-message)
12159 (ispell-buffer-local-parsing): Doc fix.
12160
f02ff80d
J
121612012-03-13 Jambunathan K <kjambunathan@gmail.com>
12162
12163 * htmlfontify.el: Add support for code block fontification for ODT
12164 export (Bug #9914).
12165 (hfy-optimisations): Define new option
12166 `body-text-only'
12167 (hfy-fontify-buffer): Honor above setting.
12168 (hfy-begin-span, hfy-end-span): New routines factored out form
12169 `hfy-fontify-buffer'.
12170 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12171 that permit insertion of custom tags.
12172 (hfy-fontify-buffer): Use above handlers.
12173 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12174 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 12175 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 12176 over multiple runs. This is made possible by having the caller let
f02ff80d
J
12177 bind a special variable `hfy-user-sheet-assoc'.
12178 (htmlfontify-string): New defun.
12179 (hfy-compile-face-map): Make sure that the last char in the
12180 buffer is correctly fontified.
12181 (hfy-face-resolve-face): Whitespace only change.
12182
9ac7a13f
EZ
121832012-03-17 Eli Zaretskii <eliz@gnu.org>
12184
12185 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12186 message more clear.
12187
e2b5bdd7
LL
121882012-03-16 Leo Liu <sdl.web@gmail.com>
12189
12190 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12191
2e492df3
AM
121922012-03-16 Alan Mackenzie <acm@muc.de>
12193
677d5c92 12194 Further optimize the handling of large macros.
2e492df3
AM
12195
12196 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12197 limit to a call of `c-literal-limits'.
12198 (c-determine-+ve-limit): New function.
dc9924b8
SM
12199 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12200 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
12201 In CASE 5B, restrict a search limit to 500.
12202 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12203
12204 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12205 Restrict macro bounds to +-500 from after-change's BEG END.
12206
50e94f0c
LL
122072012-03-16 Leo Liu <sdl.web@gmail.com>
12208
12209 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12210
6f09f6ed
AH
122112012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12212
12213 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 12214 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 12215
c7e73d51
GM
122162012-03-16 Glenn Morris <rgm@gnu.org>
12217
da986230
GM
12218 * view.el (view-buffer, view-buffer-other-window)
12219 (view-buffer-other-frame): Doc fixes re special mode-class.
12220
0835f01e
GM
12221 * subr.el (eval-after-load): If named feature is provided not from
12222 a file, run after-load forms. (Bug#10946)
12223
c7e73d51
GM
12224 * calendar/calendar.el (calendar-insert-at-column):
12225 Handle non-unit-width characters a bit better. (Bug#10978)
12226
3f2eafd1
CY
122272012-03-15 Chong Yidong <cyd@gnu.org>
12228
12229 * emacs-lisp/ring.el (ring-extend): New function.
12230 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12231
12232 * comint.el (comint-read-input-ring)
12233 (comint-add-to-input-history): Grow comint-input-ring lazily.
12234
103af3fe
SM
122352012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12236
663b1677
SM
12237 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12238 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12239
103af3fe
SM
12240 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12241 (imenu-add-to-menubar): Don't add a redundant index.
12242 (imenu-update-menubar): Handle a dynamically composed keymap.
12243
899cb7cb
KY
122442012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12245
12246 * mail/sendmail.el (mail-encode-header):
12247 Bind rfc2047-encode-encoded-words to nil.
12248
3809f91d
GM
122492012-03-13 Glenn Morris <rgm@gnu.org>
12250
12251 * calendar/calendar.el (calendar-string-spread):
12252 Handle non-unit-width characters a bit better. (Bug#10978)
12253
9e345a01
LL
122542012-03-13 Leo Liu <sdl.web@gmail.com>
12255
12256 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12257 directory and file as argument (Bug#10822).
12258
4a07df36
KS
122592012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12260
12261 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12262 For dynamically generated code, follow $PC.
12263 (gdb-disassembly-handler-custom): Handle no function name case.
12264
4aaa9356
TL
122652012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
12266
12267 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12268 * emulation/ws-mode.el (ws-query-replace):
12269 * sort.el (sort-regexp-fields):
12270 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
12271
225979da
SM
122722012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12273
12274 * dabbrev.el: Fix cycle completion order (bug#10963).
12275 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12276 (dabbrev-completion): Don't use an obarray; provide
12277 a cycle-sort-function.
12278
e2f1fdab
LL
122792012-03-12 Leo Liu <sdl.web@gmail.com>
12280
dc9924b8 12281 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
12282 (kill-do-not-save-duplicates): Doc fix.
12283
b19490ed
SM
122842012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12285
12286 * dabbrev.el: Fix cycle completion (bug#10963).
12287 Use lexical binding and wrap to 80 columns.
12288 (dabbrev-completion): Delay computing the list of completions.
12289
4b05d722
KH
122902012-03-12 Kenichi Handa <handa@m17n.org>
12291
12292 * international/quail.el (quail-insert-kbd-layout): Surround each
12293 row by LRO and PDF instead of inserting many LRMs. Pad the left
12294 and right of each non-spacing marks. Insert invisible space
12295 between lower and upper characters to prevent composition.
12296
dbbc2e69
SM
122972012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12298
12299 * minibuffer.el (minibuffer-complete): Don't get confused when the
12300 function is run twice via different commands (bug#10958).
12301 (complete-with-action): Fix docstring.
12302
292112ed
CY
123032012-03-12 Chong Yidong <cyd@gnu.org>
12304
5d1ac394
CY
12305 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12306 (nxml-completion-at-point-function): New function.
12307 (nxml-mode): Use it.
12308 (nxml-bind-meta-tab-to-complete-flag): Default to t.
12309
292112ed
CY
12310 * emacs-lisp/package.el (package-unpack, package-unpack-single):
12311 Load generated autoloads file before byte compiling (Bug#10970).
12312 (package--make-autoloads-and-compile): New helper fun.
12313
4098f8f7
CS
123142012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12315
12316 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12317
8f754691
MA
123182012-03-11 Michael Albinus <michael.albinus@gmx.de>
12319
12320 * autorevert.el (auto-revert-handler): Ensure, that
12321 file-readable-p is applied only for local files or in
12322 auto-revert-tail-mode.
12323
e29ab36b
AS
123242012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12325
dbbc2e69
SM
12326 * server.el (server-eval-at): Handle non-tcp connections.
12327 Decode result string.
ad0bf5b6 12328
e29ab36b
AS
12329 * server.el (server-msg-size): New constant.
12330 (server-reply-print): New function.
12331 (server-eval-and-print): Use it.
12332 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12333 Handle -print-nonl.
12334
de5939ba
CS
123352012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12336
12337 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12338 (Bug#10987).
12339
0c93eabf
CY
123402012-03-11 Chong Yidong <cyd@gnu.org>
12341
397a688f
CY
12342 * simple.el (goto-line): Doc fix (Bug#9938).
12343
2cc775f9
CY
12344 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12345
0c93eabf
CY
12346 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12347 when finished (Bug#10963).
12348
c491fa41
MR
123492012-03-11 Martin Rudalics <rudalics@gmx.at>
12350
12351 * window.el (split-window-below): Fix bug in case where
12352 split-window-keep-point is nil (Bug#10971).
12353
300e8fa5
JL
123542012-03-11 Juri Linkov <juri@jurta.org>
12355
12356 * replace.el (replace-highlight): Set isearch-word to nil
12357 unconditionally. (Bug#10887)
12358
dbf6c5a1
EZ
123592012-03-10 Eli Zaretskii <eliz@gnu.org>
12360
12361 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12362 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 12363 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
12364 (mairix-widget-create-query): Add usage information about mairix
12365 search forms: negating words, searching for substrings, etc.
12366
b9e501de
JP
123672012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12368
12369 * international/fontset.el (font-encoding-alist): Add an entry for
12370 ksx1001 (Bug#5667).
12371
92795c91
RS
123722012-03-10 Richard Stallman <rms@gnu.org>
12373
1694e6c1
RS
12374 * mail/sendmail.el (mail-encode-header):
12375 Set rfc2047-encode-encoded-words.
12376
607e8555
RS
12377 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12378
de3bc99a
RS
12379 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12380 view buffer means not swapped.
12381 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12382 (rmail-write-region-annotate): Error if real text has disappeared.
12383
92795c91
RS
12384 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12385
699bd04e
CY
123862012-03-10 Chong Yidong <cyd@gnu.org>
12387
12388 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
12389 * emulation/cua-base.el (cua--init-keymaps):
12390 Add delete-forward-char to remappings (Bug#9666).
699bd04e 12391
570a1714
MR
123922012-03-10 Martin Rudalics <rudalics@gmx.at>
12393
dbbc2e69
SM
12394 * speedbar.el (speedbar-unhighlight-one-tag-line):
12395 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 12396
82dcf4e4
CY
123972012-03-10 Chong Yidong <cyd@gnu.org>
12398
7a2c7ca7
CY
12399 * minibuffer.el (completion-in-region, completion-help-at-point):
12400 Give the completion field overlay a high priority (Bug#6830).
12401
82dcf4e4
CY
12402 * dired.el (dired-goto-file): Recognize absolute file name
12403 listings (Bug#7126).
12404 (dired-goto-file-1): New helper function.
12405 (dired-toggle-read-only): Inhibit warnings.
12406
052e28ac
MA
124072012-03-09 Michael Albinus <michael.albinus@gmx.de>
12408
75f1671a 12409 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
12410 there are no properties.
12411
95d5e396
LL
124122012-03-09 Leo Liu <sdl.web@gmail.com>
12413
12414 * savehist.el (savehist-printable): Stricter check for string
12415 value (Bug#10937).
12416
3f018d6d
EZ
124172012-03-09 Eli Zaretskii <eliz@gnu.org>
12418
dbbc2e69
SM
12419 * mail/smtpmail.el (smtpmail-send-it):
12420 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
12421 valid mbox format.
12422
f7fd3d79
GM
124232012-03-09 Glenn Morris <rgm@gnu.org>
12424
12425 * files.el (dir-locals-find-file):
12426 Don't check result is regular, readable.
12427 (dir-locals-read-from-file): Demote errors.
12428
6ff6e72f
EZ
124292012-03-08 Eli Zaretskii <eliz@gnu.org>
12430
dbbc2e69
SM
12431 * international/quail.el (quail-insert-kbd-layout):
12432 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
12433 layout cell, to prevent their reordering by bidi display engine.
12434 For details, see the discussion in
12435 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12436
9cec7834
AM
124372012-03-08 Alan Mackenzie <acm@muc.de>
12438
12439 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12440 the starting position; make it extend the marked region when
12441 invoked repeatedly - all under appropriate circumstances.
12442 Fixes bugs #5525, #10906.
12443
9a40b8d4
GM
124442012-03-08 Glenn Morris <rgm@gnu.org>
12445
12446 * files.el (locate-dominating-file, dir-locals-find-file):
12447 Undo 2012-03-06 change.
12448
7a08ed35
EZ
124492012-03-07 Eli Zaretskii <eliz@gnu.org>
12450
dbbc2e69
SM
12451 * international/quail.el (quail-help):
12452 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
12453 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12454 for the reason.
12455
5aca4f71 124562012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
12457
12458 Avoid superfluous registering of signals. (Bug#10807)
12459
12460 * notifications.el (notifications-on-action-object)
12461 (notifications-on-close-object): New defvars.
12462 (notifications-on-action-signal, notifications-on-closed-signal):
12463 Unregister the signal if not needed any longer.
12464 (notifications-notify): Register `notifications-action-signal' or
12465 `notifications-closed-signal', if :on-action or :on-close has been
12466 passed as argument.
12467
78e8b10a
CY
124682012-03-07 Chong Yidong <cyd@gnu.org>
12469
12470 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12471 non-X platforms.
12472
69481eb8
GM
124732012-03-06 Glenn Morris <rgm@gnu.org>
12474
12475 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12476 (x-disown-selection-internal, x-get-selection-internal):
12477 Doc fix (add arglist signatures). (Bug#10783)
12478
133b8e11
KS
124792012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12480
12481 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12482 Handle breakpoints with no "type".
12483
99a83064
GM
124842012-03-06 Glenn Morris <rgm@gnu.org>
12485
12486 * files.el (locate-dominating-file): Add optional predicate argument.
12487 (dir-locals-find-file): Make use of above change.
12488
17798e78
TTN
124892012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
12490
12491 * info.el (Info-insert-dir): Also try "dir.gz".
12492
eb182446
GM
124932012-03-06 Glenn Morris <rgm@gnu.org>
12494
8f2114ee
GM
12495 * files.el (dir-locals-find-file):
12496 Ignore non-readable or non-regular files. (Bug#10928)
12497
eb182446
GM
12498 * files.el (locate-dominating-file): Doc fix.
12499
24679323
AS
125002012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
12501
12502 * calendar/calendar.el (calendar-set-mode-line):
12503 `getenv' returns a string. (Bug#10951)
12504
01d972a9
LL
125052012-03-05 Leo Liu <sdl.web@gmail.com>
12506
109aa8a9
LL
12507 * simple.el (backward-delete-char-untabify): Constrain point to
12508 field (Bug#10939).
12509
01d972a9
LL
12510 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12511
10607bea
CY
125122012-03-05 Chong Yidong <cyd@gnu.org>
12513
12514 * simple.el (count-words): If called from Lisp, return the word
12515 count, for symmetry with `count-lines'. Arglist changed.
12516 (count-words--message): Args changed. Consolidate counting code
12517 from count-words and count-words-region.
12518 (count-words-region): Caller changed.
12519 (count-lines-region): Make it an obsolete alias.
12520
5dd11cfe
TH
125212012-03-04 Tassilo Horn <tassilo@member.fsf.org>
12522
12523 * saveplace.el (save-place-to-alist)
12524 (save-place-ignore-files-regexp): Allow value nil to disable this
12525 feature.
12526
c349f4e6
CY
125272012-03-04 Chong Yidong <cyd@gnu.org>
12528
12529 * faces.el (face-spec-reset-face): For the default face, reset the
12530 attributes to default values (Bug#10748).
12531
e627be4c
LMI
125322012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12533
12534 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12535 previous patch: Check `message-send-mail-function', and not the
12536 default function (bug#10897).
12537
ebeabff4
MA
125382012-03-04 Michael Albinus <michael.albinus@gmx.de>
12539
a41a6cf4
MA
12540 * notifications.el (notifications-on-action-signal)
12541 (notifications-on-closed-signal): Check for unique service name of
12542 incoming event. Fix error in removing entry.
ebeabff4 12543 (top): Register for signals with wildcard service name.
a41a6cf4 12544 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 12545
c1ca42b4
CY
125462012-03-04 Chong Yidong <cyd@gnu.org>
12547
dc9924b8 12548 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 12549
ea16568d
GM
125502012-03-04 Glenn Morris <rgm@gnu.org>
12551
12552 * abbrev.el (copy-abbrev-table, abbrev-table-p)
12553 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12554 (expand-abbrev, define-abbrev-table): Doc fixes.
12555
fbae4637
LMI
125562012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12557
12558 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12559 `message-default-send-mail-function' and not `send-mail-function'
12560 when doing the prompting for `sendmail-query-once' before sending
12561 in Message buffers (bug#10897).
12562
a1e7225c
LMI
12563 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
12564 This is inconsistent with all the other stream functions, which leave
12565 the setting up to the higher levels (if so wanted) (bug#10931).
12566
56d093a9
AM
125672012-03-02 Alan Mackenzie <acm@muc.de>
12568
12569 Depessimize the handling of very large macros.
12570
12571 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
12572 (c-macro-cache-syntactic): New variables to implement a one
12573 element macro cache.
12574 (c-invalidate-macro-cache): New function.
12575 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
12576 Adapt to use the new cache.
12577 (c-state-safe-place): Use better the cache of safe positions.
12578 (c-state-semi-nonlit-pos-cache)
12579 (c-state-semi-nonlit-pos-cache-limit):
12580 New variables for...
12581 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
12582 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
12583 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
12584 Use c-state-semi-safe-place.
56d093a9 12585
dbbc2e69
SM
12586 * progmodes/cc-langs.el (c-get-state-before-change-functions):
12587 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 12588
817e5c3d
MA
125892012-03-02 Michael Albinus <michael.albinus@gmx.de>
12590
dbbc2e69
SM
12591 * jka-compr.el (jka-compr-call-process):
12592 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
12593 not remote.
12594
a032a702
MA
125952012-03-01 Michael Albinus <michael.albinus@gmx.de>
12596
12597 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
12598 access of FILE2, if FILE1 does not exist.
12599
99a54f21
MA
12600 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12601 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12602
12603 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12604 Add "PAGER=" to `process-environment'.
12605
f6561e1f
MM
126062012-03-01 Michael R. Mauger <mmaug@yahoo.com>
12607
12608 * progmodes/sql.el: Bug fix
12609 (sql-get-login-ext): Save login values in globals.
12610 (sql-get-login): Use new version of `sql-get-login-ext'.
12611 (sql-interactive-mode): Set global `sql-connection' to nil.
12612 (sql-connect): Set global values for connection.
12613 (sql-product-interactive): Save global values as buffer local.
12614
2d44d9cc
LL
126152012-02-29 Leo Liu <sdl.web@gmail.com>
12616
12617 * abbrev.el (define-abbrevs): Reset sys to nil.
12618
96b49301 126192012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12620
bf7f9bc5
JB
12621 * files.el (file-equal-p): Rename from `files-equal-p'.
12622 Return nil when one or both files don't exist.
96b49301 12623 (file-subdir-of-p): Now only top directory must exists,
12624 return nil if it doesn't.
bf7f9bc5
JB
12625 (copy-directory): No need to test with `file-subdir-of-p' after
12626 creating dir.
12627 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12628 to `file-equal-p'.
96b49301 12629
44e97401
GM
126302012-02-28 Glenn Morris <rgm@gnu.org>
12631
12632 * shell.el (shell-mode):
12633 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12634 * play/landmark.el (landmark-font-lock-face-O):
12635 * play/handwrite.el (handwrite):
12636 * play/gomoku.el (gomoku-O):
12637 * net/browse-url.el (browse-url-browser-display):
12638 * international/mule.el (define-charset):
12639 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12640 * filesets.el (filesets-find-file-delay):
12641 * eshell/em-xtra.el (eshell-xtra):
12642 * eshell/em-unix.el (eshell-grep):
12643 * emulation/viper.el (viper-mode):
12644 * emacs-lisp/regexp-opt.el (regexp-opt-group):
12645 * emacs-lisp/easymenu.el (easy-menu-define):
12646 * calendar/timeclock.el (timeclock-use-display-time):
12647 * bs.el (bs-mode):
12648 * bookmark.el (bookmark-save-flag):
12649 Doc fix (standardize possessive apostrophe usage).
12650
c98c6276
CY
126512012-02-27 Chong Yidong <cyd@gnu.org>
12652
bf7f9bc5
JB
12653 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12654 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 12655
c98c6276
CY
12656 * font-lock.el (font-lock-specified-p): Rename from
12657 font-lock-spec-present. Callers changed.
12658
9c62cd04 126592012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 12660
bf7f9bc5
JB
12661 * emacs-lisp/package.el (package-compute-transaction):
12662 Handle holding a package version to t in package-load-list.
8ac9e529 12663
530739c9
MA
126642012-02-26 Michael Albinus <michael.albinus@gmx.de>
12665
12666 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12667 (tramp-get-inode, tramp-get-device): Use cached values.
12668
487915d7
AM
126692012-02-26 Alan Mackenzie <acm@muc.de>
12670
12671 Check there is a font-lock specification before doing initial
12672 fontification.
12673
12674 * font-core.el (font-lock-mode): Move the conditional from
12675 :after-hook to font-lock-initial-fontify.
12676 (font-lock-default-function): Move the check for a specification
12677 to font-lock-spec-present.
12678
dc9924b8 12679 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
12680 (font-lock-spec-present): New function.
12681
4fd96557
JB
126822012-02-26 Jim Blandy <jimb@red-bean.com>
12683
12684 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12685 (gdb-send): Apply it to the operand of the '-interpreter-exec
12686 console' command, so that we can pass arguments with (say) quotes
12687 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12688
9a4888c0
CY
126892012-02-26 Chong Yidong <cyd@gnu.org>
12690
07498861
CY
12691 * help-fns.el (describe-function-1): Clarify description of
12692 remapping (Bug#10844).
12693
9a4888c0
CY
12694 * files.el (files-equal-p): Doc fix.
12695 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12696 and quit the loop once a mismatch is found.
12697
ea8fb88d
JB
126982012-02-25 Juanma Barranquero <lekktu@gmail.com>
12699
12700 * bs.el (bs--show-with-configuration): Don't throw an error
12701 if the window cannot be split; otherwise, subsequent calls to
12702 bs-show fail, restoring a stale window config. (Bug#10882)
12703
525795c1
JD
127042012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12705
12706 * term/ns-win.el (global-map): Bind ns-drag-file to
12707 ns-find-file (Bug#5855, Bug#10050).
12708
f008086f
AS
127092012-02-25 Andreas Schwab <schwab@linux-m68k.org>
12710
12711 * calendar/parse-time.el (parse-time-string): Allow extractor to
12712 return nil.
12713
a3fcfa99
MA
127142012-02-25 Michael Albinus <michael.albinus@gmx.de>
12715
91027d08
JB
12716 * net/tramp.el (tramp-file-name-for-operation):
12717 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
12718
12719 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
12720 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12721 Add COPY-CONTENTS argument.
a3fcfa99 12722
67b0de11
CY
127232012-02-25 Chong Yidong <cyd@gnu.org>
12724
12725 Add custom groups for VC backends, for consistency with vc-bzr.
12726
12727 * vc/vc-arch.el (vc-arch):
12728 * vc/vc-cvs.el (vc-cvs):
12729 * vc/vc-git.el (vc-git):
12730 * vc/vc-hg.el (vc-hg):
12731 * vc/vc-mtn.el (vc-mtn):
12732 * vc/vc-rcs.el (vc-rcs):
12733 * vc/vc-sccs.el (vc-sccs):
12734 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12735 All relevant defcustoms reassigned.
12736
3c9dfce6
CY
127372012-02-25 Chong Yidong <cyd@gnu.org>
12738
1339bf43
CY
12739 * newcomment.el (comment-styles): Add autoload (Bug#10868).
12740
3c9dfce6
CY
12741 * term/x-win.el (x-initialize-window-system): Reduce default for
12742 x-selection-timeout to 5 seconds (Bug#8869).
12743
25b2e303 127442012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12745
ec70a47d
GM
12746 * files.el (files-equal-p, file-subdir-of-p): New functions.
12747 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 12748 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
12749 * dired-aux.el (dired-copy-file-recursive): Same.
12750 (dired-create-files): Modify destination when source is equal to
12751 dest when copying files.
53a46cd0 12752 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 12753
914260cd
MA
127542012-02-24 Michael Albinus <michael.albinus@gmx.de>
12755
12756 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12757 (Bug#10874)
12758
2cb228f7
AM
127592012-02-23 Alan Mackenzie <acm@muc.de>
12760
12761 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12762 parameter "after-hook:" to allow the expansion to run code after
12763 the execution of the mode hooks.
12764
12765 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 12766 from font-lock-mode-internal.
2cb228f7 12767
91027d08 12768 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
12769 :after-hook.
12770
8f0fde21
SM
127712012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12772
3e88618b
SM
12773 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12774 (completion--cache-all-sorted-completions): New function.
12775 (completion-all-sorted-completions): Use it.
12776 (completion--do-completion, minibuffer-force-complete):
12777 Use it to re-instate the flush hook.
12778
8f0fde21
SM
12779 * icomplete.el (icomplete-completions): Replace last fix with a better
12780 one (bug#10850).
12781
8e911f6f
DG
127822012-02-23 Dmitry Gutov <dgutov@yandex.ru>
12783
12784 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12785 when it might call us back infinitely (bug#10797).
12786
49fe4321
GM
127872012-02-23 Glenn Morris <rgm@gnu.org>
12788
12789 * minibuffer.el (completion-category-overrides): Doc fix.
12790
b291b572
SM
127912012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12792
12793 * minibuffer.el (completion-table-with-context): Fix inf-loop.
12794 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12795
31a9ef2e
GM
127962012-02-23 Glenn Morris <rgm@gnu.org>
12797
5e6e6794 12798 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
12799 (authors-obsolete-files-regexps, authors-ignored-files)
12800 (authors-ambiguous-files, authors-renamed-files-alist):
12801 Add more entries.
12802
0bd1e074
JL
128032012-02-23 Juri Linkov <juri@jurta.org>
12804
12805 * isearch.el (isearch-occur): Sync interactive spec with occur's
12806 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
12807
b617673c
JL
12808 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12809
19e9789e
JL
128102012-02-22 Juri Linkov <juri@jurta.org>
12811
12812 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12813 (ucs-insert): Doc fix. Check for hex digits in the string.
12814 Don't display `nil' in the error message. (Bug#10857)
12815
f41ce09d
AM
128162012-02-22 Alan Mackenzie <acm@muc.de>
12817
7a71b18d 12818 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 12819
ac2eceee
GM
128202012-02-22 Glenn Morris <rgm@gnu.org>
12821
12822 * ffap.el (ffap-c-path):
12823 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
12824
abd1f678
CY
128252012-02-22 Chong Yidong <cyd@gnu.org>
12826
12827 * custom.el (load-theme): Doc fix.
12828
f25aef2e
GM
128292012-02-22 Glenn Morris <rgm@gnu.org>
12830
12831 * dired-x.el (dired-guess-shell-alist-default):
12832 Remove escape sequences from nroff output. (Bug#172)
12833
5f8dc2ca
GM
128342012-02-21 Glenn Morris <rgm@gnu.org>
12835
6ff86ec4
GM
12836 * vc/emerge.el (emerge-defvar-local):
12837 Set `permanent-local' property rather than unused `preserved'.
12838
be3223a3 12839 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
12840 (picture-mode-map): Use it. (Bug#10860)
12841 (picture-mode): Doc fix.
12842
3fe58f4f
JB
128432012-02-21 Juanma Barranquero <lekktu@gmail.com>
12844
12845 * newcomment.el (uncomment-region-default): Remove unused binding.
12846
f9a998c3
GM
128472012-02-21 Glenn Morris <rgm@gnu.org>
12848
12849 * textmodes/picture.el (picture-motion, picture-motion-reverse)
12850 (picture-self-insert, picture-tab-chars): Doc fix.
12851 (picture-mode-map): Fix C-a, C-e.
12852
c6029348
GM
128532012-02-20 Glenn Morris <rgm@gnu.org>
12854
12855 * emacs-lisp/authors.el (authors-aliases): Add another entry.
12856
ab1ce9d7
LL
128572012-02-20 Leo Liu <sdl.web@gmail.com>
12858
12859 * icomplete.el (icomplete-completions): Check FROM arg before
12860 passing to substring (Bug#10850).
12861
0fd40f89
CY
128622012-02-19 Chong Yidong <cyd@gnu.org>
12863
12864 * comint.el: Require ansi-color.
12865 (comint-output-filter-functions): Add ansi-color-process-output.
12866
12867 * ansi-color.el: Don't set comint-output-filter-functions; it is
12868 now in the initial value defined in comint.el.
12869 (ansi-color-apply-face-function): New variable.
12870 (ansi-color-apply-on-region): Use it.
12871 (ansi-color-apply-overlay-face): New function.
12872
12873 * shell.el (shell): No need to require ansi-color.
12874 (shell-mode): Use ansi-color-apply-face-function to highlight
12875 color escapes using font-lock-face property (Bug#10835).
12876
20af2394
CY
128772012-02-19 Chong Yidong <cyd@gnu.org>
12878
12879 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12880 mode-line formats (Bug#10839).
12881
e23a3fbe
GM
128822012-02-18 Glenn Morris <rgm@gnu.org>
12883
b474519e
GM
12884 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12885
12886 * mail/undigest.el (unforward-rmail-message): Doc fix.
12887
e23a3fbe
GM
12888 * saveplace.el (save-place-ignore-files-regexp): Add :version.
12889
57939ff4
EZ
128902012-02-18 Eli Zaretskii <eliz@gnu.org>
12891
12892 * international/characters.el (script-list): Sync with the latest
12893 Unicode Character Database.
12894
0c23686e
AS
128952012-02-18 Andreas Schwab <schwab@linux-m68k.org>
12896
12897 * international/titdic-cnv.el: Remove duplicate coding tag.
12898 * language/cham.el: Likewise.
12899 * language/tai-viet.el: Likewise.
12900
6818b449
GM
129012012-02-18 Glenn Morris <rgm@gnu.org>
12902
12903 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
12904 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
12905 (calendar-bahai-all-holidays-flag, calendar-other-dates):
12906 * calendar/diary-lib.el (diary-abbreviated-year-flag):
12907 * calendar/holidays.el (holiday-bahai-holidays)
12908 (calendar-holidays, list-holidays):
12909 Use utf-8 Bahá'í in doc-strings, menus, etc.
12910
0311a3fc
TH
129112012-02-17 Tassilo Horn <tassilo@member.fsf.org>
12912
12913 * saveplace.el (save-place-ignore-files-regexp): New variable
12914 allowing for excluding files from saving their location of point.
12915 The default value matches the temporary commit message editing
12916 files from Git, SVN, Bazaar, and Mercurial.
12917 (save-place-to-alist): Use it.
12918
d209e2fb 129192012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 12920 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
12921
12922 * newcomment.el (uncomment-region-default): Don't leave extra space
12923 when an arg is provided (bug#8150).
12924
ee0ce425
TZ
129252012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
12926
eb864a71 12927 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 12928
95ddf442
GM
129292012-02-17 Glenn Morris <rgm@gnu.org>
12930
12931 * net/socks.el: Require network-stream. (Bug#10599)
12932
48dd1e39 129332012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
12934
12935 * international/charprop.el:
12936 * international/uni-name.el:
12937 * international/uni-old-name.el:
12938 * international/uni-comment.el: Regenerate.
12939
d68cd087
GM
129402012-02-16 Glenn Morris <rgm@gnu.org>
12941
12942 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12943 Interactively in calendar buffer, give an error if not on a date.
12944
13932042
GM
129452012-02-15 Glenn Morris <rgm@gnu.org>
12946
12947 * shell.el (shell-delimiter-argument-list):
12948 Revert 2011-02-17 change. (Bug#8027)
12949
c3a70e2b
CY
129502012-02-15 Chong Yidong <cyd@gnu.org>
12951
60236b0d
CY
12952 * minibuffer.el (completion-at-point-functions): Doc fix.
12953
c3a70e2b
CY
12954 * custom.el (defcustom): Doc fix; note use of defvar.
12955
9f26dc24
GM
129562012-02-15 Glenn Morris <rgm@gnu.org>
12957
12958 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12959 Doc fixes.
12960
6546b134
GM
129612012-02-14 Glenn Morris <rgm@gnu.org>
12962
12963 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12964
d29b2b4c
LI
129652012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
12966
12967 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12968 way the ports list is computed.
835bdcba
LI
12969 (smtpmail-query-smtp-server): Prompt the user for a port number if
12970 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 12971
08dcdbc9
TZ
129722012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
12973
12974 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12975
2605051a
GM
129762012-02-13 Glenn Morris <rgm@gnu.org>
12977
12978 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
12979
7ee99f32
TZ
129802012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
12981
12982 * net/gnutls.el (gnutls-trustfiles): New variable.
12983 (gnutls-negotiate): Use it.
12984
5f0af64f
LI
129852012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
12986
12987 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12988 does its stuff if Gnus is running.
12989
c14fcc95
AM
129902012-02-13 Alan Mackenzie <acm@muc.de>
12991
12992 Fix a loop in c-set-fl-decl-start.
12993
7a71b18d 12994 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
12995 c-backward-syntactic-ws actually moves backwards.
12996
142b4d90
LL
129972012-02-13 Leo Liu <sdl.web@gmail.com>
12998
12999 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13000 beginning so that all \C-o chars are removed.
13001
fa9958a6
TZ
130022012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13003
dc9924b8 13004 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 13005
0bc5886a
AM
130062012-02-12 Alan Mackenzie <acm@muc.de>
13007
13008 Fix infinite loop with long macros.
4d6769e1 13009 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 13010
d4bd55e7
CY
130112012-02-12 Chong Yidong <cyd@gnu.org>
13012
13013 * window.el (display-buffer): Doc fix (Bug#10785).
13014
66f3fe22
GM
130152012-02-12 Glenn Morris <rgm@gnu.org>
13016
bd7da63e
GM
13017 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13018 (x-disown-selection-internal, x-get-selection-internal):
13019 Sync docs with the xselect.c versions.
13020
66f3fe22
GM
13021 * allout-widgets.el: Add missing license notice.
13022
3e0d2fa7
GM
130232012-02-11 Glenn Morris <rgm@gnu.org>
13024
cfecdf09
GM
13025 * select.el (x-get-selection-internal, x-own-selection-internal)
13026 (x-disown-selection-internal):
13027 * x-dnd.el (x-get-selection-internal): Update declarations.
13028
6d216d7f
GM
13029 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13030
2bed3f04
GM
13031 * window.el (window-sides-slots):
13032 * tool-bar.el (tool-bar-position):
13033 * term/xterm.el (xterm-extra-capabilities):
13034 * ses.el (ses-self-reference-early-detection):
13035 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13036 (verilog-auto-wire-type)
13037 (verilog-auto-delete-trailing-whitespace)
13038 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13039 (verilog-auto-tieoff-declaration):
13040 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13041 (sql-oracle-statement-starters, sql-oracle-scan-on):
13042 * progmodes/prolog.el (prolog-align-comments-flag)
13043 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13044 (prolog-left-indent-regexp, prolog-paren-indent-p)
13045 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13046 (prolog-types, prolog-mode-specificators)
13047 (prolog-determinism-specificators, prolog-directives)
13048 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13049 (prolog-electric-dot-flag)
13050 (prolog-electric-dot-full-predicate-template)
13051 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13052 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13053 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13054 (prolog-program-switches, prolog-prompt-regexp)
13055 (prolog-debug-on-string, prolog-debug-off-string)
13056 (prolog-trace-on-string, prolog-trace-off-string)
13057 (prolog-zip-on-string, prolog-zip-off-string)
13058 (prolog-use-standard-consult-compile-method-flag)
13059 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13060 (prolog-imenu-max-lines, prolog-info-predicate-index)
13061 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13062 (prolog-char-quote-workaround):
13063 * progmodes/cc-vars.el (c-defun-tactic):
13064 * net/tramp.el (tramp-encoding-command-interactive)
13065 (tramp-local-end-of-line):
13066 * net/soap-client.el (soap-client):
13067 * net/netrc.el (netrc-file):
13068 * net/gnutls.el (gnutls):
13069 * minibuffer.el (completion-category-overrides)
13070 (completion-cycle-threshold)
13071 (completion-pcm-complete-word-inserts-delimiters):
13072 * man.el (Man-name-local-regexp):
13073 * mail/feedmail.el (feedmail-display-full-frame):
13074 * international/characters.el (glyphless-char-display-control):
13075 * eshell/em-ls.el (eshell-ls-date-format):
13076 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13077 (lisp-lambda-list-keyword-parameter-indentation)
13078 (lisp-lambda-list-keyword-parameter-alignment):
13079 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13080 * dired-x.el (dired-omit-verbose):
13081 * cus-theme.el (custom-theme-allow-multiple-selections):
13082 * calc/calc.el (calc-highlight-selections-with-faces)
13083 (calc-lu-field-reference, calc-lu-power-reference)
13084 (calc-note-threshold):
13085 * battery.el (battery-mode-line-limit):
13086 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13087 (archive-7z-update):
13088 * allout.el (allout-prefixed-keybindings)
13089 (allout-unprefixed-keybindings)
13090 (allout-inhibit-auto-fill-on-headline)
13091 (allout-flattened-numbering-abbreviation):
13092 * allout-widgets.el (allout-widgets-auto-activation)
13093 (allout-widgets-icons-dark-subdir)
13094 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13095 (allout-widgets-theme-dark-background)
13096 (allout-widgets-theme-light-background)
13097 (allout-widgets-item-image-properties-emacs)
13098 (allout-widgets-item-image-properties-xemacs)
13099 (allout-widgets-run-unit-tests-on-load)
13100 (allout-widgets-time-decoration-activity)
13101 (allout-widgets-hook-error-post-time)
13102 (allout-widgets-track-decoration):
13103 Add missing :version tags to new defcustoms and defgroups.
13104
5fec1b8e
GM
13105 * progmodes/sql.el (sql-ansi-statement-starters)
13106 (sql-oracle-statement-starters): Add custom type.
13107
3e0d2fa7
GM
13108 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13109 (prolog-system-version): Give it a type.
13110
90b671e2
EZ
131112012-02-11 Eli Zaretskii <eliz@gnu.org>
13112
13113 * term/pc-win.el (x-select-text, x-selection-owner-p)
13114 (x-own-selection-internal, x-disown-selection-internal)
13115 (x-get-selection-internal): Sync doc strings and argument lists
13116 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13117
5eac0c02
LL
131182012-02-11 Leo Liu <sdl.web@gmail.com>
13119
13120 * progmodes/python.el (python-end-of-statement): Fix infinite
13121 loop. (Bug#10788)
13122
f82cb659
GM
131232012-02-10 Glenn Morris <rgm@gnu.org>
13124
13125 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13126 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13127
cc26d239
LI
131282012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13129
13130 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13131 about SMTP before checking the From header.
13132
91027d08 13133 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
13134 into own function for reuse by emacsbug.el.
13135
1be3ca5a
LL
131362012-02-10 Leo Liu <sdl.web@gmail.com>
13137
13138 * subr.el (condition-case-unless-debug): Rename from
13139 condition-case-no-debug. All callers changed.
13140 (with-demoted-errors): Fix caller.
13141
13142 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13143 * nxml/rng-valid.el (rng-do-some-validation):
13144 * emacs-lisp/package.el (package-refresh-contents)
13145 (package-menu-execute):
13146 * desktop.el (desktop-create-buffer):
91027d08 13147 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 13148
b011fbfe
GM
131492012-02-10 Glenn Morris <rgm@gnu.org>
13150
b2096d72
GM
13151 * textmodes/bibtex.el:
13152 Add missing :version tags for new/changed defcustoms.
13153
b011fbfe
GM
13154 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13155
4c7e65bf
LI
131562012-02-09 Lars Ingebrigtsen <larsi@rusty>
13157
13158 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13159 (smtpmail-via-smtp): Use it, or fall back on the From address.
13160 (smtpmail-send-it): Ditto.
13161
f3934f6f
SM
131622012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13163
13164 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13165 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13166 (byte-compile-tmp-var): New const.
13167 (byte-compile-defvar): Use it to minimize .elc size.
13168 Just use `defvar' rather than simulate it (bug#10761).
13169
a075a2c5
GM
131702012-02-09 Glenn Morris <rgm@gnu.org>
13171
cf3aa21b
GM
13172 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13173
354998cd
GM
13174 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13175 Add :version tags.
13176
dc9924b8
SM
13177 * progmodes/compile.el (compilation-error-screen-columns)
13178 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 13179
dab3703d
GM
13180 * vc/log-view.el (log-view-toggle-entry-display):
13181 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13182
3f88cd72
GM
13183 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13184 (report-emacs-bug-can-use-xdg-email):
13185 (report-emacs-bug-insert-to-mailer): Doc fixes.
13186 (report-emacs-bug): Message fix.
13187
d95b247d
GM
13188 * net/browse-url.el (browse-url-can-use-xdg-open)
13189 (browse-url-xdg-open): Doc fixes.
13190
a075a2c5
GM
13191 * electric.el (electric-indent-mode, electric-pair-mode)
13192 (electric-layout-rules, electric-layout-mode): Doc fixes.
13193 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13194
ffb6157e
MR
131952012-02-08 Martin Rudalics <rudalics@gmx.at>
13196
13197 * server.el (server-unselect-display): Don't inadvertently kill
13198 the current buffer. (Bug#10729)
13199
e1ac4066
GM
132002012-02-08 Glenn Morris <rgm@gnu.org>
13201
34e8a2da
GM
13202 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13203 (sql-list-table): Doc fixes.
13204
b4ac6e8c
GM
13205 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13206 Comment out (does nothing).
13207
e1ac4066
GM
13208 * completion.el (dynamic-completion-mode):
13209 * dirtrack.el (dirtrack-debug-mode):
13210 * electric.el (electric-layout-mode):
13211 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13212 * face-remap.el (text-scale-mode, buffer-face-mode):
13213 * iimage.el (iimage-mode):
13214 * image-mode.el (image-transform-mode):
13215 * minibuffer.el (completion-in-region-mode):
13216 * scroll-lock.el (scroll-lock-mode):
13217 * simple.el (next-error-follow-minor-mode):
13218 * tar-mode.el (tar-subfile-mode):
13219 * tooltip.el (tooltip-mode):
13220 * vcursor.el (vcursor-use-vcursor-map):
13221 * wid-browse.el (widget-minor-mode):
13222 * emulation/tpu-edt.el (tpu-edt-mode):
13223 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13224 * international/iso-ascii.el (iso-ascii-mode):
13225 * language/thai-util.el (thai-word-mode):
13226 * mail/supercite.el (sc-minor-mode):
13227 * net/goto-addr.el (goto-address-mode):
13228 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13229 * progmodes/cwarn.el (cwarn-mode):
13230 * progmodes/flymake.el (flymake-mode):
13231 * progmodes/glasses.el (glasses-mode):
13232 * progmodes/hideshow.el (hs-minor-mode):
13233 * progmodes/pascal.el (pascal-outline-mode):
13234 * textmodes/enriched.el (enriched-mode):
13235 * vc/smerge-mode.el (smerge-mode):
13236 Doc fixes (minor mode argument).
13237
5e0d957f
EZ
132382012-02-07 Eli Zaretskii <eliz@gnu.org>
13239
13240 * ls-lisp.el (ls-lisp-sanitize): New function.
13241 (ls-lisp-insert-directory): Use it to fix or remove any elements
13242 in file-alist with missing attributes. (Bug#4673)
13243
98d7371e
AM
132442012-02-07 Alan Mackenzie <acm@muc.de>
13245
13246 Fix spurious recognition of c-in-knr-argdecl.
13247
13248 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13249 putative K&R region.
13250
667ced3a
AM
132512012-02-07 Alan Mackenzie <acm@muc.de>
13252
eb864a71
LM
13253 * progmodes/cc-engine.el (c-forward-objc-directive):
13254 Prevent looping in "#pragma mark @implementation".
667ced3a 13255
5b77774d
MA
132562012-02-07 Michael Albinus <michael.albinus@gmx.de>
13257
13258 * notifications.el (notifications-on-closed-signal): Make `reason'
13259 optional. (Bug#10744)
13260
af008560
GM
132612012-02-07 Glenn Morris <rgm@gnu.org>
13262
60d47423
GM
13263 * emacs-lisp/easy-mmode.el (define-minor-mode):
13264 Doc fixes for the macro and the mode it defines.
13265
dd605cc4
GM
13266 * image.el (imagemagick-types-inhibit): Doc fix.
13267
af008560
GM
13268 * cus-start.el (imagemagick-render-type): Add it.
13269
5cc59a37
LI
132702012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
13271
4d6769e1
JB
13272 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13273 Set the default at load time, too, so that `font-lock-fontify-buffer'
13274 can be called without setting up the entire mode first. This fixes
13275 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 13276
9a6dd747
CY
132772012-02-06 Chong Yidong <cyd@gnu.org>
13278
2d16b285
CY
13279 * simple.el (list-processes--refresh): Delete exited processes
13280 (Bug#8094).
13281
171e9b6e
CY
13282 * comint.el (comint-next-prompt): next-single-char-property-change
13283 and prev-single-char-property-change never return nil (Bug#8657).
13284
9a6dd747
CY
13285 * custom.el (defcustom): Doc fix (Bug#9711).
13286
aa4589a7
CY
132872012-02-05 Chong Yidong <cyd@gnu.org>
13288
5c2a252f
CY
13289 * cus-edit.el (custom-variable-reset-backup): Quote the value
13290 before storing it in the customized-value property (Bug#6712).
4aab9006 13291 (custom-display): Add a customization type tag.
983b9602 13292 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 13293
aa4589a7
CY
13294 * wid-edit.el (widget-field-value-get): New optional arg to
13295 suppress trailing whitespace truncation.
13296 (character): Use it (Bug#2689).
13297
1ff980ae
AS
132982012-02-05 Andreas Schwab <schwab@linux-m68k.org>
13299
13300 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13301 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13302
03988c98
CY
133032012-02-05 Chong Yidong <cyd@gnu.org>
13304
eeb6cc88
CY
13305 * cus-edit.el (custom-variable-value-create): For mismatched
13306 types, show the current value (Bug#7600).
13307
03988c98
CY
13308 * custom.el (defcustom): Doc fix.
13309
f8cdeef0
GM
133102012-02-05 Glenn Morris <rgm@gnu.org>
13311
13312 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13313
0696d255
JB
133142012-02-05 Juanma Barranquero <lekktu@gmail.com>
13315
13316 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13317 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13318 (pp-last-sexp): Use `looking-at-p'.
13319
34c99998
GM
133202012-02-04 Glenn Morris <rgm@gnu.org>
13321
8f05da42
GM
13322 * files.el (revert-buffer):
13323 Doc fix (mention revert-buffer-in-progress-p).
13324
f160676e
GM
13325 * emacs-lisp/ert-x.el (ert-simulate-command):
13326 Check deferred-action-list (which is obsolete) is bound.
13327
c7291ad9
GM
13328 * subr.el (with-wrapper-hook): Doc fixes.
13329
34c99998
GM
13330 * simple.el (filter-buffer-substring-functions)
13331 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13332
6283a7d3
LL
133332012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13334
13335 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13336 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13337
e96e3013
LL
133382012-02-04 Leo Liu <sdl.web@gmail.com>
13339
13340 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13341
8ded50f2
GM
133422012-02-04 Glenn Morris <rgm@gnu.org>
13343
82ff1d13
GM
13344 * image.el (image-extension-data): Add obsolete alias.
13345
987a0a16
GM
13346 * isearch.el (isearch-update): Doc fix.
13347
ea32ef46
GM
13348 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13349
8ded50f2
GM
13350 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13351
eea14f31
GM
133522012-02-03 Glenn Morris <rgm@gnu.org>
13353
13354 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13355 (image-animate-timeout): Doc fix.
13356
13357 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13358
12f381b7
GM
133592012-02-02 Glenn Morris <rgm@gnu.org>
13360
953cebf5
GM
13361 * server.el (server-auth-dir): Doc fix.
13362 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13363
12f381b7
GM
13364 * subr.el (run-mode-hooks): Doc fix.
13365
953a8c3b
JL
133662012-02-02 Juri Linkov <juri@jurta.org>
13367
13368 * image-mode.el (image-toggle-display-image): Remove tautological
13369 `major-mode' from the `derived-mode-p' test.
13370
c5d3843c
KH
133712012-02-02 Kenichi Handa <handa@m17n.org>
13372
9f6e692e 13373 * composite.el (compose-region): Cancel previous change.
c5d3843c 13374
159462d4 133752012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
13376
13377 * composite.el (compose-region, compose-string): Signal error for
13378 a null string component (Bug#6988).
13379
9f562668
CY
133802012-02-01 Chong Yidong <cyd@gnu.org>
13381
e2cef717
CY
13382 * view.el (view-buffer-other-window, view-buffer-other-frame):
13383 Handle special modes like view-buffer (Bug#10650).
13384 (view-buffer): Simplify.
13385
9f562668
CY
13386 * frame.el (set-frame-font): Tweak meaning of third argument.
13387
9f6e692e
JB
13388 * dynamic-setting.el (font-setting-change-default-font):
13389 Use set-frame-font (Bug#9982).
9f562668 13390
781acb9f
GM
133912012-02-01 Glenn Morris <rgm@gnu.org>
13392
6035be52
GM
13393 * progmodes/compile.el (compilation-internal-error-properties):
13394 Respect compilation-first-column in the "*compilation*" buffer.
13395
781acb9f
GM
13396 * emacs-lisp/easy-mmode.el (define-minor-mode):
13397 Relax :variable's test for a named function.
13398
abbceb00
AM
133992012-01-31 Alan Mackenzie <acm@muc.de>
13400
13401 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13402 off by one error.
13403
fce3fdeb
CY
134042012-01-31 Chong Yidong <cyd@gnu.org>
13405
13406 * frame.el (set-frame-font): New arg ALL-FRAMES.
13407
13408 * menu-bar.el (menu-set-font): Use set-frame-font.
13409
13410 * faces.el (face-spec-reset-face): Don't apply unspecified
13411 attribute values to the default face.
13412
47893581
JB
134132012-01-31 Juanma Barranquero <lekktu@gmail.com>
13414
13415 * progmodes/cwarn.el (cwarn): Remove dead link.
13416 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13417 Remove * from defcustom docstrings.
13418 (turn-on-cwarn-mode): Make obsolete.
13419 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13420 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13421
e58e988a
GM
134222012-01-31 Glenn Morris <rgm@gnu.org>
13423
60dc2671 13424 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 13425 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 13426 Allow named functions to be used as the cdr of :variable.
e58e988a 13427
7a3f511d
GM
134282012-01-30 Glenn Morris <rgm@gnu.org>
13429
13430 * emacs-lisp/authors.el (authors-fixed-entries):
13431 Remove reference to deleted file rnewspost.el.
13432
cb882333
JB
134332012-01-29 Juanma Barranquero <lekktu@gmail.com>
13434
13435 * window.el (window-with-parameter): Remove unused variable `windows'.
13436 (window--side-check): Remove unused variable `code'.
13437 (window--resize-siblings): Remove unused variable `first'.
13438 (adjust-window-trailing-edge): Remove unused variable `failed'.
13439 (window-deletable-p, window--delete): Remove unused variable `buffer'.
13440 Use `let', not `let*'.
13441 (balance-windows-2): Remove unused variable `found'.
13442 (window--state-put-2): Remove unused variable `splits'.
13443 (window-state-put): Remove unused variable `selected'.
13444 (same-window-p): Use `string-match-p'.
13445 (display-buffer-assq-regexp): Remove unused variable `value'.
13446 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13447 Mark argument ALIST as ignored.
13448 (pop-to-buffer): Remove unused variable `old-window'.
13449
907201af
EZ
134502012-01-29 Eli Zaretskii <eliz@gnu.org>
13451
13452 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13453 and .lzma compressed files.
13454
ea162670
CY
134552012-01-29 Chong Yidong <cyd@gnu.org>
13456
5b95ee8a
CY
13457 * frame.el (window-system-default-frame-alist): Doc fix.
13458
ea162670
CY
13459 * dynamic-setting.el (font-setting-change-default-font): Don't
13460 change the default face if SET-FONT argument is non-nil (Bug#9982).
13461
6fccd6e8 134622012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
13463
13464 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13465
0f29fa41 134662012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
13467
13468 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13469 breakpoints in files outside current directory (Bug#6098).
13470
db174434
CY
134712012-01-29 Chong Yidong <cyd@gnu.org>
13472
6b25e4e2
SE
13473 * progmodes/python.el: Require ansi-color at top-level.
13474
6df6ae42
JB
13475 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13476 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
13477 (lisp-mode-abbrev-table): Add doc.
13478 (lisp-mode-variables): Don't set local-abbrev-table.
13479 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13480
e70ee681
RW
134812012-01-28 Roland Winkler <winkler@gnu.org>
13482
13483 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13484
ace88aa2
RW
134852012-01-28 Roland Winkler <winkler@gnu.org>
13486
13487 * textmodes/bibtex.el (bibtex-entry-alist): New function.
13488 (bibtex-set-dialect): Use it. Either set global values of
13489 dialect-dependent variables or bind these variables buffer-locally
13490 (Bug#10254).
13491 (bibtex-mode): Call bibtex-set-dialect via
13492 hack-local-variables-hook.
eb864a71
LM
13493 (bibtex-dialect): Update docstring.
13494 Add safe-local-variable predicate.
ace88aa2
RW
13495 (bibtex-entry-alist, bibtex-field-alist): Initialize via
13496 bibtex-set-dialect.
13497 (bibtex-mode-map): Define menu for each dialect.
13498 (bibtex-entry): Fix docstring.
13499
93376c5b
CY
135002012-01-28 Chong Yidong <cyd@gnu.org>
13501
13502 * eshell/esh-arg.el (eshell-quote-argument): New function.
13503
13504 * eshell/esh-ext.el (eshell-invoke-batch-file):
13505 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13506 first arg to eshell-parse-command (Bug#10523).
13507
4372494f
DA
135082012-01-28 Drew Adams <drew.adams@oracle.com>
13509
13510 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13511 `default-directory' is non-nil.
13512
4d4ec1f8
EZ
135132012-01-28 Eli Zaretskii <eliz@gnu.org>
13514
13515 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
13516 line that displays system-configuration-options. (Bug#9924)
13517
7c188927
DA
135182012-01-28 Drew Adams <drew.adams@oracle.com>
13519
13520 * descr-text.el (describe-char): Show information about POS, in
13521 addition to information about the character at POS. Improve and
13522 update the doc string. Change "code point" to "code point in
13523 charset", to avoid confusion with the character's Unicode code
13524 point shown above that. (Bug#10129)
13525
e0da685a
EZ
135262012-01-28 Eli Zaretskii <eliz@gnu.org>
13527
13528 * descr-text.el (describe-char): Show the raw character, not only
13529 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
13530 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13531 for the reasons.
13532
70550acf
PH
135332012-01-28 Phil Hagelberg <phil@hagelb.org>
13534
eb864a71
LM
13535 * emacs-lisp/package.el (package-install):
13536 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 13537
0ce8e868
CY
135382012-01-28 Chong Yidong <cyd@gnu.org>
13539
cb882333
JB
13540 * emacs-lisp/package.el (package-maybe-load-descriptor):
13541 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
13542 (package-maybe-load-descriptor): Use it.
13543 (package-download-transaction): Fully load required packages
13544 inside the loop, so that `require' calls work (Bug#10593).
13545 (package-install): No need to call package-initialize now.
13546
2e7f3bea
CY
135472012-01-28 Chong Yidong <cyd@gnu.org>
13548
6e9bad14
CY
13549 * simple.el (deactivate-mark): Doc fix (Bug#8614).
13550
f823b8ca
CY
13551 * tooltip.el (tooltip-mode): Doc fix.
13552 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13553
2680c309
CY
13554 * frame.el (set-cursor-color): Doc fix (Bug#352).
13555
d7a9e63b
CY
13556 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13557 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13558
2e7f3bea
CY
13559 * cus-edit.el (custom-buffer-create-internal): Fix search button
13560 action (Bug#10542).
2ae01800 13561 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 13562
fc4f7a23
EW
135632012-01-27 Eduard Wiebe <usenet@pusto.de>
13564
13565 * dired.el (dired-mark-files-regexp):
13566 Include any subdirectory components. (Bug#10445)
13567
7dd37071
ML
135682012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
13569
13570 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
13571 Handle [host]:port syntax. (Bug#10533)
13572
a268160b
AH
135732012-01-27 Alex Harsanyi <harsanyi@mac.com>
13574
13575 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
13576
e43273ef
GM
135772012-01-26 Glenn Morris <rgm@gnu.org>
13578
13579 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
13580 * term.el (term-raw-escape-map): Use Control-X-prefix.
13581 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
13582
1edf595d
MR
135832012-01-25 Martin Rudalics <rudalics@gmx.at>
13584
13585 * window.el (window-state-get, window--state-get-1): Don't deal
13586 with fixed-sizeness of windows. Simplify code.
13587
fa8eafef
JC
135882012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
13589
6df6ae42
JB
13590 * window.el (window--state-get-1, window--state-put-2):
13591 Don't save and restore the mark.
fa8eafef 13592
0b21c100
CY
135932012-01-25 Chong Yidong <cyd@gnu.org>
13594
13595 * custom.el (custom-variable-p): Doc fix.
13596
5ae1a6c8
GM
135972012-01-25 Glenn Morris <rgm@gnu.org>
13598
40047858
GM
13599 * dired.el (dired-goto-file): Handle some of the more common
13600 characters that `ls -b' escapes. (Bug#10596)
13601
5ddce96c
GM
13602 * progmodes/compile.el (compilation-next-error-function):
13603 Respect compilation-first-column in the "*compilation*" buffer.
13604 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
13605
5ae1a6c8
GM
13606 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
13607
b559f1a9
GM
136082012-01-24 Glenn Morris <rgm@gnu.org>
13609
13610 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
13611
6725d21a
JD
136122012-01-24 Julien Danjou <julien@danjou.info>
13613
13614 * color.el (color-rgb-to-hsl): Fix value computing.
13615 (color-hue-to-rgb): New function.
13616 (color-hsl-to-rgb): New function.
13617 (color-clamp, color-saturate-hsl, color-saturate-name)
13618 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13619 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13620
70df4bbe
GM
136212012-01-24 Glenn Morris <rgm@gnu.org>
13622
13623 * vc/vc-rcs.el (vc-rcs-create-tag):
13624 * vc/vc-sccs.el (vc-sccs-create-tag):
13625 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
13626
802a2ae2
ML
136272012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
13628
13629 * eshell/esh-util.el (eshell-read-hosts-file):
13630 Skip comment lines. (Bug#10549)
13631
d7128bb1
ML
13632 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
13633
d1a5c3b4
JB
136342012-01-23 Juanma Barranquero <lekktu@gmail.com>
13635
2724d9c7
JB
13636 * subr.el (display-delayed-warnings): Doc fix.
13637 (collapse-delayed-warnings): New function to collapse identical
13638 adjacent warnings.
13639 (delayed-warnings-hook): Add it.
d1a5c3b4 13640
a5509865
MA
136412012-01-22 Michael Albinus <michael.albinus@gmx.de>
13642
13643 * net/tramp.el (tramp-action-login): Set connection property "login-as".
13644
a5509865
MA
13645 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13646 (tramp-default-user-alist): Don't add "pscp".
13647 (tramp-do-copy-or-rename-file-out-of-band): Use connection
13648 property "login-as", if set. (Bug#10530)
13649
cc6d5805
MA
136502012-01-21 Michael Albinus <michael.albinus@gmx.de>
13651
13652 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13653 "plink1" and "psftp". (Bug#10530)
13654
136552012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
13656
13657 * international/mule-cmds.el (prefer-coding-system): Show a
13658 warning message if the default value of file-name-coding-system
13659 was not changed.
13660
f0960428
JC
136612012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13662
cb882333
JB
13663 * windmove.el (windmove-reference-loc):
13664 Fix windmove-reference-loc miscalculation.
f0960428 13665
dd6f2a63
JB
136662012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13667
13668 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13669 default unit.
13670
7b447e9b
GM
136712012-01-21 Glenn Morris <rgm@gnu.org>
13672
117a9ea1
GM
13673 * international/mule.el (auto-coding-alist): Add .tbz.
13674
7b447e9b
GM
13675 * files.el (local-enable-local-variables): Doc fix.
13676 (inhibit-local-variables-regexps): Rename from
13677 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13678 Doc fix. Add some extensions from auto-coding-alist.
13679 (inhibit-local-variables-suffixes):
13680 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13681 (inhibit-local-variables-p):
13682 New function, extracted from set-auto-mode-1.
13683 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13684 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13685 (hack-local-variables): Doc fix. Make the mode-only case
13686 respect enable-local-variables and friends.
13687 Respect inhibit-local-variables-regexps for file-locals, but
13688 not for directory-locals.
13689 (set-visited-file-name):
13690 Take account of inhibit-local-variables-regexps.
13691 Whether it applies may change as the file name is changed.
13692 * jka-cmpr-hook.el (jka-compr-install):
13693 * jka-compr.el (jka-compr-uninstall):
13694 Update for inhibit-first-line-modes-suffixes name change.
13695
dd6e3cdd
MR
136962012-01-20 Martin Rudalics <rudalics@gmx.at>
13697
13698 * help-macro.el (make-help-screen): Temporarily restore original
13699 binding for minor-mode-map-alist (Bug#10454).
13700
0d0deb38
JD
137012012-01-19 Julien Danjou <julien@danjou.info>
13702
13703 * color.el (color-name-to-rgb): Use the white color to find the max
13704 color component value and return correctly computed values.
13705 (color-name-to-rgb): Add missing float conversion for max value.
13706
34a02f46
MR
137072012-01-19 Martin Rudalics <rudalics@gmx.at>
13708
13709 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
13710 special state value for window-persistent-parameters.
13711 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
13712 (window--state-put-2): Reset all window parameters to nil before
13713 assigning values of persistent parameters.
13714
606c44c4
AM
137152012-01-18 Alan Mackenzie <acm@muc.de>
13716
13717 Eliminate sluggishness and hangs in fontification of "semicolon
13718 deserts".
13719
cb882333
JB
13720 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13721 Change value 10000 -> 3000.
606c44c4
AM
13722 (c-state-safe-place): Reformulate so it doesn't stack up an
13723 infinite number of wrong entries in c-state-nonlit-pos-cache.
13724 (c-determine-limit-get-base, c-determine-limit): New functions to
13725 determine backward search limits disregarding literals.
13726 (c-find-decl-spots): Amend commenting.
13727 (c-cheap-inside-bracelist-p): New function which detects "={".
13728
13729 * progmodes/cc-fonts.el
13730 (c-make-font-lock-BO-decl-search-function): Give a limit to a
13731 backward search.
13732 (c-font-lock-declarations): Fix an occurrence of point being
13733 undefined. Check additionally for point being in a bracelist or
13734 near a macro invocation without a semicolon so as to avoid a
13735 fruitless time consuming search for a declarator. Give a more
13736 precise search limit for declarators using the new
13737 c-determine-limit.
13738
f3860cea
GM
137392012-01-18 Glenn Morris <rgm@gnu.org>
13740
13741 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13742 (set-auto-mode): Doc fixes.
13743
1db03b16
GM
137442012-01-17 Glenn Morris <rgm@gnu.org>
13745
0e6038be
GM
13746 * isearch.el (search-nonincremental-instead): Fix doc typo.
13747
1db03b16
GM
13748 * dired.el (dired-insert-directory): Handle newlines in directory name.
13749 (dired-build-subdir-alist): Unescape newlines in directory name.
13750
4cb0aa75
MA
137512012-01-17 Michael Albinus <michael.albinus@gmx.de>
13752
13753 * net/tramp.el (tramp-local-end-of-line): New defcustom.
13754 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13755 (tramp-action-terminal): Use it. (Bug#10530)
13756
1d00653d
SM
137572012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13758
13759 * minibuffer.el (completion--replace): Strip properties (bug#10062).
13760
6a6ee00d
MR
137612012-01-16 Martin Rudalics <rudalics@gmx.at>
13762
13763 * window.el (window-state-ignored-parameters): Remove variable.
13764 (window--state-get-1): Rename argument MARKERS to IGNORE.
13765 Handle persistent window parameters. Make copy of clone-of
13766 parameter only if requested. (Bug#10348)
13767 (window--state-put-2): Install a window parameter only if it has
13768 a non-nil value or an existing parameter shall be overwritten.
13769
97912def
MA
137702012-01-15 Michael Albinus <michael.albinus@gmx.de>
13771
13772 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13773
688070a5
EZ
137742012-01-14 Eli Zaretskii <eliz@gnu.org>
13775
13776 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13777 don't pass the (nil) value of `upnode' to string-match.
13778
301afadc
CY
137792012-01-14 Chong Yidong <cyd@gnu.org>
13780
13781 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 13782 Fix values recognized by the cursorBlink resource.
301afadc 13783
9e5788aa
PE
137842012-01-14 Paul Eggert <eggert@cs.ucla.edu>
13785
13786 * epg.el (epg--make-temp-file): Avoid permission race condition
13787 when running on old Emacs versions (bug#10403).
13788
3cdb7f5a
GM
137892012-01-14 Glenn Morris <rgm@gnu.org>
13790
13791 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13792
8c82b1b4
AM
137932012-01-13 Alan Mackenzie <acm@muc.de>
13794
13795 Fix filling for when filladapt mode is enabled.
13796
13797 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13798 c-mask-paragraph, pass in `fill-paragraph' rather than
13799 `fill-region-as-paragraph'. (This is a reversion of a previous
13800 change.)
eb864a71
LM
13801 * progmodes/cc-mode.el (c-basic-common-init):
13802 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 13803
e517eda4
GM
138042012-01-13 Glenn Morris <rgm@gnu.org>
13805
1498536e
GM
13806 * dired.el (dired-switches-escape-p): New function.
13807 (dired-insert-directory): Use dired-switches-escape-p.
13808 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
13809
e517eda4
GM
13810 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
13811
328f984d
GM
138122012-01-12 Glenn Morris <rgm@gnu.org>
13813
13814 * mail/sendmail.el (mail-mode): Update paragraph-separate for
13815 changes in adaptive-fill-regexp. (Bug#10276)
13816
2cc769a8
AM
138172012-01-11 Alan Mackenzie <acm@muc.de>
13818
13819 Fix Emacs bug #10463 - put `widen's around the critical spots.
13820
1d00653d 13821 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
13822 widen around each invocation of c-state-pp-to-literal. Remove an
13823 unused let variable.
13824
e52c37fa
GM
138252012-01-11 Glenn Morris <rgm@gnu.org>
13826
13827 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 13828 Doc fix.
e52c37fa 13829
96f8741e
CY
138302012-01-10 Chong Yidong <cyd@gnu.org>
13831
1d00653d
SM
13832 * net/network-stream.el (network-stream-open-starttls):
13833 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
13834 response to the capability command.
13835
b09a806e
GM
138362012-01-10 Glenn Morris <rgm@gnu.org>
13837
13838 * mail/unrmail.el (unrmail): Tweak previous change.
13839
7655cb66
CY
138402012-01-09 Chong Yidong <cyd@gnu.org>
13841
13842 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13843
9d5a8f0b
AM
138442012-01-08 Alan Mackenzie <acm@muc.de>
13845
677d5c92 13846 Optimize font locking in long enum definitions.
9d5a8f0b
AM
13847
13848 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13849 arm to a cond form to handle enums.
13850 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
13851 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
13852
9a0115ab 138532012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
13854
13855 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 13856 (Bug#10401)
6bb72cbd 13857
f186bb95
LMI
138582012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13859
29232a68
LMI
13860 * faces.el (set-face-attribute): Clarify the meaning of the nil
13861 frame (bug#10294).
13862
4e5d086d
LMI
13863 * subr.el (with-selected-frame): Mention that the selected frame
13864 is restored (bug#9980).
13865
8e66aebe
LMI
13866 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13867 (bug#9759).
13868
cd394be1 13869 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
13870 (password-read): Don't autoload unused function.
13871
adf4e762
JB
138722012-01-07 Juanma Barranquero <lekktu@gmail.com>
13873
13874 * progmodes/which-func.el (which-func-mode): Turn into a
13875 non-interactive function and mark as obsolete (bug#10428).
13876
89bd9ccd
CY
138772012-01-06 Chong Yidong <cyd@gnu.org>
13878
13879 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13880 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13881 functions, along with 1 and -1.
13882
4afee9d5
EZ
138832012-01-06 Eli Zaretskii <eliz@gnu.org>
13884
13885 * time.el (display-time-load-average)
13886 (display-time-default-load-average): Doc fixes. See the thread
13887 starting at
13888 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13889 for the details.
13890
536aea70
GM
138912012-01-06 Glenn Morris <rgm@gnu.org>
13892
665ae865
GM
13893 * mail/unrmail.el (unrmail): Give an explicit error if the input file
13894 has no messages. (Bug#10377)
13895
c869783d
GM
13896 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13897 than Info-edit. (Bug#10385)
13898
2bb4227e
GM
13899 * time.el (display-time-load-average, display-time-next-load-average):
13900 Doc fixes.
13901
7d5944b9
GM
13902 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
13903 local setting of buffer-read-only to the input buffer. (Bug#10419)
13904
536aea70
GM
13905 * calendar/calendar.el (calendar-mode):
13906 Locally set scroll-margin to 0. (Bug#10379)
13907
7dccca16
UM
139082012-01-06 Ulrich Mueller <ulm@gentoo.org>
13909
13910 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
13911
afbb7930
GM
139122012-01-05 Glenn Morris <rgm@gnu.org>
13913
13914 * eshell/em-unix.el (diff-no-select): Autoload it.
13915 (eshell/diff): Use diff-no-select. (Bug#10420)
13916
04482335
CY
139172012-01-05 Chong Yidong <cyd@gnu.org>
13918
7baca3bc
CY
13919 * shell.el (shell-dynamic-complete-functions): Revert last change.
13920 (shell-command-completion-function): New function.
13921 (shell-completion-vars): Use it to implement
13922 shell-completion-execonly (Bug#10417).
13923
04482335
CY
13924 * custom.el (enable-theme): Don't set custom-safe-themes.
13925
1d00653d
SM
13926 * cus-theme.el (custom-theme-merge-theme):
13927 Ignore custom-enabled-themes and custom-safe-themes.
04482335 13928
bb5aa5d6
MM
139292012-01-05 Michael R. Mauger <mmaug@yahoo.com>
13930
13931 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
13932 first prompt in `sql-interacive-mode'.
13933 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 13934 keywords.
6df6ae42 13935 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
13936 (sql-product-interactive): Bug fix: Set `sql-buffer' in
13937 context of original buffer. Invoke `sql-login-hook'.
13938
a7183d7c
EZ
139392012-01-04 Eli Zaretskii <eliz@gnu.org>
13940
13941 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13942 letters in cite-prefix.
13943
a1eacd1e
LMI
139442012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13945
13946 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13947
787cdb34
CY
139482012-01-03 Chong Yidong <cyd@gnu.org>
13949
1d00653d
SM
13950 * shell.el (shell-dynamic-complete-functions):
13951 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
13952 comint-filename-completion first (Bug#10417).
13953
30710442
RS
139542012-01-02 Richard Stallman <rms@gnu.org>
13955
13956 * battery.el (battery-status-function):
13957 Detect when to use battery-yeeloong-sysfs.
13958 (battery-echo-area-format): Add string for Yeeloong.
13959 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13960 (battery-yeeloong-sysfs): New function.
13961
f75bfc33
CY
139622012-01-02 Chong Yidong <cyd@gnu.org>
13963
13964 * dirtrack.el (dirtrack-list): Eliminate unused third element.
13965 (dirtrack): Merge code for handling relative filenames in prompt
13966 from shell-dir-cookie-watcher.
13967 (dirtrack-debug-message): New arg to avoid excess format calls.
13968
13969 * shell.el (shell-dir-cookie-re): Variable deleted.
13970 (shell-dir-cookie-watcher): Function deleted.
13971 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13972 with dirtrack-mode.
13973
651e947e
EZ
139742012-01-01 Eli Zaretskii <eliz@gnu.org>
13975
1d00653d
SM
13976 * term/w32-win.el (dynamic-library-alist) <gnutls>:
13977 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
13978 libgnutls-26.dll.
13979
94d4c7dc
AS
139802011-12-31 Andreas Schwab <schwab@linux-m68k.org>
13981
13982 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13983
8d43f3cd
EZ
139842011-12-31 Eli Zaretskii <eliz@gnu.org>
13985
13986 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13987 headers of non-MIME messages, when rmail-enable-mime is non-nil.
13988
98c8795a
MA
139892011-12-29 Michael Albinus <michael.albinus@gmx.de>
13990
13991 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13992 also for alternative shells.
13993 (tramp-open-connection-setup-interactive-shell): Check, whether
13994 the shell is a busybox.
13995 (tramp-send-command): Don't suppress multiple prompts for
13996 busyboxes, it hurts.
13997
51281b32
CY
139982011-12-28 Chong Yidong <cyd@gnu.org>
13999
14000 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14001 (gdb-get-source-file): Move mode line update to
14002 gdb-get-source-file (Bug#10087).
14003
2170cb53
CY
140042011-12-25 Chong Yidong <cyd@gnu.org>
14005
14006 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14007 gud-gdb-marker-filter without taking it as an argument.
14008 (gud-gdb-run-command-fetch-lines): Caller changed.
14009 (gud-gdb-completion-function): New variable.
14010 (gud-gdb-completion-at-point): Use it.
14011 (gud-gdb-completions-1): Split from gud-gdb-completions.
14012
14013 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14014 function as separate arguments.
14015 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14016 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14017 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14018 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14019 (gdb-stopped, def-gdb-auto-update-trigger)
14020 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
14021 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14022 Callers changed.
2170cb53
CY
14023 (gud-gdbmi-completions): New function.
14024 (gdb): Use it for generating the completion table.
14025
be8b11bb
AM
140262011-12-24 Alan Mackenzie <acm@muc.de>
14027
14028 Introduce a mechanism to widen the region used in context font
1d00653d 14029 locking. Use this to protect declarations from losing their contexts.
be8b11bb 14030
1d00653d
SM
14031 * progmodes/cc-langs.el (c-before-font-lock-functions):
14032 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 14033 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
14034 functions to be run just before context (etc.) font locking.
14035
14036 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 14037 New, functionality extracted from
be8b11bb 14038 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 14039 (c-in-after-change-fontification): New variable.
be8b11bb
AM
14040 (c-after-change): Set c-in-after-change-fontification.
14041 (c-set-fl-decl-start): Rejig its interface, so it can be called
14042 from both after-change and context fontifying.
b81d40f0
JB
14043 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14044 New functions.
14045 (c-standard-font-lock-fontify-region-function): New variable.
14046 (c-font-lock-fontify-region): New function.
be8b11bb 14047
341cf6ac
JL
140482011-12-24 Juri Linkov <juri@jurta.org>
14049
14050 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14051 (Bug#10348)
14052
bffcee0a
MA
140532011-12-23 Michael Albinus <michael.albinus@gmx.de>
14054
14055 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14056 existence of source file. (Bug#10325)
14057
cb5e207c
AM
140582011-12-23 Alan Mackenzie <acm@muc.de>
14059
14060 Fix unstable fontification inside templates.
14061
b81d40f0
JB
14062 * progmodes/cc-langs.el (c-before-font-lock-functions):
14063 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
14064 additionally has c-set-fl-decl-start. The other languages (apart
14065 from AWK) have that as a single entry.
14066
b81d40f0
JB
14067 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14068 The functionality for "local" declarations has been extracted to
cb5e207c
AM
14069 c-set-fl-decl-start.
14070
b81d40f0
JB
14071 * progmodes/cc-mode.el (c-common-init, c-after-change):
14072 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
14073 (c-set-fl-decl-start): New function, extracted from
14074 c-font-lock-enclosing-decls and enhanced.
14075
60ff536c
JB
140762011-12-23 Juanma Barranquero <lekktu@gmail.com>
14077
14078 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14079
1c4757d6
JL
140802011-12-22 Juri Linkov <juri@jurta.org>
14081
14082 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14083
d031f2c7
CY
140842011-12-22 Chong Yidong <cyd@gnu.org>
14085
14086 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14087
bace743a
DA
140882011-12-21 Drew Adams <drew.adams@oracle.com>
14089
14090 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14091
728a1f2b
JC
140922011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14093
14094 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14095
0d373f73
TZ
140962011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14097
fec0aaa4
TZ
14098 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14099 highlighting and support. Fix up comments for capitalization.
14100 (cfengine-mode-debug): New var.
14101 (cfengine3-mode): Change the modeline indicator to "CFE3".
14102 (cfengine3-font-lock-keywords): Improve defun highlighting.
14103 (cfengine2-actions): Rename from `cfengine-actions'.
14104 (cfengine2-font-lock-keywords): Rename from
14105 `cfengine-font-lock-keywords'.
14106 (cfengine2-imenu-expression): Rename from
14107 `cfengine-imenu-expression'.
14108 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14109 (cfengine2-beginning-of-defun): Rename from
14110 `cfengine-beginning-of-defun'.
14111 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14112 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14113 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14114 modeline indicator to "CFE2".
14115 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14116 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 14117
bc86f573
CY
141182011-12-21 Chong Yidong <cyd@gnu.org>
14119
14120 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14121 filename argument.
14122
d45ba96b
MR
141232011-12-20 Martin Rudalics <rudalics@gmx.at>
14124
14125 * window.el (window-normalize-buffer-to-display): Remove.
14126 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14127
a6198c90
CY
141282011-12-19 Chong Yidong <cyd@gnu.org>
14129
14130 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14131 Don't signal an error in a predicate function; return non-nil.
14132 (vc-dir-mark-file): Move the error here.
14133 (vc-dir-mark-unmark): If acting on the region, keep going if one
14134 of the entries cannot be marked/unmarked.
14135 (vc-dir-mark-all-files): If current entry is a directory, mark
14136 only child files, as documented.
14137
34c5fb55
VB
141382011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14139
14140 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14141 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14142 addition.
14143
c803b2b7
JD
141442011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14145
14146 * term/ns-win.el (ns-get-selection-internal)
14147 (ns-store-selection-internal): Declare.
1154d12e
JB
14148 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14149 Declare as obsolete.
14150 (ns-get-pasteboard, ns-paste-secondary):
14151 Use ns-get-selection-internal.
41e9b956 14152 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 14153 Use ns-store-selection-internal.
c803b2b7 14154
9cff91f8 141552011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
14156
14157 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 14158 (vc-deduce-fileset): Doc fix.
99a289d9 14159
f16c898a
AS
141602011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14161
14162 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14163
763237c4
SS
141642011-12-13 Sam Steingold <sds@gnu.org>
14165
14166 * man.el (Man-getpage-in-background): When running under a
14167 window-system, ignore $MANWIDTH and $COLUMNS.
14168
5fc1c122
KH
141692011-12-15 Kenichi Handa <handa@m17n.org>
14170
14171 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14172 (setup-ethiopic-environment-internal): Comment out key-binding for
14173 ethio-toggle-punctuation.
14174
13d49cbb
AM
141752011-12-13 Alan Mackenzie <acm@muc.de>
14176
898169a2
AM
14177 Add the switch statement to AWK Mode.
14178
7a71b18d 14179 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
14180 "default" to the keywords regexp.
14181
7a71b18d 14182 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 14183 expression as the rest.
1d00653d
SM
14184 (c-nonlabel-token-key): Allow string literals for AWK.
14185 Refactor for the other modes.
898169a2 14186
13d49cbb 14187 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 14188 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
14189 routines. Limit backward searching in c-font-lock-enclosing.decl.
14190
14191 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14192 pp-state and literal type in addition to the limits.
1d00653d 14193 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 14194 (c-state-literal-at): Use the above new defun.
1d00653d
SM
14195 (c-slow-in-literal, c-fast-in-literal): Remove.
14196 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
14197
14198 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14199 being in a literal. Add a limit for backward searching.
14200
14201 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14202 c-slow-in-literal.
14203
15e0efc7
SM
142042011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14205
14206 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14207
454592a6
MR
142082011-12-13 Martin Rudalics <rudalics@gmx.at>
14209
14210 * window.el (delete-other-windows): Use correct frame in call to
14211 window-with-parameter.
14212
87393f26
DP
142132011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14214
14215 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14216 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14217 (makefile-gmake-statements, makefile-makepp-statements):
14218 Use it and add new makepp keywords.
14219 (makefile-makepp-font-lock-keywords): Add new patterns.
14220 (makefile-match-function-end): Match new [...] and [[...]].
14221
11636b22
JB
142222011-12-11 Juanma Barranquero <lekktu@gmail.com>
14223
14224 * ses.el (ses-call-printer-return, ses-cell-property-get)
14225 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14226 (ses-create-cell-variable, ses-reset-header-string)
14227 (ses-cell-set-formula, ses-repair-cell-reference-all)
14228 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14229 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14230 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14231 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14232 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14233 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14234 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14235 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14236 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14237 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14238 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14239 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14240
cf018193
VB
142412011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14242
14243 * ses.el: The overall change is to add cell renaming, that is
14244 setting fancy names for cell symbols other than name matching
14245 "\\`[A-Z]+[0-9]+\\'" regexp .
14246 (ses-create-cell-variable): New defun.
14247 (ses-relocate-formula): Relocate formulas only for cells the
14248 symbols of which are not renamed, i.e. symbols whose names do not
14249 match regexp "\\`[A-Z]+[0-9]+\\'".
14250 (ses-relocate-all): Relocate values only for cells the symbols of
14251 which are not renamed.
14252 (ses-load): Create cells variables as the (ses-cell ...) are read,
14253 in order to check row col consistency with cell symbol name only
14254 for cells that are not renamed.
14255 (ses-replace-name-in-formula): New defun.
14256 (ses-rename-cell): New defun.
14257
ee957461
CY
142582011-12-11 Chong Yidong <cyd@gnu.org>
14259
14260 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14261 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14262
9a9e9ef0
MR
142632011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
14264
14265 * window.el (other-window): Fix docstring.
14266
92a8eba5
EZ
142672011-12-10 Eli Zaretskii <eliz@gnu.org>
14268
14269 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
14270 `from' or `to' address before taking its substring.
14271 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
14272 encoded name is chopped in the middle of the encoded string, and
14273 thus displayed encoded.
14274
e152e577
JB
142752011-12-10 Juanma Barranquero <lekktu@gmail.com>
14276
14277 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14278
e5d84bfe
EZ
142792011-12-10 Eli Zaretskii <eliz@gnu.org>
14280
14281 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
14282 to use texinfo-update-node and commands that call it if the
14283 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 14284 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
14285 (texinfo-all-menus-update, texinfo-master-menu)
14286 (texinfo-update-node, texinfo-every-node-update)
14287 (texinfo-multiple-files-update): Doc fix. Warn against updating
14288 all the @node lines.
14289 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
14290 argument is numeric. Explain better in the doc string what the
14291 function really does.
14292 (texinfo-insert-master-menu-list): Improve the error message
14293 displayed if there's no menu in the Top node.
14294 (Bug#2975) See also this thread:
e5d84bfe
EZ
14295 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14296
1d84e9bb
MG
142972011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
14298
14299 * speedbar.el (speedbar-supported-extension-expressions):
14300 Add .adb and .ads, commonly used for Ada source code (bug#10256).
14301
382c953b
JB
143022011-12-09 Juanma Barranquero <lekktu@gmail.com>
14303
14304 * printing.el (pr-mode-alist):
14305 * simple.el (filter-buffer-substring-functions)
14306 (completion-list-insert-choice-function):
14307 * window.el (window-with-parameter, window-atom-root)
14308 (window-sides-slots, window-size-fixed, window-min-delta)
14309 (window-max-delta, window--resize-mini-window)
14310 (window--resize-child-windows-normal, window-tree)
14311 (delete-other-windows, quit-window, split-window)
14312 (display-buffer-record-window, special-display-buffer-names)
14313 (special-display-regexps, special-display-popup-frame)
14314 (same-window-p, split-window-sensibly)
14315 (display-buffer-overriding-action, display-buffer-alist)
14316 (display-buffer-base-action, display-buffer, switch-to-buffer)
14317 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14318 (fit-window-to-buffer, recenter-positions)
14319 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14320 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14321 and remove unneeded backslashes in docstrings.
14322
39c9faef
SM
143232011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14324
98449af8
SM
14325 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14326
39c9faef
SM
14327 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14328 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14329 end in ".mk".
14330 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14331 when reading the makefile (bug#10116).
14332
86ed9fdc
SM
143332011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14334
14335 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14336 (bug#10116).
14337
5580f89d
GM
143382011-12-06 Glenn Morris <rgm@gnu.org>
14339
14340 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14341
28d3917c
CY
143422011-12-06 Chong Yidong <cyd@gnu.org>
14343
14344 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14345
a98edce9
JB
143462011-12-06 Juanma Barranquero <lekktu@gmail.com>
14347
14348 * textmodes/table.el (table-shorten-cell): Fix typo.
14349
e65adfac
CG
143502011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14351
14352 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14353
71cc0b74
EZ
143542011-12-05 Eli Zaretskii <eliz@gnu.org>
14355
14356 * descr-text.el (describe-char): Fix display of strong
14357 right-to-left characters and directional embeddings and overrides.
14358
14359 * simple.el (what-cursor-position): Fix display of codepoints of
14360 strong right-to-left characters.
14361
315bc30d
CY
143622011-12-05 Chong Yidong <cyd@gnu.org>
14363
14364 * faces.el (read-color): Doc fix.
14365
58a70b94
GM
143662011-12-05 Glenn Morris <rgm@gnu.org>
14367
14368 * align.el (align--set-marker): Add doc-string.
14369 Don't try to move something that is not a marker. (Bug#10216)
14370
5158face
GM
143712011-12-04 Glenn Morris <rgm@gnu.org>
14372
14373 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14374 overly zealous deletion of trailing whitespace.
14375
520fca41
JB
143762011-12-04 Juanma Barranquero <lekktu@gmail.com>
14377
14378 * server.el (server-delete-client): On Windows, do not try to delete
14379 the only terminal.
14380 (server-process-filter): On Windows, treat requests for a tty frame as
14381 if they were for a GUI frame if the running server is in GUI mode.
14382
5e605a2e
GM
143832011-12-03 Glenn Morris <rgm@gnu.org>
14384
14385 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
14386
5c3fe83f
SM
143872011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14388
6f5e57e7
SM
14389 * electric.el: Streamline electric-indent's hook.
14390 (electric-indent-chars): Revert to simple list.
14391 (electric-indent-functions): New var.
14392 (electric-indent-post-self-insert-function): Use it.
14393
5c3fe83f
SM
14394 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14395 there's no inferior buffer (bug#10196).
14396 (prolog-consult-compile): Don't use toggle-read-only.
14397
6bdac736
MA
143982011-12-02 Michael Albinus <michael.albinus@gmx.de>
14399
14400 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14401 interrupt. (Bug#10187)
14402
6131ba7f
SM
144032011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14404
99c79fee
SM
14405 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14406 (bug#9160).
14407
6131ba7f
SM
14408 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14409 (bug#10191).
14410
cb0a02ea
JL
144112011-12-02 Juri Linkov <juri@jurta.org>
14412
14413 * info.el (Info-search): Display "end of manual" when Isearch
14414 reaches the end of single-file Info manual. (Bug#9918)
14415
66e0570c
EZ
144162011-12-02 Eli Zaretskii <eliz@gnu.org>
14417
14418 * isearch.el (isearch-message-prefix): Run the input method part
14419 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
14420
02b16839
JL
144212011-12-02 Juri Linkov <juri@jurta.org>
14422
14423 * isearch.el (isearch-occur): Use `word-search-regexp' for
14424 `isearch-word'.
14425 (isearch-search-and-update): Add condition for `isearch-word' and
14426 call `word-search-regexp'. (Bug#10145)
14427
0b950688
GM
144282011-12-01 Glenn Morris <rgm@gnu.org>
14429
14430 * eshell/em-hist.el (eshell-hist-initialize):
14431 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 14432 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 14433
9505c3c7
SM
144342011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14435
14436 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14437
1bbe96b2 144382011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 14439
a1beca85
SM
14440 * progmodes/verilog-mode.el (verilog-pretty-expr):
14441 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
14442 verilog, such as += *= and the like.
14443 (verilog-assignment-operator-re): Regular expression to find the
14444 assigment operator in a verilog assignment.
14445 (verilog-assignment-operation-re): Regular expression to find an
14446 assignment statement for pretty-expr.
14447 (verilog-in-attribute-p): Query returns true if point is in an
14448 attribute context; used to skip these for expression line up from
14449 pretty-expr.
14450 (verilog-in-parameter-p): Query returns true if point is in an
14451 parameter definition context; used to skip these for expression
14452 line up from pretty-expr.
14453 (verilog-in-parenthesis-p): Query returns true if point is in a
14454 parenthetical expression, specifically ( ) but not [ ] or { };
14455 used by pretty-expr.
14456 (verilog-just-one-space): If there is no space, don't add one.
14457 (verilog-get-lineup-indent-2): Specifically skip just attribute
14458 contexts for expression lineup, rather than skipping all
14459 parenthetical expressions.
14460 (verilog-calculate-indent): Fix comment, and fix indent.
14461 (verilog-do-indent): Indent declarations in lists (suggested by
14462 Joachim Lechner).
14463 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14464 skeleton items.
14465 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14466 by Alain Mellan).
14467
1bbe96b2 144682011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
14469
14470 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14471 parameters with embedded comments. Reported by Ray Stevens.
14472 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14473 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14474 Reported by Tim Holt.
14475 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14476 instantiated by upper module causing wrong expansion until AUTOed a
14477 second time. Reported by K C Buckenmaier.
14478 (verilog-diff-auto): Fix showing .* as a difference when
14479 `verilog-auto-star-save' off. Reported by Dan Dever.
14480 (verilog-auto-reset, verilog-read-always-signals)
14481 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14482 temporary signals in reset list if
14483 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
14484 style to each signal's assignment type, bug381.
14485 Reported by Thomas Esposito.
6288f0ca
WS
14486 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14487 (verilog-uvm-statement-re): Support UVM indentation and
14488 highlighting, with old OVM keywords only.
a1beca85 14489 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
14490 Support AUTOTIEOFF creating non-wire data types.
14491 Suggested by Jonathan Greenlaw.
6288f0ca
WS
14492 (verilog-auto-insert-lisp, verilog-delete-to-paren)
14493 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14494 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
14495 (verilog-read-sub-decls, verilog-read-sub-decls-line):
14496 Fix mismatching parenthesis inside commented out code when deleting
382c953b 14497 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
14498 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14499 non-numeric vector width. Reported by Alex Reed.
14500 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 14501 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
14502 (verilog-auto-delete-trailing-whitespace):
14503 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
14504 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
14505 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14506 Fix verilog-scan-cache corruption when running user AUTO expansion
14507 hooks that call indentation routines.
14508 (verilog-simplify-range-expression): Fix typo ignoring lower case
14509 identifiers.
14510 (verilog-delete-auto): Fix delete-autos to also remove user created
14511 automatics, as long as they start with AUTO.
14512 (verilog-batch-diff-auto, verilog-diff-auto)
14513 (verilog-diff-function): Add `verilog-diff-auto' and bind to
14514 "C-c?" to report differences in AUTO expansion, ignoring spaces.
14515 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
14516 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
14517 (verilog-re-search-forward-quick, verilog-syntax-ppss):
14518 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
14519 is disabled and its cache will get corrupt, causing AUTOS not to
14520 expand. Instead use only -quick functions.
14521 (verilog-scan-region): Fix scanning over escaped quotes.
14522 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14523 (verilog-re-search-backward-quick)
14524 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14525 related functions now ignore strings, to fix misparsing of strings
14526 with magic comments embedded in them.
a1beca85
SM
14527 (verilog-read-auto-template):
14528 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14529 Reported by Brad Dobbie.
14530 (verilog-read-auto-template):
14531 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 14532 Reported by Brad Dobbie.
6288f0ca
WS
14533 (verilog-auto-inst, verilog-auto-inst-param)
14534 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14535 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
14536 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
14537 debugging templates without merge conflicts, bug357.
14538 Reported by Brad Dobbie.
14539 (verilog-read-auto-template):
14540 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
14541 Reported by Brad Dobbie.
14542 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14543 abbrevs so user won't be asked to save.
14544 (verilog-read-auto-lisp-present): Fix to start at beginning of
14545 buffer in case called outside of verilog-auto.
14546 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14547 to "X-2". Reported by Matthew Myers.
14548 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14549 all inputs from module templates. Reported by Leith Johnson.
14550 (verilog-module-inside-filename-p): Fix locating programs as with
14551 modules.
14552 (verilog-auto-inst-port): Fix vl-width expressions when using
14553 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
14554 (verilog-decls-get-regs, verilog-decls-get-signals,
14555 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14556 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14557 verilog-read-decls): Combine reg and wire structures into one var
14558 structure to represent SystemVerilog concepts.
14559 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14560 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
14561 (verilog-auto-wire-type, verilog-insert-definition):
14562 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
14563 SystemVerilog "logic" keyword instead of "wire"/"reg".
14564 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
14565 to declares outputs that also have assignments (presumably in an
a1beca85
SM
14566 ifdef or generate if so there's not a driver conflict).
14567 Reported by Matthew Myers.
14568 (verilog-auto-declare-nettype, verilog-insert-definition):
14569 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
14570 `default_nettype none. Reported by Julian Gorfajn.
14571 (verilog-read-always-signals-recurse, verilog-read-decls)
14572 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
14573 malformed end statement, bug325. Reported by Joshua Wise and
14574 Andrew Drake.
14575 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
14576 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
14577 when expanding .* in interfaces, bug320.
14578 Reported by Pierre-David Pfister.
6288f0ca 14579 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
14580 name and open parenthesis, bug317.
14581 Reported by Pierre-David Pfister.
6288f0ca
WS
14582 (verilog-simplify-range-expression): Fix simplification of
14583 multiplications inside AUTOWIRE connections, bug303.
14584 (verilog-auto-inst-port): Support parameter expansion in
14585 multidimensional arrays.
14586 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
14587 after "assert property". Reported by Julian Gorfajn.
14588 (verilog-simplify-range-expression): Fix "couldn't merge" errors
14589 with multiplication, bug303.
14590 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14591 Reported by Jan Frode Lonnum.
14592
1bbe96b2
GM
145932011-11-30 Juanma Barranquero <lekktu@gmail.com>
14594
14595 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14596 (hfy-shell-file-name, hfy-shell):
14597 * international/fontset.el (x-decompose-font-name): Fix typos.
14598
145992011-11-29 Ken Brown <kbrown@cornell.edu>
14600
14601 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14602 (gdb-version): Remove defvar.
14603 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14604 (gdb-gud-context-command, gdb-non-stop-handler)
14605 (gdb-current-context-command, gdb-stopped): Use it.
14606 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
14607 (gdb-non-stop-handler): Don't enable pretty-printing here.
14608 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
14609 non-stop mode. Use the following.
14610 (gdb-check-target-async): New defun.
14611 (gud-watch, gdb-stopped): Fix whitespace.
14612 (gdb-get-source-file): Don't try to display the source file if
14613 `gdb-main-file' is nil.
14614
146152011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14616
14617 * align.el: Try to generate fewer markers (bug#10047).
14618 (align--set-marker): New macro.
14619 (align-region): Use it.
14620
c935221f
SM
146212011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14622
14623 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14624
e70b5064
CY
146252011-11-29 Chong Yidong <cyd@gnu.org>
14626
14627 * indent.el (indent-for-tab-command, indent-according-to-mode):
14628 Doc fix.
14629 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
14630
f3af92b7
MA
146312011-11-29 Michael Albinus <michael.albinus@gmx.de>
14632
14633 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14634 aware of remote file names. (Bug#10124)
14635
ed472be9
CY
146362011-11-29 Chong Yidong <cyd@gnu.org>
14637
14638 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14639
24510c22
SM
146402011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14641
14642 * files.el (find-file): Don't use force-same-window (bug#10144).
14643 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14644 use pop-to-buffer if the selected window can't be used.
14645 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14646
c60c3703
EZ
146472011-11-28 Eli Zaretskii <eliz@gnu.org>
14648
14649 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14650 special-mode-map.
14651
e95def75
CY
146522011-11-28 Chong Yidong <cyd@gnu.org>
14653
14654 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14655
c3f1c606
NR
146562011-11-27 Nick Roberts <nickrob@snap.net.nz>
14657
14658 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14659 gdb-get-source-file-list on gdb-create-source-file-list.
14660
00db469c
EZ
146612011-11-26 Eli Zaretskii <eliz@gnu.org>
14662
14663 * whitespace.el (whitespace-newline): Use a different foreground
14664 color for 16-color light-background displays.
14665
4ad3bc2a
CY
146662011-11-24 Chong Yidong <cyd@gnu.org>
14667
14668 * window.el (display-buffer--special-action): Doc fix.
14669
e9fce1ac
JB
146702011-11-25 Juanma Barranquero <lekktu@gmail.com>
14671
14672 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14673 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14674 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14675 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14676 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14677 (avl-tree-stack-first):
14678 * emacs-lisp/cconv.el (cconv--analyse-use):
14679 * net/gnutls.el (gnutls-negotiate): Fix typos.
14680
cb825e5d
GM
146812011-11-24 Glenn Morris <rgm@gnu.org>
14682
3adbe224
GM
14683 * lpr.el (lpr-windows-system, lpr-lp-system):
14684 * mail/binhex.el (binhex-begin-line):
14685 * progmodes/grep.el (grep-history, grep-find-history):
14686 * textmodes/flyspell.el:
14687 * vc/pcvs-defs.el (cvs-global-menu):
14688 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14689 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14690 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14691
321decc8
GM
14692 * net/tls.el: Fix case of "GnuTLS".
14693
420b63ad
GM
14694 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14695
cb825e5d
GM
14696 * version.el (emacs-build-system): Give it a doc-string.
14697
a0649f08
JL
146982011-11-24 Juri Linkov <juri@jurta.org>
14699
14700 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14701
c0bc0fd4
GM
147022011-11-24 Glenn Morris <rgm@gnu.org>
14703
14704 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14705 if called on a non-mime message just toggle the headers. (Bug#8006)
14706
20db1522
JB
147072011-11-24 Juanma Barranquero <lekktu@gmail.com>
14708
14709 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14710 (allout-lead-with-comment-string, allout-structure-deleted-hook)
14711 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14712 (allout-rebullet-heading, allout-open-sibtopic)
14713 (allout-toggle-current-subtree-encryption)
14714 (allout-toggle-subtree-encryption, allout-encrypt-string)
14715 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14716 (allout-distinctive-bullets-string, allout-auto-activation):
14717 * window.el (window-normalize-buffer-to-display):
14718 * progmodes/verilog-mode.el (verilog-batch-indent):
14719 * textmodes/bibtex.el (bibtex-field-braces-opt)
14720 (bibtex-field-strings-opt):
14721 * vc/cvs-status.el (cvs-tree-merge):
14722 Fix typos.
14723
7262a87c
MA
147242011-11-23 Michael Albinus <michael.albinus@gmx.de>
14725
14726 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14727 `non-essential' to t, in order to avoid remote connections.
14728
283430a1
EZ
147292011-11-23 Eli Zaretskii <eliz@gnu.org>
14730
a1beca85
SM
14731 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14732 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
14733 case-insensitively.
14734
d2992a38
ML
147352011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14736
14737 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
14738
50419064
GM
147392011-11-23 Glenn Morris <rgm@gnu.org>
14740
da94eca1
GM
14741 * paths.el (rmail-file-name): Reformat the doc-string so that it
14742 is picked up.
14743
9aac4de2
GM
14744 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14745 (rmail-auto-file): Ignore case in the "special" field names,
14746 as mail-fetch-field does for all others.
14747
8038d2d2
GM
14748 * mail/rmail.el (rmail-forward):
14749 * mail/rmailkwd.el (rmail-set-label):
14750 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14751 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
14752
f3fe222a
GM
14753 * mail/rmail.el (rmail-current-message): Doc fix.
14754
50419064
GM
14755 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
14756
28109f49
SM
147572011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14758
14759 * server.el (server-eval-and-print): Allow C-g (bug#6585).
14760
394c65f1
GM
147612011-11-22 Glenn Morris <rgm@gnu.org>
14762
14763 * mail/rmailmm.el (test-rmail-mime-handler)
14764 (test-rmail-mime-bulk-handler)
14765 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14766
f2a0aa3a
JL
147672011-11-21 Juri Linkov <juri@jurta.org>
14768
1154d12e
JB
14769 * calc/calc.el (calc-read-key-sequence):
14770 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 14771
9c34a344
LMI
147722011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14773
14774 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14775 Tell the caller that the next line needs recomputation, even
14776 though it doesn't start a sexp (bug#10094).
14777
f04a3be9
SM
147782011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14779
14780 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14781
7978747f
SM
147822011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14783
f04a3be9
SM
14784 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14785 Use force-same-window.
7978747f 14786
fe7a3057
JB
147872011-11-20 Juanma Barranquero <lekktu@gmail.com>
14788
14789 * descr-text.el (describe-char-unicode-data):
14790 * json.el (json-string-escape):
14791 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14792 (Footnote-unicode, Footnote-style-p):
14793 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14794
24901d61
CY
147952011-11-20 Chong Yidong <cyd@gnu.org>
14796
14797 * window.el (replace-buffer-in-windows): Restore interactive spec.
14798
bac7ff22
SM
147992011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14800
24f3d7b9
SM
14801 * electric.el (electric-indent-mode): Fix last change (too optimistic).
14802
bac7ff22
SM
14803 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14804 (byte-compile-global-not-obsolete-vars): New var.
14805 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14806 Use it.
14807 (byte-compile-warn-obsolete): Align text with the one in *Help*.
14808
cd1181db
JB
148092011-11-20 Juanma Barranquero <lekktu@gmail.com>
14810
14811 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14812 * progmodes/pascal.el (electric-pascal-equal):
14813 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14814 * xml.el (xml-substitute-special): Fix typos.
14815
7fb18e9e
GM
148162011-11-20 Glenn Morris <rgm@gnu.org>
14817
14818 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14819 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14820 Doc fixes.
14821 (rmail-decode-mime-charset): Mark as obsolete.
14822
14823 * mail/rmailsum.el (rmail-message-regexp-p-1):
14824 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14825 Before using mime functions, check they are set. (Bug#10077)
14826
d5a6b3ba
JL
148272011-11-19 Juri Linkov <juri@jurta.org>
14828
14829 * info.el (Info-finder-find-node): Use `package--builtins' instead
14830 of `package-alist'. Use node names formed by the pattern "Keyword "
14831 and the keyword name.
14832
e981b61f
AS
148332011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14834
1d00653d 14835 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 14836
3ffbc301
JL
148372011-11-19 Juri Linkov <juri@jurta.org>
14838
14839 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14840 that calls `revert-buffer' on all Info buffers. (Bug#9915)
14841 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14842 `old-history', `old-history-forward'. Add let-binding
14843 `window-selected'. Remove calls to `kill-buffer',
14844 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
14845 before calling `Info-find-node', so `Info-find-node-2' will reread
14846 the Info file. Restore window positions only when `window-selected'
14847 is non-nil.
14848
30c62133
JL
148492011-11-19 Juri Linkov <juri@jurta.org>
14850
14851 * isearch.el (isearch-lazy-highlight-new-loop):
14852 Remove condition `(not isearch-error)'. (Bug#9918)
14853
14854 * misearch.el (multi-isearch-search-fun): Add condition
14855 `(not bound)' to ignore lazy-highlighting search.
14856 Add the search-failed message "end of multi" when the end of
14857 multi-sequence is reached. Uncapitalize the search-failed
14858 message "Repeat for next buffer".
14859
14860 * info.el (Info-search): Add the search-failed message
14861 "end of the manual" when the end of the manual is reached
14862 in Isearch mode.
14863
645ca9cf
JL
148642011-11-19 Juri Linkov <juri@jurta.org>
14865
14866 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14867 Use non-destructive `remove' instead of `delete' because
14868 `Info-history-list' stored to `Info-isearch-initial-history-list' in
14869 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14870
df754f66
JL
148712011-11-19 Juri Linkov <juri@jurta.org>
14872
14873 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14874 to nil instead of binding `search-ring' and `regexp-search-ring'.
14875 (Bug#9185)
14876
0e23d96a
EZ
148772011-11-19 Eli Zaretskii <eliz@gnu.org>
14878
14879 * simple.el (line-move): Force movement by logical lines for any
14880 hscrolled window, not only when auto-hscroll-mode is on.
14881 (line-move-visual): Update doc string to that effect. (Bug#10076)
14882
8a6ccb66
AS
148832011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14884
14885 * language/european.el (macintosh): Define as alias for mac-roman.
14886
49ae5b39
EZ
148872011-11-19 Eli Zaretskii <eliz@gnu.org>
14888
14889 * mail/rmailmm.el (rmail-mime-display-header)
14890 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14891 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14892 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14893 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14894 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14895 of a raw aref.
14896 (rmail-mime-entity-segment): To get past the tagline, move forward
14897 2 more lines, to account for the 2 empty lines that precede and
14898 follow the line with the buttons.
14899 (rmail-mime-update-tagline): Move one more line, to get past the
14900 empty line that follows the buttons in the tagline. (Bug#9520)
14901
c56cad4a
MR
149022011-11-19 Martin Rudalics <rudalics@gmx.at>
14903
14904 * window.el (window-max-delta-1, window-min-delta-1)
14905 (window-min-size-1, window-state-get-1, window-state-put-1)
14906 (window-state-put-2): Use "window--" prefix.
14907
cbe71af3
SM
149082011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14909
2ad52c60
SM
14910 * emacs-lisp/smie.el: Improve warnings and conflict detection.
14911 (smie-warning-count): New var.
14912 (smie-set-prec2tab): Use it.
14913 (smie-bnf->prec2): Improve warnings. Add docstring.
14914 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
14915 (smie-bnf--set-class): New function.
14916 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
14917 corner case.
14918
6944dbc1
SM
14919 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
14920 (compilation-error-properties, compilation-move-to-column):
14921 Handle compilation-first-column while in the target buffer.
14922
c400c4d7
SM
14923 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
14924 Don't hardcode point-min==1.
14925
6dbe3e96
SM
14926 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
14927 (eshell-rewrite-for-command): Remove workaround.
14928 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
14929 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
14930 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
14931
cbe71af3
SM
14932 * files-x.el (modify-file-local-variable): Obey commenting conventions.
14933
a8e1496d
GM
149342011-11-17 Glenn Morris <rgm@gnu.org>
14935
14936 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14937 Ignore buffer-local generated-autoload-file if it is the same
14938 as the global value. (Bug#10049)
14939
df85d315
JB
149402011-11-17 Juanma Barranquero <lekktu@gmail.com>
14941
14942 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14943 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14944 (reftex-toc-previous-heading, reftex-toc-max-level)
14945 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14946 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14947 (reftex-toc-do-promote, reftex-toc-promote-prepare)
14948 (reftex-toc-promote-action, reftex-toc-extract-section-number)
14949 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14950 (reftex-toc-rename-label, reftex-toc-visit-location)
14951 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14952 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14953 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14954 leaving "*toc*" only for references to the buffer.
14955
a0c2d0ae
MR
149562011-11-17 Martin Rudalics <rudalics@gmx.at>
14957
14958 * window.el (window-resize, delete-window, split-window):
14959 Replace window-splits by window-combination-resize.
1d00653d 14960 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 14961
35c0bac8
GM
149622011-11-17 Glenn Morris <rgm@gnu.org>
14963
14964 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14965 Make bash entry derive from sh entry, not shell entry.
14966
d0c8fc8a
MA
149672011-11-16 Michael Albinus <michael.albinus@gmx.de>
14968
7262a87c
MA
14969 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14970 local file name.
14971
7877f373
JB
149722011-11-16 Juanma Barranquero <lekktu@gmail.com>
14973
14974 * menu-bar.el (menu-bar-file-menu):
14975 * printing.el (pr-ps-utility):
14976 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14977 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14978 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14979 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14980 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14981 (icalendar--convert-cyclic-to-ical)
14982 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14983 (icalendar--convert-ical-to-diary)
14984 (icalendar--convert-recurring-to-diary)
14985 (icalendar--convert-non-recurring-all-day-to-diary)
14986 (icalendar-import-format-sample):
14987 * progmodes/idlw-shell.el (idlwave-shell-mode):
14988 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14989 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14990 (vhdl-ps-print-init): Fix typos.
14991
10649b82
KM
149922011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14993
9d0cfcd6
GM
14994 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14995 FSF and collapse date sequence, obscure author/maintainer email address
14996 better, remove extra version line, track relocation of author's webpage.
10649b82 14997
9d0cfcd6
GM
14998 * progmodes/python.el (python-pdbtrack-input-prompt)
14999 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15000 regular python pdb prompts. Adjustments shamelessly taken exactly as
15001 suggested in EmacsWiki page (tiny change):
15002 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 15003
58179cce
JB
150042011-11-16 Juanma Barranquero <lekktu@gmail.com>
15005
15006 * expand.el (expand-pos, expand-index, expand-point):
15007 Remove redundant info from docstring.
15008 (expand-add-abbrevs): Doc fix.
15009 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15010 (expand-sample-perl-mode-expand-list): Fix typos.
15011
15012 * net/dbus.el (dbus-event-member-name):
15013 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15014 * term/pc-win.el (msdos-create-frame-with-faces):
15015 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15016
b6f67890
MR
150172011-11-16 Martin Rudalics <rudalics@gmx.at>
15018
15019 * window.el (split-window, window-state-get-1)
15020 (window-state-put-1, window-state-put-2): Rename occurrences of
15021 window-nest to window-combination-limit.
1d00653d 15022 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 15023
ce7ddba0
CY
150242011-11-16 Chong Yidong <cyd@gnu.org>
15025
15026 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15027 regexp (Bug#10033).
15028
3ae704f4
SM
150292011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15030
15031 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15032 `completing-read' will remove *Completions* and will preserve
15033 current-buffer for us.
15034 (tmm-add-prompt): Users of *Completions* will always (re)set its
15035 major mode.
15036 (tmm-old-comp-map): Remove.
15037
6ad1cdde
GM
150382011-11-16 Glenn Morris <rgm@gnu.org>
15039
15040 * mail/rmailedit.el: Require rmailmm when compiling.
15041 (rmail-old-mime-state): New declaration.
15042 (rmail-edit-current-message): If editing a mime message,
15043 edit the "raw" message from the mbox buffer.
15044 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15045
d20faa20
GM
150462011-11-15 Glenn Morris <rgm@gnu.org>
15047
15048 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15049 which wasn't being used. Add optional arg to force given state.
15050 (rmail-mime): Add optional arg to force given state.
15051
c7015153
JB
150522011-11-15 Juanma Barranquero <lekktu@gmail.com>
15053
15054 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15055 * frame.el (display-mm-dimensions-alist):
15056 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15057 (outline-move-subtree-down):
15058 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15059 (newsticker--treeview-do-get-node):
15060 * net/quickurl.el (quickurl-list-buffer-name):
15061 * progmodes/dcl-mode.el (dcl-mode):
15062 * progmodes/gdb-mi.el (gdb-mapcar*):
15063 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15064
45261b50
GM
150652011-11-15 Glenn Morris <rgm@gnu.org>
15066
15067 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15068 in a boolean sense, so just make it a boolean, and fix the doc.
15069 (rmail-show-mime-function, rmail-mime-feature)
15070 (rmail-require-mime-maybe): Doc fixes.
15071 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15072
15073 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15074
0d26e0b6
JB
150752011-11-15 Juanma Barranquero <lekktu@gmail.com>
15076
15077 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15078 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15079 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15080 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15081
447f30f6
GM
150822011-11-15 Glenn Morris <rgm@gnu.org>
15083
672b871d
GM
15084 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15085 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15086 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15087 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15088 (rmail-mime, rmail-show-mime): Doc fixes.
15089
f6aa5bb1
GM
15090 * term/ns-win.el (mode-line-frame-identification):
15091 Leave it alone. (Bug#10051)
15092
947cd66b
GM
15093 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15094
447f30f6
GM
15095 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15096 Handle empty buffers. (Bug#9978)
15097
0b381c7e
JB
150982011-11-14 Juanma Barranquero <lekktu@gmail.com>
15099
15100 * international/mule.el (define-charset):
15101 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15102 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15103 * progmodes/verilog-mode.el (verilog-backward-token):
15104 * textmodes/ispell.el (lookup-words):
15105 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15106
71e027ac
GM
151072011-11-14 Glenn Morris <rgm@gnu.org>
15108
56632ce4
GM
15109 * progmodes/executable.el
15110 (executable-make-buffer-file-executable-if-script-p):
15111 Handle file-modes returning nil.
15112
40500957
GM
15113 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15114 message - not necessary, and causes problems. (Bug#9831)
15115
071c2340
GM
15116 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15117
d3cfca60
GM
15118 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15119
71e027ac
GM
15120 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15121 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15122 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15123
89d61221
MR
151242011-11-12 Martin Rudalics <rudalics@gmx.at>
15125
15126 * window.el (window-resize, delete-window): Use window-splits
15127 variable instead of function.
15128 (window-state-get-1, window-state-put-2, window-state-put):
15129 Don't deal with windows' splits status.
15130
98282f6f
GM
151312011-11-12 Glenn Morris <rgm@gnu.org>
15132
15133 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15134 (apropos-documentation): Doc fixes.
15135
40a8bdf6
JB
151362011-11-11 Juanma Barranquero <lekktu@gmail.com>
15137
15138 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15139 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15140
65bd19ff
SM
151412011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15142
15143 * electric.el (electric-indent-post-self-insert-function): Make it
15144 possible for a char to only indent in some circumstances.
15145 (electric-indent-mode): Simplify.
15146
54f9154c
MR
151472011-11-11 Martin Rudalics <rudalics@gmx.at>
15148
15149 * window.el (windows-with-parameter): Remove unused function.
15150 (windows-at-side): Rename to window-at-side-list.
15151 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
15152 (window-side-check, window-size-ignore, window-size-fixed-1)
15153 (window-in-direction-2): Prefix with "window--".
15154 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 15155
68cbc58b
GM
151562011-11-11 Glenn Morris <rgm@gnu.org>
15157
15158 * subr.el (eval-after-load): If FILE is already loaded,
15159 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15160
b2621720
GM
151612011-11-10 Glenn Morris <rgm@gnu.org>
15162
9a4de110
GM
15163 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15164 Call svn via vc-svn-command rather than vc-do-command.
15165 (vc-svn-command): Add --non-interactive. (Bug#9993)
15166 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15167
b2621720
GM
15168 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15169 Add toggle-read-only. (Bug#7292)
15170 * files.el (toggle-read-only): Mention that it should only
15171 be used interactively. (Bug#10006)
15172
1dce7193
SM
151732011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15174
d9ac1a1e
SM
15175 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15176 Adjust regexp for OCaml warnings.
15177
0c325082
SM
15178 * electric.el (electric-pair-post-self-insert-function): Let user
15179 turn it off buffer-locally (bug#9932).
15180
90132c14
SM
15181 * progmodes/python.el (python-beginning-of-statement):
15182 Rewrite (bug#2703).
15183
1dce7193
SM
15184 * progmodes/compile.el: Better handle TABs (bug#9749).
15185 (compilation-internal-error-properties)
15186 (compilation-next-error-function): Obey the target buffer's
15187 compilation-error-screen-columns.
15188
c4e7c63a
JB
151892011-11-09 Juanma Barranquero <lekktu@gmail.com>
15190
15191 * progmodes/meta-mode.el: Remove obsolete comments.
15192 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15193 Fix typos in docstrings.
15194
2cffd681
MR
151952011-11-09 Martin Rudalics <rudalics@gmx.at>
15196
15197 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 15198 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
15199 (window--resizable): New function. Make all callers of
15200 window-resizable call window--resizable instead.
15201 (window-resizable): Rewrite in terms of window--resizable.
15202
0edcba87
GM
152032011-11-08 Glenn Morris <rgm@gnu.org>
15204
15205 * progmodes/delphi.el (delphi-mode-syntax-table):
15206 Let define-derived-mode define a proper syntax table. (Bug#9994)
15207
4b0d61e3
SM
152082011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15209
15210 * window.el: Stay away from defsubst.
15211 (window-list-no-nils): Remove.
15212 (window-state-get-1, window-state-get): Use backquote instead.
15213
cd394be1 152142011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 15215
4b0d61e3 15216 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 15217 Fix incorrect use of default argument in `completing-read'.
15218
e1c2c6f2
MR
152192011-11-08 Martin Rudalics <rudalics@gmx.at>
15220
15221 * window.el (display-buffer-function, special-display-function):
15222 Mention display-buffer-record-window but do not mention
15223 help-setup parameter in doc-strings.
b3f4a882 15224 (window-min-delta): Fix doc-string typo.
e1c2c6f2 15225
105216ed
CY
152262011-11-08 Chong Yidong <cyd@gnu.org>
15227
15228 * window.el (window-total-height, window-total-width): Doc fix.
15229 (window-body-size): Move from C.
15230 (window-body-height, window-body-width): Move to C.
15231
0a9f9ab5
SM
152322011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15233
15234 * window.el: Make special-display like display-buffer-alist (bug#9532).
15235 (display-buffer--special-action): New function, morphed
15236 from display-buffer--special.
15237 (display-buffer): Use it to handle special-display-buffers at higher
15238 priority (just after display-buffer-alist).
15239 (display-buffer-fallback-action, display-buffer--other-frame-action)
15240 (pop-to-buffer-same-window): Remove display-buffer--special.
15241
a769dd15
GM
152422011-11-07 Glenn Morris <rgm@gnu.org>
15243
15244 * calendar/cal-menu.el (cal-menu-set-date-title):
15245 Do nothing if not in a calendar. (Bug#9976)
15246
05a61ee3
SM
152472011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15248
15249 * files.el (find-file): Always use selected-window.
15250
be7f5545
MR
152512011-11-07 Martin Rudalics <rudalics@gmx.at>
15252
15253 * window.el (window-combinations): Make WINDOW argument
15254 mandatory. Rewrite doc-string.
15255 (walk-window-subtree, window-atom-check, window-min-delta)
15256 (window-max-delta, window--resize-this-window)
15257 (window--resize-root-window-vertically, window-tree)
15258 (balance-windows, window-state-put): Rewrite doc-strings as to
15259 not mention the term "subwindow".
15260 (window--resize-subwindows-skip-p): Rename to
15261 window--resize-child-windows-skip-p.
15262 (window--resize-subwindows-normal): Rename to
15263 window--resize-child-windows-normal.
15264 (window--resize-subwindows): Rename to
15265 window--resize-child-windows.
15266 (window-or-subwindow-p): Rename to window--in-subtree-p.
15267
3c6702ef
ML
152682011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15269
15270 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15271 Ensure that mbox format messages end in two newlines (Bug#9974).
15272
49745b39
CY
152732011-11-06 Chong Yidong <cyd@gnu.org>
15274
15275 * window.el (window-combination-p): Function deleted; its
15276 side-effect is not used in any existing code.
15277 (window-combinations, window-combined-p): Call window-*-child
15278 directly.
15279
24300f5f
CY
152802011-11-05 Chong Yidong <cyd@gnu.org>
15281
15282 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
15283 (window-size-ignore, window-state-get): Callers changed.
15284 (window-normalize-window): Rename from window-normalize-any-window.
15285 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 15286 (window-normalize-live-window): Delete.
447f16b8
CY
15287 (window-combination-p, window-combined-p, window-combinations)
15288 (walk-window-subtree, window-atom-root, window-min-size)
15289 (window-sizable, window-sizable-p, window-size-fixed-p)
15290 (window-min-delta, window-max-delta, window-resizable)
15291 (window-resizable-p, window-full-height-p, window-full-width-p)
15292 (window-current-scroll-bars, window-point-1, set-window-point-1)
15293 (window-at-side-p, window-in-direction, window-resize)
15294 (adjust-window-trailing-edge, maximize-window, minimize-window)
15295 (window-deletable-p, delete-window, delete-other-windows)
15296 (record-window-buffer, unrecord-window-buffer)
15297 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15298 (quit-window, split-window, window-state-put)
15299 (set-window-text-height, fit-window-to-buffer)
15300 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 15301
89bd5ee1
EZ
153022011-11-04 Eli Zaretskii <eliz@gnu.org>
15303
53479029
EZ
15304 * mail/rmail.el (rmail-simplified-subject): Decode subject with
15305 rfc2047-decode-string.
15306 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15307 warnings.
15308
89bd5ee1
EZ
15309 * window.el (window-body-height, window-body-width): Mention in
15310 the doc string that the return values are in frame's canonical
15311 units. (Bug#9949)
15312
bd17fdee
AM
153132011-11-03 Alan Mackenzie <acm@muc.de>
15314
15315 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15316 change in cc-engine.el.
15317
acc825c5
SM
153182011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15319
15320 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15321
1885e5b8
MR
153222011-11-02 Martin Rudalics <rudalics@gmx.at>
15323
15324 * window.el (quit-window): Call unrecord-window-buffer after
15325 showing another buffer in the window. (Bug#9937)
acc825c5 15326 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 15327
ebe06da9
JB
153282011-11-02 Juanma Barranquero <lekktu@gmail.com>
15329
15330 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15331 Accept status with more than 9 shelves. (Bug#9935)
15332 Reported by Colin D Bennett <colin@gibibit.com>.
15333
4ee88440
MR
153342011-11-01 Martin Rudalics <rudalics@gmx.at>
15335
15336 * help.el (with-help-window): Don't reference
15337 temp-buffer-show-specifiers in doc-string.
15338
08e1d82c
AS
153392011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15340
15341 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15342 menu-item.
15343
84bd6e9e
VJL
153442011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15345
15346 * whitespace.el: New version 13.2.2.
15347 (whitespace-newline-mode): Disable properly. Reported by Sarah
15348 <EmacsWiki>.
15349
dba0634a
UJ
153502011-10-30 Ulf Jasper <ulf.jasper@web.de>
15351
15352 * net/newst-treeview.el: Remove "Time-stamp".
15353 (newsticker--group-manage-orphan-feeds): Do not call
15354 newsticker--treeview-tree-update.
db22a3c2
JB
15355 (newsticker-treeview-update, newsticker-treeview):
15356 Call newsticker--treeview-tree-update if necessary.
dba0634a 15357
3d8daefe
MR
153582011-10-30 Martin Rudalics <rudalics@gmx.at>
15359
15360 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
15361 (window-iso-combinations): Remove "iso-" infix.
15362 Suggested by Chong Yidong.
3d8daefe
MR
15363 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15364 (window-max-delta-1, window-resize, window--resize-siblings)
15365 (window--resize-this-window, adjust-window-trailing-edge)
15366 (split-window, balance-windows-1)
15367 (shrink-window-if-larger-than-buffer):
15368 * calendar/calendar.el (calendar-generate-window):
db22a3c2 15369 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 15370
1bc4c3ae
SM
153712011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15372
15373 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15374 in place (bug#9907).
15375 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15376 (eshell-rewrite-if-command, eshell-rewrite-for-command)
15377 (eshell-structure-basic-command, eshell-rewrite-while-command)
15378 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15379 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15380 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15381 (eshell-do-pipelines-synchronously, eshell-eval-command):
15382 Use backquotes and prefer setq to set.
15383 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15384 (eshell-macrop): Use functionp.
c1e2f5fa 15385 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 15386
30b65d9c
CY
153872011-10-30 Chong Yidong <cyd@gnu.org>
15388
15389 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15390 instead of set-mark (Bug#9810).
15391
2d197ffb
CY
153922011-10-30 Chong Yidong <cyd@gnu.org>
15393
15394 * window.el (split-window-below, split-window-right): Rename from
15395 split-window-above-each-other and split-window-side-by-side
15396 respectively. All callers changed.
15397 (split-window-sensibly, split-window-sensibly): Use them.
15398 (split-window-keep-point): Doc fix.
15399
15400 * isearch.el: Add isearch-scroll property to split-window-below
15401 and split-window-right.
15402
15403 * follow.el (follow-mode):
15404 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15405 * progmodes/ada-xref.el (ada-gdb-application):
15406 * emulation/vip.el (vip-buffer-in-two-windows):
15407 * image-dired.el (image-dired-dired-with-window-configuration):
15408 * dired-x.el (dired-do-find-marked-files):
15409 * dired.el (dired-pop-to-buffer):
15410 * bs.el (bs--show-with-configuration):
15411 * vc/emerge.el (emerge-setup-windows):
15412 * textmodes/two-column.el (2C-two-columns):
15413 * textmodes/reftex-toc.el (reftex-toc):
15414 * progmodes/gdb-mi.el (gdb-setup-windows):
15415 * progmodes/fortran.el (fortran-window-create):
15416 * net/newst-treeview.el (newsticker--treeview-window-init):
15417 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15418 * emulation/tpu-edt.el (tpu-gold-map):
15419 * emulation/crisp.el (crisp-mode-map):
15420 * calendar/calendar.el (calendar-basic-setup): Callers changed.
15421
38bb2ca8
CY
154222011-10-29 Chong Yidong <cyd@gnu.org>
15423
aa4de341
CY
15424 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15425
e1eb5385
CY
15426 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15427
5d2ece3c
CY
15428 * textmodes/flyspell.el (flyspell-word): Fix char offset for
15429 forged Ispell output (Bug#7904).
15430
38bb2ca8
CY
15431 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15432
d0af9f77
SM
154332011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15434
15435 * doc-view.el: Avoid ugly errors about not finding nil.
15436 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15437 (doc-view-dvipdf-program, doc-view-unoconv-program)
15438 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15439 Avoid nil or absolute file name as default value.
15440 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15441
52bedd34
AM
154422011-10-28 Alan Mackenzie <acm@muc.de>
15443
db22a3c2 15444 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 15445
7e43cfa5
AM
154462011-10-28 Alan Mackenzie <acm@muc.de>
15447
15448 Amend the handling of c-beginning/end-of-defun in nested declaration
15449 scopes.
15450
52bedd34
AM
15451 * progmodes/cc-vars.el (c-defun-tactic): Move here from
15452 cc-langs.el. Change it to a defcustom.
7e43cfa5 15453
52bedd34
AM
15454 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15455 cc-vars.el.
7e43cfa5 15456
d0af9f77
SM
15457 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15458 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 15459
52bedd34 15460 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 15461 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
15462 (c-widen-to-enclosing-decl-scope): New function.
15463 (c-while-widening-to-decl-block): New macro.
15464 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15465 outward for defun boundaries, and correspondingly change symbol
15466 `respect-enclosure' to `go-outward'.
15467 (c-declaration-limits): Change algorithm to report only the "innermost"
15468 defun's boundaries.
15469
1a2ce9ee
DD
154702011-10-28 Deniz Dogan <deniz@dogan.se>
15471
15472 * net/rcirc.el (rcirc-mode): Use hard newlines.
15473
bc97a826
AM
154742011-10-28 Alan Mackenzie <acm@muc.de>
15475
15476 Amend to indent and fontify macros "which include their own semicolon"
15477 correctly, using the "virtual semicolon" mechanism.
15478
52bedd34 15479 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 15480
d0af9f77 15481 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 15482 Recode to scan one line at a time rather than having \n and \r
58179cce 15483 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 15484 (c-forward-label): Amend for virtual semicolons.
58179cce 15485 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 15486
52bedd34
AM
15487 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15488 of the new C macros.
bc97a826 15489
52bedd34 15490 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
15491 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15492 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
15493 (c-opt-cpp-macro-define): Make into a full language variable.
15494 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15495 AWK Mode (including \n, \r) removed, no longer needed.
15496
d0af9f77
SM
15497 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15498 Invoke c-make-macro-with-semi-re.
bc97a826 15499
52bedd34
AM
15500 * progmodes/cc-vars.el (c-macro-with-semi-re):
15501 (c-macro-names-with-semicolon): New variables.
58179cce 15502 (c-make-macro-with-semi-re): New function.
bc97a826 15503
7a6c0941
SM
155042011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15505
15506 * vc/log-edit.el: Fill empty field rather than adding new one.
15507 (log-edit-add-field): New function.
15508 (log-edit-insert-changelog): Use it.
15509
b0c4cdcf
ML
155102011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15511
15512 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
15513
ee1f1da9
SM
155142011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15515
15516 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15517 (gdb--check-interpreter): New function.
15518 (gdb): Use it.
15519
51bc5f8b
GM
155202011-10-27 Glenn Morris <rgm@gnu.org>
15521
416a2c45
GM
15522 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15523 (least-positive-float, least-negative-float)
15524 (least-positive-normalized-float, least-negative-normalized-float)
15525 (float-epsilon, float-negative-epsilon):
15526 Remove unnecessary declarations.
15527
15528 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15529 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15530 (least-positive-float, least-negative-float)
15531 (least-positive-normalized-float, least-negative-normalized-float)
15532 (float-epsilon, float-negative-epsilon): Add doc-strings,
15533 based on those in cl.texi.
15534
51bc5f8b
GM
15535 * files.el (set-visited-file-name): If the major-mode changed,
15536 reload the local variables. (Bug#9796)
15537
15de15c6
CY
155382011-10-27 Chong Yidong <cyd@gnu.org>
15539
15540 * subr.el (change-major-mode-after-body-hook): New hook.
15541 (run-mode-hooks): Run it.
15542
ee1f1da9
SM
15543 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15544 Use change-major-mode-before-body-hook.
15de15c6
CY
15545
15546 * simple.el (fundamental-mode):
15547 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15548 change introducing fundamental-mode-hook.
15549
5430d399
JB
155502011-10-26 Juanma Barranquero <lekktu@gmail.com>
15551
acc825c5 15552 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 15553
ad74a69e
MA
155542011-10-26 Michael Albinus <michael.albinus@gmx.de>
15555
15556 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 15557 tramp.el explicitly. (Bug#7583)
ad74a69e 15558
71d4c2a5
SM
155592011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15560
15561 * progmodes/octave-mod.el:
15562 * progmodes/octave-inf.el: Update maintainer.
15563
b1f6fa26
CY
155642011-10-26 Chong Yidong <cyd@gnu.org>
15565
15566 * subr.el (with-wrapper-hook): Rewrite doc.
15567
3f04efd6
MA
155682011-10-25 Michael Albinus <michael.albinus@gmx.de>
15569
15570 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 15571 filenames "/method:foo:". (Bug#9793)
3f04efd6 15572
410488d3
SM
155732011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15574
15575 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
15576 (bug#9865).
15577
c1ebb47e
GM
155782011-10-24 Glenn Morris <rgm@gnu.org>
15579
15580 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
15581
7f5c46c7
MA
155822011-10-24 Michael Albinus <michael.albinus@gmx.de>
15583
15584 * notifications.el: Add the requirement of a running D-Bus session
15585 bus to the Commentary.
15586
db2440b6
JL
155872011-10-24 Juri Linkov <juri@jurta.org>
15588
15589 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15590 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15591 (Bug#9364)
15592
feecf435
JL
155932011-10-24 Juri Linkov <juri@jurta.org>
15594
15595 * info.el (Info-following-node-name-re): Add newline to the list
15596 of allowed characters for leading space. (Bug#9824)
15597
a3839de2
SM
155982011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15599
acc825c5
SM
15600 * progmodes/octave-inf.el (inferior-octave-mode-map):
15601 Fix C-c C-h binding.
a3839de2
SM
15602 * progmodes/octave-mod.el (octave-help): Remove.
15603
09388e76
MA
156042011-10-23 Michael Albinus <michael.albinus@gmx.de>
15605
15606 Sync with Tramp 2.2.3.
15607
15608 * net/tramp-cache.el (top): Pacify byte-compiler using
15609 `init-file-user' and `site-run-file'.
15610
15611 * net/trampver.el: Update release number.
15612
86c60681
CY
156132011-10-23 Chong Yidong <cyd@gnu.org>
15614
15615 * files.el (toggle-read-only): Remove obsolete comment about
15616 version control.
15617
15618 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15619 for toggle-read-only. Note that this hasn't called vc-next-action
15620 since 2008-05-02, though it wasn't documented at the time.
15621
a3839de2
SM
15622 * vc/ediff-init.el (ediff-toggle-read-only-function):
15623 Use toggle-read-only.
86c60681 15624
cd5495ff
AM
156252011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
15626
15627 Fix bug #9560, sporadic wrong indentation; improve instrumentation
15628 of c-parse-state.
15629
00b77525 15630 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 15631 correct faulty logical expression.
cd5495ff
AM
15632 (c-parse-state-state, c-record-parse-state-state):
15633 (c-replay-parse-state-state): New defvar/defuns.
15634 (c-debug-parse-state): Use new functions.
15635
42ee24ed
MR
156362011-10-22 Martin Rudalics <rudalics@gmx.at>
15637
15638 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 15639 last fix. Use window-in-direction correctly.
42ee24ed 15640
a7dee7e7
CY
156412011-10-21 Chong Yidong <cyd@gnu.org>
15642
15643 * progmodes/idlwave.el (idlwave-mode):
15644 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
15645 require-final-newline; that's done in prog-mode.
15646 Suggested by Stefan Monnier.
a7dee7e7 15647
e07b9a6d
MR
156482011-10-21 Martin Rudalics <rudalics@gmx.at>
15649
15650 * mouse.el (mouse-drag-window-above)
15651 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15652 (mouse-drag-mode-line-1, mouse-drag-header-line)
15653 (mouse-drag-vertical-line-rightward-window): Remove.
15654 (mouse-drag-line): New function.
15655 (mouse-drag-mode-line, mouse-drag-header-line)
15656 (mouse-drag-vertical-line): Call mouse-drag-line.
15657 * window.el (window-at-side-p, windows-at-side): New functions.
15658
7e1361d9
UM
156592011-10-21 Ulrich Mueller <ulm@gentoo.org>
15660
15661 * tar-mode.el (tar-grind-file-mode):
15662 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15663
30fcaf3a
CY
156642011-10-21 Chong Yidong <cyd@gnu.org>
15665
15666 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
15667 * progmodes/vera-mode.el (vera-mode):
15668 Use mode-require-final-newline.
30fcaf3a 15669
516eddb0
GM
156702011-10-20 Glenn Morris <rgm@gnu.org>
15671
db22a3c2 15672 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 15673
10d5f513
CS
156742011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15675
15676 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15677
ac6c8639
CY
156782011-10-20 Chong Yidong <cyd@gnu.org>
15679
15680 * emulation/cua-base.el (cua-mode):
15681 * mail/footnote.el (footnote-mode):
15682 * mail/mailabbrev.el (mail-abbrevs-mode):
15683 * net/xesam.el (xesam-minor-mode):
15684 * progmodes/bug-reference.el (bug-reference-mode):
15685 * progmodes/cap-words.el (capitalized-words-mode):
15686 * progmodes/compile.el (compilation-minor-mode)
15687 (compilation-shell-minor-mode):
15688 * progmodes/gud.el (gud-tooltip-mode):
15689 * progmodes/hideif.el (hide-ifdef-mode):
15690 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15691 * progmodes/subword.el (subword-mode):
15692 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15693 * progmodes/which-func.el (which-function-mode):
15694 * term/tvi970.el (tvi970-set-keypad-mode):
15695 * term/vt100.el (vt100-wide-mode):
15696 * textmodes/flyspell.el (flyspell-mode):
15697 * textmodes/ispell.el (ispell-minor-mode):
15698 * textmodes/nroff-mode.el (nroff-electric-mode):
15699 * textmodes/paragraphs.el (use-hard-newlines):
15700 * textmodes/refill.el (refill-mode):
15701 * textmodes/reftex.el (reftex-mode):
15702 * textmodes/rst.el (rst-minor-mode):
15703 * textmodes/sgml-mode.el (html-autoview-mode)
15704 (sgml-electric-tag-pair-mode):
15705 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15706 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15707 * emulation/crisp.el (crisp-mode):
15708 * emacs-lisp/eldoc.el (eldoc-mode):
15709 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15710 minor mode behavior.
15711
aa42ab43
JL
157122011-10-19 Juri Linkov <juri@jurta.org>
15713
15714 * descr-text.el (describe-char): Add #x2010 and #x2011 to
15715 the list of hard-coded chars with escape-glyph face.
15716
89400f1d
SM
157172011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15718
15719 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15720
305c07f6
MA
157212011-10-19 Michael Albinus <michael.albinus@gmx.de>
15722
15723 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15724 running process.
15725
13754b54
GM
157262011-10-19 Glenn Morris <rgm@gnu.org>
15727
15728 * vc/vc-bzr.el (vc-bzr-after-dir-status):
15729 Ignore ignored files. (Bug#9726)
15730
06e21633
CY
157312011-10-19 Chong Yidong <cyd@gnu.org>
15732
15733 Doc fix for minor modes, stating that an omitted argument enables
15734 the mode unconditionally when called from Lisp.
15735
15736 * abbrev.el (abbrev-mode):
15737 * allout.el (allout-mode):
15738 * autoinsert.el (auto-insert-mode):
15739 * autoarg.el (autoarg-mode, autoarg-kp-mode):
15740 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15741 (global-auto-revert-mode):
15742 * battery.el (display-battery-mode):
15743 * composite.el (global-auto-composition-mode)
15744 (auto-composition-mode):
15745 * delsel.el (delete-selection-mode):
15746 * desktop.el (desktop-save-mode):
15747 * dired-x.el (dired-omit-mode):
15748 * dirtrack.el (dirtrack-mode):
15749 * doc-view.el (doc-view-minor-mode):
15750 * double.el (double-mode):
15751 * electric.el (electric-indent-mode, electric-pair-mode):
15752 * emacs-lock.el (emacs-lock-mode):
15753 * epa-hook.el (auto-encryption-mode):
15754 * follow.el (follow-mode):
15755 * font-core.el (font-lock-mode):
15756 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15757 * help.el (temp-buffer-resize-mode):
15758 * hilit-chg.el (highlight-changes-mode)
15759 (highlight-changes-visible-mode):
15760 * hi-lock.el (hi-lock-mode):
15761 * hl-line.el (hl-line-mode, global-hl-line-mode):
15762 * icomplete.el (icomplete-mode):
15763 * ido.el (ido-everywhere):
15764 * image-file.el (auto-image-file-mode):
15765 * image-mode.el (image-minor-mode):
15766 * iswitchb.el (iswitchb-mode):
15767 * jka-cmpr-hook.el (auto-compression-mode):
15768 * linum.el (linum-mode):
15769 * longlines.el (longlines-mode):
15770 * master.el (master-mode):
15771 * mb-depth.el (minibuffer-depth-indicate-mode):
15772 * menu-bar.el (menu-bar-mode):
15773 * minibuf-eldef.el (minibuffer-electric-default-mode):
15774 * mouse-sel.el (mouse-sel-mode):
15775 * msb.el (msb-mode):
15776 * mwheel.el (mouse-wheel-mode):
15777 * outline.el (outline-minor-mode):
15778 * paren.el (show-paren-mode):
15779 * recentf.el (recentf-mode):
15780 * reveal.el (reveal-mode, global-reveal-mode):
15781 * rfn-eshadow.el (file-name-shadow-mode):
15782 * ruler-mode.el (ruler-mode):
15783 * savehist.el (savehist-mode):
15784 * scroll-all.el (scroll-all-mode):
15785 * scroll-bar.el (scroll-bar-mode):
15786 * server.el (server-mode):
15787 * shell.el (shell-dirtrack-mode):
15788 * simple.el (auto-fill-mode, transient-mark-mode)
15789 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15790 (line-number-mode, column-number-mode, size-indication-mode)
15791 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15792 * strokes.el (strokes-mode):
15793 * time.el (display-time-mode):
15794 * t-mouse.el (gpm-mouse-mode):
15795 * tool-bar.el (tool-bar-mode):
15796 * tooltip.el (tooltip-mode):
15797 * type-break.el (type-break-mode-line-message-mode)
15798 (type-break-query-mode):
15799 * view.el (view-mode):
15800 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15801 (global-whitespace-mode, global-whitespace-newline-mode):
15802 * xt-mouse.el (xterm-mouse-mode): Doc fix.
15803
a3839de2
SM
15804 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15805 Fix autogenerated docstring.
06e21633 15806
5214e501
JL
158072011-10-19 Juri Linkov <juri@jurta.org>
15808
15809 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15810 by checking environment variables "DESKTOP_SESSION" and
15811 "XDG_CURRENT_DESKTOP". (Bug#9779)
15812
195f8db9
JL
158132011-10-19 Juri Linkov <juri@jurta.org>
15814
15815 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15816 (browse-url-chromium-program, browse-url-chromium-arguments):
15817 New defcustoms.
15818 (browse-url-default-browser): Check for `browse-url-chromium' and
15819 call `browse-url-chromium-program'.
15820 (browse-url-chromium): New command. (Bug#9779)
15821
343a34ff
JB
158222011-10-18 Juanma Barranquero <lekktu@gmail.com>
15823
15824 * facemenu.el (list-colors-duplicates): On Windows, detect more
15825 duplicates by assuming that only colors matching "^System" are
15826 special "system colors". (Bug#9722)
15827
6978a151
SM
158282011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15829
15830 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15831 to distinguish the author from the committer.
15832
6a80b297
MA
158332011-10-18 Michael Albinus <michael.albinus@gmx.de>
15834
15835 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15836
b31a5677
JK
158372011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
15838
15839 * international/mule.el (sgml-html-meta-auto-coding-function):
15840 Add support for detecting encoding in HTML5 specified only as
15841 <meta charset="UTF-8">. Implementation just makes http-equiv and
15842 content-type parts from HTML4 encoding string optional. (Bug#9716)
15843
80c6d77f
GM
158442011-10-18 Glenn Morris <rgm@gnu.org>
15845
15846 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
15847
08b0fee8
CY
158482011-10-18 Chong Yidong <cyd@gnu.org>
15849
15850 * faces.el (cursor): Doc fix.
15851
67e729a5
CY
158522011-10-17 Chong Yidong <cyd@gnu.org>
15853
15854 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
15855
343a34ff 158562011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
15857
15858 * dirtrack.el (dirtrack): Support shell buffers with path
15859 prefixes, e.g. tramp-based remote shells. (Bug#9647)
15860
0bc06380
TZ
158612011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
15862
15863 * json.el: Bump version to 1.3 and note change in History.
15864 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15865
8b79f3e0
SM
158662011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15867
5a7c536b
SM
15868 * comint.el (comint-insert-input, comint-send-input)
15869 (comint-get-old-input-default, comint-backward-matching-input)
15870 (comint-next-prompt): Use nil instead of `input' for field property of
15871 past user input (bug#114).
15872
96a8a0df
SM
15873 * minibuffer.el (completion--replace): Inherit surrounding properties
15874 (bug#114).
15875 (minibuffer-complete-and-exit): Use it.
15876
8b79f3e0
SM
15877 * comint.el (comint--table-subvert): Quote the all-completions output
15878 (bug#9160).
15879
b8f7ff0d
MR
158802011-10-17 Martin Rudalics <rudalics@gmx.at>
15881
8b79f3e0 15882 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 15883
b8f7ff0d 15884 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 15885 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
15886 entries and separate them from frame entries.
15887
c235b555
GM
158882011-10-15 Glenn Morris <rgm@gnu.org>
15889
15890 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15891 Doc fixes.
15892
6bbfa6e1
CY
158932011-10-15 Chong Yidong <cyd@stupidchicken.com>
15894
8b79f3e0
SM
15895 * net/network-stream.el (network-stream-open-starttls):
15896 Improve detection of failure due to lack of TLS support.
ec5c990d 15897
6bbfa6e1
CY
15898 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15899 putting the input text in front and in bold.
15900
98488977
SM
159012011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15902
3d1337be
SM
15903 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
15904
ee0b45e4
SM
15905 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
15906 empty buffer.
15907
98488977
SM
15908 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
15909 unread-command-events rather than pushing yet-another event.
15910
186f4720
EZ
159112011-10-14 Eli Zaretskii <eliz@gnu.org>
15912
15913 * mail/sendmail.el (sendmail-query-once): Improve the wording of
15914 the explanation of the possible choices. Make the options passed
15915 to completing-read shorter.
15916
8b7a997c
AM
159172011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15918
15919 * textmodes/flyspell.el (flyspell-large-region): Make sure
15920 extended character mode is used if defined (Bug#1339).
15921
12587bbb
EZ
159222011-10-13 Eli Zaretskii <eliz@gnu.org>
15923
15924 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
15925 character info for LRE, LRO, RLE, and RLO characters by appending
15926 an invisible PDF.
12587bbb 15927
bad41229
SM
159282011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
15929
15930 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
15931 even in case of error; add debug spec; simplify data flow.
15932 (with-timeout-handler): Remove.
15933
28dbc92f
MA
159342011-10-12 Michael Albinus <michael.albinus@gmx.de>
15935
15936 Fix Bug#6019, Bug#9315.
15937
15938 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
15939 complete `buffer-file-name', the local file name part could look
15940 remotely (for example on VMS).
15941
15942 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15943 `tramp-run-real-handler'.
15944 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15945 already quoted by '"'.
15946
15947 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15948 Let `file-name-handler-alist' be nil, the local file name part
15949 could look remotely (for example on VMS).
15950
e1b0b23a
SM
159512011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15952
15953 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15954 from here...
15955 (flyspell-post-command-hook): ...to here.
15956
a120bde9
SM
159572011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15958
15959 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15960 if not needed.
15961 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
15962 using completion. Protect against "slow" callers.
15963 Remove the "message hack".
15964
7ce7717b
JL
159652011-10-11 Juri Linkov <juri@jurta.org>
15966
15967 * isearch.el (isearch-lazy-highlight-word): New variable.
15968 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15969 Use it. (Bug#9727)
15970
c02ee9d6
GM
159712011-10-11 Glenn Morris <rgm@gnu.org>
15972
15973 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15974 like f90-previous-statement does.
15975
93e616fd 159762011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15977
1f190e73 15978 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
15979 only in interactive use, to avoid error.
15980
af7b6078
SM
159812011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15982
15983 * minibuffer.el (completion-file-name-table): Fix last change,
15984 i.e. ignore normal errors but not the other ones.
15985
0563dae9
MR
159862011-10-10 Martin Rudalics <rudalics@gmx.at>
15987
15988 * window.el (special-display-buffer-names)
15989 (special-display-regexps): Remove some remnants of earlier
15990 changes from doc-strings.
366ca7f3
MR
15991 (quit-windows-on): New function.
15992
15993 * vc/vc.el (vc-revert, vc-rollback):
15994 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15995 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 15996 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 15997
49677495
MR
159982011-10-09 Martin Rudalics <rudalics@gmx.at>
15999
16000 * window.el (frame-auto-hide-function): Add version tag.
16001 (Bug#9699)
16002
56f2d1e1
MA
160032011-10-09 Michael Albinus <michael.albinus@gmx.de>
16004
16005 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16006 condition.
16007
112a6592
LL
160082011-10-09 Leo Liu <sdl.web@gmail.com>
16009
16010 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16011 (Bug#9701)
16012
0812589b
GM
160132011-10-08 Glenn Morris <rgm@gnu.org>
16014
16015 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16016 before the first code statement zero indent. (Bug#9690)
16017
b2b0776e
CY
160182011-10-08 Chong Yidong <cyd@stupidchicken.com>
16019
16020 * simple.el (count-words-region): Always count in the region.
16021 Report the number of lines and characters too.
16022 (count-words): New command, which counts in the buffer if the
16023 region is inactive, as count-words-region used to.
16024 (count-words--message): New function. Handle plurals.
16025 (count-lines-region): Make it an alias for count-words-region.
16026
16027 * bindings.el (esc-map): Replace count-lines-region with
16028 count-words-region.
16029
c557cd6b
MR
160302011-10-08 Martin Rudalics <rudalics@gmx.at>
16031
16032 * window.el (window--delete): Delete dedicated frame
16033 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 16034 (switch-to-buffer): Fix doc-string typo.
c557cd6b 16035
61a57ef4 160362011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16037
3a7d293b 16038 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 16039
c3833279
CY
160402011-10-07 Chong Yidong <cyd@stupidchicken.com>
16041
16042 * bindings.el ([M-left],[M-right]): Bind to left-word and
16043 right-word respectively.
16044
21ce8245
GM
160452011-10-07 Glenn Morris <rgm@gnu.org>
16046
16047 * cus-start.el (debug-on-quit): Fix custom type.
16048
6d823bb2
LMI
160492011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16050
0181e193
LMI
16051 * subr.el (define-key-after): Clarify that the function is not
16052 useful for non-menu keymaps.
16053
6d823bb2
LMI
16054 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16055
8e3459ce 160562011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16057
21ce8245 16058 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 16059 in current minibuffer (Fix bug with recursive minibuffers).
16060
a1c2d21e
CY
160612011-10-06 Chong Yidong <cyd@stupidchicken.com>
16062
16063 * progmodes/gdb-mi.el (gdb): Doc fix.
16064
5a4cf282
MR
160652011-10-05 Martin Rudalics <rudalics@gmx.at>
16066
16067 * window.el (frame-auto-hide-function): New option replacing
16068 frame-auto-delete. Suggested by Stefan Monnier.
16069 (window--delete): Call frame-auto-hide-function instead of
16070 investigating frame-auto-delete.
c96111ea
MR
16071 (window-point-1, set-window-point-1): New functions.
16072 (window-in-direction, record-window-buffer, window-state-get-1)
16073 (display-buffer-record-window): Use window-point-1 instead of
16074 window-point.
16075 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 16076
9854542e
SM
160772011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16078
16079 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16080
8943cfb0
GM
160812011-10-05 Glenn Morris <rgm@gnu.org>
16082
16083 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16084 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16085
647ab967
LL
160862011-10-05 Leo Liu <sdl.web@gmail.com>
16087
16088 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16089 works with buffer object.
16090
3ddfbced
SM
160912011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16092
16093 * mpc.el (mpc-tool-bar-map): Add labels.
16094
bdfa5dd2
GM
160952011-10-04 Glenn Morris <rgm@gnu.org>
16096
16097 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16098
0e2070b5
MR
160992011-10-04 Martin Rudalics <rudalics@gmx.at>
16100
16101 * window.el (window--delete): New function.
16102 (frame-auto-delete): Resuscitate option.
16103 (bury-buffer, replace-buffer-in-windows)
16104 (quit-window): Rewrite using window--delete.
16105 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16106 Pass display-buffer-mark-dedicated to window--display-buffer-2
16107 (Bug#9639).
16108
3dc61a09
SM
161092011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16110
915a9b64
SM
16111 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16112 returns a list (bug#9554). Add remote file name completion.
16113 * comint.el (comint--table-subvert): Curry and get quote&unquote
16114 functions as arguments.
16115 (comint--complete-file-name-data): Adjust call accordingly.
16116 * pcomplete.el (pcomplete--table-subvert): Remove.
16117 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16118
3dc61a09
SM
16119 * minibuffer.el (completion-table-case-fold): Use currying.
16120 (completion--styles-type, completion--cycling-threshold-type):
16121 New constants.
16122 (completion-styles, completion-category-overrides)
16123 (completion-cycle-threshold): Use them.
16124 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16125 completion-table-case-fold.
16126
8ea0a993
SB
161272011-10-03 Stephen Berman <stephen.berman@gmx.net>
16128
16129 * minibuffer.el (completion-category-overrides): Fix type of styles
16130 and add more user friendly tags (bug#9660).
16131
8c24b7f6
SM
161322011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16133
16134 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16135 (mule-input-method-string): New widget.
16136 (default-input-method, language-info-custom-alist): Use it.
16137
428fe61a
SM
161382011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16139
32c1fffd
SM
16140 * pcomplete.el: Require comint.
16141 (pcomplete--common-suffix): Remove.
16142 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16143 (pcomplete--table-subvert): Sync with comint--table-subvert.
16144 (pcomplete--entries): Use comint-completion-file-name-table.
16145 * comint.el (comint-unquote-filename): Simplify.
16146 (comint-completion-file-name-table): New function (bug#9616).
16147 (comint--complete-file-name-data): Use it.
16148
428fe61a
SM
16149 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16150 (pcmpl-gnu-tar-buffer): Remove.
16151 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
16152 around. Make sure pcomplete-suffix-list is only changed temporarily.
16153 Don't look inside the tar's file if it's too large.
428fe61a 16154
04c52e2f
CY
161552011-10-01 Chong Yidong <cyd@stupidchicken.com>
16156
ce3cefcc
CY
16157 * cus-edit.el (custom-mode-map):
16158 * epa.el (epa-key-list-mode-map):
16159 * man.el (Man-mode-map):
16160 * startup.el (splash-screen-keymap):
16161 * simple.el (special-mode-map): Use scroll-up-command and
16162 scroll-down-command.
16163
16164 * progmodes/idlw-help.el (idlwave-help-mode-map):
16165 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16166 * net/newst-plainview.el (newsticker-mode-map):
16167 * emulation/ws-mode.el (wordstar-mode-map):
16168 * emulation/vi.el (vi-com-map):
16169 * calc/calc-graph.el (calc-graph-show-dumb):
16170 * term/sun.el (terminal-init-sun):
16171 * term/ns-win.el (global-map):
16172 * progmodes/grep.el (grep-mode-map):
16173 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16174 * mail/rmail.el (rmail-mode-map):
16175 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16176
04c52e2f
CY
16177 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16178 custom-safe-themes as special.
16179
79adf8c8
JD
161802011-10-01 Julien Danjou <julien@danjou.info>
16181
16182 * notifications.el (notifications-notify): Fix docstring.
16183
63bd50d3
PS
161842011-10-01 Per Starbäck <per@starback.se>
16185
16186 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16187
199e4c7e
MR
161882011-09-30 Martin Rudalics <rudalics@gmx.at>
16189
16190 * startup.el (command-line-1): Fix last fix by inserting
16191 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 16192 (Bug#9605) and (Bug#9636)
199e4c7e 16193
fe5f08dd
EZ
161942011-09-29 Eli Zaretskii <eliz@gnu.org>
16195
16196 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16197 window is hscrolled, move by logical lines. (Bug#9607)
16198 (line-move-visual): Update the doc string to the above effect.
16199
b5516bbd
MR
162002011-09-29 Martin Rudalics <rudalics@gmx.at>
16201
ccee00c0
MR
16202 * window.el (display-buffer-record-window): When WINDOW is the
16203 selected window use `point' instead of `window-point'. (Bug#9626)
16204
b5516bbd
MR
16205 * startup.el (command-line-1): Use insert-before-markers when
16206 inserting initial-scratch-message. (Bug#9605)
ccee00c0 16207
b5516bbd
MR
16208 * help.el (help-window): Remove variable.
16209
52aa0014
GM
162102011-09-29 Glenn Morris <rgm@gnu.org>
16211
16212 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16213
df9a7357
JB
162142011-09-29 Juanma Barranquero <lekktu@gmail.com>
16215
16216 * descr-text.el (describe-char-categories): Accept category
16217 descriptions more than one line long.
16218
a8406c20
SM
162192011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16220
88d9610c
SM
16221 * simple.el (delete-trailing-whitespace): Fix last change.
16222
a5daf810
SM
16223 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16224 Don't confuse "y => 3" as the beginning of a `y' operation.
16225
a8406c20
SM
16226 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16227 object has more than 4 slots (bug#9613).
16228
a239d4e9
JB
162292011-09-28 Juanma Barranquero <lekktu@gmail.com>
16230
16231 * subr.el (with-output-to-temp-buffer):
16232 * net/quickurl.el (quickurl, quickurl-browse-url):
16233 Fix typos in docstrings.
16234
693fbdb6
EZ
162352011-09-27 Eli Zaretskii <eliz@gnu.org>
16236
16237 * minibuffer.el (completion-styles)
16238 (completion-category-overrides): Cross reference each other in doc
16239 strings.
16240
8b457e28
GM
162412011-09-27 Glenn Morris <rgm@gnu.org>
16242
16243 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16244 to split-string. (Bug#9606)
16245
85a16208
LMI
162462011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16247
16248 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16249 (bug#9615).
16250
502f9ebd
CY
162512011-09-27 Chong Yidong <cyd@stupidchicken.com>
16252
16253 * emacs-lisp/package.el (list-packages): Fix echo area message.
16254
7690bdea
LL
162552011-09-27 Leo Liu <sdl.web@gmail.com>
16256
16257 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16258
e2ee6f30
MA
162592011-09-25 Michael Albinus <michael.albinus@gmx.de>
16260
16261 * net/dbus.el (dbus-unregister-object): Don't release services for
16262 registered signals. (Bug#9581)
16263
f3f98342
TZ
162642011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
16265
16266 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16267 function that picks between cfengine 2 and 3 support
16268 automatically. Update docs accordingly.
16269
dd7aa8dd
KH
162702011-09-22 Kenichi Handa <handa@m17n.org>
16271
16272 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16273 ZERO.
16274 (indian-itrans-v5-table-for-tamil): New variable.
16275 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16276
3f2b07f8
KM
162772011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
16278
16279 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16280 that's true if the current command involved collapsing of text.
16281 It's reset to false at the beginning of the next command.
16282 (allout-post-command-business): Move the cursor to the beginning
16283 of entry if the cursor is hidden and collapsing activity just
16284 happened.
16285
371d6a61
CY
162862011-09-24 Chong Yidong <cyd@stupidchicken.com>
16287
16288 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16289 tracking (Bug#9541).
16290
2ac2721a
UJ
162912011-09-24 Ulf Jasper <ulf.jasper@web.de>
16292
16293 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
16294 (newsticker-show-news): Automatically load html rendering package
16295 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
16296 because w3m-fill-column is let-bound" and the error "Symbol's value
16297 as variable is void: w3m-fill-column".
2ac2721a 16298
fac7ae53
MA
162992011-09-24 Michael Albinus <michael.albinus@gmx.de>
16300
16301 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16302 Release services only if they are defined. (Bug#9581)
16303
e08b633b
RS
163042011-09-23 Richard Stallman <rms@gnu.org>
16305
e488d29c
RS
16306 * textmodes/paragraphs.el (forward-sentence): For backwards case,
16307 distinguish start of paragraph from start of its text.
16308
19c38752
RS
16309 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16310
e08b633b
RS
16311 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16312 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16313 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16314
0a39f27e
AS
163152011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16316
16317 * international/mule-diag.el (mule-diag): Insert a newline after
16318 each fontset description.
16319
db4e950d
SM
163202011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16321
16322 * simple.el (delete-trailing-whitespace):
16323 Document last change; simplify.
16324
eca3f3ea
PW
163252011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16326
d68e189a
PW
16327 * simple.el (delete-trailing-whitespace): Also delete
16328 extra newlines at the end of the buffer.
16329
eca3f3ea
PW
16330 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16331 (picture-newline): Use forward-line so as to ignore fields.
16332
01c157cc
SM
163332011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16334
16335 * subr.el (with-wrapper-hook): Fix edebug spec.
16336
022de23e
LMI
163372011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16338
16339 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16340 (bug#4538).
16341
91683089
MA
163422011-09-23 Michael Albinus <michael.albinus@gmx.de>
16343
eca3f3ea
PW
16344 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16345 Fix nasty bug using wrong cached values.
91683089 16346
5bdd6fa4
AM
163472011-09-23 Alan Mackenzie <acm@muc.de>
16348
16349 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16350
97adfb97
CY
163512011-09-23 Chong Yidong <cyd@stupidchicken.com>
16352
16353 * window.el (pop-to-buffer): Ensure right window is selected if we
16354 chose another frame.
16355
d4ef2b50
EZ
163562011-09-22 Eli Zaretskii <eliz@gnu.org>
16357
16358 * simple.el (what-cursor-position): Use get-char-property-change
16359 and next-single-char-property-change, to be able to show display
16360 properties that come from overlays as well as text properties.
16361
72258fe5
CY
163622011-09-22 Chong Yidong <cyd@stupidchicken.com>
16363
16364 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16365
16366 * cmuscheme.el (run-scheme, switch-to-scheme):
16367 * cus-edit.el (customize-group, custom-buffer-create)
16368 (customize-browse):
16369 * info.el (info):
16370 * shell.el (shell):
16371 * mail/sendmail.el (mail):
16372 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16373
8f098516
RS
163742011-09-22 Richard Stallman <rms@gnu.org>
16375
16376 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16377 move back only to line beg, don't move back over blank lines.
16378
e74f1bb6
MA
163792011-09-22 Michael Albinus <michael.albinus@gmx.de>
16380
16381 * files.el (copy-directory): Set directory attributes only in case
16382 they could be retrieved from the source directory. (Bug#9565)
16383
bfeef8b6
DK
163842011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
16385
16386 * progmodes/hideshow.el (hs-looking-at-block-start-p)
16387 (hs-find-block-beginning, hs-hide-level-recursive):
16388 Ignore strings as well as comments. (Bug#9502)
16389
7e423bb8
AS
163902011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
16391
16392 * progmodes/sql.el (sql-comint-postgres):
16393 Convert port number to a string. (Bug#9566)
16394
b4d72fcf
MR
163952011-09-22 Martin Rudalics <rudalics@gmx.at>
16396
16397 * window.el (quit-window): Undedicate window when switching to
16398 previous buffer. Reported by Thierry Volpiatto
16399 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
16400 (special-display-popup-frame): When popping up a new frame reset
16401 its previous buffers to nil. Simplify code.
b4d72fcf 16402
a7b88dc6
MA
164032011-09-21 Michael Albinus <michael.albinus@gmx.de>
16404
16405 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16406 and process filter, as done also in `shell-command'.
16407
cf4eacfd
MR
164082011-09-21 Martin Rudalics <rudalics@gmx.at>
16409
eca3f3ea 16410 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
16411 Call set-window-start with NOFORCE argument t.
16412 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
16413 (quit-window): Reword doc-string. Handle new format of
16414 quit-restore parameter. Don't delete window if it has a
16415 previous buffer we can show instead of the present one.
16416 (display-buffer-record-window): Rewrite using a new format for
16417 the quit-restore window parameter
16418 (special-display-popup-frame, display-buffer-same-window)
16419 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16420 (display-buffer-pop-up-window, display-buffer-use-some-window):
16421 Adapt symbol passed to display-buffer-record-window.
16422 * help.el (help-window-setup): Handle new format of quit-restore
16423 parameter.
16424
8d28cb95
SM
164252011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16426
94ab793f
SM
16427 * faces.el (face-list): Fix docstring (bug#9564).
16428
8d28cb95
SM
16429 * window.el (display-buffer--action-function-custom-type):
16430 Don't include internal functions in the Custom interface.
16431
3820edeb
JL
164322011-09-20 Juri Linkov <juri@jurta.org>
16433
16434 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16435 (Info-forward-node, Info-backward-node, Info-next-preorder)
16436 (Info-last-preorder): Use it. (Bug#9528)
16437
5147931d
JL
164382011-09-20 Juri Linkov <juri@jurta.org>
16439
16440 * info.el (Info-last-preorder): Visit last menu item only when
16441 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16442
cf499a1a
JD
164432011-09-20 Julien Danjou <julien@danjou.info>
16444
16445 * password-cache.el (password-cache-remove): Remove entries even if the
16446 value is nil, so that password with a nil value (negative caching) is
16447 possible to invalidate.
16448
f84e2fe2
LM
164492011-09-20 Lawrence Mitchell <wence@gmx.li>
16450
16451 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16452 all whitespace around breakpoint. (Bug#9553)
16453 (f90-find-breakpoint): Only break at whitespace inside a comment.
16454
78054a46
SM
164552011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16456
16457 * minibuffer.el (completion-file-name-table): Keep track of errors.
16458 (completion-table-with-predicate): Handle the case where pred1 is nil.
16459 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16460
345083b2
SM
164612011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16462
e24e27be
SM
16463 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16464 (debugger-return-value): Signal an error if the debugging context does
16465 not await any return value.
16466
345083b2
SM
16467 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16468 * image-mode.el (image-toggle-display-text)
16469 (image-toggle-display-image): Stay away from evil `intangible'.
16470
08d355e3
LL
164712011-09-19 Leo Liu <sdl.web@gmail.com>
16472
16473 * replace.el (occur-revert-arguments): Make it permanent-local.
16474 (occur-mode): Don't call font-lock-defontify.
16475
f01da43f
CY
164762011-09-19 Chong Yidong <cyd@stupidchicken.com>
16477
16478 * net/ldap.el (ldap-search-internal): Don't push empty search
16479 result (Bug#9508).
16480
b6072fa6
SM
164812011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16482
16483 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16484
443d6696
MA
164852011-09-19 Michael Albinus <michael.albinus@gmx.de>
16486
16487 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16488 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16489
7cc6e154
JL
164902011-09-18 Juri Linkov <juri@jurta.org>
16491
16492 * buff-menu.el (Buffer-menu-mode-map):
16493 * dired.el (dired-mode-map):
16494 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16495 (lisp-interaction-mode-map):
16496 * emacs-lisp/package.el (package-menu-mode-map):
16497 * epa.el (epa-key-list-mode-map):
16498 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16499 (menu-bar-options-menu):
16500 * outline.el (outline-mode-menu-bar-map):
16501 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16502 * vc/vc-dir.el (vc-dir-menu-map):
16503 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16504 Capitalize non-function content words in menu item strings.
16505
16506 * dired.el (dired-mode-map): Add menu item for
16507 `image-dired-dired-toggle-marked-thumbs'.
16508
80302a81
JL
165092011-09-18 Juri Linkov <juri@jurta.org>
16510
16511 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16512 to `isearch-case-fold-search' and restore its original value
16513 after the `isearch-mode' call.
16514
46c5cf66
JL
165152011-09-18 Juri Linkov <juri@jurta.org>
16516
16517 * progmodes/grep.el (grep-process-setup): Don't check code for 1
16518 because `zgrep' returns 1 for successful matches (bug#9226).
16519
d18b513b
JL
165202011-09-18 Juri Linkov <juri@jurta.org>
16521
16522 * info.el (Info-extract-menu-node-name): Check the second match
16523 for empty string (second test-case of bug#9528).
16524 (Info-last-preorder): Let-bind `Info-history' to nil to not add
16525 intermediate nodes to the history (first test-case of bug#9528).
16526
72753f87
JL
165272011-09-18 Juri Linkov <juri@jurta.org>
16528
16529 * info.el (Info-mode-syntax-table): New variable.
1154d12e 16530 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 16531
c9384295
JL
165322011-09-18 Juri Linkov <juri@jurta.org>
16533
1154d12e
JB
16534 * info.el (Info-file-supports-index-cookies):
16535 Increment line-beginning-position's arg from 3 to 4 because makeinfo
16536 outputs one more line for long file names (bug#4142).
c9384295 16537
d473dce8
CY
165382011-09-18 Chong Yidong <cyd@stupidchicken.com>
16539
16540 * newcomment.el (comment-normalize-vars): If prompting for
16541 comment-start, set comment-start-skip too (Bug#8424).
16542
2176854d
JB
165432011-09-18 Johan Bockgård <bojohan@gnu.org>
16544
16545 * icomplete.el: Fix previous fix of Bug#5849.
16546 (icomplete-mode): Don't set completion-show-inline-help.
16547 (icomplete-minibuffer-setup): Set completion-show-inline-help
16548 locally during icompletion.
16549
3aace4e4
CY
165502011-09-18 Chong Yidong <cyd@stupidchicken.com>
16551
c940224f
CY
16552 * woman.el (woman2-process-escapes): Don't delete unrecognized
16553 escapes (Bug#7843).
16554
3aace4e4
CY
16555 * files.el (inhibit-first-line-modes-regexps): Add image files.
16556 (hack-local-variables-prop-line): Return nil for malformed
16557 prop-lines (Bug#9044).
16558
710dec63
MA
165592011-09-18 Michael Albinus <michael.albinus@gmx.de>
16560
16561 * net/tramp.el (top): Don't require 'shell.
16562 (tramp-methods): Fix docstring.
16563 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
16564 Return complete remote file name. Handle "smb" case.
16565 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
16566 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
16567
16568 * net/tramp-compat.el (top): Require 'shell.
16569
16570 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16571 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
16572 `tramp-current-host'.
16573 (tramp-get-remote-tmpdir): Remove.
16574
16575 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
16576 `tramp-tmpdir' entries.
16577 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
16578 (tramp-smb-handle-file-attributes): Ignore errors.
16579 (tramp-smb-wait-for-output): Check also for process end.
16580
5d5ac8ec
LMI
165812011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
16582
16583 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
16584 when sending QUIT (bug#9312).
16585
8c0f49f0
CY
165862011-09-17 Chong Yidong <cyd@stupidchicken.com>
16587
16588 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16589 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16590 occur-mode-display-occurrence.
16591 (occur-edit-mode): Add usage message.
16592 (occur-cease-edit): New command.
16593 (occur-after-change-function): Use text properties to find the
16594 position of the prefix text.
16595 (occur-engine): Set stickiness of prefix text properties.
16596
8f1383f7
GM
165972011-09-17 Glenn Morris <rgm@gnu.org>
16598
16599 * progmodes/etags.el (complete-tag):
16600 Fix call to completion-in-region. (Bug#9526)
16601
744ba0e3
JL
166022011-09-17 Juri Linkov <juri@jurta.org>
16603
16604 * textmodes/ispell.el (ispell-word): Add to the error message
16605 the word, ispell program name and current dictionary (bug#9121).
16606 (ispell-tex-arg-end): Capitalize "error" in the error message.
16607
d9bbf400
AS
166082011-09-17 Andreas Schwab <schwab@linux-m68k.org>
16609
16610 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16611 check. (Bug#4251)
16612
8da11505
JL
166132011-09-17 Juri Linkov <juri@jurta.org>
16614
16615 * window.el (window-safe-min-height, window-safe-min-width):
16616 Fix typos (followup to bug#9522).
16617
a91adc7e
SJ
166182011-09-17 Sven Joachim <svenjoac@gmx.de>
16619
16620 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16621
064f328a
EZ
166222011-09-16 Eli Zaretskii <eliz@gnu.org>
16623
16624 * simple.el (line-move): If goal-column is set, move by logical
16625 lines, not by display lines. (Bug#971)
16626 (next-line, previous-line, goal-column, line-move-visual): Doc fix
16627 to reflect the above change.
16628
e69df516
SM
166292011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16630
16631 * image.el (imagemagick-register-types): Use regexp-opt.
16632
cbb0f9ab
CY
166332011-09-15 Chong Yidong <cyd@stupidchicken.com>
16634
16635 * window.el (display-buffer-base-action): Rename from
16636 display-buffer-default-action. Make default value empty.
16637 (display-buffer-overriding-action): Convert to defvar.
16638 (display-buffer-fallback-action): New var.
16639
25322144
CY
166402011-09-15 Chong Yidong <cyd@stupidchicken.com>
16641
16642 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16643 declaration.
16644 (package--add-to-archive-contents): If there is a duplicate entry
16645 with an older version, remove it.
16646 (package-menu-mark-delete, package-menu-mark-install)
16647 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
16648 (package-menu-mark-obsolete-for-deletion):
16649 Use package-menu-get-status instead of a regexp search.
25322144
CY
16650 (package-menu-get-status): Use tabulated-list-entry.
16651 (package-menu-mark-upgrades): New command.
d770725a 16652 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
16653 (package-menu-execute): Do installation before deletion.
16654 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16655 instead of checking major-mode.
16656 (package-menu--find-upgrades): New function.
16657
7520339c
LMI
166582011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16659
16660 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16661 passwords in the log buffer.
65a046c4
LMI
16662 (smtpmail-process-filter): Update the process marker so that the
16663 "broken by peer" status message is inserted in the right place.
7520339c 16664
d3c30954
SM
166652011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16666
3fe48822
SM
16667 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16668 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16669 bibtex-completion-at-point-function.
16670 (bibtex-completion-at-point-function): Use them.
16671
1b8b3954
SM
16672 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16673
d3c30954
SM
16674 * mpc.el (mpc-constraints-tag-lookup): New function.
16675 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16676 also to browser "album|playlist".
16677
72779976
JL
166782011-09-14 Juri Linkov <juri@jurta.org>
16679
16680 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16681 (isearch-edit-string): Use length of `isearch-string' when
16682 `isearch-fail-pos' returns nil.
16683 (isearch-message): Remove duplicate code and call
16684 `isearch-fail-pos' with arg `t'.
16685
a0bf2bcd
CY
166862011-09-14 Chong Yidong <cyd@stupidchicken.com>
16687
17bb0a2d
CY
16688 * replace.el (occur-mode-goto-occurrence): Don't force using other
16689 window (Bug#9499).
16690
a0bf2bcd
CY
16691 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16692
f678e0b6
MR
166932011-09-14 Martin Rudalics <rudalics@gmx.at>
16694
16695 * window.el (display-buffer-window): Remove.
16696 (display-buffer-record-window): Use help-setup window parameter
16697 instead of variable display-buffer-window.
16698 (display-buffer-function, special-display-buffer-names)
16699 (special-display-function): Mention help-setup parameter instead
16700 of display-buffer-window in doc-string.
d3c30954
SM
16701 * help.el (help-window-setup): New argument help-window.
16702 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
16703 Reword some messages.
16704 (with-help-window): Pass window used for displaying the buffer
16705 to help-window-setup. Don't set display-buffer-window.
16706
8e39b2e8
GM
167072011-09-13 Glenn Morris <rgm@gnu.org>
16708
16709 * emacs-lisp/debug.el (debugger-make-xrefs):
16710 Preserve point. (Bug#9462)
16711
85e9c04b
CY
167122011-09-13 Chong Yidong <cyd@stupidchicken.com>
16713
16714 * window.el (window-deletable-p): Use next-frame.
16715
1b36ed6a
MR
167162011-09-13 Martin Rudalics <rudalics@gmx.at>
16717
16718 * window.el (window-auto-delete): Remove.
16719 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 16720 dedication and previous buffers.
1b36ed6a
MR
16721 (switch-to-prev-buffer): Don't delete window.
16722 (delete-windows-on): Delete a window's frame if and only if the
16723 window is dedicated.
16724 (replace-buffer-in-windows): Delete buffer's window or frame if
16725 and only if window is dedicated.
16726 (quit-window): Handle quit-restore as before last change.
4d61f28d 16727 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 16728
ef8ef9fb
CY
167292011-09-13 Chong Yidong <cyd@stupidchicken.com>
16730
16731 * window.el (window-deletable-p): Never delete the last frame on a
16732 given terminal.
16733
b2cba41e
GM
167342011-09-13 Glenn Morris <rgm@gnu.org>
16735
16736 * help.el (describe-key-briefly): Copy previous standard-output change.
16737
51553db6 167382011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
16739
16740 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
16741
b7556719
GM
167422011-09-13 Glenn Morris <rgm@gnu.org>
16743
16744 * emacs-lisp/lisp-mode.el (lisp-indent-function):
16745 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16746
64b51947
CY
167472011-09-12 Chong Yidong <cyd@stupidchicken.com>
16748
16749 * dired-aux.el (dired-mark-read-string): Don't return default
16750 value on empty input (Bug#9361).
16751 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16752 Omit initial minibuffer contents.
16753 (dired-do-chmod): Signal an error on empty input.
16754 (dired-mark-read-string): Don't return default on empty input.
16755
16756 * files.el (file-modes-symbolic-to-number): Doc fix.
16757
393a301e
SM
167582011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16759
16760 * international/mule-cmds.el (ucs-completions): Remove.
16761 (read-char-by-name): Use complete-with-action instead; add metadata.
16762
fa5660f9
CY
167632011-09-11 Chong Yidong <cyd@stupidchicken.com>
16764
16765 * window.el (display-buffer--action-function-custom-type)
16766 (display-buffer--action-custom-type): New vars.
16767 (display-buffer-alist, display-buffer-default-action)
16768 (display-buffer-overriding-action): Add defcustom types.
16769
4a592f66
CY
16770 * frame.el (delete-other-frames): Doc fix (Bug#276).
16771
73d56dbd
LMI
167722011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16773
16774 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16775
37ac18a3
CY
167762011-09-11 Chong Yidong <cyd@stupidchicken.com>
16777
16778 Change modes that used same-window-* vars to use switch-to-buffer.
16779
16780 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16781 Use switch-to-buffer.
16782
16783 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
16784 (customize-browse, custom-buffer-create-other-window):
16785 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
16786
16787 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16788 (Info-prev, Info-up, Info-speedbar-goto-node)
16789 (info-display-manual): Use switch-to-buffer.
16790 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16791
16792 * mail/sendmail.el (mail): Use switch-to-buffer.
16793 (mail-recover): Use switch-to-buffer-other-window.
16794
16795 * cmuscheme.el (run-scheme, switch-to-scheme):
16796 * ielm.el (ielm):
16797 * shell.el (shell):
16798 * net/rlogin.el (rlogin):
16799 * net/telnet.el (telnet, rsh):
16800 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16801
10195bd6
AS
168022011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16803
16804 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16805
b322f63a
LMI
168062011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16807
39d7fed6
LMI
16808 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16809 so don't mention it (bug#9301).
ba5a81f1 16810 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 16811
ee0e9f11
LMI
16812 * faces.el (face-spec-set-match-display): Make `(type graphic)'
16813 match `x', `w32' and `ns', like the manual says (bug#9029).
16814
0b1c89c1 16815 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
16816 (process-kill-buffer-query-function): Mention the buffer name in
16817 the query.
0b1c89c1 16818
77549ea8
LMI
16819 * image-mode.el (image-next-line): The line parameter is mandatory
16820 (bug#9258).
16821
803ef892
LMI
16822 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16823 which can be useful (bug#9301).
16824
12980837
LMI
16825 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16826
91054f8f
LMI
16827 * subr.el (match-string): Mention that the current buffer should
16828 be the same as the search was done in (bug#9282).
16829
b322f63a
LMI
16830 * facemenu.el: Disable the remove-* commands if the mark isn't
16831 active (bug#9162).
16832
3199b96f
CY
168332011-09-10 Chong Yidong <cyd@stupidchicken.com>
16834
16835 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16836 of display-buffer.
16837 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16838
16839 * replace.el (occur-mode-goto-occurrence)
16840 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16841 and display-buffer.
16842
16843 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16844 display-buffer.
16845
16846 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16847 special-display and same-window variables.
16848 (mail-other-window): Use switch-to-buffer-other-window.
16849 (mail-other-frame): USe switch-to-buffer-other-frame.
16850
393a301e
SM
16851 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
16852 Use display-buffer-other-frame.
3199b96f
CY
16853 (gdb-display-gdb-buffer): Use pop-to-buffer.
16854
16855 * progmodes/gud.el (gud-goto-info): Use info-other-window.
16856
16857 * progmodes/python.el: Don't set same-window-buffer-names.
16858
16859 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16860
16861 * window.el (display-buffer-alist): Add *Python*.
16862
8319e0bf
CY
168632011-09-10 Chong Yidong <cyd@stupidchicken.com>
16864
16865 * window.el (display-buffer-alist): Add entry for buffers
16866 previously handled same-window-*.
16867 (display-buffer-alist, display-buffer-default-action)
16868 (display-buffer-overriding-action): Mark as risky.
16869 (display-buffer-alist): Document action function changes.
16870 (display-buffer--same-window-action)
16871 (display-buffer--other-frame-action): New variables.
16872 (switch-to-buffer, display-buffer-other-frame): Use them.
16873 (display-buffer): Rename reuse-frame entry to reusable-frames.
16874 (display-buffer-reuse-selected-window): Function deleted.
16875 (display-buffer-reuse-window): Handle reusable-frames alist entry.
16876 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16877 (display-buffer-special): New function.
16878 (display-buffer--maybe-pop-up-frame-or-window): Rename from
16879 display-buffer-reuse-or-pop-window. Split off special-display
16880 part into display-buffer-special.
16881 (display-buffer-use-some-window): Don't perform any special
16882 pop-up-frames handling.
16883 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 16884 (display-buffer--maybe-same-window): Rename from
0d3ff375 16885 display-buffer-maybe-same-window.
8319e0bf 16886
919a69aa
CY
16887 * info.el: Don't set same-window-regexps.
16888 (info-setup): New function.
16889 (info-other-window, info): Call it.
16890
16891 * cus-edit.el: Don't set same-window-regexps.
16892 (customize-group): New argument.
16893 (customize-group-other-window): Use it.
16894 (customize-face, customize-face-other-window): Likewise.
16895 (custom-buffer-create-other-window): Use pop-to-buffer directly.
16896
8319e0bf
CY
16897 * net/rlogin.el:
16898 * net/telnet.el:
16899 * progmodes/gud.el: Don't set same-window-regexps.
16900
16901 * cmuscheme.el:
16902 * ielm.el:
16903 * shell.el:
16904 * mail/sendmail.el:
16905 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
16906
25173000
JL
169072011-09-10 Juri Linkov <juri@jurta.org>
16908
16909 * isearch.el (isearch-edit-string): Remove obsolete mention of
16910 `C-w' (`isearch-yank-word-or-char') from docstring.
16911 (isearch-query-replace): Fix typo in docstring (bug#9466).
16912
056e44ef
JL
169132011-09-10 Juri Linkov <juri@jurta.org>
16914
16915 * paren.el (show-paren-function): Don't show escaped parens.
16916 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
16917
c3760c17
EZ
169182011-09-10 Eli Zaretskii <eliz@gnu.org>
16919
16920 * mail/sendmail.el (mml-to-mime, mml-attach-file)
16921 (mm-default-file-encoding): Remove autoload forms, they are
16922 replaced with autoload cookies in mml.el and mm-encode.el.
16923 (mail-add-attachment): New command.
16924 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
16925 (mail-mode): Mention mail-insert-file and mail-add-attachment in
16926 the doc string.
16927 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
16928
fece895e
RT
169292011-09-10 Reuben Thomas <rrt@sc3d.org>
16930
e69df516
SM
16931 * simple.el (count-words-region): Use buffer if there's no region
16932 (bug#9429).
fece895e 16933
5e68ce4a
JL
169342011-09-09 Juri Linkov <juri@jurta.org>
16935
16936 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
16937 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
16938 (wdired-isearch-filter-read-only): New function. (Bug#6362)
16939
0a6b9622
AM
169402011-09-09 Alan Mackenzie <acm@muc.de>
16941
16942 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16943 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
16944
14a29deb
EZ
169452011-09-09 Eli Zaretskii <eliz@gnu.org>
16946
16947 Fix for Savannah bug#9392.
16948 * simple.el (mail-encode-mml): New defvar.
16949
16950 * mail/rmail.el (mail-encode-mml): Add a defvar.
16951 (rmail-enable-mime-composing): Default to t.
16952 (rmail-forward): Use MIME method of forwarding only if both
16953 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16954 Set mail-encode-mml non-nil if the MIME method was used.
16955
16956 * mail/sendmail.el (mml-to-mime): Add autoload form.
16957 (mail-encode-mml): Add a defvar.
16958 (mail-mode): Make mail-encode-mml buffer-local and initialize it
16959 to nil.
16960 (mail-send): If mail-encode-mml is non-nil, run the outgoing
16961 message through mml-to-mime, and reset mail-encode-mml to nil.
16962
28c45130
GM
169632011-09-09 Glenn Morris <rgm@gnu.org>
16964
16965 * woman.el (woman-if-body): When processing an .el block,
16966 do not delete the next .el block as well. (Bug#9447)
69f4b618 16967 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 16968
9b1c252e
MR
169692011-09-08 Martin Rudalics <rudalics@gmx.at>
16970
16971 * window.el (window-deletable-p): Make sure window is live before
16972 invoking window-prev-buffers.
16973
567457e3
LL
169742011-09-08 Leo Liu <sdl.web@gmail.com>
16975
16976 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
16977
97f05794
JL
169782011-09-08 Juri Linkov <juri@jurta.org>
16979
16980 * progmodes/compile.el (compilation-environment): Make it
16981 a defcustom (bug#8340).
16982
8b0874b5
MR
169832011-09-08 Martin Rudalics <rudalics@gmx.at>
16984
16985 * window.el (frame-auto-delete): Rename to window-auto-delete.
16986 Make it control auto-deletion of windows and/or frames.
16987 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 16988 for deleting window/frame. (Bug#9419)
8b0874b5
MR
16989 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16990 Rewrite handling of case when window/frame can be deleted.
16991 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 16992 argument t. (Bug#9456)
8b0874b5 16993
4feb6e73
CY
169942011-09-07 Chong Yidong <cyd@stupidchicken.com>
16995
16996 * help-mode.el (help-mode): Restore autoload.
16997
91ab9c13
JL
169982011-09-07 Juri Linkov <juri@jurta.org>
16999
17000 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17001 `compilation-environment'. Set buffer-local
17002 `compilation-environment' to `thisenv' later after (funcall mode).
17003 (Bug#8340)
17004
17005 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17006 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17007 instead of replacing its value. (Bug#8340)
17008
0527e251
JL
170092011-09-07 Juri Linkov <juri@jurta.org>
17010
17011 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17012 based on text properties put by `grep-filter' instead of matching
17013 escape sequences.
17014 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17015 to the value of `grep-error-screen-columns' (bug#9438).
17016
249f792c
JL
170172011-09-07 Juri Linkov <juri@jurta.org>
17018
17019 * simple.el (next-error-highlight, next-error-highlight-no-select):
17020 Doc fix (bug#9432).
17021
ff7271b9
OT
170222011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17023
17024 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17025 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17026
183fc730
LL
170272011-09-07 Leo Liu <sdl.web@gmail.com>
17028
17029 * net/rcirc.el (rcirc-mode): Conditionally initialize
17030 rcirc-input-ring.
17031
77694924
SM
170322011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17033
17034 * emacs-lisp/find-func.el (find-function-C-source): Only set
17035 find-function-C-source-directory after checking that we found a source
17036 file there (bug#9440).
17037
d809b8eb
AM
170382011-09-06 Alan Mackenzie <acm@muc.de>
17039
17040 * isearch.el (isearch-other-meta-char): Wherever a key list is
17041 unread, "unread" the prefix arg, too. This fixes bug #8901.
17042
453de99f
OG
170432011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17044
17045 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17046
90439906
JL
170472011-09-05 Juri Linkov <juri@jurta.org>
17048
17049 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17050
f62bd846
JL
170512011-09-05 Juri Linkov <juri@jurta.org>
17052
17053 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17054 keeping point where processing of grep matches begins, and
17055 continue to delete remaining escape sequences from the same point.
17056 (grep-filter): Make leading zero optional in "0?1;31m" because
17057 git-grep emits "\033[1;31m" escape sequences unlike expected
17058 "\033[01;31m" as GNU Grep does (bug#9408).
17059 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17060
045820ec
JL
170612011-09-05 Juri Linkov <juri@jurta.org>
17062
17063 * subr.el (y-or-n-p): Capitalize "yes".
17064
f5e29b9b
MA
170652011-09-04 Michael Albinus <michael.albinus@gmx.de>
17066
17067 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17068 `tramp-cache-unload-hook' where appropriate.
17069 (tramp-methods): Rename `tramp-remote-sh' to
17070 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17071 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17072
17073 * net/tramp-sh.el (top): Don't require 'shell.
17074 (tramp-methods): Add `tramp-remote-shell' and
17075 `tramp-remote-shell-args' entries.
17076 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17077 (tramp-sh-handle-shell-command): Remove.
17078 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17079 Use `tramp-remote-shell'.
17080
2784c434
CY
170812011-09-03 Chong Yidong <cyd@stupidchicken.com>
17082
393a301e 17083 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
17084 (sendmail-query-once): Save directly to send-mail-function.
17085 Update message-send-mail-function too.
17086
17087 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17088
464cdf56
CS
170892011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17090
17091 * progmodes/python.el (python-mode-map): Use correct function to
17092 start python interpreter from menu-bar (as reported by Geert
17093 Kloosterman).
17094 (inferior-python-mode-map): Fix typo.
393a301e 17095 (python-shell-map): Remove.
464cdf56 17096
d37e5c87
DD
170972011-09-03 Deniz Dogan <deniz@dogan.se>
17098
17099 * net/rcirc.el (rcirc-print): Simplify code for
17100 rcirc-scroll-show-maximum-output. There is no need to walk
17101 through all windows to find the right one.
17102
f3ada0ee
CS
171032011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17104
17105 * help.el (help-return-method): Doc fix.
17106
1f3c99ca
MR
171072011-09-03 Martin Rudalics <rudalics@gmx.at>
17108
17109 * window.el (window-deletable-p): Don't return a non-nil value
17110 when there's a buffer that was shown in the window before.
17111 (Bug#9419)
393a301e
SM
17112 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17113 Set window's previous buffers to nil.
1f3c99ca 17114
a3cf097f
EZ
171152011-09-03 Eli Zaretskii <eliz@gnu.org>
17116
17117 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17118 newline before and after the tag line, so it doesn't interfere
17119 with determining the paragraph direction of bidirectional text.
17120
3d03de90
LL
171212011-09-03 Leo Liu <sdl.web@gmail.com>
17122
17123 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17124
c3313451
CY
171252011-09-02 Chong Yidong <cyd@stupidchicken.com>
17126
393a301e 17127 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
17128 (pop-to-buffer): Change interactive spec. Pass second argument
17129 directly to display-buffer.
17130 (display-buffer): Fix interactive spec. Use functionp to
17131 distinguish between a function and a list of functions.
17132
17133 * abbrev.el (edit-abbrevs):
17134 * arc-mode.el (archive-extract):
17135 * autoinsert.el (auto-insert):
17136 * bookmark.el (bookmark-bmenu-list):
17137 * files.el (find-file):
17138 * view.el (view-buffer):
17139 * progmodes/compile.el (compilation-goto-locus):
17140 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17141
89894cd8
CY
171422011-09-02 Chong Yidong <cyd@stupidchicken.com>
17143
17144 * window.el (display-buffer-alist): Doc fix.
17145 (display-buffer): Add docstring. Don't treat
17146 display-buffer-default specially.
17147 (display-buffer-reuse-selected-window)
17148 (display-buffer-same-window, display-buffer-maybe-same-window)
17149 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17150 (display-buffer-pop-up-window)
17151 (display-buffer-reuse-or-pop-window)
17152 (display-buffer-use-some-window): New functions.
17153 (display-buffer-default-action): Use them.
393a301e 17154 (display-buffer-default): Delete.
89894cd8
CY
17155 (pop-to-buffer-1): Fix choice of actions.
17156
ae0bc9fb
SM
171572011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17158
17159 * minibuffer.el (completion--insert-strings): Don't get confused by
17160 completion entries that end with an LF char.
17161
e9d90883
EZ
171622011-09-01 Eli Zaretskii <eliz@gnu.org>
17163
17164 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17165
437014c8
CY
171662011-09-01 Chong Yidong <cyd@stupidchicken.com>
17167
17168 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
17169 (display-buffer-same-window, display-buffer-other-window):
17170 New functions.
437014c8
CY
17171 (pop-to-buffer-1): New function. Use the above.
17172 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 17173 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
17174
17175 * view.el (view-buffer-other-window, view-buffer-other-frame):
17176 Just use pop-to-buffer.
17177
a5e063d5
TV
171782011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17179
17180 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17181
793d32bb
WH
171822011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17183
17184 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17185
d65e4c15
RS
171862011-08-31 Richard Stallman <rms@gnu.org>
17187
17188 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17189 of the separation of rmail-view-buffer from rmail-buffer.
17190 If you say no to "replace original", the decrypt is in the
17191 view buffer. If you say yes, the decrypt goes into the
17192 rmail buffer also.
17193
f818cd2a
MR
171942011-08-31 Martin Rudalics <rudalics@gmx.at>
17195
17196 * window.el (display-buffer-window): Rewrite doc-string.
17197 (display-buffer-record-window): New function.
17198 (display-buffer-macro-specifiers)
17199 (display-buffer-even-window-sizes, display-buffer-set-height)
17200 (display-buffer-set-width, display-buffer-in-window)
17201 (display-buffer-reuse-window, display-buffer-split-specifiers)
17202 (display-buffer-side-specifiers, display-buffer-split-window-1)
17203 (display-buffer-split-window, display-buffer-split-atom-window)
17204 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17205 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17206 (display-buffer-other-window-means-other-frame)
17207 (display-buffer-normalize-special)
17208 (display-buffer-normalize-default)
17209 (display-buffer-normalize-argument)
17210 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17211 (display-buffer-normalize-specifiers, display-buffer-frame)
17212 (display-buffer-same-window, display-buffer-same-frame)
17213 (display-buffer-other-window)
17214 (display-buffer-same-frame-other-window)
17215 (display-buffer-other-frame, pop-to-buffer-same-window)
17216 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17217 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17218 (switch-to-buffer-same-frame)
17219 (switch-to-buffer-other-window-same-frame)
17220 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17221 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17222 (display-buffer-alist-set): Remove.
17223 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
17224 (special-display-regexps, special-display-function):
17225 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
17226 parameter.
17227 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17228 (special-display-frame-alist, special-display-popup-frame)
17229 (same-window-buffer-names, same-window-regexps, same-window-p)
17230 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17231 (split-window-preferred-function, split-height-threshold)
17232 (split-width-threshold, window-splittable-p)
17233 (split-window-sensibly, window--try-to-split-window)
17234 (window--frame-usable-p, even-window-heights)
17235 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
17236 (window--display-buffer-2, display-buffer-other-frame):
17237 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
17238 (display-buffer-default, display-buffer-assq-regexp): New functions.
17239 (display-buffer-alist): Rewrite doc-string.
17240 (display-buffer-default-action)
17241 (display-buffer-overriding-action): New variables.
17242 (display-buffer, switch-to-buffer): Rewrite.
17243 (pop-to-buffer): Restore Emacs 23 behavior but use
17244 window-normalize-buffer-to-display.
17245 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17246 Restore Emacs 23 behavior but use
17247 window-normalize-buffer-to-switch-to.
17248 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
17249 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17250 Rewrite using Emacs 23 options.
f818cd2a 17251
5bc3b51d
MA
172522011-08-31 Michael Albinus <michael.albinus@gmx.de>
17253
17254 * net/tramp.el (tramp-root-regexp): Remove.
17255 (tramp-completion-file-name-regexp-unified)
17256 (tramp-completion-file-name-regexp-separate)
17257 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 17258 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
17259 (tramp-drop-volume-letter): Simplify definition.
17260 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 17261
b1a4f8e1
SM
172622011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17263
17264 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17265 (bug#9356).
17266
5664fa7b
RT
172672011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
17268
b1a4f8e1 17269 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 17270
9a45d6c3
JL
172712011-08-29 Juri Linkov <juri@jurta.org>
17272
17273 * isearch.el (isearch-done): Don't display message "Mark saved"
17274 when arg `edit' is non-nil to prevent its flicker in the echo area.
17275
fb87e0fb
CY
172762011-08-28 Chong Yidong <cyd@stupidchicken.com>
17277
17278 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17279 obsolete packages for deletion.
17280
09ac1c2a
CS
172812011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
17282
17283 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 17284 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
17285 view-mode from help-mode.
17286 (help-xref-override-view-map): Remove.
17287 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17288 view-mode is not used anymore.
17289
7a1ff57f
CY
172902011-08-28 Chong Yidong <cyd@stupidchicken.com>
17291
17292 * server.el (server-port): Doc fix.
17293
b9696605
CY
17294 * cus-theme.el (custom-theme-choose-mode): Inherit from
17295 special-mode (Bug#9124).
17296 (custom-theme-choose-mode-map): Add special-mode to parent.
17297
ef8cdf8c
AM
172982011-08-28 Alan Mackenzie <acm@muc.de>
17299
17300 * progmodes/cc-fonts.el
17301 (c-make-font-lock-BO-decl-search-function): New function.
17302 (c-basic-matchers-after - "Fontify the clauses after various
17303 keywords"): Extract the three keyword lists for the 3 erroneous
17304 constructs from the list of four, and use the new function above
17305 in place of an old one.
17306
27de4e20
DD
173072011-08-28 Deniz Dogan <deniz@dogan.se>
17308
17309 * net/rcirc.el (rcirc-insert-prev-input)
17310 (rcirc-insert-next-input): Remove unused argument.
17311
356a3681
SM
173122011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17313
17314 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17315
3fc9b218
AM
173162011-08-27 Alan Mackenzie <acm@muc.de>
17317
17318 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17319 handle function pointer parameters properly.
17320
538a061c
MR
173212011-08-27 Martin Rudalics <rudalics@gmx.at>
17322
17323 * window.el (display-buffer-reuse-window): Fix case where
17324 selected window was reused with non-nil OTHER-WINDOW argument.
17325 (Bug#9381)
17326
35b1c40c
DD
173272011-08-27 Deniz Dogan <deniz@dogan.se>
17328
17329 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17330 oftc's NickServ messages.
17331
2f6a3e79
GM
173322011-08-27 Glenn Morris <rgm@gnu.org>
17333
17334 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17335
7254299e
CY
173362011-08-26 Chong Yidong <cyd@stupidchicken.com>
17337
17338 * emacs-lisp/package.el (package-install): Call package-initialize
17339 if called interactively.
17340
f8ccf167
LL
173412011-08-26 Leo Liu <sdl.web@gmail.com>
17342
17343 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17344
3e8cd5ce
JL
173452011-08-25 Juri Linkov <juri@jurta.org>
17346
17347 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17348 `search-whitespace-regexp' (bug#9364).
17349
93eb7113
JL
173502011-08-25 Juri Linkov <juri@jurta.org>
17351
17352 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17353 `regexp-search-ring' to their global values to protect from
17354 updating by `read-from-minibuffer' (bug#9185).
17355
f65d1611
JL
173562011-08-25 Juri Linkov <juri@jurta.org>
17357
17358 * textmodes/ispell.el (ispell-command-loop): Add newline
17359 at the end of the "Use option `i'..." line.
17360
f1cf7a31
JL
173612011-08-25 Juri Linkov <juri@jurta.org>
17362
17363 * battery.el (display-battery-mode): If `battery-status-function'
17364 or `battery-mode-line-format' is nil, display the message and set
17365 `display-battery-mode' to nil (bug#9363).
17366
0c95fcf7
EZ
173672011-08-25 Eli Zaretskii <eliz@gnu.org>
17368
17369 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17370 bidi-string-mark-left-to-right; they are unnecessary now.
17371
a2ebe600
DD
173722011-08-25 Deniz Dogan <deniz@dogan.se>
17373
17374 * net/quickurl.el: Documentation typo fixes.
17375
e4ed06f1
CY
173762011-08-25 Chong Yidong <cyd@stupidchicken.com>
17377
17378 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17379
e5f1c99e
GM
173802011-08-25 Glenn Morris <rgm@gnu.org>
17381
b2948976
GM
17382 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17383
e5f1c99e
GM
17384 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17385 (smtpmail-via-smtp): Handle nil response from smtp.
17386
f22f4808
JL
173872011-08-24 Juri Linkov <juri@jurta.org>
17388
17389 * proced.el (proced-marked): Inherit from `error' instead of
17390 `font-lock-warning-face'.
17391
17392 * ibuffer.el (ibuffer-marked-face): Change default face from
17393 `font-lock-warning-face' to `warning'.
17394 (ibuffer-deletion-face): Change default face from
17395 `font-lock-type-face' to `error'.
17396
17397 * battery.el (battery-update): Use the face `error' instead of
17398 `font-lock-warning-face' (bug#6117).
17399
6a93965e
JL
174002011-08-24 Juri Linkov <juri@jurta.org>
17401
17402 * faces.el (success): Change face color from "Green3" to
17403 "ForestGreen" on light background (bug#9353).
17404
1ed43b09
CY
174052011-08-24 Chong Yidong <cyd@stupidchicken.com>
17406
5664fa7b
RT
17407 * window.el (quit-window): Rename from quit-restore-window.
17408 Use same arglist as old quit-window.
1ed43b09
CY
17409 (frame-auto-delete): Doc fix.
17410
17411 * view.el (view-mode-exit): Use quit-window.
17412
11dcdbb2
JL
174132011-08-24 Juri Linkov <juri@jurta.org>
17414
17415 * isearch.el (isearch-ring-adjust1): Start visiting previous
17416 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17417 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17418 for empty search string (when the last search string is reused
17419 automatically) to adjust the isearch ring to the last element and
17420 prepare the correct index for further M-p commands (bug#9185).
17421
de62b4df
KH
174222011-08-24 Kenichi Handa <handa@m17n.org>
17423
17424 * international/ucs-normalize.el: If decomposition property of
17425 CHAR is the default one (i.e. a list of CHAR itself), treat it as
17426 nil.
17427 (nfd, nfkd): Likewise.
17428
963b492b
SM
174292011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17430
17431 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17432 from process filters aren't reliably transmitted to the surrounding
17433 accept-process-output.
17434 (mpc-proc-check): New function.
17435 (mpc-proc-sync): Use it (bug#8293)
17436
93b6b5e1
SM
174372011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17438
17439 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17440 Add compatibility functions (bug#9313).
17441
bca633fb
EZ
174422011-08-23 Eli Zaretskii <eliz@gnu.org>
17443
b177498a
EZ
17444 * cus-start.el (all): Add entry for bidi-paragraph-direction.
17445
6df6ae42 17446 * international/uni-bidi.el: Regenerate.
bca633fb 17447
0902a04e
KH
174482011-08-23 Kenichi Handa <handa@m17n.org>
17449
17450 * international/charprop.el:
17451 * international/uni-bidi.el:
17452 * international/uni-category.el:
17453 * international/uni-combining.el:
17454 * international/uni-comment.el:
17455 * international/uni-decimal.el:
17456 * international/uni-decomposition.el:
17457 * international/uni-digit.el:
17458 * international/uni-lowercase.el:
17459 * international/uni-mirrored.el:
17460 * international/uni-name.el:
17461 * international/uni-numeric.el:
17462 * international/uni-old-name.el:
17463 * international/uni-titlecase.el:
17464 * international/uni-uppercase.el: Regenerate.
17465
3bbf23bc
MR
174662011-08-23 Martin Rudalics <rudalics@gmx.at>
17467
17468 * help.el (help-window-setup): Fix message displayed when other
17469 window is reused. (Bug#9341)
17470
b3fd59bd
SM
174712011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17472
1802e444
SM
17473 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17474 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17475
b3fd59bd
SM
17476 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17477 Mark obsolete.
17478 * shell.el (shell-parse-pcomplete-arguments): New function.
17479 (shell-completion-vars): Use it instead (bug#9160).
17480
4eb61348
SM
174812011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17482
867cab74
SM
17483 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17484 strings and comments (bug#9333).
17485
4eb61348
SM
17486 * emacs-lisp/debug.el (debug-arglist): New function.
17487 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
17488 (debug-on-entry-1): Handle interpreted closures (bug#9120).
17489
262a1439
JL
174902011-08-22 Juri Linkov <juri@jurta.org>
17491
56ee679c
JL
17492 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17493 Revert regexp that highlights output switches to its old
17494 pre-2010-10-28 value and remove one `?' from it (bug#9319).
17495
262a1439
JL
17496 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17497 to check for empty output (bug#9226).
17498
f13f86fb
CY
174992011-08-22 Chong Yidong <cyd@stupidchicken.com>
17500
17501 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17502 symbol-constituent as the default, as that stops font-lock from
17503 working properly (Bug#8843).
17504
c65c9622
LMI
175052011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17506
17507 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17508 `coding-system-for-*' around the process open call to avoid
17509 auth-source side effects.
e7f2c178 17510 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
17511 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17512 probe hangs.
c65c9622 17513
23a8a5ab
CY
175142011-08-21 Chong Yidong <cyd@stupidchicken.com>
17515
ff98b2dd
CY
17516 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17517
23a8a5ab
CY
17518 * emacs-lisp/find-func.el (find-function-noselect): New arg
17519 lisp-only.
17520
17521 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17522 signal an error for built-in functions (Bug#6664).
17523
f5e3c598
LMI
175242011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17525
17526 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17527 (smtpmail-try-auth-methods): Use it.
17528
a3f2468a
CY
175292011-08-21 Chong Yidong <cyd@stupidchicken.com>
17530
2c34e8da
CY
17531 * font-lock.el (font-lock-fontify-region)
17532 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17533 (font-lock-default-unfontify-buffer)
17534 (font-lock-default-fontify-region)
17535 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17536
b3fd59bd
SM
17537 * progmodes/compile.el (compilation-error-properties):
17538 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
17539 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17540 `ant' regexp.
ee31aabc 17541
a3f2468a
CY
17542 * net/browse-url.el (browse-url-firefox): Don't call
17543 browse-url-firefox-sentinel unless using -remote (Bug#9328).
17544
8e999f70
GM
175452011-08-20 Glenn Morris <rgm@gnu.org>
17546
c21a496a
GM
17547 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17548
59ee0542
GM
17549 * tutorial.el (tutorial--default-keys): Update some default bindings.
17550
8e999f70
GM
17551 * files.el (hack-local-variables): Fully ignore case for "mode:".
17552
e3715033
AM
175532011-08-20 Alan Mackenzie <acm@muc.de>
17554
17555 Resolve invalid use of a regexp in regexp-opt.
17556
4d61f28d
JB
17557 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17558 detection for a java annotation.
e3715033 17559
4d61f28d 17560 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
17561 detection for a java annotation.
17562
4d61f28d
JB
17563 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
17564 handling for java.
e3715033
AM
17565 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
17566
04ed2e9c
CY
175672011-08-20 Chong Yidong <cyd@stupidchicken.com>
17568
17569 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
17570 (Bug#9274).
17571
826cee64
AM
175722011-08-20 Alan Mackenzie <acm@muc.de>
17573
58179cce 17574 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
17575 such a construct. Mainly for when jit-lock etc. starts a chunk
17576 here.
17577
58179cce 17578 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 17579 variable.
58179cce 17580 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
17581 c-make-font-lock-search-function.
17582 (c-make-font-lock-search-function): Use the above function.
17583 (c-make-font-lock-context-search-function): New function.
17584 (c-cpp-matchers): Enhance the preprocessor expression case with
17585 the above function
17586 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
17587 which takes an expression.
17588
17589 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17590
13009bd8
MR
175912011-08-20 Martin Rudalics <rudalics@gmx.at>
17592
17593 * window.el (display-buffer-reuse-window)
17594 (display-buffer-pop-up-window): Don't reuse or split a side
17595 window.
17596
9234ff7f
GM
175972011-08-19 Glenn Morris <rgm@gnu.org>
17598
17599 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 17600 Downcase "Mode:". (Bug#9331)
9234ff7f 17601
f635daa1
CY
176022011-08-18 Chong Yidong <cyd@stupidchicken.com>
17603
17604 * international/characters.el: Add L and R categories.
17605
17606 * subr.el (bidi-string-mark-left-to-right): Rename from
17607 string-mark-left-to-right. Use category search.
17608
17609 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17610
bc987f8b
JL
176112011-08-18 Juri Linkov <juri@jurta.org>
17612
17613 * faces.el (error, warning, success): New faces with definitions
17614 copied from old default values of `font-lock-warning-face',
17615 `compilation-warning', `compilation-info' (bug#6117).
17616
17617 * font-lock.el (font-lock-warning-face): Inherit from `error'.
17618
17619 * progmodes/compile.el (compilation-error): Inherit from `error'.
17620 (compilation-warning): Inherit from `warning'.
17621 (compilation-info): Inherit from `success'.
17622
17623 * dired.el (dired-marked): Inherit from `warning'.
17624 (dired-flagged): Inherit from `error'.
17625
57173b96
LMI
176262011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17627
3e79eb87
LMI
17628 * mail/smtpmail.el (auth-source): Require to avoid problems with
17629 binding variables (bug#9298). Also clean up some unused
17630 autoloads.
17631
b3fd59bd
SM
17632 * net/network-stream.el (network-stream-open-starttls):
17633 Support using starttls.el without using gnutls-cli.
57173b96 17634
02b404de
JL
176352011-08-17 Juri Linkov <juri@jurta.org>
17636
17637 * progmodes/grep.el (rgrep): Handle the case when
17638 `grep-find-command' is a cons cell (bug#9278).
17639
8c9177f2
MR
176402011-08-17 Martin Rudalics <rudalics@gmx.at>
17641
17642 * window.el (display-buffer-pop-up-frame): Run frame creation
17643 function with BUFFER current (as special-display-popup-frame
17644 does). Reported by Drew Adams.
17645
3644a0ab
DU
176462011-08-17 Daiki Ueno <ueno@unixuser.org>
17647
17648 * epa-mail.el: Simplify GnuPG group expansion using
17649 epg-expand-group.
17650 (epa-mail-group-alist, epa-mail-group-modtime)
17651 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17652 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17653 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17654 Remove.
17655
5e617bc2 176562011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
17657
17658 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17659
9c4aeabf
AM
176602011-08-16 Alan Mackenzie <acm@muc.de>
17661
17662 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17663 Correct, to avoid the inside of macros.
17664
3a99bf64
RS
176652011-08-16 Richard Stallman <rms@gnu.org>
17666
04963aa8
RS
17667 * epa-mail.el: Handle GnuPG group definitions.
17668 (epa-mail-group-alist, epa-mail-group-modtime)
17669 (epa-mail-gnupg-conf-file): New variables.
17670 (epa-mail-parse-groups, epa-mail-sync-groups)
17671 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17672 (epa-mail-expand-recipients): New functions.
17673 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17674
177549d0
RS
17675 * mail/rmail.el (rmail-epa-decrypt): New command.
17676
fe38beef
RS
17677 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17678 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
17679 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17680 (epa-decrypt-armor-in-region): Make error message clearer.
17681
934eacb9
SM
176822011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17683
17684 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17685 and "a2b" to "ab" for `prefix'.
17686
d024fb4e
CY
176872011-08-14 Chong Yidong <cyd@stupidchicken.com>
17688
17689 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17690 filter groups.
de148fee
CY
17691 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17692 Fourquet (Bug#8804).
d024fb4e 17693
62f1ca49
JB
176942011-08-12 Juanma Barranquero <lekktu@gmail.com>
17695
17696 * startup.el (argi): Declare as global variable (bug#9275).
17697
9ccaaa4b
CY
176982011-08-12 Chong Yidong <cyd@stupidchicken.com>
17699
17700 * subr.el (string-mark-left-to-right): Search the entire string
17701 for RTL script, not just the terminating character. Doc fix.
17702
a3dae87a
SM
177032011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17704
6cd18349
SM
17705 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17706 New function.
17707 (js--regexp-literal, js-syntax-propertize-function): Remove.
17708 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17709 (js-mode-map): Don't rebind electric keys.
17710 (js-insert-and-indent): Remove.
17711 (js-mode): Setup electric-layout and electric-indent instead.
17712
a3dae87a
SM
17713 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17714
9d5cb631
DU
177152011-08-12 Daiki Ueno <ueno@unixuser.org>
17716
17717 * epa.el (epa-progress-callback-function): Fix the logic of
17718 displaying progress.
17719 * epa-file.el (epa-file-insert-file-contents): Make progress
17720 display more user-friendly.
17721 (epa-file-write-region): Ditto.
17722
3e26a4a2
CY
177232011-08-10 Chong Yidong <cyd@stupidchicken.com>
17724
17725 * subr.el (string-mark-left-to-right): New function.
17726
17727 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17728 Use string-mark-left-to-right.
17729 (list-buffers-noselect): Caller changed.
17730
a3dae87a
SM
17731 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17732 Use string-mark-left-to-right.
3e26a4a2
CY
17733 (tabulated-list-print): Recenter after moving point.
17734
ac8cf6e6
JL
177352011-08-10 Juri Linkov <juri@jurta.org>
17736
17737 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17738 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17739 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17740
8d96c9a4
CY
177412011-08-09 Chong Yidong <cyd@stupidchicken.com>
17742
17743 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17744 (Bug#7554).
17745
7be1c708 177462011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
17747
17748 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17749 character. (Bug#6594)
17750
37e11a63
CY
177512011-08-08 Chong Yidong <cyd@stupidchicken.com>
17752
839dde57
CY
17753 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17754 (image-dired--with-db-file): New macro.
17755 (image-dired-write-tags, image-dired-remove-tag)
17756 (image-dired-create-gallery-lists, image-dired-write-comments)
17757 (image-dired-get-comment, image-dired-mark-tagged-files)
17758 (image-dired-list-tags, image-dired-gallery-generate): Use it.
17759 (image-dired-gallery-generate): Use insert-file-contents.
17760
37e11a63
CY
17761 * time.el (display-time-world-list, display-time-world-display):
17762 * time-stamp.el (time-stamp-string):
17763 * vc/add-log.el (add-change-log-entry): Use setenv instead of
17764 set-time-zone-rule (Bug#7337).
17765
0b4946c4
DU
177662011-08-08 Daiki Ueno <ueno@unixuser.org>
17767
17768 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17769 (epg-error-to-string, epg-errors-to-string): New function.
17770 (epg-wait-for-completion): Reverse errors list.
17771 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17772 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17773 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17774 (epg-sign-keys, epg-generate-key-from-file)
17775 (epg-generate-key-from-string): Format errors by using
17776 epg-errors-to-string (bug#9255).
17777 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17778
75bfc667
JL
177792011-08-07 Juri Linkov <juri@jurta.org>
17780
17781 * faces.el (list-faces-display): Remove extra angle bracket
17782 from `help-mode-map'.
17783
17784 * info.el (Info-history-toc-nodes): Doc fix.
17785
17786 * longlines.el (longlines-mode): Doc fix.
17787
673e08bb
SM
177882011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17789
4640dd88
SM
17790 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17791 of statements and in a few more cases (bug#9183).
17792
673e08bb
SM
17793 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17794 New functions.
17795 (cl-transform-lambda): Use them (bug#9239).
17796
89b3f019
MR
177972011-08-05 Martin Rudalics <rudalics@gmx.at>
17798
17799 * window.el (display-buffer-same-window)
17800 (display-buffer-same-frame, display-buffer-other-window)
17801 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17802 (pop-to-buffer-other-window)
17803 (pop-to-buffer-same-frame-other-window)
17804 (pop-to-buffer-other-frame): Make them defuns.
17805 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17806
640c8776
SM
178072011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17808
17809 * subr.el (make-composed-keymap): Move from C. Change calling
17810 convention, and improve docstring to bring attention to a subtle point.
17811 * minibuffer.el (completing-read-default): Adjust accordingly.
17812
63648a95
MA
178132011-08-03 Michael Albinus <michael.albinus@gmx.de>
17814
17815 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17816 (tramp-open-shell): Use `tramp-shell-quote-argument'.
17817
17818 * net/trampver.el: Update release number.
17819
b796c9b7
SM
178202011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17821
17822 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17823 "in" (bug#9190).
17824
2239d7d5
LMI
178252011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17826
e07dd7c3
LMI
17827 * mail/sendmail.el (sendmail-query-once): Restore the current
17828 buffer after querying (bug#9074).
17829
0e6a2bd7
LMI
17830 * dired.el (dired-flagged): Use different faces for marked and
17831 flagged files (bug#6117).
17832
ce887515
LMI
17833 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17834 (bug#4433).
17835
92f2affc
LMI
17836 * ido.el (ido-mode): Switch off the message if called
17837 non-interactively.
17838
57d5aff0
LMI
17839 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17840 before 587, since it appears that that's more likely to work for
17841 more people.
17842
98cd6c18 17843 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 17844 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
17845 exist.
17846
b96dec83
LMI
17847 * info.el: Remove the `Info-beginning-of-buffer' function
17848 (bug#8325).
17849
b796c9b7
SM
17850 * net/network-stream.el (network-stream-open-starttls):
17851 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 17852
d90e2ea0
MR
178532011-08-01 Martin Rudalics <rudalics@gmx.at>
17854
17855 * window.el (display-buffer-in-window): Don't set dedicated status
17856 of window here (Bug#9215).
17857 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17858 (display-buffer-pop-up-side-window)
b796c9b7 17859 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 17860
cca09170
SM
178612011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17862
17863 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17864 before binding generated-autoload-file.
17865
027b979c
DD
178662011-08-01 Deniz Dogan <deniz@dogan.se>
17867
17868 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17869
3c7ee4f3
MA
178702011-07-30 Michael Albinus <michael.albinus@gmx.de>
17871
17872 Sync with Tramp 2.2.2.
17873
17874 * net/trampver.el: Update release number.
17875
2cc8e51a
JL
178762011-07-30 Juri Linkov <juri@jurta.org>
17877
17878 * dired-aux.el (dired-touch-initial): Remove function.
17879 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17880 current time, and `default' to the last modification time of the
17881 current marked file (bug#6887).
17882
a514d856
JM
178832011-07-28 Jose E. Marchesi <jemarch@gnu.org>
17884
17885 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 17886 numeric argument to read-number (bug#9163).
a514d856 17887
8a7eddd7
MA
178882011-07-27 Michael Albinus <michael.albinus@gmx.de>
17889
17890 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17891 connection process, it could be nil.
17892
1ddd96f5
LL
178932011-07-27 Leo Liu <sdl.web@gmail.com>
17894
17895 Simplify url handling in rcirc-mode.
17896
17897 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17898 (rcirc-browse-url-at-mouse): Remove.
17899 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17900
b248a85d
AM
179012011-07-26 Alan Mackenzie <acm@muc.de>
17902
17903 Fontify bitfield declarations properly.
17904
17905 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
17906 (c-symbol-chars): Now exported as a lang variable.
17907 (c-not-primitive-type-keywords): New lang variable.
17908
17909 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
17910 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 17911 parsed as a bitfield declaration.
b248a85d 17912
b796c9b7
SM
17913 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17914 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
17915 (c-punctuation-in): New function.
17916 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
17917 declarations properly.
17918
68575ab0
UJ
179192011-07-26 Ulf Jasper <ulf.jasper@web.de>
17920
17921 * calendar/icalendar.el (icalendar--all-events): Take care of
17922 multiple vcalendars in a single file.
b796c9b7 17923 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 17924
0f0a88b9
DD
179252011-07-25 Deniz Dogan <deniz@dogan.se>
17926
17927 * image.el (insert-image): Clarifying docstring.
17928
0b3f36df
MA
179292011-07-24 Michael Albinus <michael.albinus@gmx.de>
17930
17931 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
17932 `tramp-send-command-and-check' if there is no error.
17933 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
17934
a9901f61
AM
179352011-07-22 Alan Mackenzie <acm@muc.de>
17936
17937 Prevent cc-langs.elc being loaded at run time.
17938
17939 * progmodes/cc-mode.el: Remove two autoload forms which loaded
17940 cc-langs.
17941
4d61f28d 17942 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
17943 "(require 'cc-langs)". Quote a form so it will evaluate at
17944 (cc-mode's) compilation time.
17945
11d074b2
MA
179462011-07-22 Michael Albinus <michael.albinus@gmx.de>
17947
17948 * net/tramp.el (tramp-file-name-handler): Avoid recursive
17949 loading. (Bug#9114)
17950
938b94c8
MR
179512011-07-21 Martin Rudalics <rudalics@gmx.at>
17952
17953 * window.el (display-buffer-pop-up-window)
17954 (display-buffer-pop-up-side-window)
17955 (display-buffer-in-side-window): Call display-buffer-set-height
17956 and display-buffer-set-width after setting the new window's
b796c9b7 17957 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 17958
bfa4f190
SS
179592011-07-20 Sam Steingold <sds@gnu.org>
17960
17961 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17962 (etags-tags-included-tables): Call `convert-standard-filename' on
17963 the file names contained in TAGS so that windows Emacs can handle
17964 TAGS files created by cygwin ctags.
17965
8ca42262
LMI
179662011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
17967
17968 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17969 which apparently didn't work.
17970
5db2afd2 179712011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 17972
5db2afd2
RW
17973 * proced.el (proced-send-signal): For *Marked Processes* buffer
17974 put point at beginning of buffer.
17975
92e15d10
SB
179762011-07-19 Stephen Berman <stephen.berman@gmx.net>
17977
17978 * proced.el (proced-format): Make header lines align with the text
17979 (bug#1779).
17980
1bfd59e5
LMI
179812011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17982
17983 * view.el (view-buffer): Allow running in `special' modes if we're
17984 visiting a file (bug#8615).
17985
f5aae37c
MR
179862011-07-19 Martin Rudalics <rudalics@gmx.at>
17987
17988 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
17989 (display-buffer-alist-set-1, display-buffer-alist-set-2):
17990 New functions.
f5aae37c
MR
17991 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17992 more accurately.
17993
bf2c1571
AM
179942011-07-18 Alan Mackenzie <acm@muc.de>
17995
17996 Fontify declarators properly when, e.g., a jit-lock chunk begins
17997 inside a declaration.
17998
17999 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18000
b796c9b7
SM
18001 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18002 New function.
bf2c1571
AM
18003 (c-complex-decl-matchers): Insert reference to
18004 c-font-lock-enclosing-decls.
18005
18006 * progmodes/cc-engine.el (c-backward-single-comment):
18007 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18008 to nil around calls to (forward-comment -1).
18009
4e190b80
LMI
180102011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18011
12dc863d
LMI
18012 * image.el (put-image): Doc typo fix.
18013
a762e966
LMI
18014 * progmodes/etags.el (tags-search): Doc typo fix.
18015
4e190b80
LMI
18016 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18017 password if we get errors 550 to 554.
18018
f019fb21
LMI
180192011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18020
b796c9b7 18021 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 18022
81746738
LMI
18023 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18024 indentation character (bug#6380).
18025
3ee3a1b5
LMI
18026 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18027
c82f64de
LMI
18028 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18029 to clarify what the problem is (bug#4291).
18030
f019fb21
LMI
18031 * simple.el (current-kill): Clarify what
18032 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
18033 (auto-fill-mode): Document `auto-fill-function' in relation to
18034 `auto-fill-mode' (bug#2470).
f019fb21 18035
0794775d
LM
180362011-07-16 Lawrence Mitchell <wence@gmx.li>
18037
18038 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18039 method if slot is read-only (bug#9035).
18040
be39b8cc
MR
180412011-07-16 Martin Rudalics <rudalics@gmx.at>
18042
b796c9b7 18043 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 18044 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
18045 selected before, see discussion of (Bug#8615), (Bug#6954).
18046 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 18047
6ccf7859
GM
180482011-07-15 Glenn Morris <rgm@gnu.org>
18049
18050 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 18051 Respect help-form.
6ccf7859 18052
87e86684
LM
180532011-07-09 Lawrence Mitchell <wence@gmx.li>
18054
18055 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18056 (gnutls-negotiate): Use it.
18057
d6066239
LMI
180582011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18059
b796c9b7
SM
18060 * net/gnutls.el (gnutls-negotiate):
18061 Upcase `gnutls-algorithm-priority'.
d6066239 18062
bd23ebc0
GM
180632011-07-15 Glenn Morris <rgm@gnu.org>
18064
c65bca65
GM
18065 * jka-compr.el (jka-compr-verbose): Move from here...
18066 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18067 Add missing :version tag.
18068 * info.el: No need to require jka-compr when compiling.
bd23ebc0 18069
478615cc
LMI
180702011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18071
7b41decb
LMI
18072 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18073 (gnutls-negotiate): Use it.
18074
dbc44fcd
LMI
18075 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18076
06789f97
LMI
18077 * info.el (Info-beginning-of-buffer): New command.
18078 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18079 announcing `b' as the key (bug#8325).
ab896c37 18080 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 18081
c39da690
LMI
18082 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18083
3aa5f34b
LMI
18084 * international/mule-cmds.el
18085 (describe-specified-language-support): Make the error message
18086 clearer (bug#8905).
18087
4bf0979f
LMI
18088 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18089
478615cc
LMI
18090 * isearch.el (isearch-barrier): Add a doc string, since it's
18091 mentioned in a function doc string (bug#8678).
18092
75c68aa1
MR
180932011-07-15 Martin Rudalics <rudalics@gmx.at>
18094
18095 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18096 buffer argument (Bug#9083) and self-identifying label argument.
18097
a7c33da2
GM
180982011-07-15 Glenn Morris <rgm@gnu.org>
18099
18100 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18101
2f5c6024
LMI
181022011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18103
18104 * man.el (Man-fontify-manpage): Fix message when formatting the
18105 man page (bug#7929).
18106
0bb23927 181072011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
18108
18109 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18110 argument LRM; if non-nil, append an invisible LRM character to the
18111 buffer name.
18112 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18113 last argument non-nil, when formatting buffer names.
0bb23927
EZ
18114 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18115 paragraph direction.
cce4b0a7 18116
621ef9ab
LMI
181172011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18118
d1583c48
LMI
18119 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18120 the man page name (bug#7929).
18121
6a57fb5f
LMI
18122 * image.el (put-image): Mention the `put-image' overlay property
18123 (bug#7834).
18124
d7956b14
LMI
18125 * scroll-bar.el (set-scroll-bar-mode): Mention that
18126 `scroll-bar-mode' lists the values (bug#7772).
18127
5b2d4a66
LMI
18128 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18129 command (bug#7729).
18130
7509a874
LMI
18131 * rect.el (apply-on-rectangle): Return the point after the last
18132 operation.
18133 (string-rectangle): Go to the point after the last operation
18134 (bug#7522).
18135
4fe74b19
LMI
18136 * printing.el (pr-toggle-region): Clarify the documentation
18137 slightly (bug#7493).
18138
b796c9b7
SM
18139 * time.el (display-time-update):
18140 Allow `display-time-mail-function' to return nil (bug#7158).
18141 Fix suggested by Detlev Zundel.
ab283561 18142
fc233c9d
LMI
18143 * vc/diff.el (diff): Clarify the order the file names are read
18144 (bug#7111).
18145
43f5740b
LMI
18146 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18147 the doc string (bug#7015).
18148
f2182a76
LMI
18149 * font-lock.el (font-lock-maximum-decoration): Mention what
18150 numeric levels mean (bug#6935).
18151
621ef9ab
LMI
18152 * startup.el (initial-buffer-choice): Don't mention the `none'
18153 selection, which is against policy.
18154
adc47434
MR
181552011-07-14 Martin Rudalics <rudalics@gmx.at>
18156
b796c9b7
SM
18157 * window.el (display-buffer-normalize-special):
18158 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 18159
7e5bfb8f
EZ
181602011-07-14 Eli Zaretskii <eliz@gnu.org>
18161
18162 * subr.el (version<, version<=, version=): Mention "-CVS" and
18163 "-12345" alpha version numbers.
18164
27fa387a
CY
181652011-07-14 Chong Yidong <cyd@stupidchicken.com>
18166
18167 * bindings.el: Add advertised binding for set-mark-command
18168 (Bug#5772).
18169
8bdfa064
CY
181702011-07-14 Chong Yidong <cyd@stupidchicken.com>
18171
18172 * bindings.el (mode-line-other-buffer):
18173 * bookmark.el (bookmark-bmenu-2-window):
18174 * bs.el (bs-cycle-next, bs-cycle-previous):
18175 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18176 switch-to-buffer.
18177
18178 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 18179 Delete.
8bdfa064 18180
5eba16a3
JB
181812011-07-14 Juanma Barranquero <lekktu@gmail.com>
18182
18183 * follow.el (follow-debug-message, follow-redisplay):
18184 * jka-cmpr-hook.el (with-auto-compression-mode):
18185 Fix typos in docstrings.
18186
15853710
LMI
181872011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18188
a28e4607
LMI
18189 * subr.el (with-silent-modifications): Clarify somewhat what the
18190 macro inhibits (bug#6525).
18191
15853710
LMI
18192 * simple.el (eval-expression): Note what it does if called
18193 interactively (bug#6495).
18194
bee0fcef
CY
181952011-07-13 Chong Yidong <cyd@stupidchicken.com>
18196
b796c9b7
SM
18197 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18198 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
18199
18200 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18201 Remove switch-to-buffer.
18202
58274504
LMI
182032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18204
bd2fcc8d
LMI
18205 * files.el (make-directory): Clarify that an error will be raised
18206 if there's an error (bug#6397).
18207
0f04b32c
LMI
18208 * startup.el (initial-buffer-choice): Add `none' as a choice
18209 (bug#6234).
18210
465c5fc8
LMI
18211 * subr.el (add-hook): Clarify section about buffer-local hooks
18212 (bug#6218).
18213
58274504
LMI
18214 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18215
bead9a43
JB
182162011-07-13 Juanma Barranquero <lekktu@gmail.com>
18217
18218 * tabify.el (untabify): Preserve the current column so that point
18219 doesn't move (bug#6032).
18220
3af98a7b
LMI
182212011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18222
b796c9b7
SM
18223 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18224 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 18225
6240145a
GM
182262011-07-13 Glenn Morris <rgm@gnu.org>
18227
18228 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18229 (dired-insert-directory): Give a message the first time
18230 if ls is found not to support --dired.
18231
1d8c2ccc
LMI
182322011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18233
18234 * simple.el (toggle-truncate-lines): Clarify what is toggled
18235 (bug#5580). Text by Drew Adams.
18236
5fc4038e
CY
182372011-07-13 Chong Yidong <cyd@stupidchicken.com>
18238
18239 * simple.el (blink-matching-open): Make the error message from the
18240 last change less verbose.
18241
bf6012e5
DN
182422011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18243
18244 * font-lock.el (font-lock-comment-face): Use the high contrast
18245 "yellow" color for font-lock-comment-face on low color terminals
18246 using a dark background color (bug#4221).
18247
343c3b5a
LMI
182482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18249
7e9505c5
LMI
18250 * dired.el (dired-insert-set-properties): Make the doc string
18251 reflect what it does now (bug#5325).
18252
c26fdcf5
LMI
18253 * simple.el (blink-matching-open): Say that we were unable to find
18254 the match within the limit, if we're limited (bug#5122).
18255
bb388cc5
LMI
18256 * international/mule-cmds.el (prefer-coding-system): Add an
18257 example (bug#4869).
18258
343c3b5a
LMI
18259 * progmodes/etags.el (tags-search): Document `file-list-form'
18260 (bug#4731).
18261
2a517d45
LM
182622011-07-13 Lawrence Mitchell <wence@gmx.li>
18263
18264 * net/browse-url.el (browse-url-default-browser)
18265 (browse-url-browser-function): Make the default browser choice a
18266 bit more logical (bug#4300). Also clean up the doc string.
18267
b6c78ef2
JB
182682011-07-13 Juanma Barranquero <lekktu@gmail.com>
18269
18270 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18271 binary endings (bug#4440).
18272
1c4dd947
LMI
182732011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18274
a2014063
LMI
18275 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18276 which can be pretty annoying (bug#8971).
18277
9c9c2d88
LMI
18278 * jka-compr.el (jka-compr-verbose): New variable, and use
18279 throughout (bug#8971).
18280
1c4dd947
LMI
18281 * info.el (Info-find-file): Fall back on the installation
18282 directory if we can't find the info node anywhere else.
18283
a1c9f41b
SO
182842011-07-13 Sergei Organov <osv@javad.com> (tiny change)
18285
18286 * vc/vc.el (vc-revert-file):
18287 Don't set file time-stamp in the past. (Bug#5181)
18288
536f3d36
LMI
182892011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18290
7152b011
LMI
18291 * files.el (after-find-file): Give a better error message when
18292 trying to find a symlink that points to a file that doesn't exist
18293 (bug#4398).
18294
536f3d36
LMI
18295 * progmodes/cc-vars.el: Remove (probably) misleading comment
18296 (bug#4396).
18297
460c0fba
JB
182982011-07-12 Johan Bockgård <bojohan@gnu.org>
18299
18300 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18301
7a6bda45
CY
183022011-07-12 Chong Yidong <cyd@stupidchicken.com>
18303
18304 * mouse-sel.el: Hack restoring functionality, while keeping
18305 compatibility with 2010-07-03 changes to mouse selection.
18306 (mouse-sel-primary-overlay): New var.
18307 (mouse-sel-selection-alist): Use it.
18308 (mouse-sel-mode): Doc fix; remove points that are default features
18309 of mouse.el.
18310
c79598ef
JB
183112011-07-12 Johan Bockgård <bojohan@gnu.org>
18312
18313 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18314 Fix previous fix (bug#2490).
18315
ff8be6ef
RW
183162011-07-12 Roland Winkler <winkler@gnu.org>
18317
b796c9b7
SM
18318 * textmodes/bibtex.el (bibtex-initialize):
18319 Use pop-to-buffer-same-window.
ff8be6ef
RW
18320 (bibtex-search-entries): Fix interactive call.
18321
296ba3ee
LMI
183222011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18323
f5242a02 18324 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
18325 Fontise bytecomp Error lines more correctly (bug#2490).
18326 Fix suggested by Johan Bockgård.
f5242a02 18327
296ba3ee
LMI
18328 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18329
18330 * dired-x.el (dired-guess-default): Use `delete-dups'.
18331
f69fd0d2
CY
183322011-07-12 Chong Yidong <cyd@stupidchicken.com>
18333
18334 * dired.el (dired-mark-prompt):
18335 * dired-aux.el (dired-read-shell-command): Doc fix.
18336
eab5dc07
LMI
183372011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18338
b796c9b7
SM
18339 * mail/sendmail.el (sendmail-query-once):
18340 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
18341 emacs -Q.
18342
18343 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18344
eab5dc07
LMI
18345 * cus-edit.el (custom-file): Take an optional no-error variable.
18346 (customize-save-variable): Set the variable, and give a warning if
18347 running under "emacs -q".
18348
a1e65d42
JB
183492011-07-11 Juanma Barranquero <lekktu@gmail.com>
18350
18351 * loadhist.el (unload-feature-special-hooks):
18352 Add `auto-coding-functions', `fill-nobreak-predicate' and
18353 `find-directory-functions' (bug#5327).
18354
1d52da10
LMI
183552011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18356
be958f1d
LMI
18357 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18358
5bedb26c
LMI
18359 * cus-edit.el (custom-guess-name-alist): -alist variables should
18360 use the `alist' type (bug#3120). Suggested by Drew Adams.
18361
1d52da10
LMI
18362 * printing.el: Add documentation to all the `pr-toggle-' commands.
18363
cd394be1 183642011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
18365
18366 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18367 backends where it makes sense (bug#2623).
18368
dcc88d8a
LMI
183692011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18370
c3de9feb
LMI
18371 * dired-x.el (dired-guess-default): Remove duplicate shell command
18372 entries (bug#2028).
8a93078b 18373 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 18374 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 18375
dcc88d8a
LMI
18376 * subr.el (remove-duplicates): New conveniency function.
18377
505e3645
LMI
183782011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
18379
18380 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18381 (bug#1526).
18382
183832011-07-10 Martin Rudalics <rudalics@gmx.at>
18384
18385 * window.el (display-buffer-normalize-default): Don't invert
18386 meaning of even-window-heights. Reported by Eli Zaretskii
18387 <eliz@gnu.org>.
18388
455e4fa1
BR
183892011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
18390
18391 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18392
8e0bc3e9
CY
183932011-07-10 Chong Yidong <cyd@stupidchicken.com>
18394
18395 * window.el (display-buffer): Fix arguments to
18396 display-buffer-reuse-window in last change.
18397
fa7c3228
CY
18398 * faces.el (link): Use a less saturated blue on light backgrounds.
18399
18400 * startup.el (fancy-startup-text, fancy-about-text)
18401 (fancy-startup-tail): Use font-lock faces, for background safety.
18402
c0a7f300
BN
184032011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
18404
b796c9b7
SM
18405 * emulation/viper-cmd.el (viper-change-state-to-vi):
18406 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 18407
4dc2a129
MR
184082011-07-09 Martin Rudalics <rudalics@gmx.at>
18409
18410 * window.el (display-buffer-default-specifiers): Remove.
18411 (display-buffer-macro-specifiers): Remove default specifiers.
18412 (display-buffer-alist): Default to nil.
b796c9b7 18413 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
18414 (display-buffer-pop-up-window): Allow splitting internal
18415 windows. Check whether a live window was created.
18416 (display-buffer-other-window-means-other-frame)
18417 (display-buffer-normalize-arguments): Rename to
18418 display-buffer-normalize-argument and rewrite. Set the
18419 other-window specifier.
18420 (display-buffer-normalize-special): New function.
18421 (display-buffer-normalize-options): Rename to
18422 display-buffer-normalize-default and rewrite.
18423 (display-buffer-normalize-options-inhibit): Remove.
18424 (display-buffer-normalize-specifiers): Rewrite.
18425 (display-buffer): Process other-window specifier and call
18426 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
18427 more faithfully.
b796c9b7 18428 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 18429 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
18430 (display-buffer-in-window, display-buffer-alist-set):
18431 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
18432 <tassilo@member.fsf.org>.
18433
2d43b8c9
LL
184342011-07-09 Leo Liu <sdl.web@gmail.com>
18435
18436 * register.el (insert-register): Restore accidental change on
18437 2011-06-26. (Bug#9028)
18438
7f9b7c53
GM
184392011-07-09 Glenn Morris <rgm@gnu.org>
18440
18441 * subr.el (remq): Handle the empty list. (Bug#9024)
18442
f042cfd8
AS
184432011-07-08 Andreas Schwab <schwab@linux-m68k.org>
18444
18445 * mail/sendmail.el (send-mail-function): No longer delay custom
18446 initialization.
18447 * custom.el (custom-initialize-delay): Doc fix.
18448
856b2f11
SM
184492011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18450
18451 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18452
afae1d68
MA
184532011-07-08 Michael Albinus <michael.albinus@gmx.de>
18454
18455 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18456 human-friendly prompt.
18457
0757af94
SM
184582011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18459
18460 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18461 provided by a particular plugin.
18462
d760b731
LMI
184632011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18464
18465 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18466 save customizations (with "emacs -Q"), just set the variable
18467 instead of erroring out.
18468
18469 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18470
cd79ce90
JL
184712011-07-08 Juri Linkov <juri@jurta.org>
18472
18473 * arc-mode.el (archive-zip-expunge, archive-zip-update)
18474 (archive-zip-update-case): Use 7z if found by `executable-find'.
18475 The order of searching the available programs is the same as in
18476 `archive-zip-extract' (bug#8968).
18477
14cc04aa
CY
184782011-07-07 Chong Yidong <cyd@stupidchicken.com>
18479
18480 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18481 (menu-bar-options-menu): Tweak descriptions.
18482
0a1848ec
LMI
184832011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18484
18485 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18486 menu items into verb phrases (bug#1421). Also refill to fit under
18487 80 columns.
18488
f5bd0689
CY
184892011-07-07 Chong Yidong <cyd@stupidchicken.com>
18490
538e85c6
CY
18491 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18492 (Info-read-node-name): Doc fix (Bug#1084).
18493
f5bd0689
CY
18494 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18495 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18496 (end-of-sexp, beginning-of-sexp)
18497 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18498 (forward-symbol, forward-same-syntax, word-at-point)
18499 (sentence-at-point): Doc fix (Bug#1144).
18500
56ec5115
LMI
185012011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18502
f3f8e37f
LMI
18503 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18504 should cover it (bug#1281).
18505
0757af94 18506 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 18507
e9fce1ac 18508 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
18509 negotiation fails, then possibly try again with a non-encrypted
18510 connection (bug#9017).
18511
56ec5115
LMI
18512 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
18513 be used.
18514
c2f9aec8
RS
185152011-07-07 Richard Stallman <rms@gnu.org>
18516
18517 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18518 property, and handle its changed format.
18519 Look for the correct line number.
18520 Use file's line contents (but not past first =) to find
18521 correct line in message.
18522
ef7b981d 185232011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
18524
18525 * international/characters.el (build-unicode-category-table):
18526 Delete it.
0757af94 18527 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 18528
0757af94 18529 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
18530 to src/chartab.c.
18531 (get-char-code-property): Call unicode-property-table-internal to
18532 load a file. Call get-unicode-property-internal where necessary.
18533 (put-char-code-property): Call unicode-property-table-internal to
18534 load a file. Call put-unicode-property-internal where necessary.
18535 put-unicode-property-internal where necessary.
0757af94
SM
18536 (char-code-property-description):
18537 Call unicode-property-table-internal to load a file.
c805dec0
KH
18538
18539 * international/charprop.el:
18540 * international/uni-bidi.el:
18541 * international/uni-category.el:
18542 * international/uni-combining.el:
18543 * international/uni-comment.el:
18544 * international/uni-decimal.el:
18545 * international/uni-decomposition.el:
18546 * international/uni-digit.el:
18547 * international/uni-lowercase.el:
18548 * international/uni-mirrored.el:
18549 * international/uni-name.el:
18550 * international/uni-numeric.el:
18551 * international/uni-old-name.el:
18552 * international/uni-titlecase.el:
18553 * international/uni-uppercase.el: Regenerate.
18554
18555 * loadup.el: Load international/charprop.el before
18556 international/characters.
18557
e14b388a
CY
185582011-07-07 Chong Yidong <cyd@stupidchicken.com>
18559
18560 * window.el (next-buffer, previous-buffer): Signal an error if
18561 called from a minibuffer window.
18562
18563 * bindings.el: Revert 2011-07-04 change.
18564
354cf0ba
RS
185652011-07-06 Richard Stallman <rms@gnu.org>
18566
18567 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
18568 (rmail-mime-insert-bulk, rmail-mime-insert-text):
18569 Treat markers like ints.
18570 (rmail-mime-entity): Doc fix.
18571
a48868a7
LMI
185722011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18573
4906cd3d
LMI
18574 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
18575 defcustom again for backwards compatibility.
18576
e0457abe
LMI
18577 * simple.el (shell-command-on-region): Fill.
18578
d67f7e1f
LMI
18579 * dired-aux.el (dired-kill-line): Add a doc string.
18580
fe204702
LMI
18581 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
18582 to "\\sw\\|\\s_" (bug#358).
18583
a48868a7
LMI
18584 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
18585 (dired-unmark-backward): Ditto.
18586 (dired-flag-backup-files): Ditto.
18587
18588 * dired-x.el (dired-mark-sexp): Ditto.
18589
aa8a705c
RS
185902011-07-06 Richard Stallman <rms@gnu.org>
18591
18592 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18593 (rmail-mime-entity): New arg TRUNCATED.
18594 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18595 New functions.
18596 (rmail-mime-save): Warn if entity is truncated.
18597 (rmail-mime-toggle-hidden): Likewise, for showing.
18598 (rmail-mime-process-multipart): Record when an entity is truncated.
18599
a9a936b9
RS
18600 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18601 if ENTITY is a string.
18602
1f2b92cb
LMI
186032011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18604
f4f73198 18605 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
18606 of faces when `M-C-x'-ing their definitions (bug#8378).
18607 Also clean up the code slightly.
f4f73198 18608
12b16734 18609 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 18610 because that makes the colors go away.
12b16734 18611
f0691d22
LMI
18612 * mail/sendmail.el (send-mail-function): Change the default to
18613 `sendmail-query-once'.
9e87df06 18614 (sendmail-query-once): Add an autoload cookie.
f0691d22 18615
1f2b92cb
LMI
18616 * net/network-stream.el (network-stream-open-starttls): Try using
18617 a plain connection even if the server offered STARTTLS, and we
18618 kinda wanted to use it, if Emacs doesn't have any STARTTLS
18619 capability. This should make smtpmail.el work in slightly more
18620 configurations.
18621
1cdd2a1b
MA
186222011-07-06 Michael Albinus <michael.albinus@gmx.de>
18623
18624 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18625 New defun.
18626 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18627
fbcc67e2
MM
186282011-07-06 Michael R. Mauger <mmaug@yahoo.com>
18629
18630 * progmodes/sql.el: Version 3.0
0757af94 18631 (sql-product-alist): Add product :completion-object,
fbcc67e2 18632 :completion-column, and :statement attributes.
0757af94 18633 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 18634 (sql-mode-syntax-table): Mark all punctuation.
0757af94 18635 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
18636 ansi keywords.
18637 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 18638 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
18639 (sql-oracle-show-reserved-words): New function for development.
18640 (sql-product-font-lock): Simplify for source code buffers.
18641 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18642 New functions.
18643 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
18644 (sql-mode-map): Add statement movement functions.
18645 (sql-ansi-statement-starters, sql-oracle-statement-starters):
18646 New variable.
fbcc67e2
MM
18647 (sql-statement-regexp, sql-beginning-of-statement)
18648 (sql-end-of-statement, sql-signum): New functions.
0757af94 18649 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
18650 (sql-show-sqli-buffer): Bug fix.
18651 (sql-interactive-mode): Store connection data as buffer local.
0757af94 18652 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
18653 with sql-interactive-mode.
18654 (sql-save-connection): Save buffer local settings.
0757af94 18655 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
18656 (sql-product-interactive): Bug fix.
18657 (sql-preoutput-hold): New variable.
18658 (sql-interactive-remove-continuation-prompt): Bug fixes.
18659 (sql-debug-redirect): New variable.
18660 (sql-str-literal): New function.
18661 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 18662 Redesign.
fbcc67e2
MM
18663 (sql-oracle-save-settings, sql-oracle-restore-settings)
18664 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18665 (sql-completion-object, sql-completion-column)
18666 (sql-completion-sqlbuf): New variables.
18667 (sql-build-completions-1, sql-build-completions)
18668 (sql-try-completion): New functions.
18669 (sql-read-table-name): Use them.
18670 (sql-contains-names): New buffer local variable.
18671 (sql-list-all, sql-list-table): Use it.
18672 (sql-oracle-completion-types): New variable.
18673 (sql-oracle-completion-object, sql-sqlite-completion-object)
18674 (sql-postgres-completion-object): New functions.
18675
d4eaeab1
GM
186762011-07-06 Glenn Morris <rgm@gnu.org>
18677
18678 * window.el (pop-to-buffer): Doc fix.
18679
322b7dab 186802011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
18681
18682 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18683
322b7dab 186842011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 18685
322b7dab 18686 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 18687
322b7dab 18688 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 18689
605dd5bf
CY
186902011-07-05 Chong Yidong <cyd@stupidchicken.com>
18691
18692 * button.el (button): Inherit from link face. Suggested by Dan
18693 Nicolaescu.
18694
7dbfa719
SM
186952011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18696
3db614b0
SM
18697 * progmodes/gdb-mi.el: Fit in 80 columns.
18698 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18699 switch-to-buffer.
18700
7dbfa719
SM
18701 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18702 if imenu is simply not configured (bug#8941).
18703
919d884a
KM
187042011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18705
18706 * allout.el (allout-post-undo-hook): New allout outline-change
18707 event hook to signal undo activity.
18708 (allout-post-command-business): Run allout-post-undo-hook if an
18709 undo just occurred.
7dbfa719
SM
18710 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18711 * allout-widgets.el (allout-widgets-after-undo-function):
18712 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
18713 in the vicinity of an undo.
18714 (allout-widgets-mode): Include allout-widgets-after-undo-function
18715 on the new allout-post-undo-hook.
18716
450a0f09
SM
187172011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18718
18719 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18720 Let define-derived-mode define it.
18721 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18722 cycles of abbrev-table inheritance (bug#8998).
18723
2de69e00
RW
187242011-07-05 Roland Winkler <winkler@gnu.org>
18725
18726 * textmodes/bibtex.el: Add support for biblatex.
18727 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18728 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18729 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18730 (bibtex-entry-alist, bibtex-field-alist): New variables.
18731 (bibtex-entry-field-alist): Obsolete alias for
18732 bibtex-BibTeX-entry-alist.
18733 (bibtex-entry-alist, bibtex-field-alist): New widgets.
18734 (bibtex-set-dialect): New command.
18735 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
18736 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18737 Bind via bibtex-set-dialect.
2de69e00
RW
18738 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18739 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18740 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18741 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18742 Define via bibtex-set-dialect.
450a0f09
SM
18743 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18744 Obey bibtex-no-opt-remove-re.
2de69e00
RW
18745 (bibtex-vec-push, bibtex-vec-incr): New functions.
18746 (bibtex-format-entry, bibtex-field-list)
18747 (bibtex-print-help-message, bibtex-validate)
18748 (bibtex-search-entries): Use new format of bibtex-entry-alist.
18749
2dcdbdd9
SM
187502011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18751
18752 * progmodes/compile.el (compilation-goto-locus):
18753 * net/tramp-cmds.el (tramp-append-tramp-buffers):
18754 * bs.el (bs-cycle-next, bs-cycle-previous):
18755 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18756 * bindings.el (mode-line-other-buffer):
18757 * autoinsert.el (auto-insert):
18758 * arc-mode.el (archive-extract):
18759 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18760
b27640fe
JB
187612011-07-05 Juanma Barranquero <lekktu@gmail.com>
18762
18763 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18764 Fix check of `emacs-lock-unlockable-modes'.
18765 Coerce true values of `emacs-lock--try-unlocking' to t.
18766
53bbe3ad
JB
187672011-07-05 Juanma Barranquero <lekktu@gmail.com>
18768
18769 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18770 * emacs-lock.el: New file.
18771
1d3cdbc7
JD
187722011-07-05 Julien Danjou <julien@danjou.info>
18773
18774 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18775 than `boundp' to check if face is set.
18776
9173deec
JB
187772011-07-05 Juanma Barranquero <lekktu@gmail.com>
18778
18779 * register.el (registerv-make):
18780 * window.el (window-min-height): Fix typos in docstrings.
18781
869795d6
JD
187822011-07-05 Jan Djärv <jan.h.d@swipnet.se>
18783
9173deec 18784 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
18785 Update doc string.
18786
b768cdcd
JB
187872011-07-04 Juanma Barranquero <lekktu@gmail.com>
18788
18789 * server.el (server-execute): Catch quit and call
18790 `server-return-error' to pass the error back to emacsclient and
18791 close the connection (bug#8942).
18792
13aa217b
KM
187932011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
18794
18795 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18796 insecure exception for current topic. Also note that auto-saves
18797 are handled differently.
18798
5d3385a0 18799 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
18800 State variables for tracking auto-save inhibition situation.
18801
18802 (allout-write-contents-hook-handler): Rename from
18803 'allout-write-file-hook-handler', and describe how it depends on
18804 write-contents-functions sensitivity to non-nil value to prevent
18805 file write.
18806
18807 (allout-auto-save-hook-handler): Remove. auto-save does not check
18808 this in individual buffers, only in the starting buffer, so this
18809 is not the right way for us to inhibit auto-save in a buffer
18810 according to its condition.
18811
18812 (allout-mode): Use new allout-write-contents-hook-handler, and
18813 only with write-contents-functions. Remove auto-save provisions -
18814 they're implemented elsewhere.
18815
18816 (allout-before-change-handler): If undo is in progress, note that
18817 for attention of allout-post-command-business.
18818
18819 (allout-post-command-business): If the command we're following was
18820 an undo, check for change in the status of encrypted items and
18821 adjust auto-save inhibitions accordingly.
18822
18823 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18824 according to whether there are or aren't any plain-text topics
18825 pending encryption.
18826
2dcdbdd9 18827 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
18828 Adjust buffer-saved-size and some allout state to inhibit auto-saves
18829 if there are plain-text topics pending encryption.
13aa217b
KM
18830
18831 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18832 buffer-saved-size and some allout state to not inhibit auto-saves
18833 if there are no longer any plain-text topics pending encryption.
18834
0757af94
SM
18835 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18836 No longer provide for exemption of the current topic.
13aa217b 18837
ac89b32c
JL
188382011-07-04 Juri Linkov <juri@jurta.org>
18839
18840 Add 7z operations to delete and save changed members (bug#8968).
18841 * arc-mode.el (archive-7z-expunge, archive-7z-update):
18842 New defcustoms.
18843 (archive-7z-write-file-member): New function.
18844 (archive-7z-summarize): Fix the number of dashes in the
18845 listing output.
18846
8fa39615
SM
188472011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18848
18849 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
18850 (bug#8958).
18851
2f11b3f1
CY
188522011-07-04 Chong Yidong <cyd@stupidchicken.com>
18853
d66fef2b
CY
18854 * bindings.el: Ignore next-buffer and previous-buffer in
18855 minibuffer-local-map.
18856
2f11b3f1
CY
18857 * font-lock.el (font-lock-builtin-face): Change light background
18858 color to dark slate blue (Bug#6693).
18859
f932a347
WD
188602011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
18861
18862 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18863
c8af70e1
SM
188642011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18865
18866 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18867 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18868 Add switch-to-buffer.
18869
f158badc
LMI
188702011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18871
18872 * isearch.el (isearch-search-fun-function): Clarify further the
18873 meaning of the function returned.
18874
6d95bd46
MA
188752011-07-04 Michael Albinus <michael.albinus@gmx.de>
18876
18877 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18878
18879 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18880 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18881 Use it.
18882 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
18883 `tramp-default-remote-path' does not exist.
18884 (tramp-send-command-and-read): New optional argument NOERROR.
18885 (tramp-open-connection-setup-interactive-shell)
18886 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18887 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18888 (tramp-process-sentinel): Flush also process' connection property.
18889 (tramp-sh-handle-start-file-process): Do not set process
18890 sentinel. It is done now ...
18891 (tramp-maybe-open-connection): ... here. (Bug#8929)
18892
909e6b67
MK
188932011-07-04 MON KEY <monkey@sandpframing.com>
18894
18895 * play/animate.el (animate-string): Doc fixes and allow changing
18896 the buffer name (bug#5417).
18897
188982011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18899
c8af70e1 18900 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 18901
f34755dc
PE
189022011-07-04 Paul Eggert <eggert@cs.ucla.edu>
18903
396cec72
PE
18904 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
18905 This is simpler and helps future-proof the code.
18906 (timer-until): Use time-subtract and float-time.
08235028 18907 (timer--time-less-p): Use time-less-p.
f34755dc 18908
56e6cc31
JB
189092011-07-04 Juanma Barranquero <lekktu@gmail.com>
18910
3abb79e5
JB
18911 * type-break.el (timep): Use the value of `float-time' to avoid a
18912 byte-compiler warning.
18913
56e6cc31
JB
18914 * server.el (server-eval-and-print): Return any result, even nil.
18915
7b9430b4
PE
189162011-07-03 Paul Eggert <eggert@cs.ucla.edu>
18917
18918 * type-break.el: Accept time formats that the builtins accept.
18919 (timep, type-break-time-difference): Accept any format that
18920 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
18921 This is simpler and helps future-proof the code.
18922 (type-break-time-difference): Round rather than ignoring
18923 subseconds components.
18924
3034e9e7
LMI
189252011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18926
18927 * info.el (Info-apropos-matches): Make non-interactive, since it
18928 doesn't seem to do anything useful as a command (bug#8829).
18929
1485f4c0
CY
189302011-07-03 Chong Yidong <cyd@stupidchicken.com>
18931
18932 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 18933 Move from faces.el.
1485f4c0
CY
18934 (frame-default-terminal-background): New function.
18935
18936 * custom.el (custom-push-theme): Don't record faces in `changed'
18937 theme; this doesn't work correctly for per-frame face settings.
18938 (disable-theme): Use face-set-after-frame-default to reset faces.
18939 (custom--frame-color-default): New function.
18940
9fa3dd45
LMI
189412011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18942
c8af70e1 18943 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
18944 (bug#8769).
18945
6cbbc20c
KR
189462011-03-29 Kevin Ryde <user42@zip.com.au>
18947
18948 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18949 `perl-Test2' extend to match possible "fail #N" rep count
18950 (bug#8377).
18951
c7f98048
LMI
189522011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18953
65676592
LMI
18954 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18955 `smtpmail-via-smtp' now returns the error instead of nil.
18956
c7f98048
LMI
18957 * isearch.el (isearch-search-fun-function): Clarify the doc string
18958 (bug#8101).
18959
56e6cc31 189602011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
18961
18962 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18963 unnecessary spaces (bug#8987).
18964
2b216704
LMI
189652011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18966
18967 * net/network-stream.el (open-network-stream): Use the
18968 :end-of-capability command thoughout.
18969
189702011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
18971
18972 * net/network-stream.el (open-network-stream): Add the
18973 :end-of-capability command parameter, used by pop3.el.
18974
36adf6ce
LMI
189752011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18976
1ca0da0e
LMI
18977 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18978
fc00f69c
LMI
18979 * fringe.el (fringe-query-style): Remove redundant text " (type ?
18980 for list)" (bug#6475).
18981
28fd8759 18982 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 18983 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
18984 an error (bug#6297).
18985
0dd8b6da
LMI
18986 * man.el (Man-reference-regexp): Allow matching possible
18987 word-wrapped references (bug#6289).
18988
ce1438d6
LMI
18989 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18990 for consistency with the other vc buffers (bug#6197).
18991 (vc-checkin): Ditto.
18992
18993 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18994
36adf6ce
LMI
18995 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18996
e83cc1f7
LMI
189972011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18998
8a20ca4c
LMI
18999 * custom.el (defcustom): Clarify that :set is only used in the
19000 Customize user interface (bug#6089).
19001
83319045
LMI
19002 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19003 associated with a file, refuse to run instead of erroring out
19004 (bug#6084).
19005
a8392169
LMI
19006 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19007 the doc string, since it appears that using `fill-column' always
19008 controls the width (bug#7845).
19009
e83cc1f7
LMI
19010 * simple.el (shell-command-on-region): Say where the error output
19011 went if `shell-command-default-error-buffer' is set (bug#6857).
19012
e47ca23b
KM
190132011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19014
19015 * allout.el (allout-yank-processing): Adjust cursor position for
19016 backwards-deleted space.
19017
19018 (allout-rebullet-heading): Register changes with
19019 allout-exposure-changed-hook, so the modified topic is properly
19020 decorated.
19021
5cf56143
LMI
190222011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19023
08549772
LMI
19024 * minibuffer.el (completion-in-region): Document PREDICATE
19025 (bug#7136).
19026
48e96771
LMI
19027 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19028 of keyword/argument pairs (bug#6904).
19029
c8af70e1
SM
19030 * replace.el (multi-occur):
19031 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 19032
e17d05e2
LMI
190332011-07-02 Drew Adams <drew.adams@oracle.com>
19034
19035 * dired.el (dired-mark-if): Make the message about whether it's
19036 marking or unmarking clearer (bug#8523).
19037
063b0e45
LMI
190382011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19039
19040 * disp-table.el (display-table-print-array): New function.
19041 (describe-display-table): Use it to print the vectors more pretty
19042 (Bug#8859).
19043
28545e04
MR
190442011-07-02 Martin Rudalics <rudalics@gmx.at>
19045
19046 * window.el (window-state-get-1): Don't assign clone numbers.
19047 Add clone-of item to list of window parameters.
19048 (window-state-put-2): Don't process clone numbers.
19049 (display-buffer-alist): Fix doc-string.
19050
3349e122
SM
190512011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19052
19053 * subr.el (remq): Don't allocate if it's not needed.
19054 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19055 (keymap--merge-bindings): New functions.
19056 (keymap-canonicalize): Use them to refine the canonicalization.
19057 * minibuffer.el (minibuffer-local-completion-map)
19058 (minibuffer-local-must-match-map): Move initialization from C.
19059 (minibuffer-local-filename-completion-map): Move initialization from C;
19060 don't inherit from anything here.
19061 (minibuffer-local-filename-must-match-map): Make obsolete.
19062 (completing-read-default): Use make-composed-keymap to combine
19063 minibuffer-local-filename-completion-map with either
19064 minibuffer-local-must-match-map or
19065 minibuffer-local-filename-completion-map.
19066
d224ac83
GM
190672011-07-01 Glenn Morris <rgm@gnu.org>
19068
3de63bf8
GM
19069 * type-break.el (type-break-time-sum): Use dolist.
19070
d224ac83
GM
19071 * textmodes/flyspell.el (flyspell-word-search-backward):
19072 Replace CL function.
19073
1a1e3f32
SM
190742011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19075
fe3f64d5
SM
19076 * mouse.el (mouse--strip-first-event): New function.
19077 (function-key-map): Use it to map fringe clicks to normal clicks
19078 by default.
19079
eb604e34
SM
19080 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19081 (vc-bzr-revision-completion-table): Add support for annotate and date.
19082
1a1e3f32
SM
19083 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19084 inherit from parent.
19085
5bd35902
LMI
190862011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19087
ace6c69c 19088 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 19089 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 19090
191e2bed
LMI
19091 * dired.el (dired-mode): Fix up the doc string as suggested by
19092 Drew Adams (bug#8817).
19093
5bd35902
LMI
19094 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19095 cookie, since the manual says that it should be possible to add
19096 this function to `find-file-hook' (bug#8709).
19097
eee8207a
TZ
190982011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19099
19100 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19101 here. Noted Ted Zlatanov as the maintainer.
19102 (cfengine-common-settings, cfengine-common-syntax): New functions
19103 to set up common things between `cfengine-mode' and
19104 `cfengine3-mode'.
19105 (cfengine3-mode): New mode.
19106 (cfengine3-defuns cfengine3-defuns-regex
19107 (cfengine3-class-selector-regex cfengine3-category-regex)
19108 (cfengine3-vartypes cfengine3-font-lock-keywords)
19109 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 19110 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 19111
36b148cf
MA
191122011-07-01 Michael Albinus <michael.albinus@gmx.de>
19113
19114 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19115
19116 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19117
0bf4ba9a
MR
191182011-07-01 Martin Rudalics <rudalics@gmx.at>
19119
19120 * window.el (same-window-buffer-names, same-window-regexps)
19121 (same-window-p, special-display-frame-alist)
19122 (special-display-popup-frame, special-display-function)
19123 (special-display-buffer-names, special-display-regexps)
19124 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19125 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19126 (split-window-preferred-function, split-height-threshold)
19127 (split-width-threshold, even-window-heights)
19128 (display-buffer-mark-dedicated, window-splittable-p)
19129 (split-window-sensibly, window-safely-shrinkable-p):
19130 Un-obsolete.
19131 (display-buffer): Don't spread args with function specifier
19132 because special-display-popup-frame won't like it.
19133
35837f51
PE
191342011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19135
d0672f86
PE
19136 Time-stamp simplifications and fixes.
19137 These improve accuracy slightly, and future-proof the code
19138 against some potential changes to current-time format.
19139
b9444d97
PE
19140 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19141 by using time-since and float-time.
19142
0ef923dc
PE
19143 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19144 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19145 + NNN microseconds".
19146
2f81380d
PE
19147 * type-break.el (type-break-time-sum): Rewrite using time-add.
19148
845b5c3e
PE
19149 * play/hanoi.el (hanoi-current-time-float): Remove.
19150 All uses replaced by float-time.
19151
ee6f1be0
PE
19152 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19153 This yields a more-accurate answer.
19154 (rng-time-to-float): Remove; no longer needed.
19155
fe955043
PE
19156 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19157
5777162a
PE
19158 * calendar/timeclock.el (timeclock-seconds-to-time):
19159 Defalias to seconds-to-time, since they're the same thing.
19160
3103f8b6 19161 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 19162 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
19163 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19164
0e61a35f
SM
191652011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19166
19167 * window.el (bury-buffer): Don't iconify the only frame.
19168 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19169 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19170
ddd63a1e
CY
191712011-07-01 Chong Yidong <cyd@stupidchicken.com>
19172
0e61a35f
SM
19173 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19174 Add mouse-yank-primary.
ddd63a1e 19175
055f4923
TZ
191762011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19177
19178 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19179
6a2fb145
SM
191802011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19181
19182 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19183 (find-library-name): Use it to find relative load names when provided
19184 absolute file name (bug#8803).
19185
fd4983f2
LMI
191862011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19187
887d14ad
LMI
19188 * textmodes/flyspell.el (flyspell-word): Consider words that
19189 differ only in case as potential doublons (bug#5687).
19190
c53dc7fc
LMI
19191 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19192 Remove two rather uninteresting debugging-like messages to make
19193 debbugs.el more silent.
19194
fd4983f2
LMI
19195 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19196 a password-like phrase.
19197
7a71b18d 191982011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
19199
19200 * progmodes/cc-guess.el: New file.
19201
6a2fb145 19202 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
19203
19204 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19205 derived from `c-basic-common-init'.
19206
19207 * progmodes/cc-mode.el (top-level): Require cc-guess.
19208 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19209
1fa280a3
LM
192102011-06-30 Lawrence Mitchell <wence@gmx.li>
19211
19212 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19213
e6597158
AM
192142011-06-30 Alan Mackenzie <acm@muc.de>
19215
1fa280a3
LM
19216 * progmodes/cc-engine.el (c-guess-continued-construct):
19217 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
19218 lock is disabled. Name this case as "CASE G".
19219
68ba37fb
KM
192202011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19221
19222 * allout.el (allout-yank-processing): Fix injection of extra space
19223 between bullet and non-whitespace character in first topic when
19224 pasting, ensuring that the actual spacing in the pasted topic
19225 following the bullet char is preserved. This extra space was
19226 causing pasted encrypted topics to get a decrypted status even
19227 when the content was actually still encrypted. Now the decryption
19228 status from before the paste is preserved.
19229
19230 (allout-flag-region): Set all allout overlays so they evaporate
19231 when reduced to zero length (evanescent), to prevent overlay
19232 leakage.
19233
887a0b34
GM
192342011-06-30 Glenn Morris <rgm@gnu.org>
19235
94b9acce
GM
19236 * w32-fns.el (w32-charset-info-alist): Declare.
19237
1d9b46d4
GM
19238 * find-dired.el (find-grep-options): Simplify.
19239
cc232200
GM
19240 * term/ns-win.el (ns-set-resource): Declare.
19241
28e77c46
GM
19242 * ses.el (row, col): Declare dynamic variables honestly.
19243
887a0b34
GM
19244 * textmodes/reftex-parse.el (index-tags): Declare.
19245
658d8eb8
CY
192462011-06-30 Chong Yidong <cyd@stupidchicken.com>
19247
19248 * cus-edit.el (customize-push-and-save): New function.
19249
19250 * files.el (hack-local-variables-confirm): Use it.
19251
1fa280a3
LM
19252 * custom.el (load-theme): New arg NO-CONFIRM.
19253 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
19254 (custom-enabled-themes): Doc fix.
19255
19256 * cus-theme.el (customize-create-theme)
19257 (custom-theme-merge-theme): Callers to load-theme changed.
19258
bb617717
LMI
192592011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19260
d61bdd5d
LMI
19261 * thingatpt.el (thing-at-point-short-url-regexp): Require that
19262 short URLs have at least one dot in them (bug #7614).
19263
bb617717
LMI
19264 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19265 nil, because using a pty is apparently too slow (bug #895).
19266
2f31f37a
LMI
192672011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
19268
19269 * mail/sendmail.el (sendmail-query-once): New function.
19270 (sendmail-query-once-function): New variable.
19271
3076b24e
GM
192722011-06-29 Glenn Morris <rgm@gnu.org>
19273
faf2a174
GM
19274 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19275
3076b24e
GM
19276 * ses.el (top-level): Require cl when compiling.
19277 (ses-set-localvars): Fix error statement.
19278 Call it at compile time to silence a storm of warnings.
19279
5386012d
MR
192802011-06-29 Martin Rudalics <rudalics@gmx.at>
19281
19282 * window.el (normalize-live-buffer): Rename to
19283 window-normalize-buffer.
19284 (normalize-live-frame): Rename to window-normalize-frame.
19285 (normalize-any-window): Rename to window-normalize-any-window.
19286 (normalize-live-window): Rename to window-normalize-live-window.
19287 (make-window-atom): Rename to window-make-atom.
19288 (window-resize-reset): Rename to window--resize-reset.
19289 (window-resize-reset-1): Rename to window--resize-reset-1.
19290 (resize-mini-window): Rename to window--resize-mini-window.
19291 (resize-subwindows-skip-p): Rename to
19292 window--resize-subwindows-skip-p.
19293 (resize-subwindows-normal): Rename to
19294 window--resize-subwindows-normal.
19295 (resize-subwindows): Rename to window--resize-subwindows.
19296 (resize-other-windows): Rename to window--resize-siblings.
19297 (resize-this-window): Rename to window--resize-this-window.
19298 (resize-root-window): Rename to window--resize-root-window.
19299 (resize-root-window-vertically): Rename to
19300 window--resize-root-window-vertically.
19301 (normalize-buffer-to-display): Rename to
19302 window-normalize-buffer-to-display.
19303 (normalize-buffer-to-switch-to): Rename to
19304 window-normalize-buffer-to-switch-to.
19305 Correspondingly update all callers of the functions listed
19306 above.
19307 (display-buffer-alist, display-buffer-normalize-arguments)
19308 (display-buffer-normalize-options, display-buffer)
19309 (display-buffer-alist-set): Use "function" instead of
19310 "fun-with-args".
19311
1176868d
CY
193122011-06-28 Chong Yidong <cyd@stupidchicken.com>
19313
19314 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19315 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19316 debbugs.gnu.org. Mention acknowledgment email.
19317
20a7a65f
LMI
193182011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19319
19320 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19321 buffer multibyteness, since it shouldn't matter.
19322
5f45cca5
MR
193232011-06-28 Martin Rudalics <rudalics@gmx.at>
19324
19325 * window.el (display-buffer-in-side-window): Handle dedicated
19326 windows as in display-buffer-reuse-window.
19327 (display-buffer-normalize-alist): Use value of override
19328 specifier.
19329 (display-buffer-normalize-specifiers): Use value of
19330 other-window-means-other-frame specifier.
19331 (display-buffer-alist): Rewrite some texts in widgets.
19332 (display-buffer): Spread arguments when calling function
19333 specified by fun-with-args.
19334
ad85fe1f
DD
193352011-06-28 Deniz Dogan <deniz@dogan.se>
19336
1fa280a3
LM
19337 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19338 Unnest `let'.
da68c4c8 19339
ad85fe1f
DD
19340 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19341 selectors (Bug#5732).
ec49bd31 19342 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 19343
a08cc025
JA
193442011-06-27 Jari Aalto <jari.aalto@cante.net>
19345
19346 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19347 (eshell-ls-date-format): New defcustom.
19348 (eshell-ls-file): Use it.
19349
e2b551c5
SM
193502011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19351
19352 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19353
8982b231
KY
193542011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19355
19356 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19357 (ange-ftp-make-tmp-name): New arg.
19358 (ange-ftp-file-local-copy): Use it.
19359
36c9fa27
J
193602011-06-27 Jambunathan K <kjambunathan@gmail.com>
19361
19362 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19363 no-conversion (Bug#8870).
19364
d68443dc
MR
193652011-06-27 Martin Rudalics <rudalics@gmx.at>
19366
19367 * window.el (window-right, window-left, window-child)
19368 (window-child-count, window-last-child)
19369 (window-iso-combination-p, walk-window-tree-1)
19370 (window-atom-check-1, window-tree-1, delete-window)
19371 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19372 new naming conventions - window-vchild, window-hchild,
19373 window-next and window-prev are now called window-top-child,
19374 window-left-child, window-next-sibling and window-prev-sibling
19375 respectively.
d615d6d2
MR
19376 (resize-window-reset): Rename to window-resize-reset.
19377 (resize-window-reset-1): Rename to window-resize-reset-1.
19378 (resize-window): Rename to window-resize.
19379 (window-min-height, window-min-width)
19380 (resize-mini-window, resize-this-window, resize-root-window)
19381 (resize-root-window-vertically, adjust-window-trailing-edge)
19382 (enlarge-window, shrink-window, maximize-window)
19383 (minimize-window, delete-window, quit-restore-window)
19384 (split-window, balance-windows, balance-windows-area-adjust)
19385 (balance-windows-area, window-state-put-2)
19386 (display-buffer-even-window-sizes, display-buffer-set-height)
19387 (display-buffer-set-width, set-window-text-height)
19388 (fit-window-to-buffer): Rename all "resize-window" prefixed
19389 calls to use the "window-resize" prefix convention.
19390 (display-buffer-alist): Fix symbol for label specifier.
19391 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19392 corresponding specifier.
19393 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 19394
b6458526
VB
193952011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19396
19397 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19398 convention.
19399 (ses-call-printer): Does not pass an empty string to formatter when the
19400 cell is empty to keep from barking printer Calc math-format-value.
19401
d31fd9ac
RS
194022011-06-27 Richard Stallman <rms@gnu.org>
19403
43d5bf84
RS
19404 * battery.el (battery-mode-line-limit): New variable.
19405 (battery-update): Handle it.
19406
d31fd9ac
RS
19407 * mail/rmailmm.el (rmail-mime-process-multipart):
19408 Handle truncated messages.
19409
819a6054
GM
194102011-06-27 Glenn Morris <rgm@gnu.org>
19411
19412 * progmodes/flymake.el (flymake-err-line-patterns):
19413 Allow for column numbers in the ant/javac pattern. (Bug#8866)
19414
cedc73f2
VB
194152011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19416
819a6054 19417 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
19418 (ses--clean-!, ses--clean-_): New functions.
19419 (ses-range): Add configurability of readout order, and conversion
19420 to Calc vector.
19421
5e5d49b6
VB
19422 * ses.el (ses-repair-cell-reference-all): New function.
19423 (ses-cell-symbol): Set macro as safe, so that it can be used in
19424 formulas.
19425
56e6cc31 19426 * ses.el: Update cycle detection algorithm.
90ca8b49 19427 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 19428 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
19429 (ses-set-localvars): New function.
19430 (ses-make-cell): Add property-list as a cell element.
19431 (ses-cell-property-get-fun, ses-cell-property-get)
19432 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
19433 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19434 New functions.
90ca8b49
VB
19435 (ses-cell-property-set, ses-cell-property-pop)
19436 (ses-cell-property-get-handle): New macro.
19437 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19438 New aliases, used for code readability.
19439 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19440 cycle detection.
19441 (ses-self-reference-early-detection): New defcustom.
fac916bf 19442 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
19443 (ses-mode): Use ses-set-localvars.
19444 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19445 before lauching the update processing.
19446 (ses-initialize-Dijkstra-attempt): New function.
19447 (ses-recalculate-cell): Update for cycle detection based on
19448 Dijkstra algorithm.
19449
2bb63e81
VB
19450 * ses.el: Fix commenting and indenting convention.
19451
c9d29fb8
SM
194522011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19453
19454 * bs.el (bs-cycle-next): Complete last change.
19455
d8e4b68b
JB
194562011-06-27 Drew Adams <drew.adams@oracle.com>
19457
19458 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19459
40098786
LMI
194602011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19461
c9d29fb8
SM
19462 * net/network-stream.el (network-stream-open-starttls):
19463 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
19464 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19465
40098786
LMI
19466 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19467 to binary to possibly avoid line encoding issues on Windows (among
19468 other things).
19469
468d09d4
LMI
194702011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19471
19472 * net/network-stream.el (open-network-stream): Return an :error
19473 saying what the problem was, if possible.
19474
19475 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19476 server.
19477
19478 * net/network-stream.el (network-stream-open-starttls): If we
19479 wanted to use STARTTLS, and the server offered it, but we weren't
19480 able to because we had no STARTTLS support, then close the connection.
19481 (open-network-stream): Return an :error element, if present.
19482
16f07dd7
CY
194832011-06-26 Chong Yidong <cyd@stupidchicken.com>
19484
88821ca0
CY
19485 * hl-line.el (hl-line-sticky-flag): Doc fix.
19486 (global-hl-line-sticky-flag): New option (Bug#8323).
19487 (global-hl-line-highlight): Obey it.
19488
16f07dd7
CY
19489 * vc/vc.el (vc-revert-show-diff): Default to t.
19490
6b5ccddf
KM
194912011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
19492
c9d29fb8
SM
19493 * allout-widgets.el (allout-widgets-post-command-business):
19494 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
19495 undecorated when an isearch is continued past, and isearch
19496 automatically collapses them. This leads to "widget leaks", where
19497 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
19498 hidden widgets can slow down cursor travel, substantially.
19499 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
19500 so we're doing without this nicety.
19501
19502 (allout-widgets-tally-string): Don't try to do a hash-table-count
19503 of allout-widgets-tally when it's nil. This eliminates spurious "Error
19504 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19505 *Messages* when allout-widgets-maintain-tally is t.
19506
355f2e07
MR
195072011-06-26 Martin Rudalics <rudalics@gmx.at>
19508
19509 * window.el (display-buffer-normalize-argument): Rename to
19510 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
19511 LABEL argument. Respect special-display-function when popping up
19512 a new frame. Fix code searching for a window showing the buffer
19513 on another frame.
c9d29fb8
SM
19514 (display-buffer-normalize-specifiers):
19515 Call display-buffer-normalize-arguments.
355f2e07
MR
19516 (display-buffer-in-window): Don't undedicate the window if its
19517 buffer remains the same.
19518 Reported by Drew Adams <drew.adams@oracle.com>.
19519 (display-buffer-alist): Add choice for same-window macro
19520 specfier.
19521 (display-buffer): Mention special meaning of LABEL argument in
19522 doc-string. Fix quoting. Don't pop up a new frame even as
19523 fallback.
19524
7ca8fc42
JB
195252011-06-26 Juanma Barranquero <lekktu@gmail.com>
19526
19527 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19528 avoid deleting the current window in some cases (bug#8911).
19529
bc312254
AS
195302011-06-26 Andreas Schwab <schwab@linux-m68k.org>
19531
19532 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19533 (Bug#8934)
19534
2db18f3f
LMI
195352011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19536
c9d29fb8
SM
19537 * net/network-stream.el (network-stream-open-starttls):
19538 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
19539 (network-stream-open-tls): Ditto.
19540
6302e0d3
LL
195412011-06-26 Leo Liu <sdl.web@gmail.com>
19542
19543 * register.el (registerv): New struct.
19544 (registerv-make): New function.
c9d29fb8
SM
19545 (jump-to-register, describe-register-1, insert-register):
19546 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
19547 struct. (Bug#8415)
19548
5fdd4046
CY
195492011-06-26 Chong Yidong <cyd@stupidchicken.com>
19550
2afef60a
CY
19551 * vc/vc.el (vc-revert-show-diff): New defcustom.
19552 (vc-diff-internal): New arg specifying diff buffer.
19553 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
19554 reuse an existing *vc-diff* buffer (Bug#8927).
19555
5fdd4046
CY
19556 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19557
e93db24a
GM
195582011-06-26 Glenn Morris <rgm@gnu.org>
19559
19560 * progmodes/f90.el (f90-critical-indent): New option.
19561 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
19562 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
19563 (f90-mode): Doc fix.
19564 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
19565 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
19566 (f90-beginning-of-block, f90-next-block, f90-indent-region)
19567 (f90-match-end): Handle block, critical.
19568
eefff499
GM
195692011-06-25 Glenn Morris <rgm@gnu.org>
19570
f6ba4cc9
GM
19571 * calendar/diary-lib.el (diary-included-files): Doc fix.
19572 (diary-include-files): New function, extracted from
19573 diary-include-other-diary-files and diary-mark-included-diary-files.
19574 (diary-include-other-diary-files, diary-mark-included-diary-files):
19575 Just call diary-include-files.
19576 (diary-mark-entries): Reset diary-included-files on first call.
19577
16712304
GM
19578 * calendar/diary-lib.el (diary-mark-entries)
19579 (diary-mark-included-diary-files):
19580 Visit included diary-files in temp buffers.
19581
5d8e0d43
GM
19582 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
19583 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
19584 (f90-start-block-re, f90-imenu-generic-expression)
19585 (f90-looking-at-program-block-start, f90-no-block-limit):
19586 Add support for submodules.
19587
ccf7a5d5
GM
19588 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19589 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 19590
11fdef7d 195912011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
19592
19593 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19594 buffer-file-type before setting its value, to avoid disastrous
eefff499 19595 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 19596
74f53697
JB
195972011-06-25 Juanma Barranquero <lekktu@gmail.com>
19598
19599 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19600
19601 * ses.el (ses-unload-function):
19602 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19603
19604 * proced.el (proced-unload-function):
19605 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19606
18a4ce5e
AR
196072011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
19608
19609 * server.el (server-create-window-system-frame): Add parameters arg.
19610 (server-process-filter): Doc fix. Handle frame-parameters.
19611
519d22cc
JB
196122011-06-25 Juanma Barranquero <lekktu@gmail.com>
19613
19614 Fix bug#8730, bug#8781.
19615
19616 * loadhist.el (unload--set-major-mode): New function.
19617 (unload-feature): Use it.
19618
19619 * progmodes/python.el (python-after-info-look): Add autoload cookie.
19620 (python-unload-function): New function.
19621
c206f5b0
SM
196222011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19623
19624 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19625
f9ad64f3
GS
196262011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
19627
19628 * net/browse-url.el (browse-url-firefox-program): Add icecat to
19629 the candidates list.
19630
7d0da90e
JB
196312011-06-24 Juanma Barranquero <lekktu@gmail.com>
19632
19633 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19634
14b4e83d
RS
196352011-06-23 Richard Stallman <rms@gnu.org>
19636
19637 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19638 (rmail-variables): Set next-error-move-function.
19639 (rmail-what-message): Take argument POS.
19640 (rmail-next-error-move): New function.
19641
273d2baf
SM
196422011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
19643
19644 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19645 messages for adjacent non-terminals.
19646
56c2cc9a
RS
196472011-06-23 Richard Stallman <rms@gnu.org>
19648
19649 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 19650 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
19651 (rmail-start-mail): Don't specify use of rmail-mail-return;
19652 that's done by mail-bury now.
19653 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 19654
d59eb518
MA
196552011-06-23 Michael Albinus <michael.albinus@gmx.de>
19656
19657 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19658 SIZE is a number.
19659
02cfc6d6
MR
196602011-06-23 Martin Rudalics <rudalics@gmx.at>
19661
19662 * window.el (get-lru-window, get-mru-window)
19663 (get-largest-window): Never return a minibuffer window.
19664 (display-buffer-pop-up-window): Fix a bug that could lead to
19665 reusing the minibuffer window.
19666 (display-buffer): Pass original specifier argument to
19667 display-buffer-function instead of the normalized one.
19668 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19669
4e323265
LL
196702011-06-22 Leo Liu <sdl.web@gmail.com>
19671
19672 * minibuffer.el (completing-read-function)
1f9f395d 19673 (completing-read-default): Move from minibuf.c.
4e323265 19674
7a70468f
RS
196752011-06-22 Richard Stallman <rms@gnu.org>
19676
50718fc2
RS
19677 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19678 to Rmail even if not started by a special Rmail command.
19679
7a70468f
RS
19680 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19681 Copy the buffer currently showing just one message.
19682
297dde5a
RW
196832011-06-22 Roland Winkler <winkler@gnu.org>
19684
19685 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19686 (bibtex-clean-entry): First delete the old key so that a
19687 customized algorithm for generating the new key does not get
19688 confused by the old key.
19689 (bibtex-url): Obey regexp of first step.
19690 (bibtex-search-entries): Do not use add-to-list with local
19691 list-var.
19692
97bb1093
LMI
196932011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19694
19695 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19696 stored a user name, then query for the password first, instead of
19697 waiting for SMTP to give an error message and the trying again.
19698
1c0f1a19
JD
196992011-06-22 Lawrence Mitchell <wence@gmx.li>
19700
19701 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19702 BUFFER in call-process.
19703
396f7c9d
LMI
197042011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19705
19706 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19707 QUIT twice.
ddb7ffee
LMI
19708 (smtpmail-try-auth-methods): Require user name and password from
19709 auth-source.
396f7c9d 19710
8998d1b3
MR
197112011-06-22 Martin Rudalics <rudalics@gmx.at>
19712
19713 * window.el (display-buffer-default-specifiers)
19714 (display-buffer-alist): Remove entries for pop-up-frame-alist.
19715 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 19716 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
19717
19718 * frame.el (pop-up-frame-alist, pop-up-frame-function)
19719 (special-display-frame-alist, special-display-popup-frame):
19720 Remove duplicate declarations. These are now in window.el.
19721
4ea31e07
LMI
197222011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19723
c9d29fb8
SM
19724 * mail/smtpmail.el (smtpmail-via-smtp):
19725 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
19726 server supports it. SMTP servers that support STARTTLS commonly
19727 require it.
19728
19729 * net/network-stream.el (network-stream-open-starttls): Support
19730 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 19731 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 19732
95f41d9a
LMI
19733 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19734 upgrades with `open-network-stream', and rely solely on
19735 auth-source for all credentials. Big changes throughout the file,
19736 but in particular:
c9d29fb8
SM
19737 (smtpmail-auth-credentials): Remove.
19738 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
19739 (smtpmail-via-smtp): Check for servers saying they want AUTH after
19740 MAIL FROM, too.
95f41d9a 19741
c9d29fb8
SM
19742 * net/network-stream.el (network-stream-open-starttls):
19743 Provide support for client certificates both for external and built-in
4ea31e07
LMI
19744 STARTTLS.
19745 (auth-source): Require.
19746 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
19747 (network-stream-certificate): Change cert-cert to cert and
19748 cert-key to key.
4ea31e07 19749
065ec2c7
MA
197502011-06-21 Michael Albinus <michael.albinus@gmx.de>
19751
19752 * net/tramp-cache.el (top): Don't load the persistency file when
19753 "emacs -Q" has been called.
19754
cd93b359
DR
197552011-06-21 Tim Harper <timcharper@gmail.com>
19756
d8e4b68b
JB
19757 * term/ns-win.el (ns-initialize-window-system):
19758 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
19759 resource to NO as it is not yet supported by the NS port.
19760
ae9c0411
JB
197612011-06-21 Juanma Barranquero <lekktu@gmail.com>
19762
19763 * misc.el (list-dynamic-libraries--refresh): Compute header here...
19764 (list-dynamic-libraries): ...not here.
19765
7f3f739f
LL
197662011-06-21 Leo Liu <sdl.web@gmail.com>
19767
19768 * subr.el (sha1): Implement sha1 using secure-hash.
19769
327c8fb1
MR
197702011-06-21 Martin Rudalics <rudalics@gmx.at>
19771
19772 * window.el (display-buffer-alist): In default value do not
19773 enforce searching a window on any but the selected frame.
19774 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19775 (display-buffer-select-window): Remove function.
19776 (display-buffer-in-window): When a window on another frame gets
19777 reused, do not select it any more but just raise its frame if
19778 necessary (Bug#8851) and (Bug#8856).
19779 (display-buffer-normalize-options): Handle pop-up-frames related
19780 options more faithfully.
19781 (pop-to-buffer): Don't rely on `display-buffer' selecting the
19782 window if it is on another frame.
c9d29fb8
SM
19783 (display-buffer-alist, display-buffer-default-specifiers):
19784 Don't make new frame unsplittable by default.
9e9de014
MR
19785 (display-buffer-normalize-argument): Fix doc-string typo and use
19786 'same-frame-other-window instead of 'other-window when associating
19787 with display-buffer-macro-specifiers.
327c8fb1 19788
7cf3f556
VB
197892011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
19790
19791 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19792 New functions.
19793 (5x5-mode-map, 5x5-mode-menu): Bind them.
19794 (5x5-draw-grid): Tweak the solver's rendering.
19795
60a406cf
SM
197962011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19797
19798 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19799 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19800
d8e4b68b 198012011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
19802
19803 * menu-bar.el: Use function variable instead of switch-to-buffer.
19804 (menu-bar-select-buffer-function): New variable.
60a406cf 19805 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 19806
478d6f95
SM
198072011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19808
19809 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19810 variable's status.
19811
ca530739
JD
198122011-06-20 Jan Djärv <jan.h.d@swipnet.se>
19813
19814 * x-dnd.el (x-dnd-version-from-flags)
19815 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19816 and long as number (Bug#8899).
19817 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19818
bcd70d97
SM
198192011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19820
60a406cf 19821 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
19822 (completion-try-completion, completion-all-completions): Compute the
19823 metadata argument if it's missing; make it optional (bug#8795).
19824
60a406cf 19825 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
19826 (widget-complete): Use new :completion-function property.
19827 (widget-completions-at-point): New function.
19828 (default): Use :completion-function instead of :complete.
60a406cf
SM
19829 (widget-default-completions): Rename from widget-default-complete;
19830 Rewrite.
bcd70d97
SM
19831 (widget-string-complete, widget-file-complete, widget-color-complete):
19832 Remove functions.
19833 (file, symbol, function, variable, coding-system, color):
19834 * international/mule-cmds.el (default-input-method, charset)
19835 (language-info-custom-alist):
19836 * cus-edit.el (face): Use new property :completions.
19837
19838 * progmodes/pascal.el (pascal-completions-at-point): New function.
19839 (pascal-mode): Use it.
19840 (pascal-mode-map): Use completion-at-point.
19841 (pascal-toggle-completions): Make obsolete.
19842 (pascal-complete-word, pascal-show-completions):
19843 * progmodes/octave-mod.el (octave-complete-symbol):
19844 Redefine as obsolete alias.
19845 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19846 Signal absence of completion info for old Octave,
19847 (inferior-octave-complete): Redefine as obsolete alias.
19848 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19849 (meta-completions-at-point): Rename from meta-complete-symbol and
19850 adapt it for use on completion-at-point-functions.
19851 (meta-common-mode): Use it.
19852 (meta-looking-at-backward, meta-match-buffer): Remove.
19853 (meta-complete-symbol): Redefine as obsolete alias.
19854 (meta-common-mode-map): Use completion-at-point.
19855 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
19856 (makefile-mode-map): Use completion-at-point.
19857 (makefile-completions-at-point): Rename from makefile-complete and
19858 adapt it for use on completion-at-point-functions.
19859 (makefile-mode): Use it.
19860 (makefile-complete): Redefine as obsolete alias.
19861
aebf69c8
DD
198622011-06-20 Deniz Dogan <deniz@dogan.se>
19863
19864 * net/rcirc.el: Delete trailing whitespaces once and for all.
19865
bfbbb27d
DC
198662011-06-20 Daniel Colascione <dan.colascione@gmail.com>
19867
19868 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19869
d264a46b
CY
198702011-06-19 Chong Yidong <cyd@stupidchicken.com>
19871
4ca009e5
CY
19872 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19873
d264a46b
CY
19874 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19875
fbf5b3ce
MR
198762011-06-19 Martin Rudalics <rudalics@gmx.at>
19877
19878 * window.el (display-buffer-other-window-means-other-frame):
19879 Call display-buffer-normalize-alist.
19880 (display-buffer-normalize-specifiers-1): Rename to
19881 display-buffer-normalize-argument. New argument other-frame.
19882 Rewrite.
19883 (display-buffer-normalize-specifiers-2): Rename to
19884 display-buffer-normalize-options.
19885 (display-buffer-normalize-alist-1): New function.
19886 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
19887 display-buffer-normalize-alist.
19888 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
19889 (display-buffer-normalize-options-inhibit): New variable.
19890 (display-buffer-normalize-specifiers): Rewrite calling
19891 display-buffer-normalize-alist,
19892 display-buffer-normalize-argument, and
19893 display-buffer-normalize-options. Don't call the latter if
19894 display-buffer-normalize-options-inhibit is non-nil.
19895 (frame-auto-delete): New option.
19896 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
19897 (window-list-no-nils, window-state-ignored-parameters)
19898 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
19899 (window-state-put-1, window-state-put-2, window-state-put):
19900 New functions.
9a028c23
MR
19901 (display-buffer-normalize-options): Move special-display-p group
19902 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 19903
6d10d800
CY
199042011-06-18 Chong Yidong <cyd@stupidchicken.com>
19905
6420d28b
CY
19906 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
19907 groups (Bug#8776).
19908 (rx-submatch-n): New function.
19909 (rx): Document it.
19910
ddb8b596
CY
19911 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
19912 (Bug#8768).
19913
19914 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
19915
77080289
CY
19916 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
19917
61dfb316
CY
19918 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
19919 anytime existing face settings are present (Bug#8889).
19920
6d10d800
CY
19921 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
19922 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
19923 Remove unused argument.
19924
be3fb2b8
MR
199252011-06-18 Martin Rudalics <rudalics@gmx.at>
19926
bcd70d97
SM
19927 * window.el (display-buffer-default-specifiers):
19928 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
19929 pop-up-window-min-width, and another reuse-window specifier
19930 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
19931 (display-buffer-normalize-specifiers-2):
19932 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
19933 pop-up-windows is unset. Add a reuse-window specifier for the
19934 case popping up a new window fails.
19935 (special-display-popup-frame): Remove double quoting.
28dec25a 19936 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 19937
1c6d8c76
SM
199382011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19939
19940 * shell.el (shell-completion-vars): Set pcomplete-termination-string
19941 according to comint-completion-addsuffix.
19942
19943 * pcomplete.el: Convert to lexical binding and fix bug#8819.
19944 (pcomplete-suffix-list): Mark as obsolete.
19945 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19946 pcomplete-seen in the closure.
19947 (pcomplete-comint-setup): Setup completion-at-point as well.
19948 (pcomplete--entries): New function.
19949 (pcomplete--env-regexp): New var.
19950 (pcomplete-entries): Rewrite to work with partial-completion and
19951 without relying on pcomplete-suffix-list.
19952 (pcomplete-pare-list): Remove, unused.
19953
25aef8b8
MR
199542011-06-17 Martin Rudalics <rudalics@gmx.at>
19955
19956 * window.el (display-buffer-alist): Set pop-up-window-min-height
19957 and pop-up-window-min-width in default value. Reported by
19958 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
19959 other-window-means-other-frame.
19960 (display-buffer-macro-specifiers): Comment out entry for
19961 other-window specifier.
19962 (display-buffer-other-window-means-other-frame): New function.
19963 (display-buffer-normalize-specifiers-1): New arguments
19964 buffer-name and label. Treat other-window case specially.
19965 (display-buffer-normalize-specifiers-2): Treat other-window case
19966 specially.
19967 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
19968 (display-buffer-normalize-specifiers):
19969 Call display-buffer-normalize-specifiers-3.
25aef8b8 19970
dbad4f69
MR
199712011-06-17 Martin Rudalics <rudalics@gmx.at>
19972
19973 * window.el (same-window-p): Fix two typos introduced when
19974 adding with-no-warnings.
d1067961
MR
19975 (display-buffer-normalize-specifiers-1): Don't check
19976 pop-up-frames for 'unset initialization.
19977 (display-buffer-normalize-specifiers-2): Major rewrite using
19978 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19979 (pop-up-frames, display-buffer-reuse-frames)
19980 (display-buffer-mark-dedicated): Don't initialize to 'unset.
19981 Suggested by David Engster <deng@randomsample.de>.
19982 (even-window-heights): Initialize to 'unset.
19983 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
19984 (display-buffer-macro-specifiers): Don't pop up a new frame in the
19985 other window case.
dbad4f69 19986
9b9c9e3a
MR
199872011-06-16 Martin Rudalics <rudalics@gmx.at>
19988
bcd70d97
SM
19989 * window.el (display-buffer-normalize-specifiers-1):
19990 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 19991 second argument of display-buffer (Bug#8865).
981d5c09
MR
19992 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19993 (switch-to-buffer-other-window-same-frame)
19994 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19995 Adams (Bug#8875).
9c2755e9
MR
19996 (display-buffer): Don't check noninteractive when calling
19997 display-buffer-pop-up-frame.
19998 (display-buffer-pop-up-frame): Never pop up a frame in
19999 noninteractive mode (Bug#8857).
67222e1d
MR
20000 (enlarge-window, shrink-window): Don't report an error when the
20001 window can't be resized as requested (Bug#8862).
9b9c9e3a 20002
2b75be67
SM
200032011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20004
9ffdd3ba
SM
20005 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20006
cb581a67
SM
20007 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20008
2b75be67
SM
20009 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20010
8c0e3589
AM
200112011-06-15 Alan Mackenzie <acm@muc.de>
20012
cb581a67
SM
20013 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20014 for declarators, disable knr checking to speed up for normal files.
20015 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 20016
b96e6cde
LMI
200172011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20018
4bba86e6
LMI
20019 * net/network-stream.el (open-network-stream): Add the keyword
20020 :always-query-capabilities for the case where you want to force a
20021 `plain' network connection, but the protocol still requires the
20022 capabilitiy command (i.e., SMTP and EHLO).
20023
2b75be67 20024 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
20025 consistency with other `-live-p' functions.
20026
efdcdbf8
SM
200272011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20028
20029 * window.el (same-window-buffer-names, same-window-regexps)
20030 (special-display-frame-alist, special-display-popup-frame)
20031 (special-display-function, special-display-buffer-names)
20032 (special-display-regexps, pop-up-frame-alist)
20033 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20034 (pop-up-windows, split-window-preferred-function)
20035 (split-height-threshold, split-width-threshold, even-window-heights)
20036 (display-buffer-mark-dedicated): Don't encourage the use of
20037 display-buffer-alist from Elisp code.
20038
c5cde042
DN
200392011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20040
20041 * progmodes/python.el (python-mode): Derive from prog-mode.
20042 * progmodes/ps-mode.el (ps-mode):
20043 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 20044 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
20045 * progmodes/ld-script.el (ld-script-mode): Likewise.
20046
baa1c9ab
MR
200472011-06-15 Martin Rudalics <rudalics@gmx.at>
20048
20049 * window.el (display-buffer-alist): Trim default value to avoid
20050 popping up a new frame (Bug#8857) or reusing an arbitrary window
20051 on another frame.
20052 (display-buffer): Do not fall back on popping up a new frame in
20053 batch mode (Bug#8857).
20054
c5dd5a51
CY
200552011-06-14 Chong Yidong <cyd@stupidchicken.com>
20056
20057 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20058 (custom-theme-summary): New function.
20059 (customize-themes): Use it.
20060
d647b7c4
GM
200612011-06-13 Glenn Morris <rgm@gnu.org>
20062
20063 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20064
9481c002
MR
200652011-06-13 Martin Rudalics <rudalics@gmx.at>
20066
357f93d2
MR
20067 * help.el (help-window): Remove variable.
20068 (help-window-point-marker, temp-buffer-max-height)
20069 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20070 (help-print-return-message): Don't set help-window.
20071 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20072 (help-window-setup-finish): Remove.
20073 (help-window-display-message, help-window-setup)
20074 (with-help-window): Major rewrite based on new
20075 display-buffer-window variable.
20076
20077 * help-mode.el (help-mode-finish): Remove help-window related
20078 code.
20079
20080 * view.el (view-exits-all-viewing-windows): Remove reference to
20081 view-return-to-alist in doc-string.
20082 (view-return-to-alist): Make obsolete.
20083 (view-buffer): Call pop-to-buffer-same-window and remove
20084 undo-window code.
20085 (view-buffer-other-window): Call pop-to-buffer-other-window and
20086 simplify code. Ignore second argument.
20087 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20088 simplify code. Ignore second argument.
20089 (view-return-to-alist-update): Make obsolete.
20090 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20091 Rewrite using quit-restore window parameters.
2b75be67
SM
20092 (view-mode-exit): Rename second argument to EXIT-ONLY.
20093 Rewrite using quit-restore-window.
357f93d2
MR
20094 (View-exit, View-exit-and-edit, View-leave, View-quit)
20095 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20096 appropriate arguments.
20097 (view-end-message): Use quit-restore window parameter.
20098
9481c002
MR
20099 * window.el (display-buffer-function): Rewrite doc-string.
20100 (display-buffer-window, display-buffer-alist): New variables.
20101 (display-buffer-split-specifiers)
20102 (display-buffer-side-specifiers)
20103 (display-buffer-macro-specifiers): New constants.
20104 (display-buffer-even-window-sizes, display-buffer-set-height)
20105 (display-buffer-set-width, display-buffer-select-window)
20106 (display-buffer-in-window, display-buffer-reuse-window)
20107 (display-buffer-split-window-1, display-buffer-split-window)
20108 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20109 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20110 (display-buffer-in-side-window, normalize-buffer-to-display)
20111 (display-buffer-normalize-specifiers-1)
20112 (display-buffer-normalize-specifiers-2)
2b75be67
SM
20113 (display-buffer-normalize-specifiers, display-buffer-frame):
20114 New functions.
9481c002
MR
20115 (display-buffer): Major rewrite.
20116 (display-buffer-other-window, display-buffer-other-frame)
20117 (pop-to-buffer, switch-to-buffer-other-window)
20118 (switch-to-buffer-other-frame): Rewrite.
20119 (display-buffer-same-window, display-buffer-same-frame)
20120 (display-buffer-same-frame-other-window)
20121 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20122 (pop-to-buffer-other-window)
20123 (pop-to-buffer-same-frame-other-window)
20124 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20125 (switch-to-buffer-other-window-same-frame): New functions.
20126 (same-window-p, special-display-p): Rewrite disabling warnings.
20127 Make obsolete.
20128 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20129 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20130 Make obsolete
20131 (same-window-buffer-names, same-window-regexps)
20132 (special-display-frame-alist, special-display-popup-frame)
20133 (special-display-function, special-display-buffer-names)
20134 (special-display-regexps, pop-up-frame-alist)
20135 (pop-up-frame-function, split-window-preferred-function)
20136 (split-height-threshold, split-width-threshold)
20137 (even-window-heights): Make obsolete.
20138
9db51aca
GM
201392011-06-12 Glenn Morris <rgm@gnu.org>
20140
20141 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 20142 Misc simplifications.
9db51aca 20143
39cffb44
MR
201442011-06-12 Martin Rudalics <rudalics@gmx.at>
20145
20146 * window.el (window-safely-shrinkable-p): Restore function which
20147 was inadvertently removed in change from 2011-06-11. Declare as
20148 obsolete.
20149
2b75be67
SM
20150 * calendar/calendar.el (calendar-generate-window):
20151 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
20152 window-safely-shrinkable-p.
20153
a8955be7
GM
201542011-06-12 Glenn Morris <rgm@gnu.org>
20155
20156 * progmodes/fortran.el (fortran-mode-syntax-table):
20157 * progmodes/f90.el (f90-mode-syntax-table):
20158 Set % to punctuation. (Bug#8820)
20159 (f90-find-tag-default): Remove, no longer needed.
20160
f0d4059d
DC
201612011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20162
20163 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20164
1100a63c
CY
201652011-06-11 Chong Yidong <cyd@stupidchicken.com>
20166
20167 * image.el (image-animated-p): Return animation delay in seconds.
20168 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20169 (image-animate-timeout): Remove DELAY argument. Don't assume
20170 every subimage has the same delay; get it from image-animated-p.
20171 (image-animate): Caller changed.
20172
def722bf
MA
201732011-06-11 Michael Albinus <michael.albinus@gmx.de>
20174
20175 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20176 to ignored backtrace functions.
20177
0a2bb1a9
GM
201782011-06-11 Glenn Morris <rgm@gnu.org>
20179
20180 * calendar/appt.el (appt-disp-window-function): Doc fix.
20181 (appt-check): Handle overlapping appointments. (Bug#8337)
20182
6198ccd0
MR
201832011-06-11 Martin Rudalics <rudalics@gmx.at>
20184
20185 * window.el (window-tree-1, window-tree): New functions, moving
20186 the latter to window.el.
20187 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20188 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20189 (bw-refresh-edges): Remove.
20190 (balance-windows-1, balance-windows-2): New functions.
20191 (balance-windows): Rewrite in terms of window tree functions,
20192 balance-windows-1 and balance-windows-2.
20193 (bw-adjust-window): Remove.
20194 (balance-windows-area-adjust): New function with functionality of
20195 bw-adjust-window but using resize-window.
2b75be67
SM
20196 (set-window-text-height): Rewrite doc-string.
20197 Use normalize-live-window and resize-window.
20198 (enlarge-window-horizontally, shrink-window-horizontally):
20199 Rename argument to DELTA.
6198ccd0
MR
20200 (window-buffer-height): New function.
20201 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20202 Rewrite using new window resize routines.
2b75be67
SM
20203 (kill-buffer-and-window, mouse-autoselect-window-select):
20204 Use ignore-errors instead of condition-case.
6198ccd0
MR
20205 (quit-window): Call delete-frame instead of delete-windows-on
20206 for the only buffer on frame.
20207
9397e56f
MR
202082011-06-10 Martin Rudalics <rudalics@gmx.at>
20209
20210 * loadup.el (top-level): Load window before files for the sake
20211 of replace-buffer-in-windows.
20212
20213 * files.el (read-buffer-to-switch)
20214 (switch-to-buffer-other-window)
2b75be67
SM
20215 (switch-to-buffer-other-frame, display-buffer-other-frame):
20216 Move to window.el.
9397e56f
MR
20217
20218 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20219 (previous-buffer): Move to window.el.
20220
20221 * bindings.el (unbury-buffer): Move to window.el.
20222
20223 * window.el (delete-other-windows-vertically): Move after
20224 definition of delete-other-windows.
20225 (other-window, delete-windows-on, replace-buffer-in-windows):
20226 Move here from window.c.
20227 (record-window-buffer, unrecord-window-buffer)
20228 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20229 (switch-to-next-buffer): New functions.
20230 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20231 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
20232 (previous-buffer): Move here from simple.el.
20233 Call switch-to-prev-buffer.
9397e56f
MR
20234 (bury-buffer): Move here from buffer.c. Switch to previous
20235 buffer when window cannot be deleted.
20236 (unbury-buffer): Move here from bindings.el.
20237 (ctl-x-map): Move binding for other-window from window.c to
20238 here.
20239 (read-buffer-to-switch, switch-to-buffer-other-window)
20240 (switch-to-buffer-other-frame): Move here from files.el.
20241 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
20242 (switch-to-buffer): Move here from buffer.c.
20243 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 20244
562dd5e9
MR
202452011-06-10 Martin Rudalics <rudalics@gmx.at>
20246
20247 * window.el (window-min-height, window-min-width): Move here
20248 from window.c. Add defcustoms and rewrite doc-strings.
20249 (resize-mini-window, resize-window): New functions.
20250 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20251 Move here from window.c.
20252 (maximize-window, minimize-window): New functions.
20253 (delete-window, delete-other-windows, split-window): Move here
20254 from window.c.
20255 (window-split-min-size): New function.
20256 (split-window-keep-point): Mention split-window-above-each-other
20257 instead of split-window-vertically.
2b75be67 20258 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
20259 Rename split-window-vertically to split-window-above-each-other
20260 and provide defalias for old definition.
20261 (split-window-side-by-side, split-window-horizontally):
20262 Rename split-window-horizontally to split-window-side-by-side
20263 and provide defalias for the old definition.
562dd5e9
MR
20264 (ctl-x-map): Move bindings for delete-window,
20265 delete-other-windows and enlarge-window here from window.c.
20266 Replace bindings for split-window-vertically and
20267 split-window-horizontally by bindings for
20268 split-window-above-each-other and split-window-side-by-side.
20269
20270 * cus-start.el (all): Remove entries for window-min-height and
20271 window-min-width. Add entries for window-splits and
20272 window-nest.
20273
f0da764a
GM
202742011-06-09 Glenn Morris <rgm@gnu.org>
20275
80675c21
GM
20276 * calendar/appt.el (appt-mode-line): New function.
20277 (appt-check, appt-disp-window): Use it.
20278
f0da764a
GM
20279 * files.el (hack-one-local-variable-eval-safep):
20280 Allow minor-modes with explicit +/-1 arguments.
20281
59f623b7
TZ
202822011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
20283
20284 * term/xterm.el (xterm): Add defgroup.
20285 (xterm-extra-capabilities): Add defcustom to supply known xterm
20286 capabilities, skip querying them, or query them (default).
20287 (terminal-init-xterm): Use it.
20288 (terminal-init-xterm-modify-other-keys): New function to set up
20289 modifyOtherKeys support to simplify `terminal-init-xterm'.
20290
9aab8e0d
MR
202912011-06-09 Martin Rudalics <rudalics@gmx.at>
20292
20293 * window.el (resize-window-reset, resize-window-reset-1)
20294 (resize-subwindows-skip-p, resize-subwindows-normal)
20295 (resize-subwindows, resize-other-windows, resize-this-window)
20296 (resize-root-window, resize-root-window-vertically)
20297 (window-deletable-p, window-or-subwindow-p)
20298 (frame-root-window-p): New functions.
20299
e8b08aee
GM
203002011-06-09 Glenn Morris <rgm@gnu.org>
20301
20302 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20303 (ange-ftp-get-files): Use it.
20304
254c37a5
AK
203052011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
20306
20307 * mail/sendmail.el (mail-recover-1, mail-recover):
20308 * files.el (recover-file, recover-session):
20309 Handle dired-listing-switches not being just a single short option.
20310
35d7dbd3
GM
203112011-06-09 Glenn Morris <rgm@gnu.org>
20312
20313 * calendar/appt.el (appt-display-message, appt-disp-window):
20314 Handle lists of appointments.
20315
387522b2
MR
203162011-06-08 Martin Rudalics <rudalics@gmx.at>
20317
2b75be67
SM
20318 * window.el (one-window-p): Move down in code.
20319 Rewrite doc-string.
20320 (window-current-scroll-bars): Rewrite doc-string.
20321 Normalize live window argument.
387522b2
MR
20322 (walk-windows, get-window-with-predicate, count-windows):
20323 Rewrite doc-string. Use window-list-1.
20324 (window-in-direction-2, window-in-direction, get-mru-window):
20325 New functions.
20326
d8e4b68b 203272011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
20328
20329 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20330 Doc fix (Bug#8713).
20331
203322011-06-08 Chong Yidong <cyd@stupidchicken.com>
20333
20334 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20335
203362011-06-08 Juanma Barranquero <lekktu@gmail.com>
20337
20338 * loadhist.el (unload-feature-special-hooks):
20339 Add `comint-output-filter-functions'.
20340
0de12c52
IK
203412011-06-08 Ivan Kanis <gnu@kanis.fr>
20342
20343 * calendar/appt.el (appt-check): Move some initializations into the let.
20344
f3d1777e
MR
203452011-06-08 Martin Rudalics <rudalics@gmx.at>
20346
20347 * window.el (window-height): Defalias to window-total-height.
20348 (window-width): Defalias to window-body-width.
20349
18af70d0
CY
203502011-06-07 Chong Yidong <cyd@stupidchicken.com>
20351
20352 * image-mode.el (image-toggle-animation): New command.
20353 (image-mode-map): Bind it to RET.
20354 (image-mode): Update message.
20355 (image-toggle-display-image): Avoid a spurious cache flush.
20356 (image-transform-rotation): Doc fix.
20357 (image-transform-properties): Return quickly in the normal case.
20358 (image-animate-loop): Rename from image-animate-max-time.
20359
2b75be67 20360 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
20361 (create-animated-image): Remove unnecessary function.
20362 (image-animate): Rename from image-animate-start. New arg.
2b75be67 20363 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
20364 (image-animate-timer): Use car-safe.
20365 (image-animate-timeout): Rename argument.
20366
190b47e6
MR
203672011-06-07 Martin Rudalics <rudalics@gmx.at>
20368
20369 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
20370 window.c. Rename first argument to ALL-FRAMES.
20371 Rephrase doc-strings.
20372 (get-buffer-window-list): Rewrite using window-list-1.
20373 Rephrase doc-string.
a1511caf
MR
20374 (window-safe-min-height, window-safe-min-width): New constants.
20375 (window-size-ignore, window-min-size, window-min-size-1)
20376 (window-sizable, window-sizable-p, window-size-fixed-1)
20377 (window-size-fixed-p, window-min-delta-1, window-min-delta)
20378 (window-max-delta-1, window-max-delta, window-resizable)
20379 (window-resizable-p, window-total-height, window-total-width)
20380 (window-body-width): New functions.
20381 (window-full-height-p, window-full-width-p): Rewrite using
20382 window-total-size.
20383 (window-body-height): Rewrite using window-body-size.
190b47e6 20384
85cc1f11
MR
203852011-06-06 Martin Rudalics <rudalics@gmx.at>
20386
20387 * window.el (window-right, window-left, window-child)
20388 (window-child-count, window-last-child, window-any-p)
20389 (normalize-live-buffer, normalize-live-frame)
20390 (normalize-any-window, normalize-live-window)
20391 (window-iso-combination-p, window-iso-combined-p)
20392 (window-iso-combinations)
20393 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20394 (windows-with-parameter, window-with-parameter)
20395 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
20396 (window-atom-check, window-side-check, window-check):
20397 New functions.
85cc1f11
MR
20398 (ignore-window-parameters, window-sides, window-sides-vertical)
20399 (window-sides-slots): New variables.
20400 (window-size-fixed): Move down in code. Minor doc-string fix.
20401
e7156492
AS
204022011-06-05 Andreas Schwab <schwab@linux-m68k.org>
20403
20404 * comint.el (comint-dynamic-complete-as-filename)
20405 (comint-dynamic-complete-filename): Correctly call
20406 completion-in-region.
20407
7e821d0d
DD
204082011-06-05 Deniz Dogan <deniz@dogan.se>
20409
20410 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20411 in last change.
20412
ac09b8a1
DD
204132011-06-05 Deniz Dogan <deniz@dogan.se>
20414
20415 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20416 (rcirc): Use it to prompt for encryption.
20417
34699b85
RW
204182011-06-05 Roland Winkler <winkler@gnu.org>
20419
20420 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20421 (bibtex-search-entries): New command bound to C-c C-a.
20422 (bibtex-display-entries): New function.
20423
004dedd3
RW
204242011-06-05 Roland Winkler <winkler@gnu.org>
20425
20426 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20427 (bibtex-insert-kill): After yanking insert newline if necessary.
20428 (bibtex-initialize): Call bibtex-string-files-init only once.
20429 (bibtex-mode): Do not call easy-menu-add.
20430 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20431 (bibtex-yank): Set arg properly if nil.
20432
022fe7ce
RW
204332011-06-05 Roland Winkler <winkler@gnu.org>
20434
2b75be67
SM
20435 * textmodes/bibtex.el (bibtex-search-entry-globally):
20436 New variable.
022fe7ce
RW
20437 (bibtex-search-entry): Use it.
20438
b7c3692a
RW
204392011-06-05 Roland Winkler <winkler@gnu.org>
20440
20441 * textmodes/bibtex.el (bibtex-entry-format): New option
20442 sort-fields.
20443 (bibtex-format-entry, bibtex-reformat): Honor this option.
20444 (bibtex-parse-entry): Return fields in proper order.
20445
8eda563d
JB
204462011-06-05 Juanma Barranquero <lekktu@gmail.com>
20447
20448 * doc-view.el (doc-view-remove-if): Move computation of result out
20449 of `dolist' to silence misleading lexical-binding warning.
20450
7dbe3dbc
CY
204512011-06-04 Chong Yidong <cyd@stupidchicken.com>
20452
20453 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20454 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20455
0c33dd17
MA
204562011-06-04 Michael Albinus <michael.albinus@gmx.de>
20457
20458 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20459 "SunOS 5.10".
20460
f8f91c2b
MA
204612011-06-04 Michael Albinus <michael.albinus@gmx.de>
20462
20463 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20464 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20465 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20466 (tramp-parse-putty):
20467 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20468 (tramp-completion-function-alist-ssh)
20469 (tramp-completion-function-alist-telnet)
20470 (tramp-completion-function-alist-su)
20471 (tramp-completion-function-alist-putty): Set `tramp-autoload'
20472 cookie.
20473
20474 * net/tramp-ftp.el:
20475 * net/tramp-sh.el:
20476 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20477 load "tramp.el" `tramp-set-completion-function'.
20478
e17d9003
SM
204792011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
20480
20481 * shell.el: Require and use pcomplete.
20482 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20483 (shell-completion-vars): Set pcomplete-default-completion-function.
20484
6c4cab03
DD
204852011-06-04 Deniz Dogan <deniz@dogan.se>
20486
20487 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20488 `memq' (Bug#8799).
20489
ea9fafe0
SM
204902011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20491
20492 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20493
b3e945d3
JB
204942011-06-02 Juanma Barranquero <lekktu@gmail.com>
20495
20496 * bs.el (bs--mark-unmark, bs--nth-wrapper):
20497 * mpc.el (mpc-select-extend, mpc-songpointer-context):
20498 * vc/log-view.el (log-view-beginning-of-defun):
20499 * vc/smerge-mode.el (smerge-apply-resolution-patch)
20500 (smerge-refine-forward, smerge-refine-chopup-region):
20501 Silence warning for unused `dotimes' counter variables.
20502
7d520089
SM
205032011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20504
20505 * net/tramp.el (tramp-with-progress-reporter): Rename from
20506 with-progress-reporter. Use `declare'.
20507 * net/tramp-smb.el:
20508 * net/tramp-sh.el:
20509 * net/tramp-gvfs.el: Update all uses.
20510
a1c2400f
JB
205112011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
20512
20513 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
20514 buffer isn't killed before making it current.
20515
2403c841
SM
205162011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20517
20518 Silence various byte-compiler warnings.
20519 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20520 `access-type' and new obsolescence format.
20521 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20522 new format.
20523 (byte-compile-check-variable): New `access-type' argument.
20524 Only warn if the access-type is obsolete.
20525 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20526 (byte-compile-variable-set): Adjust callers.
20527 * help-fns.el (describe-variable): Adjust to new obsolescence format.
20528 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20529 setting it as obsolete.
20530 * simple.el (minibuffer-completing-symbol):
20531 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20532 access as obsolete.
20533 * minibuffer.el (minibuffer-completing-file-name): Don't make it
20534 obsolete yet.
20535 * international/quail.el (quail-mouse-choose-completion): Remove unused
20536 code referring to obsolete var.
20537 (quail-choose-completion-string): Remove.
20538 * server.el (server-clients-with, server-kill-buffer-query-function)
20539 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20540 * proced.el (proced-send-signal):
20541 * emacs-lisp/lisp.el (lisp-complete-symbol):
20542 Replace completion-annotate-function with completion-extra-properties.
20543
2462470b
SM
205442011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20545
fb5b2591
SM
20546 * simple.el (goto-line): Use read-number.
20547 (overriding-map-is-bound): Remove.
20548 (saved-overriding-map): Change default.
20549 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20550 Take the map as argument.
20551 (universal-argument, negative-argument, digit-argument): Use it.
20552 (restore-overriding-map): Adjust.
20553 (do-auto-fill): Use fill-forward-paragraph.
20554 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20555
fd6fa53f
SM
20556 * minibuffer.el (minibuffer-inactive-mode-map): New var.
20557 (minibuffer-inactive-mode): New major mode.
20558 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20559 the *Messages* buffer" hack.
20560 (mouse-popup-menubar): Don't burp if the event is a normal key.
20561
2462470b
SM
20562 Miscellaneous tweaks.
20563 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
20564 lexical scoping as in subr.el's dolist and dotimes.
20565 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
20566 Silence compiler warning.
20567 * thingatpt.el (forward-whitespace): Trivial coding style fix.
20568 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
20569 * international/ccl.el (ccl-compile): Trivial simplification.
20570 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
20571 * emacs-lisp/testcover.el (testcover-end): Remove spurious
20572 `printflag' argument.
20573 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
20574 Purecopy the whole obsolescence data.
20575
108bf785
LL
205762011-06-01 Leo Liu <sdl.web@gmail.com>
20577
20578 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
20579 improve doc-string as suggested by Marco Pessotto
20580 <melmothx@gmail.com>.
20581 (rcirc-print): Fix last change.
20582
30a23501
SM
205832011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20584
20585 * minibuffer.el (complete-with-action): Return nil for the metadata and
20586 boundaries of non-functional tables.
20587 (completion-table-dynamic): Return nil for the metadata.
20588 (completion-table-with-terminator): Add default case, using
20589 complete-with-action.
20590 (completion--metadata): New function.
20591 (completion-all-sorted-completions, minibuffer-completion-help): Use it
20592 to try and avoid pathological performance problems.
20593 (completion--embedded-envvar-table): Return `category' metadata.
20594
bcd54f83
LMI
205952011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
20596
20597 * subr.el (process-alive-p): New tiny convenience function.
20598
e227544d
SM
205992011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20600
20601 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20602 content but also its previous major mode.
20603
e8296fdc
HE
206042011-05-31 Helmut Eller <eller.helmut@gmail.com>
20605
4d61f28d 20606 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
20607 *Backtrace* buffer when we exit with C-M-c.
20608
620c53a6
SM
206092011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20610
20611 * minibuffer.el: Add metadata method to completion tables.
20612 (completion-category-overrides): New defcustom.
20613 (completion-metadata, completion--field-metadata)
20614 (completion-metadata-get, completion--styles)
20615 (completion--cycle-threshold): New functions.
20616 (completion-try-completion, completion-all-completions):
20617 Add `metadata' argument to choose completion-styles.
20618 (completion--do-completion): Use metadata to choose cycling.
20619 (completion-all-sorted-completions): Use metadata for sorting.
20620 Remove :completion-cycle-penalty which is not needed any more.
20621 (completion--try-word-completion): Add `metadata' argument.
20622 (minibuffer-completion-help): Check metadata for annotation function
20623 and sorting.
20624 (completion-file-name-table): Return `category' metadata.
20625 (minibuffer-completing-file-name): Make obsolete.
20626 * simple.el (minibuffer-completing-symbol): Make obsolete.
20627 * icomplete.el (icomplete-completions): Pass new `metadata' param to
20628 completion-try-completion.
20629
1257e755
SM
206302011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20631
20632 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20633
3767e706
LL
206342011-05-30 Leo Liu <sdl.web@gmail.com>
20635
20636 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
20637 (rcirc-print): Decode all incoming messages (bug#8744).
20638 (rcirc-decode-coding-system): Allow value nil for automatic coding
20639 system detection.
3767e706 20640
d1a5d56a
GM
206412011-06-01 Glenn Morris <rgm@gnu.org>
20642
20643 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20644
e8cbec34
CY
206452011-05-29 Chong Yidong <cyd@stupidchicken.com>
20646
20647 * image.el (image-animate-max-time): Allow nil and t values.
20648 Default to nil.
20649 (create-animated-image): Doc fix.
20650 (image-animate-start): Remove second arg; just use
20651 image-animate-max-time.
20652 (image-animate-timeout): Doc fix. Args changed.
20653
20654 * image-mode.el (image-toggle-display-image): Ensure that the
20655 image spec passed to the animate timer is the same object as in
58179cce 20656 the buffer's display property (Bug#6981).
e8cbec34
CY
20657 (image-transform-properties): Doc fix.
20658
20659 * image.el (image-animate-max-time): Default to nil.
20660
159daf87
MR
206612011-05-29 Martin Rudalics <rudalics@gmx.at>
20662
20663 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20664 entire buffer list (Bug#8184).
20665
d66c4c7c
CY
206662011-05-29 Chong Yidong <cyd@stupidchicken.com>
20667
20668 * image.el (imagemagick-types-inhibit)
20669 (imagemagick-register-types): Doc fix.
20670
80aec780
DD
206712011-05-29 Deniz Dogan <deniz@dogan.se>
20672
20673 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20674 default.
20675
1dd3c2d9
CY
206762011-05-29 Chong Yidong <cyd@stupidchicken.com>
20677
20678 * select.el: Don't perform clipboard-manager saving in hooks;
20679 leave the hooks empty.
20680
60e56523
LL
206812011-05-28 Leo Liu <sdl.web@gmail.com>
20682
20683 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20684 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20685 (occur-edit-mode): New major mode (Bug#8463).
20686 (occur-after-change-function): New function.
20687 (occur-engine): Give Occur tags a read-only property.
20688
2b1e1a22
KR
206892011-05-28 Kevin Ryde <user42@zip.com.au>
20690
20691 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20692
5d344e88
CY
206932011-05-28 Chong Yidong <cyd@stupidchicken.com>
20694
8e6ca83d
CY
20695 * bindings.el (help-echo): Make the initial non-indicator dash
20696 empty on graphical terminals (Bug#7295).
20697
5d344e88
CY
20698 * files.el (auto-mode-alist): Move config rule after the
20699 in-stripping one (Bug#8547).
20700
bfbbace7
CY
20701 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20702
fbeba6e2
CY
20703 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20704 setting (Bug#8740).
20705
60ed8c72
AA
207062011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20707
4ac619f0
AA
20708 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20709 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20710 (Bug#8539).
60ed8c72 20711
23db196e
CY
207122011-05-28 Chong Yidong <cyd@stupidchicken.com>
20713
20714 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20715
5012f24c
DK
207162011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
20717
20718 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20719 (hs-hide-block-at-point, hs-find-block-beginning)
20720 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20721 (Bug#8279).
20722
6a639b16
GM
207232011-05-28 Glenn Morris <rgm@gnu.org>
20724
20725 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
20726
d43eaf2c
CY
207272011-05-28 Chong Yidong <cyd@stupidchicken.com>
20728
5199bde1
CY
20729 * help-fns.el (describe-function-1): If the function is a derived
20730 major mode, print the parent mode.
20731
d43eaf2c
CY
20732 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20733 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20734
423428a8
SM
207352011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
20736
0ff8e1ba 20737 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 20738 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
20739 * progmodes/etags.el (tags-completion-at-point-function):
20740 * info-look.el (info-lookup-completions-at-point): Mark as
20741 non-exclusive.
20742 (info-complete): Adjust accordingly.
20743
423428a8
SM
20744 * info-look.el: Convert to lexical-binding and completion-at-point.
20745 (info-lookup-completions-at-point): New function.
20746 (info-complete): Use it and completion-in-region.
20747
b74aa22b
DA
207482011-05-28 Drew Adams <drew.adams@oracle.com>
20749
20750 * isearch.el: Let M-e start with point at the first mismatched char.
20751 (isearch-fail-pos): New function.
20752 (isearch-edit-string): Use it.
20753
66e2e71d
DK
207542011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20755
20756 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20757
b1890b0f 207582011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
20759
20760 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
20761 traversal functions for avl-trees.
20762 (avl-tree--stack): New struct.
20763 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20764 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
20765 (avl-tree--do-enter): Add optional `updatefun' arg.
20766 Change return value.
eb95d01d 20767 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
20768 (avl-tree--do-delete): Add `test' and `nilflag' args.
20769 Change return value.
eb95d01d
TC
20770 (avl-tree-member): Add optional `nilflag'
20771 (avl-tree-member-p): New function.
20772 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20773 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20774 (avl-tree-stack-empty-p): New functions.
20775
3769ddcf
TC
20776 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20777 avl-tree--del-balance1 and make it work both ways.
20778 (avl-tree--del-balance2): Remove.
20779 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20780 make it work both ways.
20781 (avl-tree--enter-balance2): Remove.
20782 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20783 New macros.
20784 (avl-tree--mapc, avl-tree-map): Add direction argument.
20785
eb95d01d 207862011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
20787
20788 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20789
a9f737ee
CY
207902011-05-27 Chong Yidong <cyd@stupidchicken.com>
20791
20792 * select.el: Support clipboard managers with built-in function
20793 x-clipboard-manager-save, via delete-frame-functions and
20794 kill-emacs-hook.
20795 (xselect-convert-to-targets): Add MULTIPLE target to list.
20796 (xselect-convert-to-save-targets): New function.
20797
c92a1e54
KH
207982011-05-27 Kenichi Handa <handa@m17n.org>
20799
20800 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20801 let-binding rfc2047-encode-encoded-words to nil.
20802
e145f188
GM
208032011-05-27 Glenn Morris <rgm@gnu.org>
20804
5ec8a862
GM
20805 * mail/emacsbug.el: Don't require url-util.
20806
4b29d9fb
GM
20807 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
20808
e145f188
GM
20809 * files.el (set-auto-mode):
20810 Also respect mode: entries at the end of the file. (Bug#8586)
20811
7d15102b
GM
208122011-05-26 Glenn Morris <rgm@gnu.org>
20813
98f593b8
GM
20814 * files.el (hack-local-variables-prop-line, hack-local-variables):
20815 Downcase mode names, as seems to be traditional.
27b48e63 20816 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 20817
7d15102b
GM
20818 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20819 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
20820
51d5b4ec
JD
208212011-05-25 Julien Danjou <julien@danjou.info>
20822
20823 * textmodes/rst.el (rst-define-level-faces): Do not define face
20824 symbol if it is already defined.
20825
91513f63
VB
208262011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
20827
20828 * play/5x5.el (5x5-new-game, 5x5-randomize):
20829 Reset 5x5-solver-output to nil when a new grid is cast.
20830 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20831 these debugging traces, as defmacro breaks the compiled code.
20832
4d90d6d0
DK
208332011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20834
20835 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20836
e1b90ef6
LL
208372011-05-24 Leo Liu <sdl.web@gmail.com>
20838
20839 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20840 (vc-bzr-sha1): Adapt.
20841
d8e4b68b 20842 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
20843
20844 * bindings.el: Provide sha1 feature.
20845
db0406bb 208462011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
20847
20848 * mail/sendmail.el: Require `rfc2047'.
20849 (mail-insert-from-field): Do not perform RFC2047 encoding.
20850 (mail-encode-header): New function.
20851 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
20852 buffer to the return value of select-message-coding-system.
20853 Call mail-encode-header.
b8d747b9
KH
20854
20855 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
20856
db0406bb 208572011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 20858
4d90d6d0
DK
20859 * mail/supercite.el (sc-default-cite-frame):
20860 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 20861
eb8a5e9b
GM
208622011-05-24 Glenn Morris <rgm@gnu.org>
20863
f8630703
GM
20864 * progmodes/python.el (brm-menu): Declare.
20865
8831bbed
GM
20866 * emulation/viper.el (viper-set-hooks): Declare.
20867
eb8a5e9b
GM
20868 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20869 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20870 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20871 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20872 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20873 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20874
a2a25d24
SM
208752011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20876
20877 Add an :exit-function for completion-at-point.
20878
20879 * minibuffer.el (completion--done): New fun.
20880 (completion--do-completion): Use it. New arg `expect-exact'.
20881 (minibuffer-complete, minibuffer-complete-word): Don't output message,
20882 since completion--do-completion does it for us now.
20883 (minibuffer-force-complete): Use completion--done and
20884 completion--replace. Handle sole-completion case with more care.
20885 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20886 (completion-extra-properties): New var.
20887 (completion-annotate-function): Make obsolete.
20888 (minibuffer-completion-help): Adjust accordingly.
20889 Use completion-list-insert-choice-function.
20890 (completion-at-point, completion-help-at-point):
20891 Bind completion-extra-properties.
20892 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20893 * simple.el (completion-list-insert-choice-function): New var.
20894 (completion-setup-function): Preserve it.
20895 (choose-completion): Pay attention to it, shuffle the code a bit.
20896 (choose-completion-string): New arg `insert-function'.
20897
20898 * textmodes/bibtex.el: Convert to lexical binding.
20899 (bibtex-mode-map): Use completion-at-point.
20900 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
20901 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
20902 (bibtex-complete): Define as obsolete alias.
20903 (bibtex-complete-internal): Remove.
20904 (bibtex-format-entry): Remove unused sub-group in regexp.
20905 * shell.el (shell--command-completion-data)
20906 (shell-environment-variable-completion):
20907 * pcomplete.el (pcomplete-completions-at-point):
20908 * comint.el (comint--complete-file-name-data): Use :exit-function
20909 instead of completion-table-with-terminator so it also works for
20910 choose-completion.
20911
e44e373d
SM
209122011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20913
4f91a816
SM
20914 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
20915
782fc819
SM
20916 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
20917 (bug#8710).
20918
e44e373d
SM
20919 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
20920
381987c3
KM
209212011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
20922
20923 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
20924 customization variable and implement: If non-nil, auto-fill will
20925 be inhibited while on topic's header line.
20926
b776bc70
VB
209272011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
20928
20929 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 20930 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
20931 always have a solution in grid size = 5 cases.
20932 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
20933 (5x5-solver-output, 5x5-log-buffer): New vars.
20934 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
20935 Make these variables buffer local to achieve 5x5 multi-session-ness.
20936 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
20937 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
20938 (5x5-solve-suggest): New funs.
20939 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
20940 randomize a grid so that we ensure that there is always a solution.
20941 (5x5-make-random-grid): Allow other movement than flipping.
20942
7de88b6e
KR
209432011-05-23 Kevin Ryde <user42@zip.com.au>
20944
20945 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 20946 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
20947 advice and passes PREDICATE.
20948
b1ef1257
SM
209492011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20950
bbca48fe
SM
20951 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20952 byte-compile-lambda if it's actually a lambda.
20953
b1ef1257
SM
20954 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20955 Fix function quoting. Use backquote better.
20956
92a9cc65
YS
209572011-05-22 Yuanle Song <sylecn@gmail.com>
20958
20959 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20960 matching (Bug#8516).
20961
f0fb8059
JA
209622011-01-22 Jari Aalto <jari.aalto@cante.net>
20963
20964 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20965 different face (Bug#8178).
20966
d5b44c93
CY
209672011-05-22 Chong Yidong <cyd@stupidchicken.com>
20968
20969 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20970 defface (Bug#8144).
20971
79106a44
SM
209722011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
20973
9c848d8a
SM
20974 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20975 funcall as well (bug#8712). Warn when performing those conversions.
20976 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20977
79106a44
SM
20978 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20979
88dfa756
GM
209802011-05-22 Glenn Morris <rgm@gnu.org>
20981
20982 * files.el (hack-local-variables-prop-line): Small simplifications.
20983 (hack-local-variables, hack-local-variables-prop-line):
20984 If MODE-ONLY, return the mode, rather than just `t'.
20985
b7cf2c79
SM
209862011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
20987
20988 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20989
3f1a8558
GM
209902011-05-21 Glenn Morris <rgm@gnu.org>
20991
7e4ccca3
GM
20992 * files.el (hack-local-variables-prop-line, hack-local-variables):
20993 If only interested in the mode, don't bother doing the other stuff.
20994
637d46ca
GM
20995 * image-mode.el (image-after-revert-hook):
20996 Redraw all frames on which the image is visible. (Bug#8567)
20997
973d955b
GM
20998 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20999
3f1a8558
GM
21000 * wid-edit.el (widget-checklist-match-inline):
21001 Fix 2011-04-19 change. (Bug#8649)
21002
96479927
SM
210032011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21004
1dcf791f
SM
21005 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21006 Also allow singlespace after single-letter capitals followed by a dot.
21007
96479927
SM
21008 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21009 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21010
35fd0881
N
210112011-05-20 Nix <nix@esperi.org.uk>
21012
21013 * files.el (basic-save-buffer-2):
21014 Fix handling of break-hardlink-on-save with non-existent files.
21015
82745640
DD
210162011-05-19 Deniz Dogan <deniz@dogan.se>
21017
21018 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 21019 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 21020
4a720484
GM
210212011-05-19 Glenn Morris <rgm@gnu.org>
21022
d1f21341
GM
21023 * progmodes/f90.el (f90-type-def-re):
21024 Handle "type, bind(c)". (Bug#8691)
21025
4a720484
GM
21026 * emacs-lisp/autoload.el (batch-update-autoloads):
21027 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21028
2fb0a219
MA
210292011-05-18 Michael Albinus <michael.albinus@gmx.de>
21030
21031 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21032 property for the correct connection in case of multihops.
21033
e565dd37
GM
210342011-05-18 Glenn Morris <rgm@gnu.org>
21035
c2571358 21036 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
21037 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21038
e565dd37
GM
21039 Rationalize calendar handling of day and month abbrev-arrays.
21040 * calendar/calendar.el (calendar-customized-p): New function.
21041 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21042 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21043 Add :set function.
21044 (calendar-abbrev-length, calendar-day-abbrev-array)
21045 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21046 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21047 Elements may no longer be nil.
21048 (calendar-day-name, calendar-month-name):
21049 Update for changed nature of abbrev arrays.
21050 * calendar/diary-lib.el (diary-name-pattern):
21051 Update for changed nature of abbrev arrays.
21052 (diary-mark-entries-1): Update calendar-make-alist calls.
21053 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21054 * calendar/cal-html.el (cal-html-day-abbrev-array):
21055 Simply inherit from calendar-day-abbrev-array.
21056
1d99a745
SM
210572011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21058
21059 * progmodes/grep.el (grep-mode): Disable default
21060 compilation-directory-matcher setting (bug#8684).
21061
7c1d9aa0
MA
210622011-05-17 Michael Albinus <michael.albinus@gmx.de>
21063
21064 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21065 instead of "head" and "tail". There were problems with SunOS 5.9,
21066 and it performs better.
21067
3952e9d8
GM
210682011-05-17 Glenn Morris <rgm@gnu.org>
21069
2dd12e7f
GM
21070 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21071
e4157b9c
GM
21072 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21073 Replace obsolete function.
21074
8e249bbd
GM
21075 * shell.el (pcomplete-parse-arguments-function): Declare.
21076
3952e9d8
GM
21077 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21078 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21079 (appt-check): Doc fixes.
21080 (appt-disp-window-function, appt-delete-window-function):
21081 Remove needless special case in custom :type.
21082 (appt-display-count): Default to 0, not nil.
21083 (appt-check): Reset appt-display-count to 0, not nil.
21084
c71a0d48 210852011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 21086
c71a0d48
GM
21087 * progmodes/python.el (python-font-lock-keywords):
21088 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 21089
31d55be9
SM
210902011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21091
21092 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21093
3bfacb2f
KR
210942011-05-16 Kevin Ryde <user42@zip.com.au>
21095
21096 * info-look.el (makefile-automake-mode): New setups, looking in
21097 automake manual, then makefile-mode.
21098 (makefile-mode): Remove automake manual, have it just in
21099 makefile-automake-mode since there's various things different or
21100 not relevant to plain make.
21101 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21102 believe a hypothetical automake-mode would go to makefile-mode,
21103 not the other way around.
21104
c8e83751
CY
211052011-05-15 Chong Yidong <cyd@stupidchicken.com>
21106
5e9e35cd
CY
21107 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21108 hunk-end tags (Bug#8672).
21109
c8e83751
CY
21110 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21111 vc-annotate-show-diff-revision-at-line (Bug#8671).
21112
50b23e5a
GM
211132011-05-14 Glenn Morris <rgm@gnu.org>
21114
7210a739
GM
21115 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21116 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
21117 (change-log-font-lock-keywords): Also handle multiple author lines
21118 with leading tabs. (Bug#8644)
7210a739 21119
4691905a
GM
21120 * calendar/appt.el (appt-check): Rename some local variables.
21121 Some simplification/reordering.
21122
50b23e5a
GM
21123 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21124 (feedmail-sendmail-f-doesnt-sell-me-out)
21125 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21126 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21127 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
21128 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21129 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
21130 (feedmail-binmail-gnulinuxish-template):
21131 Rename from feedmail-binmail-linuxish-template.
21132 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21133 Use insert-buffer-substring.
21134
215cda7c
BC
211352011-05-14 Bill Carpenter <bill@carpenter.org>
21136
21137 * mail/feedmail.el (feedmail-patch-level): Increase.
21138 (feedmail-debug): New custom group.
21139 (feedmail-confirm-outgoing-timeout)
21140 (feedmail-sendmail-f-doesnt-sell-me-out)
21141 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21142 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21143 (feedmail-sender-line, feedmail-from-line)
21144 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 21145 (feedmail-spray-this-address)
215cda7c
BC
21146 (feedmail-spray-address-fiddle-plex-list)
21147 (feedmail-queue-use-send-time-for-date)
21148 (feedmail-queue-use-send-time-for-message-id)
21149 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21150 (feedmail-buffer-eating-function):
21151 Doc fixes.
21152 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21153 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21154 (feedmail-message-action-scroll-down): New functions.
21155 (feedmail-queue-directory, feedmail-queue-draft-directory):
21156 Use expand-file-name.
21157 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21158 Remove C-v help entry.
21159 (feedmail-queue-buffer-file-name): New variable.
21160 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21161 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21162 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21163 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21164 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21165 (feedmail-message-action-toggle-spray)
21166 (feedmail-run-the-queue-no-prompts)
21167 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21168 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21169 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21170 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21171 (feedmail-envelope-deducer, feedmail-fiddle-from)
21172 (feedmail-fiddle-sender, feedmail-default-date-generator)
21173 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21174 (feedmail-fiddle-spray-address)
21175 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21176 (feedmail-fiddle-list-of-fiddle-plexes)
21177 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21178 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21179 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21180 Change default. Doc fix.
21181 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21182 (feedmail-binmail-linuxish-template): New constant.
21183 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21184 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21185 (feedmail-send-it): Add debug call.
21186 Use feedmail-queue-buffer-file-name, and
21187 feedmail-send-it-immediately-wrapper.
21188 (feedmail-message-action-send): Add debug call.
21189 Use feedmail-send-it-immediately-wrapper.
21190 (feedmail-queue-express-to-queue): Add debug call.
21191 Run feedmail-queue-express-hook.
21192 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21193 (feedmail-message-action-help-blat):
21194 Rename from feedmail-queue-send-edit-prompt-help-first.
21195 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21196 Check line-endings. Handle errors better.
21197 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21198 Doc fix. Add debug call.
21199 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21200 Use feedmail-queue-send-edit-prompt-inner.
21201 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21202 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21203 from feedmail-queue-send-edit-prompt.
21204 (feedmail-queue-send-edit-prompt-help)
21205 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21206 (feedmail-tidy-up-slug): Add debug call.
21207 Respect feedmail-queue-slug-suspect-regexp.
21208 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21209 (feedmail-dump-message-to-queue): Add debug call.
21210 Expand queue-directory.
21211 (feedmail-dump-message-to-queue): Change message slightly.
21212 Use feedmail-say-chatter.
21213 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21214 (feedmail-send-it-immediately-wrapper): New function.
21215 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21216 Insert empty string rather than newline. Handle full-frame case.
21217 Use catch/throw. Use feedmail-say-chatter.
21218 (feedmail-fiddle-from): Try mail-host-address.
21219 (feedmail-default-message-id-generator): Doc fix.
21220 Bind system-time-locale. Handle missing end.
21221 (feedmail-fiddle-x-mailer): Add debug call.
21222 Handle feedmail-x-mailer-line being nil.
21223 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21224 Add debug call. Use buffer-substring-no-properties.
21225 (feedmail-say-debug, feedmail-say-chatter): New functions.
21226 (feedmail-find-eoh): Give an explicit error.
21227
42c7e61e
UJ
212282011-05-13 Ulf Jasper <ulf.jasper@web.de>
21229
c2571358 21230 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 21231 family from helvetica to sans.
c2571358 21232 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21233 etc/images/newsticker.
21234
c2571358 21235 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
21236 family from helvetica to sans.
21237
21238 * net/newst-plainview.el (newsticker-new-item-face)
21239 (newsticker-old-item-face, newsticker-immortal-item-face)
21240 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 21241 (newsticker-statistics-face): Change default family from
42c7e61e 21242 helvetica to sans.
c2571358 21243 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21244 etc/images/newsticker.
21245
5d3385a0
JB
21246 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21247 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
21248 auto-marking.
21249
8497a297
DV
212502011-05-13 Didier Verna <didier@xemacs.org>
21251
21252 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
21253 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21254 TODO entries.
8497a297
DV
21255 (lisp-lambda-list-keyword-parameter-indentation)
21256 (lisp-lambda-list-keyword-parameter-alignment)
21257 (lisp-lambda-list-keyword-alignment): New customizable user options.
21258 (lisp-indent-defun-method): Improve docstring.
21259 (extended-loop-p): Fix comment.
21260 (lisp-indent-lambda-list-keywords-regexp): New variable.
21261 (lisp-indent-lambda-list): New function.
21262 (lisp-indent-259): Use it.
21263 (lisp-indent-defmethod): Support for more than one
21264 method qualifier and properly indent methods lambda-lists.
21265 (defgeneric): Provide a missing common-lisp-indent-function property.
21266
f278f87f
SM
212672011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
21268
21269 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21270 bounds for the empty string (bug#8667).
21271
5233edd7
GM
212722011-05-13 Glenn Morris <rgm@gnu.org>
21273
5237a44f
GM
21274 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21275
8340026c 21276 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 21277 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 21278
5233edd7 21279 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 21280 (appt-time-msg-list): Doc fix.
a5464014 21281 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 21282
92d10796
AS
212832011-05-12 Andreas Schwab <schwab@linux-m68k.org>
21284
21285 * progmodes/ld-script.el (ld-script-keywords)
21286 (ld-script-builtins): Update keywords list.
21287
914a0ae1
SM
212882011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21289
c89be45f
SM
21290 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21291
914a0ae1
SM
21292 * shell.el (shell-completion-vars): New function.
21293 (shell-mode):
21294 * simple.el (read-shell-command): Use it.
21295 (blink-matching-open): No need for " [...]" in minibuffer-message.
21296
98dc3df3
GM
212972011-05-12 Glenn Morris <rgm@gnu.org>
21298
21299 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21300 (appt-check): Simplify.
21301
d2fc7e3d 213022011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 21303
4d61f28d 21304 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
21305 literal "/dev/null".
21306
d2fc7e3d 213072011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
21308
21309 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21310 Fix typo.
21311
d2fc7e3d 213122011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 21313
3f254caa
SM
21314 * progmodes/which-func.el (which-function):
21315 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
21316 which might not be defined (Bug#8260).
21317
d45885f7
GM
213182011-05-12 Glenn Morris <rgm@gnu.org>
21319
21320 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21321 Let byte-compile-initial-macro-environment always take precedence.
21322
488086f4
SM
213232011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21324
21325 * net/rcirc.el: Add support for SSL/TLS connections.
21326 (rcirc-server-alist): New field `encryption'.
21327 (rcirc): Check `encryption' settings.
21328 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21329 Merge make-local-variable into `set'.
21330 (rcirc--connection-open-p): New function.
21331 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21332 the process is not a network process (e.g. running gnutls-cli).
21333 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21334 Make rcirc-(en|de)code-coding-system local here.
21335 (rcirc-mode): Merge make-local-variable into `set'.
21336 (rcirc-parent-buffer): Make permanent buffer-local.
21337 (rcirc-multiline-minor-mode): Don't do it here.
21338 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21339 there's no server buffer.
21340
7d3b9d44
GM
213412011-05-11 Glenn Morris <rgm@gnu.org>
21342
f64049c6
GM
21343 * newcomment.el (comment-kill): Prefix "unused" local.
21344
93c9df73
GM
21345 * term/w32console.el (get-screen-color): Declare.
21346
7d3b9d44
GM
21347 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21348 Handle symbol elements of byte-compile-initial-macro-environment.
21349
9e2dd53f
LL
213502011-05-10 Leo Liu <sdl.web@gmail.com>
21351
488086f4
SM
21352 * bookmark.el (bookmark-bmenu-mode-map):
21353 Bind bookmark-bmenu-search to `/'.
8b340240 21354
9e2dd53f 21355 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
21356 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21357 (Footnote-unicode): New function.
21358 (footnote-style-alist): Add unicode style to the list.
21359 (footnote-style): Doc fix.
9e2dd53f 21360
79b70037
GM
213612011-05-10 Jim Meyering <meyering@redhat.com>
21362
21363 Fix doubled-word typos.
21364 * international/quail.el (quail-insert-kbd-layout): and and -> and
21365 * kermit.el: and and -> and
21366 * net/ldap.el (ldap-search-internal): to to -> to
21367 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21368 * progmodes/js.el (js-mode): and and -> and
21369 * textmodes/artist.el (artist-move-to-xy): at at -> at
21370 (artist-draw-region-trim-line-endings): if if -> if
21371 And Safetyc -> Safety.
21372 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21373
b8f82dc1 213742011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 21375 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
21376
21377 * files.el (hack-one-local-variable-eval-safep):
21378 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
21379
4f99f44b
GM
213802011-05-10 Glenn Morris <rgm@gnu.org>
21381
21382 * calendar/diary-lib.el (diary-list-entries-hook)
21383 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21384 (diary-nongregorian-marking-hook, diary-list-entries)
21385 (diary-include-other-diary-files, diary-mark-entries)
21386 (diary-mark-included-diary-files): Doc fixes.
21387
84f29e6b
JB
213882011-05-09 Juanma Barranquero <lekktu@gmail.com>
21389
21390 * misc.el: Require tabulated-list.el during compilation.
21391
9bedd73a
CY
213922011-05-09 Chong Yidong <cyd@stupidchicken.com>
21393
488086f4
SM
21394 * progmodes/compile.el (compilation-start):
21395 Run compilation-filter-hook for the async case too.
9bedd73a
CY
21396 (compilation-filter-hook): Doc fix.
21397
797c735c
DD
213982011-05-09 Deniz Dogan <deniz@dogan.se>
21399
21400 * wdired.el: Remove outdated installation comment. Fix usage
21401 comment.
21402
5f4b1dfe
JB
214032011-05-09 Juanma Barranquero <lekktu@gmail.com>
21404
21405 * misc.el: Implement new command `list-dynamic-libraries'.
21406 (list-dynamic-libraries--loaded-only-p): New variable.
21407 (list-dynamic-libraries--refresh): New function.
21408 (list-dynamic-libraries): New command.
21409
4c44026c
CY
214102011-05-09 Chong Yidong <cyd@stupidchicken.com>
21411
488086f4
SM
21412 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21413 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
21414 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
21415 higher priority to avoid clobbering by gnu.
21416
027f966d
CY
214172011-05-08 Chong Yidong <cyd@stupidchicken.com>
21418
21419 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21420 if the face has existing theme settings (Bug#8454).
21421
085f5d7d
CY
214222011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
21423
488086f4
SM
21424 * progmodes/perl-mode.el (perl-imenu-generic-expression):
21425 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 21426
2a86a00c
RS
21427 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21428 special file names `.' and `..' (Bug#8259).
21429
d9c54a06
CY
214302011-05-08 Chong Yidong <cyd@stupidchicken.com>
21431
488086f4
SM
21432 * progmodes/grep.el (grep-mode-font-lock-keywords):
21433 Remove buffer-changing entries.
d9c54a06
CY
21434 (grep-filter): New function.
21435 (grep-mode): Add it to compilation-filter-hook.
21436
21437 * progmodes/compile.el (compilation-filter-hook)
21438 (compilation-filter-start): New defvars.
21439 (compilation-filter): Call compilation-filter-hook prior to
21440 updating the process mark.
21441
c4662635
SM
214422011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21443
21444 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21445
b0512a1d
EZ
214462011-05-07 Eli Zaretskii <eliz@gnu.org>
21447
605c9376
EZ
21448 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21449 mailclient-send-it even if window-system is nil. (Bug#8595)
21450
c4662635
SM
21451 * term/w32console.el (terminal-init-w32console):
21452 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
21453 background-mode. (Bug#8597)
21454
d1dc2cc2
SM
214552011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21456
21457 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21458 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21459 New functions.
21460 (defgeneric, eieio--defmethod): Use them.
21461 (eieio-defgeneric): Remove.
21462 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21463
915d1300
GM
214642011-05-07 Glenn Morris <rgm@gnu.org>
21465
a3961c3e
GM
21466 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21467 Use let rather than let*.
21468 (timeclock-find-discrep): Remove unused local.
21469
314347b9
GM
21470 * calendar/diary-lib.el (diary-comment-start): Doc fix.
21471
915d1300
GM
21472 * calendar/appt.el (appt-time-msg-list): Doc fix.
21473
275b59b0
NF
214742011-05-06 Noah Friedman <friedman@splode.com>
21475
21476 * apropos.el (apropos-print-doc): Only use
21477 emacs-lisp-docstring-fill-column when it is bound to an integer,
21478 per that variable's documentation.
21479
6c19f744
SM
214802011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21481
21482 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 21483 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 21484
60f884b2
GM
214852011-05-06 Glenn Morris <rgm@gnu.org>
21486
5006e634
GM
21487 * calendar/appt.el (appt-message-warning-time): Doc fix.
21488 (appt-warning-time-regexp): New option.
21489 (appt-make-list): Respect appt-message-warning-time.
21490
548d0a63
GM
21491 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21492 New options.
21493 (diary-add-to-list): Strip comments from the displayed string.
21494 (diary-mode): Set comment-start and comment-end.
21495
60f884b2
GM
21496 * vc/diff-mode.el (smerge-refine-subst): Declare.
21497 (diff-refine-hunk): Don't require smerge-mode when compiling.
21498
989681bb
JB
214992011-05-06 Juanma Barranquero <lekktu@gmail.com>
21500
21501 * simple.el (list-processes): Return nil as the docstring says.
21502
a6bc05e1
MA
215032011-05-05 Michael Albinus <michael.albinus@gmx.de>
21504
21505 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21506 to "".
21507 (ange-ftp-write-region, ange-ftp-insert-file-contents)
21508 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21509 determining of binary transfer. (Bug#7383)
21510
23c22e9a
MA
215112011-05-05 Michael Albinus <michael.albinus@gmx.de>
21512
c4662635
SM
21513 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21514 Fix port computation bug. (Bug#8618)
23c22e9a 21515
0bff894f
GM
215162011-05-05 Glenn Morris <rgm@gnu.org>
21517
b8296902
GM
21518 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21519
1f522ce8
GM
21520 * simple.el (shell-dynamic-complete-functions)
21521 (comint-dynamic-complete-functions): Declare.
21522
cf5bee67
GM
21523 * net/network-stream.el (gnutls-negotiate):
21524 * simple.el (tabulated-list-print): Fix declarations.
21525
21526 * progmodes/gud.el (syntax-symbol, syntax-point):
21527 Remove unnecessary and incorrect declarations.
21528
0bff894f 21529 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 21530 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 21531
9869b3ae
SM
215322011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21533
21534 Fix earlier half-done eieio-defmethod change (bug#8338).
21535 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21536 Streamline and change calling convention.
21537 (defmethod): Adjust accordingly and simplify.
21538 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21539 new eieio--defmethod.
21540 (slot-boundp): Minor CSE simplification.
21541
9c1d5ac5
MZ
215422011-05-05 Milan Zamazal <pdm@zamazal.org>
21543
21544 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21545 (glasses-make-readable): Use glasses-separate-capital-groups.
21546
455c834e
JB
215472011-05-05 Juanma Barranquero <lekktu@gmail.com>
21548
21549 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21550 (warning-series): Doc fix.
21551 (display-warning): Don't try to create the buffer if we just found it.
21552
9ed7c8cb
CY
215532011-05-04 Chong Yidong <cyd@stupidchicken.com>
21554
21555 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21556 (autoload-find-generated-file): New function.
21557 (generate-file-autoloads): Bind generated-autoload-file to
21558 buffer-file-name.
9869b3ae
SM
21559 (update-file-autoloads, update-directory-autoloads):
21560 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
21561 output file (Bug#7989).
21562 (batch-update-autoloads): Doc fix.
21563
0898ca10
JB
215642011-05-04 Juanma Barranquero <lekktu@gmail.com>
21565
21566 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
21567
31dfb76c
GM
215682011-05-04 Glenn Morris <rgm@gnu.org>
21569
f330b642
GM
21570 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
21571 function, so it follows changes in calendar-date-style.
21572 (diary-fancy-date-matcher): New function.
21573 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
21574 (diary-fancy-font-lock-fontify-region-function):
21575 Use diary-fancy-date-pattern as a function.
21576
31dfb76c
GM
21577 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
21578 non-numbers for `year' etc pseudo-variables. (Bug#8583)
21579
48e79d6a
TZ
215802011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
21581
21582 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
21583 instead of positional arguments. Allow :keylist and :crlfiles
21584 arguments.
21585 (open-gnutls-stream): Call it.
21586
21587 * net/network-stream.el (network-stream-open-starttls): Adjust to
21588 call `gnutls-negotiate' with :process and :hostname arguments.
21589
dd5a5ee0
SM
215902011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21591
ef80fc09
SM
21592 * minibuffer.el (completion--message): New function.
21593 (completion--do-completion, minibuffer-complete)
21594 (minibuffer-force-complete, minibuffer-complete-word): Use it.
21595 (completion--do-completion): Don't ignore completion-auto-help when in
21596 icomplete-mode.
21597
dd5a5ee0
SM
21598 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21599 internal encoding (e.g. tibetan zero is not whitespace).
21600 (global-whitespace-mode): Prefer save-current-buffer.
21601 (whitespace-trailing-regexp): Remove useless save-match-data.
21602 (whitespace-empty-at-bob-regexp): Minor simplification.
21603
b7d22a83
CY
216042011-05-03 Chong Yidong <cyd@stupidchicken.com>
21605
21606 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21607
5192af46
AM
216082011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
21609
21610 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 21611 Use `concat' to create string for insertion.
5192af46 21612
5767d190
SM
216132011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21614
21615 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21616 Avoid open-line which runs post-self-insert-hook.
21617 (bibtex-fill-entry): Remove unused `end' var.
21618
bf242939
AM
216192011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
21620
5767d190
SM
21621 * textmodes/ispell.el (ispell-add-per-file-word-list):
21622 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 21623
25666126
LL
216242011-05-03 Leo Liu <sdl.web@gmail.com>
21625
21626 * isearch.el (isearch-yank-pop): New command.
5767d190 21627 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
21628 (isearch-forward): Mention it.
21629
52d3c2d0
SM
216302011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21631
1bcace58
SM
21632 * simple.el (minibuffer-complete-shell-command): Remove.
21633 (minibuffer-local-shell-command-map): Use completion-at-point.
21634 (read-shell-command): Setup completion vars here instead.
21635 (read-expression-map): Bind TAB to symbol completion.
21636
52d3c2d0
SM
21637 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21638 error directly rather via storing it into `results'.
21639
35813471
LL
216402011-05-02 Leo Liu <sdl.web@gmail.com>
21641
21642 * vc/diff.el: Fix description.
21643
e793a940
LMI
216442011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21645
21646 * server.el (server-eval-at): New function.
21647
8de66e05
LMI
216482011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21649
21650 * net/network-stream.el (open-network-stream): Take a :nowait
21651 parameter and pass it on to `make-network-process'.
21652 (network-stream-open-plain): Ditto.
21653
dcb79f20
AS
216542011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21655
21656 * faces.el (face-spec-set-match-display): Don't match toolkit
21657 options on terminal frames.
21658
14a7fbd8
SM
216592011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21660
7eabc1be
SM
21661 * progmodes/pascal.el: Use lexical binding.
21662 (pascal-mode-map): Remove author preferences.
21663
14a7fbd8
SM
21664 * pcomplete.el (pcomplete-std-complete): Don't abuse
21665 completion-at-point.
21666
50f84510
JB
216672011-04-28 Juanma Barranquero <lekktu@gmail.com>
21668
6e087a44
JB
21669 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21670 removing code that has been dead since 1991 or so.
21671
50f84510
JB
21672 * startup.el (command-line): When warning about "_emacs", use a
21673 delayed warning to allow the user to filter it out.
21674
0ba690bd
DD
216752011-04-28 Deniz Dogan <deniz@dogan.se>
21676
21677 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21678 user has not joined.
21679
08abfaad
SM
216802011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21681
21682 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21683 aren't any completions at point.
21684
638f053a
JB
216852011-04-28 Juanma Barranquero <lekktu@gmail.com>
21686
21687 * subr.el (display-delayed-warnings): New function.
21688 (delayed-warnings-hook): New variable.
21689
8fff8daa
SM
216902011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21691
08abfaad
SM
21692 * minibuffer.el (completion-at-point, completion-help-at-point):
21693 Don't presume that a given completion-at-point-function will always
21694 use the same calling convention.
21695
8fff8daa
SM
21696 * pcomplete.el (pcomplete-completions-at-point):
21697 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21698 pcomplete-seen is non-nil.
21699 (pcomplete-comint-setup): Also recognize the new comint/shell
21700 completion functions.
21701 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21702 pcomplete-seen is non-nil.
21703
841a1577 217042011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 21705
841a1577 21706 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 21707 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 21708 the first character in the entry. This allows for code to add its
211ec907
UJ
21709 own uid to the entry.
21710 (icalendar--convert-float-to-ical): Add export of
21711 `diary-float'-entries save for those with the optional DAY
21712 argument.
21713
2a782793
DC
217142011-04-27 Daniel Colascione <dan.colascione@gmail.com>
21715
21716 * subr.el (shell-quote-argument): Use alternate escaping strategy
21717 when we spot a variable reference in a string.
21718
0438ce91
DC
217192011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21720
21721 * cus-start.el (all): Define customization for debug-on-event.
21722
841a1577 217232011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
21724
21725 * subr.el (shell-quote-argument): Escape correctly under Windows.
21726
d090ed6c
SM
217272011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21728
21729 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21730
bfd31217
MA
217312011-04-25 Michael Albinus <michael.albinus@gmx.de>
21732
d090ed6c
SM
21733 * net/tramp.el (tramp-process-actions): Add POS argument.
21734 Delete region between POS and (pos).
bfd31217 21735
d090ed6c
SM
21736 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21737 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
21738 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21739
21740 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21741 position in `tramp-process-actions' call.
21742
21743 * net/trampver.el: Update release number.
21744
e92f3bd3
SM
217452011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21746
850256b5
SM
21747 * custom.el (defcustom): Obey lexical-binding.
21748
e92f3bd3
SM
21749 Fix octave-inf completion problems reported by Alexander Klimov.
21750 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21751 Inherit from octave-mode-syntax-table.
21752 (inferior-octave-mode): Set info-lookup-mode.
21753 (inferior-octave-completion-at-point): New function.
21754 (inferior-octave-complete): Use it and completion-in-region.
21755 (inferior-octave-dynamic-complete-functions): Use it as well, and use
21756 comint-filename-completion.
21757 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21758 symbol elements which shouldn't be word elements.
21759 (octave-font-lock-keywords, octave-beginning-of-defun)
21760 (octave-function-header-regexp): Adjust regexps accordingly.
21761 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21762
cd22b309
JB
217632011-04-25 Juanma Barranquero <lekktu@gmail.com>
21764
21765 * net/gnutls.el (gnutls-errorp): Declare before first use.
21766
8b492194
TZ
217672011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
21768
21769 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21770 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 21771 default trustfile exists before going to use it. Add missing
5a5fa834 21772 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
21773 Reported by Claudio Bley <claudio.bley@gmail.com>.
21774 (open-gnutls-stream): Add usage example.
21775
21776 * net/network-stream.el (network-stream-open-starttls): Give host
21777 parameter to `gnutls-negotiate'.
21778 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 21779 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 21780
841a1577 217812011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 21782
cd22b309
JB
21783 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21784 Use correct match group (bug#8438).
05842630 21785
3ba7869c
CY
217862011-04-24 Chong Yidong <cyd@stupidchicken.com>
21787
512e3ae1
CY
21788 * emacs-lisp/package.el (package-built-in-p): Fix typo.
21789 (package-menu--generate): New arg specifying packages to show.
21790 (package-menu-refresh, package-menu-execute, list-packages):
21791 Callers changed.
21792 (package-show-package-list): New function, replacing deleted
21793 package--list-packages (renamed because it is non-internal).
21794
21795 * finder.el (finder-list-matches): Use package-show-package-list
21796 instead of deleted package--list-packages.
21797
e92f3bd3
SM
21798 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21799 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
21800 (vc-annotate-mode-map): Bind it to RET.
21801
7031be6d
UR
218022011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
21803
21804 * progmodes/etags.el (next-file): Don't use set-buffer to change
21805 buffers (Bug#8478).
21806
4ef177aa
CY
218072011-04-24 Chong Yidong <cyd@stupidchicken.com>
21808
c8d173eb
CY
21809 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21810
4ef177aa
CY
21811 * apropos.el (apropos-label-face): Avoid variable-pitch face.
21812 (apropos-accumulator): Doc fix.
21813 (apropos-function, apropos-macro, apropos-command)
21814 (apropos-variable, apropos-face, apropos-group, apropos-widget)
21815 (apropos-plist): Add face property.
21816 (apropos-symbols-internal): Fix indentation.
21817 (apropos-print): Simplify help, and recognize apropos-multi-type.
21818 (apropos-print-doc): Use button-type-get to extract the button's
21819 face property. Fill docstring (Bug#8352).
21820
4ffd0d6b 218212011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
21822
21823 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21824
c6c32125 21825 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 21826 (mpuz-mode-map): Use mapc.
c6c32125
JB
21827 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21828 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21829 Fix typos in docstrings.
21830
58d468b4
JB
21831 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21832 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21833
6470c3c6
JB
21834 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21835
4ffd0d6b 218362011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
21837
21838 * minibuffer.el (completion--do-completion): Avoid the "Next char
21839 not unique" prompt if icomplete-mode is enabled (Bug#5849).
21840
3ad8bad0
CY
21841 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21842 mouse-2 into unread-command-events, it is interpreted correctly.
21843
71d73c9c 21844 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 21845 (image-toggle-display): Doc fix.
71d73c9c 21846
841a1577 218472011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 21848
4ffd0d6b
GM
21849 * textmodes/page.el (what-page): Use line-number-at-pos to
21850 calculate line number (Bug#6825).
6e1dbaa9 21851
c2fb1b60
JB
218522011-04-22 Juanma Barranquero <lekktu@gmail.com>
21853
21854 * eshell/esh-mode.el (find-tag-interactive): Declare function.
21855 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
21856 Pass argument NO-DEFAULT to `find-tag-interactive'.
21857
e02f48d7
JB
218582011-04-22 Juanma Barranquero <lekktu@gmail.com>
21859
21860 Lexical-binding cleanup.
21861
21862 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21863 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21864 * progmodes/ada-prj.el (ada-prj-initialize-values)
21865 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21866 (ada-prj-show-value):
21867 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21868 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21869 (antlr-invalidate-context-cache, antlr-options-menu-filter)
21870 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21871 * progmodes/bug-reference.el (bug-reference-push-button):
21872 * progmodes/fortran.el (fortran-line-length):
21873 * progmodes/glasses.el (glasses-change):
21874 * progmodes/octave-mod.el (octave-fill-paragraph):
21875 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21876 (python-pdbtrack-grub-for-buffer, python-sentinel):
21877 * progmodes/sql.el (sql-save-connection):
21878 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21879 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21880 Mark unused parameters.
21881
21882 * progmodes/compile.el (compilation--flush-directory-cache)
21883 (compilation--flush-parse, compile-internal): Mark unused parameters.
21884 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21885 (compilation-next-error-function): Remove unused variable `timestamp'.
21886
21887 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21888 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21889
21890 * progmodes/dcl-mode.el (dcl-end-of-command):
21891 Remove unused variable `start'.
21892 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21893 (dcl-option-value-basic, dcl-option-value-offset)
21894 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21895 Mark unused parameters.
21896 (dcl-save-local-variable): Remove unused variable `val'.
21897 (mode): Declare.
21898
21899 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21900 Mark unused parameters.
21901 (delphi-ignore-changes): Move before first use.
21902 (delphi-charset-token-at): Remove unused variable `start'.
21903 (delphi-else-start): Remove unused variable `if-count'.
21904 (delphi-comment-block-start, delphi-comment-block-end):
21905 Remove unused variable `kind'.
21906 (delphi-indent-line): Remove unused variable `new-point'.
21907
21908 * progmodes/ebrowse.el (ebrowse-files-list)
21909 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
21910 Mark unused parameters. Don't quote `lambda'.
21911 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
21912 Don't quote `lambda'.
21913 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
21914 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
21915 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
21916 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
21917 Use `ignore-errors'.
21918 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
21919 (ebrowse-view/find-file-and-search-pattern)
21920 (ebrowse-view/find-member-declaration/definition):
21921 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
21922 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
21923 Rename parameter PREFIX-ARG to PREFIX.
21924 (ebrowse-tags-read-name): Remove unused variables `start' and
21925 `member-info'.
21926 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
21927 to `tags-file'.
21928
21929 * progmodes/etags.el (local-find-tag-hook): Declare.
21930 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
21931 Mark unused parameters.
21932
21933 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
21934 (executable-interpret): Mark unused parameter.
21935
21936 * progmodes/flymake.el (flymake-process-sentinel)
21937 (flymake-after-change-function)
21938 (flymake-create-temp-with-folder-structure)
21939 (flymake-get-include-dirs-dot): Mark unused parameters.
21940 (flymake-safe-delete-directory): Remove unused variable `err'.
21941
21942 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21943 (speedbar-timer-fn, speedbar-line-text)
21944 (speedbar-change-expand-button-char, speedbar-delete-subblock)
21945 (speedbar-center-buffer-smartly): Declare functions.
21946 (gdb-find-watch-expression): Remove unused variable `array'.
21947 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21948 (gdb-starting): Mark unused parameters.
21949 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21950 (gdb-table-string): Remove unused variable `res'.
21951 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21952 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21953 (gdb-display-buffer): Remove unused variable `cur-size'.
21954
21955 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21956 allow lexical-binding compilation.
21957 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21958 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21959 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21960 Mark unused parameters.
21961 (gud-gdb-marker-filter): Remove unused variable `match'.
21962 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21963 lambda expressions and funcall them, instead of using `fset'.
21964
21965 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21966 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21967
21968 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21969 variable `header-beg'; use `let'.
21970
21971 * progmodes/icon.el (indent-icon-exp): Remove unused variables
21972 `restart', `last-sexp' and `at-do'.
21973
21974 * progmodes/js.el (js--debug): Mark unused parameter.
21975 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21976 (js--splice-into-items): Remove unused variable `item'.
21977 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21978
21979 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21980 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21981 (makefile-complete): Remove unused variable `try'.
21982 (makefile-fill-paragraph, makefile-match-function-end):
21983 Mark unused parameters.
21984
21985 * progmodes/octave-inf.el (inferior-octave-complete):
21986 Remove unused variable `proc'.
21987 (inferior-octave-output-digest): Mark unused parameter.
21988
21989 * progmodes/perl-mode.el (perl-calculate-indent):
21990 Remove unused variable `err'.
21991
21992 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21993 (prolog-indent-line): Mark unused parameters.
21994 (prolog-indent-line): Remove unused variable `beg'.
21995
21996 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21997 (reporter-dont-compact-list): Declare.
21998
21999 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22000 Remove unused variable `char'.
22001 (sh-debug): Mark unused parameter.
22002 (sh-get-indent-info): Remove unused variable `start'.
22003 (sh-calculate-indent): Remove unused variable `var'.
22004
22005 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22006 (simula-electric-keyword): Remove unused variable `null'.
22007 (simula-search-backward, simula-search-forward): Remove unused
22008 variables `begin' and `end'.
22009
22010 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22011 Remove unused variable `pos'.
22012 (vera-electric-tab, vera-comment-uncomment-region):
22013 Mark unused parameters.
22014 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22015
7ede3b65
CY
220162011-04-22 Chong Yidong <cyd@stupidchicken.com>
22017
22018 * emacs-lisp/package.el (package--builtins, package-alist)
22019 (package-load-descriptor, package-built-in-p, package-activate)
22020 (define-package, package-installed-p)
22021 (package-compute-transaction, package-buffer-info)
22022 (package--push): Doc fix. Distinguish more clearly between
22023 version strings and version lists.
22024
121656e9
JB
220252011-04-21 Juanma Barranquero <lekktu@gmail.com>
22026
22027 Lexical-binding cleanup.
22028
22029 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22030 (5x5-make-mutate-best):
22031 * play/fortune.el (fortune-in-buffer):
22032 * play/gomoku.el (gomoku-init-display):
22033 * play/solitaire.el (solitaire, solitaire-do-check):
22034 * play/tetris.el (tetris-default-update-speed-function):
22035 Mark unused parameters.
22036
22037 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22038 (bubbles--shift): Remove unused variable `char-org'.
22039 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22040 (bubbles--show-images): Remove unused variable `char'.
22041
22042 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22043 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22044 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22045 (decipher-analyze-buffer): Use ?\s.
22046 (decipher-make-checkpoint): Remove unused variable `mapping'.
22047
22048 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22049
22050 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22051 Remove unused variable `result'; use `let'.
22052
22053 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22054 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22055 (gametree-children-shown-p, gametree-compute-reduced-score):
22056 Use `ignore-errors'.
22057
22058 * play/handwrite.el (ps-lpr-switches): Declare.
22059 (handwrite): Remove unused variables `pmin' and `lastp'.
22060
22061 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22062
22063 * play/landmark.el (landmark-init-display)
22064 (landmark-update-naught-weights): Mark unused parameters.
22065 (landmark-y): Remove unused variable `noise'. Simplify.
22066 (landmark-human-plays): Remove unused variable `score'.
22067
22068 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22069 (mpuz-try-proposal): Remove unused variable `game'.
22070
22071 * play/zone.el (life-patterns): Declare.
22072
80f499c7
JB
220732011-04-20 Juanma Barranquero <lekktu@gmail.com>
22074
22075 * vc/vc.el (ediff-vc-internal): Declare function.
22076
024ff170
SM
220772011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22078
c0a193ea
SM
22079 * shell.el: Use lexical-binding and std completion UI.
22080 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22081 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22082 comint-preoutput-filter-functions rather than on
22083 comint-output-filter-functions.
22084 (shell-command-completion, shell--command-completion-data)
22085 (shell-filename-completion, shell-environment-variable-completion)
22086 (shell-c-a-p-replace-by-expanded-directory): New functions.
22087 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22088 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22089 (shell-dynamic-complete-environment-variable): Use them.
22090 (shell-dynamic-complete-as-environment-variable)
22091 (shell-dynamic-complete-as-command): Remove.
22092 (shell-match-partial-variable): Match past point.
22093 * comint.el: Clean up use of completion-at-point-functions.
22094 (comint-completion-at-point): New function.
22095 (comint-mode): Use it completion-at-point-functions.
22096 (comint-dynamic-complete): Make it obsolete.
22097 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22098 (comint-c-a-p-replace-by-expanded-history): New function.
22099 (comint-dynamic-complete-functions)
22100 (comint-replace-by-expanded-history): Use it.
22101 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22102 termination strings. Try harder to avoid second try-completion.
22103 (completion-in-region-mode-map): Disable bindings that don't work yet.
22104
2dbaa080
SM
22105 * comint.el: Use lexical-binding. Require CL.
22106 (comint-dynamic-complete-functions): Use comint-filename-completion.
22107 (comint-completion-addsuffix): Tweak custom type.
22108 (comint-filename-completion, comint--common-suffix)
22109 (comint--common-quoted-suffix, comint--table-subvert)
22110 (comint--complete-file-name-data): New functions.
22111 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22112 (comint-dynamic-list-filename-completions): Use them.
22113 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 22114
2dbaa080
SM
22115 * minibuffer.el (completion-in-region-mode):
22116 Keep completion-in-region-mode--predicate global.
22117 (completion-in-region--postch):
22118 Assume completion-in-region-mode--predicate is not null.
22119
c79a6f38
SM
22120 * progmodes/flymake.el (flymake-start-syntax-check-process):
22121 Obey `dir'. Simplify.
22122
024ff170
SM
22123 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22124 we're in VC after all.
22125
1c6c854e
CS
221262011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22127
22128 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 22129 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
22130 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22131
bed7f140
SM
221322011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22133
332e62ab
SM
22134 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22135 add sanity check.
22136
bed7f140
SM
22137 * obsolete/erc-hecomplete.el: Make obsolete.
22138 * obsolete/: Standardize obsolescence info in the header.
22139
f195c582
GM
221402011-04-20 Glenn Morris <rgm@gnu.org>
22141
22142 * calendar/solar.el (solar-horizontal-coordinates):
22143 Use the longitude argument rather than `calendar-longitude'.
22144 (solar-date-next-longitude): Remove unused locals.
22145
cb79b8c0
VJL
221462011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22147
22148 * whitespace.el: New version 13.2.1.
22149
221502011-04-20 felix <EmacsWiki> (tiny change)
22151
d8e4b68b 22152 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
22153 switching between major modes on a file.
22154
602ea69d
SM
221552011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22156
22157 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22158 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22159 multi-line comments as well.
22160
06b60517
JB
221612011-04-19 Juanma Barranquero <lekktu@gmail.com>
22162
22163 Lexical-binding cleanup.
22164
22165 * arc-mode.el (archive-mode-revert):
22166 * cmuscheme.el (scheme-interactively-start-process):
22167 * custom.el (custom-initialize-delay):
22168 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22169 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22170 * emacs-lock.el (emacs-lock-clear-sentinel):
22171 * ezimage.el (defezimage):
22172 * follow.el (follow-avoid-tail-recenter):
22173 * fringe.el (set-fringe-mode-1):
22174 * generic-x.el (bat-generic-mode-compile):
22175 * help-mode.el (help-info-variable, help-do-xref)
22176 (help-mode-revert-buffer):
22177 * help.el (view-emacs-todo):
22178 * iswitchb.el (iswitchb-completion-help):
22179 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22180 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22181 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22182 * locate.el (locate-update):
22183 * longlines.el (longlines-encode-region)
22184 (longlines-after-change-function):
22185 * outline.el (outline-isearch-open-invisible):
22186 * ps-def.el (declare-function, charset-dimension, char-width)
22187 (encode-char):
22188 * ps-mule.el (ps-mule-plot-string):
22189 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22190 (recentf-edit-list-select, recentf-edit-list-validate)
22191 (recentf-open-files-action):
22192 * rect.el (delete-whitespace-rectangle-line)
22193 (rectangle-number-line-callback):
22194 * register.el (window-configuration-to-register)
22195 (frame-configuration-to-register):
22196 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22197 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22198 (xselect-convert-to-targets, xselect-convert-to-delete)
22199 (xselect-convert-to-filename, xselect-convert-to-charpos)
22200 (xselect-convert-to-lineno, xselect-convert-to-colno)
22201 (xselect-convert-to-os, xselect-convert-to-host)
22202 (xselect-convert-to-user, xselect-convert-to-class)
22203 (xselect-convert-to-name, xselect-convert-to-integer)
22204 (xselect-convert-to-atom, xselect-convert-to-identity):
22205 * subr.el (declare, ignore, process-kill-without-query)
22206 (text-clone-maintain):
22207 * terminal.el (te-get-char, te-tic-sentinel):
22208 * tool-bar.el (tool-bar-make-keymap):
22209 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22210 * type-break.el (type-break-mode, type-break-noninteractive-query):
22211 * view.el (View-back-to-mark):
22212 * wid-browse.el (widget-browse-action, widget-browse-widget)
22213 (widget-browse-widgets, widget-browse-sexp):
22214 * widget.el (define-widget-keywords):
22215 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22216 Mark unused parameters.
22217
22218 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22219 (align-areas): Remove unused variable `look'.
22220 (align-region): Remove unused variables `real-end' and `pos-list'.
22221
22222 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22223
22224 * bindings.el (mode-line-modified, mode-line-remote):
22225 Mark unused parameters.
22226 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22227
22228 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22229 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22230
22231 * comint.el (comint-history-isearch-pop-state)
22232 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22233 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22234 (comint-substitute-in-file-name): Doc fix.
22235
22236 * completion.el (cmpl-statistics-block): Mark unused parameter.
22237 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22238 (save-completions-to-file, load-completions-from-file):
22239 Remove unused local variable `e'.
22240
22241 * composite.el (compose-chars): Remove unused variable `len'.
22242 (lgstring-insert-glyph): Remove unused variable `g'.
22243 (compose-glyph-string): Remove unused variables `ascent',
22244 `descent', `lbearing' and `rbearing'.
22245 (compose-glyph-string-relative): Remove unused variables
22246 `lbearing', `rbearing' and `wadjust'.
22247 (compose-gstring-for-graphic): Remove unused variables `header',
22248 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22249 (compose-gstring-for-terminal): Remove unused variables `header'
22250 and `nchars'. Use `let', not `let*'.
22251
22252 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22253 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22254 (Custom-buffer-done, custom-buffer-create-internal)
22255 (custom-browse-visibility-action, custom-browse-group-tag-action)
22256 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22257 (widget-magic-mouse-down-action, custom-toggle-parent)
22258 (custom-add-parent-links, custom-toggle-hide-variable)
22259 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22260 (custom-toggle-hide-face, face, hook, custom-group-link-action)
22261 (custom-face-menu-create, custom-variable-menu-create, get)
22262 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22263 (custom-reset-standard-save-and-update): Remove unused variable `value'.
22264 (customize-apropos): Remove unused variable `tests'.
22265 (custom-group-value-create): Remove unused variable `hidden-p'.
22266 (sort-fold-case): Declare.
22267
22268 * cus-theme.el (custom-reset-standard-faces-list)
22269 (custom-reset-standard-variables-list): Declare.
22270 (customize-create-theme, custom-theme-revert, custom-theme-write)
22271 (custom-theme-choose-mode, customize-themes, custom-theme-save):
22272 Mark unused parameters.
22273
22274 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22275
22276 * delim-col.el (delimit-columns-max): Move defvar before first use.
22277
22278 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 22279 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
22280
22281 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22282 (auto-insert): Declare.
22283 (desktop-restore-file-buffer): Rename desktop-* parameters;
22284 mark unused ones.
22285 (desktop-create-buffer): Rename desktop-* parameters and bind them.
22286 (desktop-buffer): Rename desktop-* parameters.
22287
22288 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22289 (dframe-reposition-frame-xemacs, dframe-help-echo)
22290 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22291 Mark unused parameters.
22292
22293 * dired-aux.el (backup-extract-version-start, overwrite-query)
22294 (overwrite-backup-query, rename-regexp-query)
22295 (rename-non-directory-query): Declare.
22296 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22297 (dired-add-entry): Remove unused variable `orig-file-name'.
22298 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22299 Use parameter PRESERVE-TIME instead of accessing dynamic variable
22300 `dired-copy-preserve-time' directly.
22301 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22302 (dired-insert-subdir-newpos): Rename unused variable `pos'.
22303
22304 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22305 (dired-virtual-revert, dired-make-relative-symlink):
22306 Mark unused parameters.
22307 (manual-program): Declare.
22308 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22309 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22310 wrapped in `with-no-warnings' to avoid replacing one warning by another.
22311
22312 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22313
22314 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22315
22316 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22317 Declare.
22318
22319 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22320
22321 * electric.el (Electric-command-loop): Rename parameter
22322 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22323
22324 * expand.el (expand-in-literal): Remove unused variable `here'.
22325
22326 * facemenu.el (facemenu-add-new-color):
22327 Remove unused variable `docstring'.
22328
22329 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22330 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22331 (face-attr-construct): Mark unused parameter. Doc fix.
22332 (read-color): Remove unused variable `hex-string'.
22333
22334 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22335 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22336 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22337 (display-buffer-other-frame): Remove unused variable `old-window'.
22338 (kill-buffer-hook): Declare.
22339 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22340 Mark unused parameters.
22341 (after-find-file): Pass 1 to `auto-save-mode', not t.
22342
22343 * files-x.el (auto-insert): Declare.
22344 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22345
22346 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 22347 variable `buf'. Mark unused parameter.
06b60517
JB
22348 (find-lisp-insert-directory): Mark unused parameter.
22349
22350 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22351 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22352 (format-common-tail): Remove, unused.
22353 (format-deannotate-region): Remove unused variable `loc'.
22354 (format-annotate-region): Remove unused variable `p'.
22355 (format-annotate-single-property-change): Remove unused variables
22356 `default' and `tail'.
22357
22358 * forms.el (read-file-filter): Declare.
22359 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22360
22361 * frame.el (frame-creation-function-alist): Mark unused parameter.
22362 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22363
22364 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22365 Remove unused parameters.
22366 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22367 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22368
22369 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22370 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22371 (hfy-prepare-tag-map): Mark unused parameters.
22372 (htmlfontify-buffer): Use `called-interactively-p'.
22373
22374 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22375 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22376 (ibuffer-do-occur): Mark unused parameters.
22377 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22378 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22379
22380 * ibuffer.el: Don't quote `lambda'.
22381 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22382 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22383 Mark unused parameters.
22384
22385 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22386 (ido-completing-read): Mark unused parameters.
22387 (ido-copy-current-word): Mark unused parameters;
22388 remove unused variable `name'.
22389 (ido-sort-merged-list): Remove unused parameter `dirs'.
22390
22391 * ielm.el (ielm-input-sender): Mark unused parameter.
22392 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22393 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22394 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22395 `ielm-string' as a dynamic variable accessible from the IELM prompt.
22396 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
22397
22398 * image-dired.el (image-dired-display-thumbs): Remove unused
22399 variables `curr-file' and `count'.
22400 (image-dired-remove-tag): Remove unused variable `start'.
22401 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22402 variable `curr-file'
22403 (image-dired-rotate-original): Remove unused variable `temp-file'.
22404 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22405 Remove unused variable `file'.
22406 (image-dired-gallery-generate): Remove unused variable `curr'.
22407 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22408
22409 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22410
22411 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22412
22413 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22414
22415 * isearch.el (minibuffer-history-symbol): Declare.
22416 (isearch-edit-string): Remove unused variable `err'.
22417 (isearch-message-prefix, isearch-message-suffix):
22418 Mark unused parameters.
22419
22420 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22421
22422 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22423
22424 * makesum.el (double-column): Remove unused variable `cnt'.
22425
22426 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22427 (ido-ignore-item-temp-list): Declare.
22428
22429 * mouse-drag.el (mouse-drag-throw): Remove unused variables
22430 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22431 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22432 (mouse-drag-drag): Remove unused variables `mouse-delta' and
22433 `mouse-col-delta'.
22434
22435 * mouse-sel.el (mouse-extend-internal):
22436 Remove unused variable `orig-window-frame'.
22437
22438 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22439 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22440 Move declarations before first use.
22441 (pcomplete-opt): Mark unused parameters; doc fix.
22442
22443 * proced.el (proced-revert): Mark unused parameter.
22444 (proced-send-signal): Remove unused variable `err'.
22445
22446 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22447 Rename parameter PREFIX-ARG to ARG.
22448 (ps-basic-plot-string, ps-basic-plot-whitespace):
22449 Mark unused parameters.
22450
22451 * replace.el (replace-count): Define.
22452 (occur-revert-function): Mark unused parameters.
22453 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22454 (isearch-case-fold-search, isearch-string): Declare.
22455 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22456 bind `case-fold-search'. Remove unused variables `beg' and `end',
22457 and simplify.
22458 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22459 COUNT and bind `replace-count'.
22460 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22461 to COUNT.
22462
22463 * savehist.el (print-readably, print-string-length): Declare.
22464
22465 * shadowfile.el (shadow-expand-cluster-in-file-name):
22466 Remove unused variable `cluster'.
22467 (shadow-copy-file): Remove unused variable `i'.
22468 (shadow-noquery, shadow-clusters, shadow-site-cluster)
22469 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22470 (shadow-define-literal-group, shadow-define-regexp-group)
22471 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22472
22473 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22474 (shell): Use `called-interactively-p'.
22475 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22476
22477 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22478 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22479 (delete-backward-char): Remove unused variable `ocol'.
22480 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22481 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22482 (event-apply-hyper-modifier, event-apply-shift-modifier)
22483 (event-apply-control-modifier, event-apply-meta-modifier):
22484 Mark unused parameters.
22485 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22486 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22487
22488 * speedbar.el (speedbar-ignored-directory-expressions)
22489 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22490 (speedbar-find-file, speedbar-dir-follow)
22491 (speedbar-directory-buttons-follow, speedbar-tag-find)
22492 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22493 (speedbar-buffers-line-directory, speedbar-buffer-click):
22494 Mark unused parameters.
22495 (speedbar-tag-file): Remove unused variable `mode'.
22496 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22497
22498 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22499
22500 * talk.el (talk): Remove unused variable `display'.
22501
22502 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22503 (tar-write-region-annotate): Mark unused parameter.
22504
22505 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22506 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22507 Declare them, wrapped in `with-no-warnings' to avoid replacing one
22508 warning by another.
22509
22510 * time-stamp.el (time-stamp-string-preprocess):
22511 Remove unused variable `require-padding'.
22512
22513 * tree-widget.el (widget-glyph-enable): Declare.
22514 (tree-widget-action): Mark unused parameter.
22515
22516 * w32-fns.el (x-get-selection): Mark unused parameter.
22517 (autoload-make-program, generated-autoload-file): Declare.
22518
22519 * wdired.el (wdired-revert): Mark unused parameters.
22520 (wdired-xcase-word): Remove unused variable `err'.
22521
22522 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22523 (whitespace-help-scroll): Remove unused variable `data-help'.
22524
22525 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22526 (widget-image-insert, widget-after-change, default)
22527 (widget-default-format-handler, widget-default-notify)
22528 (widget-default-prompt-value, widget-info-link-action)
22529 (widget-url-link-action, widget-function-link-action)
22530 (widget-variable-link-action, widget-file-link-action)
22531 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22532 (widget-field-prompt-internal, widget-field-action, widget-field-match)
22533 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22534 (widget-insert-button-action, widget-delete-button-action, visibility)
22535 (widget-documentation-link-action, widget-documentation-string-action)
22536 (widget-const-prompt-value, widget-regexp-match, symbol)
22537 (widget-coding-system-prompt-value)
22538 (widget-key-sequence-value-to-external, sexp)
22539 (widget-sexp-value-to-internal, character, vector, cons)
22540 (widget-choice-prompt-value, widget-boolean-prompt-value)
22541 (widget-color--choose-action): Mark unused parameters.
22542 (widget-item-match-inline, widget-choice-match-inline)
22543 (widget-checklist-match, widget-checklist-match-inline)
22544 (widget-group-match): Rename parameter VALUES to VALS.
22545 (widget-field-value-set): Remove unused variable `size'.
22546 (widget-color-action): Remove unused variables `value' and `start'.
22547
22548 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 22549 variable `dir'. Doc fix.
06b60517
JB
22550 (windmove-find-other-window): Don't pass it.
22551
22552 * window.el (count-windows): Mark unused parameter.
22553 (bw-adjust-window): Remove unused variable `err'.
22554
22555 * woman.el (woman-file-name): Remove unused variable `default'.
22556 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22557 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22558 (global-font-lock-mode): Declare.
22559 (woman-decode-region): Mark unused parameter.
22560 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
22561
22562 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
22563 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
22564 (x-dnd-handle-moz-url): Remove unused variable `title'.
22565 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
22566
22567 * xml.el (xml-parse-tag, xml-parse-attlist):
22568 Remove unused variable `pos'.
22569
bc4f7f3d
GM
225702011-04-19 Glenn Morris <rgm@gnu.org>
22571
22572 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
22573 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
22574 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
22575 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
22576 * calendar/cal-html.el (cal-html-insert-minical):
22577 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
22578 (calendar-mark-date-pattern):
22579 Prefix "unused" locals.
22580
22581 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
22582 optional argument `style'.
22583
22584 * calendar/appt.el (appt-make-list):
22585 * calendar/cal-china.el (calendar-chinese-date-string):
22586 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
22587 (diary-hebrew-yahrzeit):
22588 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22589 * calendar/calendar.el (calendar-generate-window):
22590 * calendar/time-date.el (time-to-days):
22591 Remove unused local variables.
22592
16a43933
CY
225932011-04-18 Chong Yidong <cyd@stupidchicken.com>
22594
22595 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22596 glyphless-char-display table.
22597 (tabulated-list-glyphless-char-display): New var.
22598
7eed1860
SS
225992011-04-18 Sam Steingold <sds@gnu.org>
22600
22601 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22602 to acknowledgments.
22603
4d2d1ccd
GM
226042011-04-17 Glenn Morris <rgm@gnu.org>
22605
22606 * calendar/diary-lib.el (diary-sexp-entry):
22607 * calendar/holidays.el (holiday-sexp):
22608 Set debug-on-error rather than the removed stack-trace-on-error.
22609
239da61d
GM
226102011-04-16 Glenn Morris <rgm@gnu.org>
22611
22612 * progmodes/f90.el: Use lexical-binding.
22613 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22614
8b05752a
SM
226152011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22616
daca8ba5
SM
22617 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22618 (mail-mode): Setup mailalias completion here instead.
22619 * mail/mailalias.el: Use lexical-binding.
22620 (pattern, mailalias-done): Declare dynamic.
22621 (mail-completion-at-point-function): New function, from mail-complete.
22622 (mail-complete): Use it.
22623 (mail-completion-expand): New function.
22624 (mail-get-names): Use it.
22625 (mail-directory, mail-directory-process, mail-directory-stream):
22626 Don't use `pattern' for lexically bound arg.
22627
6f542485
SM
22628 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22629
037e7c3f
SM
22630 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22631 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22632 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22633
8b05752a
SM
22634 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22635 (byte-save-window-excursion, byte-temp-output-buffer-setup)
22636 (byte-interactive-p): Define them again, for use when inlining
22637 old code.
22638
49093f60
JB
226392011-04-15 Juanma Barranquero <lekktu@gmail.com>
22640
22641 * loadup.el: Use `string-to-number', not `string-to-int'.
22642
b5b8e7de
SM
226432011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22644
22645 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22646 gud-gdb-complete-command.
22647 (gud-gdb-completions): New function, from gud-gdb-complete-command.
22648 (gud-gdb-completion-at-point): New function.
22649 (gud-gdb-completions): Remove.
22650
f42efeb5
MA
226512011-04-14 Michael Albinus <michael.albinus@gmx.de>
22652
49093f60
JB
22653 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22654 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22655 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22656 whether `executable-find' is bound.
f42efeb5
MA
22657
22658 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22659
e240cc21
SM
226602011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22661
22662 * minibuffer.el (completion-in-region-mode-predicate)
22663 (completion-in-region-mode--predicate): New vars.
22664 (completion-in-region, completion-in-region--postch)
22665 (completion-in-region-mode): Use them.
22666 (completion--capf-wrapper): Also return the hook function.
22667 (completion-at-point, completion-help-at-point):
22668 Adjust and provide a predicate.
c2bd2ab0
SM
22669
22670 Preserve arg names for advice of subr and lexical functions (bug#8457).
22671 * help-fns.el (help-function-arglist): Consolidate the subr and
22672 new-byte-code cases. Add argument `preserve-names' to extract names
22673 from the docstring when needed.
22674 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22675 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22676 (ad-arglist): Use help-function-arglist's new arg.
22677 (ad-definition-type): Use cond.
22678
c183f693
JB
226792011-04-13 Juanma Barranquero <lekktu@gmail.com>
22680
06641a47
JB
22681 * autorevert.el (auto-revert-handler):
22682 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22683 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22684 Don't quote lambda.
22685
c183f693
JB
22686 * image-mode.el (image-transform-set-scale):
22687 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22688
1e3b6001
G
226892011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22690
22691 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 22692 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
22693 Upgrades via gnutls-cli are too slow to be done opportunistically.
22694
2d6af8dd
JB
226952011-04-12 Juanma Barranquero <lekktu@gmail.com>
22696
22697 * dframe.el (dframe-current-frame): Remove spurious quote.
22698
c0749a51
GM
226992011-04-12 Glenn Morris <rgm@gnu.org>
22700
088d0d61
GM
22701 * calendar/cal-tex.el (cal-tex-end-document):
22702 Try to automatically use latin1 input if needed.
22703
c0749a51
GM
22704 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22705 Don't try to cons a mark onto an empty element.
22706
5c90fde0
LL
227072011-04-11 Leo Liu <sdl.web@gmail.com>
22708
22709 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22710 buffers.
22711 (ido-kill-buffer-at-head): Support killing virtual buffers.
22712
369e974d
CY
227132011-04-10 Chong Yidong <cyd@stupidchicken.com>
22714
22715 * minibuffer.el (completion-show-inline-help): New var.
22716 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
22717 (minibuffer-force-complete, minibuffer-complete-word):
22718 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
22719
22720 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22721 to avoid interference from inline help (Bug#5849).
22722
37f1c930
LL
227232011-04-10 Leo Liu <sdl.web@gmail.com>
22724
099c39a4
JB
22725 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22726 Fix typo.
37f1c930 22727
a32d4040
CY
227282011-04-09 Chong Yidong <cyd@stupidchicken.com>
22729
22730 * image-mode.el (image-toggle-display-image): Signal an error if
22731 not in Image mode.
22732 (image-transform-mode, image-transform-resize)
22733 (image-transform-set-rotation): Doc fix.
daca8ba5 22734 (image-transform-set-resize): Delete.
a32d4040
CY
22735 (image-transform-set-scale, image-transform-fit-to-height)
22736 (image-transform-fit-to-width): Handle image-toggle-display-image
22737 and image-transform-resize directly.
22738
099c39a4 227392011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
22740
22741 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
22742 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22743 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
22744 (doc-view-mode-map): Add bindings for the new functions.
22745
099c39a4 227462011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 22747
4d61f28d 22748 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
22749 Fix typo in docstring.
22750
3726838a
EZ
227512011-04-08 Eli Zaretskii <eliz@gnu.org>
22752
04f33f1e
EZ
22753 * files.el (file-size-human-readable): Produce one digit after
22754 decimal, like "ls -lh" does.
22755
22756 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22757 the file size representation.
22758
3726838a
EZ
22759 * simple.el (list-processes): If async subprocesses are not
22760 available, error out with a clear error message.
22761
cbb59342
CY
227622011-04-08 Chong Yidong <cyd@stupidchicken.com>
22763
22764 * help.el (help-form-show): New function, to be called from C.
22765 Put help-form output in a buffer named differently than *Help*.
22766
e3971c44
EZ
227672011-04-08 Eli Zaretskii <eliz@gnu.org>
22768
22769 * files.el (file-size-human-readable): New function.
22770
22771 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22772 computing the representation inline. Don't require `cl'.
22773
12544bbe
GM
227742011-04-08 Glenn Morris <rgm@gnu.org>
22775
a1de6c6a
GM
22776 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22777
3c4671f4
GM
22778 * net/browse-url.el (browse-url-firefox):
22779 Test system-type, not system-configuration.
22780
b605679c
GM
22781 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22782 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22783 Use log-edit-empty-buffer-p. (Bug#7598)
22784
56442f0c
GM
22785 * net/rlogin.el (rlogin-process-connection-type): Simplify.
22786 (rlogin-mode-map): Initialize in the defvar.
22787 (rlogin): Use ignore-errors.
22788
12544bbe
GM
22789 * replace.el (occur-mode-map): Some fixes for menu items.
22790
eb237b0f
AH
227912011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22792
22793 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
22794
7d668f2c
CY
227952011-04-06 Chong Yidong <cyd@stupidchicken.com>
22796
e67a13ab
CY
22797 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22798 issuing unused warnings.
22799
22800 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22801 macro directly.
22802
7d668f2c
CY
22803 * simple.el: Lisp reimplement of list-processes. Based on an
22804 earlier reimplementation by Leo Liu, but using tabulated-list.el.
22805 (process-menu-mode): New major mode.
22806 (list-processes--refresh, list-processes):
22807 (process-menu-visit-buffer): New functions.
22808
22809 * files.el (save-buffers-kill-emacs): Don't assume any return
22810 value of list-processes, which is undocumented anyway.
22811
a83ec3c9
CY
228122011-04-06 Chong Yidong <cyd@stupidchicken.com>
22813
22814 * emacs-lisp/tabulated-list.el: New file.
22815
e91a96fe
CY
22816 * emacs-lisp/package.el: Use Tabulated List mode.
22817 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22818 (package-menu-mode): Derive from tabulated-list-mode. Set up the
22819 table format using Tabulated List mode variables.
22820 (package--push): New macro, replacing package-list-maybe-add.
22821 (package-menu--generate): Use package--push. Renamed from
22822 package--generate-package-list.
22823 (package-menu-refresh, list-packages): Use it.
daca8ba5 22824 (package-menu--print-info): Rename from package-print-package.
e91a96fe 22825 Return insertion data instead of inserting it directly.
099c39a4
JB
22826 (package-menu-describe-package, package-menu-execute):
22827 Use tabulated-list-get-id.
e91a96fe
CY
22828 (package-menu-mark-delete, package-menu-mark-install)
22829 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
22830 (package-menu-mark-obsolete-for-deletion):
22831 Use tabulated-list-put-tag.
e91a96fe
CY
22832 (package--list-packages, package-menu-revert)
22833 (package-menu-get-package, package-menu-get-version)
22834 (package-menu-sort-by-column): Functions deleted.
22835 (package-menu-package-list, package-menu-sort-key): Vars deleted.
22836 (package-menu--status-predicate, package-menu--version-predicate)
22837 (package-menu--name-predicate)
22838 (package-menu--description-predicate): Handle arguments in the
22839 Tabulated List format.
22840 (package-list-packages-no-fetch): Call list-packages.
22841
3e214b50
JB
228422011-04-06 Juanma Barranquero <lekktu@gmail.com>
22843
22844 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 22845 (after-find-file): Don't bind it.
3e214b50
JB
22846 (revert-buffer-in-progress-p): New variable.
22847 (revert-buffer): Bind it.
22848 Pass nil for `after-find-file-from-revert-buffer'.
22849
22850 * saveplace.el (save-place-find-file-hook): Use new variable
22851 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
22852
3f0f1700
GM
228532011-04-06 Glenn Morris <rgm@gnu.org>
22854
c0274801
GM
22855 * Makefile.in (AUTOGEN_VCS): New variable.
22856 (autoloads): Use $AUTOGEN_VCS.
22857
3f0f1700
GM
22858 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22859 * calendar/calendar.el (calendar-mode-map):
22860 Check for toolkit scroll bars. (Bug#8305)
22861
41ea9e48
CY
228622011-04-05 Chong Yidong <cyd@stupidchicken.com>
22863
22864 * minibuffer.el (completion-in-region--postch)
22865 (completion-in-region-mode): Remove unnecessary messages.
22866
6194c800
JB
228672011-04-05 Juanma Barranquero <lekktu@gmail.com>
22868
33256f14
JB
22869 * font-lock.el (font-lock-refresh-defaults):
22870 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22871 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22872
6194c800
JB
22873 * info.el (Info-directory-list, Info-read-node-name-2)
22874 (Info-split-parameter-string): Doc fixes.
22875 (Info-virtual-nodes): Reflow docstring.
22876 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22877 (Info-apropos-toc-nodes, info-finder, Info-get-token)
22878 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22879 Fix typos in docstrings.
22880 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22881 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22882 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22883 (Info-restore-desktop-buffer): Mark unused parameters.
22884 (Info-directory-find-file, Info-directory-find-node)
22885 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22886 (Info-virtual-index-find-node, Info-apropos-find-file)
22887 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 22888 Mark unused parameters; fix typos in docstrings.
6194c800
JB
22889 (Info-virtual-index): Remove unused local variable `nodename'.
22890
b87a8200 228912011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 22892
b87a8200
DD
22893 * net/rcirc.el: Update my e-mail address.
22894 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 22895
3b2ff876
CY
228962011-04-05 Chong Yidong <cyd@stupidchicken.com>
22897
22898 * startup.el (command-line): Save the cursor's theme-face
22899 directly, instead of using face-override-spec.
22900
22901 * custom.el (load-theme): Minor optimization in assigning faces.
22902
8d17e7ca
JB
229032011-04-04 Juanma Barranquero <lekktu@gmail.com>
22904
22905 * help-fns.el (describe-variable): Complete all variables having
22906 documentation, including keywords.
22907 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
22908
2fbc1934
JB
229092011-04-04 Juanma Barranquero <lekktu@gmail.com>
22910
22911 Convert to lexical-binding.
22912
22913 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
22914 (bs--get-marked-string, bs--get-modified-string)
22915 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
22916 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
22917 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
22918
22919 * ehelp.el (electric-help-execute-extended)
22920 (electric-help-ctrl-x-prefix):
22921 * hexl.el (hexl-revert-buffer-function):
22922 * linum.el (linum-after-change, linum-after-scroll):
22923 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
22924
22925 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
22926
74f50695
DU
229272011-04-04 Daiki Ueno <ueno@unixuser.org>
22928
22929 * epa-dired.el:
22930 * epa-mail.el:
22931 * epa-hook.el:
22932 * epa-file.el:
22933 * epa.el:
22934 * epg.el: Use lexical binding.
22935
c11325f7
CY
229362011-04-03 Chong Yidong <cyd@stupidchicken.com>
22937
0d9e9a12
CY
22938 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
22939
c11325f7 22940 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
22941 dictionary case for flyspell-mark-duplications-exceptions.
22942 Use regexp matching for languages.
c11325f7
CY
22943 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22944 default dictionary (Bug#7926).
22945
da91b5f2
CY
229462011-04-02 Chong Yidong <cyd@stupidchicken.com>
22947
099c39a4
JB
22948 * emacs-lisp/package.el (package--with-work-buffer):
22949 Recognize https URLs.
da91b5f2 22950
099c39a4
JB
22951 * net/network-stream.el: Move from gnus/proto-stream.el.
22952 Change prefix to network-stream throughout.
da91b5f2
CY
22953 (open-protocol-stream): Merge into open-network-stream, leaving
22954 open-protocol-stream as an alias. Handle nil BUFFER args.
22955
22956 * subr.el (open-network-stream): Move to net/network-stream.el.
22957
afa8e9f6
GM
229582011-04-02 Glenn Morris <rgm@gnu.org>
22959
1d2e369d
GM
22960 * find-dired.el (find-exec-terminator): New option.
22961 (find-ls-option): Test for -ls support.
22962 (find-ls-subdir-switches): Test for -b in find-ls-option.
22963 (find-dired, find-grep-dired): Doc fixes.
22964 (find-dired): Use find-exec-terminator.
22965
8abb7da8 22966 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
22967 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22968 (find-name-arg): Remove purecopy.
8abb7da8 22969
f3ca7378
GM
22970 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22971 (grep-compute-defaults): Check for `-exec COMMAND +' support.
22972 Set grep-find-use-xargs, grep-find-command, and grep-find-template
22973 accordingly. Don't add the null-device if not needed.
22974
afa8e9f6
GM
22975 * files.el (save-some-buffers): Doc fix.
22976
35eae264
EZ
229772011-04-02 Eli Zaretskii <eliz@gnu.org>
22978
22979 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22980
26b51db5
JB
229812011-04-01 Juanma Barranquero <lekktu@gmail.com>
22982
22983 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22984 Use `dolist' rather than `mapcar'.
22985
7200d79c
SM
229862011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22987
03408648 22988 Add lexical binding.
7200d79c 22989
03408648
SM
22990 * subr.el (apply-partially): Use new closures rather than CL.
22991 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22992 (dolist, dotimes): Use slightly different expansion for lexical code.
22993 (functionp): Move to C.
22994 (letrec): New macro.
22995 (with-wrapper-hook): Use it and apply-partially instead of CL.
22996 (eval-after-load): Preserve lexical-binding.
22997 (save-window-excursion, with-output-to-temp-buffer): Turn them
22998 into macros.
7200d79c 22999
03408648
SM
23000 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23001
23002 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23003 than the arglist.
23004 (help-add-fundoc-usage): Don't add `Not documented'.
23005 (help-function-arglist): Handle closures, subroutines, and new
23006 byte-code-functions.
23007 (help-make-usage): Remove leading underscores.
23008 (describe-function-1): Handle closures.
23009 (describe-variable): Use special-variable-p for completion.
23010
23011 * files.el (lexical-binding): Declare safe.
f488fb65 23012
03408648
SM
23013 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23014 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23015 (pcase): Add `let' pattern.
23016 Change memoization so it actually works.
23017 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23018 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23019 <let>: New case.
f488fb65 23020
03408648
SM
23021 * emacs-lisp/macroexp.el: Use lexical binding.
23022 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23023 Don't convert ' to #' without checking that it's indeed quoting
23024 a lambda.
23025
23026 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 23027 Use eval-sexp-add-defvars.
03408648
SM
23028 (eval-sexp-add-defvars): New fun.
23029
23030 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23031
23032 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23033 Don't autoload.
23034 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23035 than the internal `byte-compile-lambda'.
23036 (defmethod): Don't hide code under quotes.
23037 (eieio-defmethod): New `code' argument.
23038
23039 * emacs-lisp/eieio-comp.el: Remove.
23040
23041 * emacs-lisp/edebug.el (edebug-eval-defun)
23042 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23043 (edebug-toggle): Avoid `eval'.
23044
23045 * emacs-lisp/disass.el (disassemble-internal): Handle new
23046 `closure' objects.
23047 (disassemble-1): Handle new byte codes.
23048
23049 * emacs-lisp/cl.el (pushnew): Silence warning.
23050
23051 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23052 (cl-byte-compile-throw): Remove.
23053 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23054
23055 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23056 closures.
23057
23058 * emacs-lisp/cconv.el: New file.
23059
23060 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23061 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23062 (byte-compile-initial-macro-environment):
23063 Handle declare-function here.
23064 (byte-compile--lexical-environment): New var.
23065 (byte-stack-ref, byte-stack-set, byte-discardN)
23066 (byte-discardN-preserve-tos): New lap codes.
23067 (byte-interactive-p): Don't use any more.
23068 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23069 New macros.
23070 (byte-compile-lapcode): Use them and handle new lap codes.
23071 (byte-compile-obsolete): Remove.
23072 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23073 (byte-compile-arglist-warn): Check late def of inlinable funs.
23074 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23075 since they should have been expanded by now.
23076 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23077 (byte-compile-from-buffer): Remove unused second arg.
23078 (byte-compile-preprocess): New function.
23079 (byte-compile-toplevel-file-form): New function to distinguish
23080 file-form calls from outside from file-form calls from hunk-handlers.
23081 (byte-compile-file-form): Simplify.
23082 (byte-compile-file-form-defsubst): Remove.
23083 (byte-compile-file-form-defmumble): Simplify now that
23084 byte-compile-lambda always returns a byte-code-function.
23085 (byte-compile): Preprocess.
23086 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23087 Remove, not used any more.
23088 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23089 (byte-compile-make-args-desc): New funs.
23090 (byte-compile-lambda): Handle lexical functions. Always return
23091 a byte-code-function.
23092 (byte-compile-reserved-constants): New var, to make up room for
23093 closed-over variables.
23094 (byte-compile-constants-vector): Obey it.
23095 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23096 (byte-compile-macroexpand-declare-function): New function.
23097 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23098 byte-code-functions.
23099 (byte-compile-form): Check obsolescence here.
23100 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23101 (byte-compile-variable-ref): Remove.
23102 (byte-compile-dynamic-variable-op): New fun.
23103 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23104 (byte-compile-variable-set): New funs.
23105 (byte-compile-discard): Add 2 args.
23106 (byte-compile-stack-ref, byte-compile-stack-set)
23107 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23108 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23109 macroexpand-all instead.
23110 (byte-compile-quote-form): Remove.
23111 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23112 (byte-compile-bind, byte-compile-unbind): New funs.
23113 (byte-compile-let): Handle let* and lexical binding.
23114 (byte-compile-let*): Remove.
23115 (byte-compile-catch, byte-compile-unwind-protect)
23116 (byte-compile-track-mouse, byte-compile-condition-case):
23117 Handle a new :fun-body form, used for lexical scoping.
23118 (byte-compile-save-window-excursion)
23119 (byte-compile-with-output-to-temp-buffer): Remove.
23120 (byte-compile-defun): Simplify.
23121 (byte-compile-stack-adjustment): New fun.
23122 (byte-compile-out): Use it.
23123 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23124
23125 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23126 handler any more.
23127
23128 * emacs-lisp/byte-opt.el: Use lexical binding.
23129 (byte-inline-lapcode): Remove (to bytecomp).
23130 (byte-compile-inline-expand): Pay attention to inlining to/from
23131 lexically bound code.
23132 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23133 any more.
23134 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23135 any more and don't call compiler-macros.
23136 (byte-compile-splice-in-already-compiled-code): Remove.
23137 (byte-code): Don't inline any more.
23138 (disassemble-offset): Receive `bytes' as argument rather than via
23139 dynamic scoping.
23140 (byte-compile-tag-number): Declare before first use.
23141 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23142 `return' even if make-spliceable.
23143 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23144 obsolete interactive-p.
23145 (byte-optimize-lapcode): Optimize new lap-codes.
23146 Don't trip up on new form of `byte-constant' lap code.
23147
23148 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23149
23150 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23151
23152 * custom.el (custom-initialize-default, custom-declare-variable):
23153 Use `defvar'.
23154
23155 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23156 New variables.
23157 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23158 (COMPILE_FIRST): Add macroexp and cconv.
23159 * makefile.w32-in: Mirror changes in Makefile.in.
23160
23161 * vc/cvs-status.el:
23162 * vc/diff-mode.el:
23163 * vc/log-edit.el:
23164 * vc/log-view.el:
23165 * vc/smerge-mode.el:
23166 * textmodes/bibtex-style.el:
090bd7cb 23167 * textmodes/css-mode.el:
03408648
SM
23168 * startup.el:
23169 * uniquify.el:
da91b5f2
CY
23170 * minibuffer.el:
23171 * newcomment.el:
23172 * reveal.el:
23173 * server.el:
23174 * mpc.el:
23175 * emacs-lisp/smie.el:
23176 * doc-view.el:
23177 * dired.el:
03408648
SM
23178 * abbrev.el: Use lexical binding.
23179
0f0c1f27
EZ
231802011-04-01 Eli Zaretskii <eliz@gnu.org>
23181
23182 * info.el (info-display-manual): New function.
23183
c82b2579
SM
231842011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23185
23186 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23187
221ddf68
TH
231882011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23189
23190 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 23191 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 23192
cba6e77e
GM
231932011-03-31 Glenn Morris <rgm@gnu.org>
23194
e040639f
GM
23195 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23196
cba6e77e
GM
23197 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23198
6d0f1c9e
CS
231992011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23200
23201 * progmodes/python.el (python-default-interpreter)
23202 (python-python-command-args, python-jython-command-args)
23203 (python-which-shell, python-which-args, python-which-bufname)
23204 (python-file-queue, python-comint-output-filter-function)
23205 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23206 variables and functions.
23207
3e2d70fd
SM
232082011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23209
23210 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23211 (completion-in-region-mode): New minor mode.
23212 (completion-in-region): Use it.
23213 (completion-in-region--data, completion-in-region-mode-map): New vars.
23214 (completion-in-region--postch): New function.
23215 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23216 New vars.
23217 (completion--capf-wrapper): New function.
23218 (completion-at-point): Use it to track well-behavedness of
23219 hook functions.
23220 (completion-help-at-point): New command.
23221
f3e4086c
JM
232222011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23223
23224 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23225 syntax class to search for whitespace on a single line
23226 (Message-ID: <4D938140.4030905@redhat.com>).
23227
eb7ffc14
LL
232282011-03-30 Leo Liu <sdl.web@gmail.com>
23229
23230 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23231 New commands.
23232 (edit-abbrevs-map): Bind them here.
23233 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23234
d806ab68
KM
232352011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23236
23237 * allout.el (allout-hide-by-annotation, allout-flag-region):
23238 Reduce possibility of overlay leakage by making them volatile.
23239
23240 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23241 hash is not shared between buffers. Mode initialization is
23242 responsible for giving it a useful starting value.
23243 (allout-item-span): Reduce possibility of overlay leakage by
23244 making them volatile.
23245 (allout-widgets-count-buttons-in-region): Add diagnostic function
23246 for tracking down button overlay leaks.
23247
ea622834
LL
232482011-03-29 Leo Liu <sdl.web@gmail.com>
23249
23250 * ido.el (ido-read-internal): Use the default history var
23251 minibuffer-history if no HISTORY is specified.
23252
b62f8267
G
232532011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23254
03408648
SM
23255 * net/imap.el (imap-shell-open, imap-process-connection-type):
23256 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
23257 Kerberos, SSL, other subprocesses.
23258
947b6566
LL
232592011-03-28 Leo Liu <sdl.web@gmail.com>
23260
23261 * abbrev.el (abbrev-table-empty-p): New function.
23262 (prepare-abbrev-list-buffer): Place empty abbrev tables after
23263 nonempty ones. (Bug#5937)
23264
5ffb62aa
JD
232652011-03-27 Jan Djärv <jan.h.d@swipnet.se>
23266
23267 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23268
7a097943
LL
232692011-03-27 Leo Liu <sdl.web@gmail.com>
23270
23271 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23272 for foreground and background colors.
23273 (ansi-color-make-color-map): Adapt.
23274
c5b40130
LL
232752011-03-25 Leo Liu <sdl.web@gmail.com>
23276
1f48f7d2
LL
23277 * midnight.el (midnight-time-float): Remove. Note it calculates
23278 the microsecond component incorrectly and seconds-to-time does the
23279 same job.
625897ec 23280 Remove redundant (require 'timer).
1f48f7d2 23281
c5b40130
LL
23282 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23283 (ido-completions): Remove unused arguments. (Bug#8329)
23284
d86d2721
SM
232852011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
23286
23287 * minibuffer.el (completion--flush-all-sorted-completions):
23288 Remove itself from hook.
23289 (completion-at-point): Let the functions perform the completion
23290 immediately and return nil or t.
23291 * comint.el (comint-dynamic-complete-functions): Now identical to
23292 completion-at-point-functions.
23293 (comint-dynamic-list-input-ring): Remove unused var `index'.
23294 (comint--match-partial-filename, comint--unquote&expand-filename):
23295 New funs, split from comint-match-partial-filename.
23296 (comint-dynamic-complete): Use completion-at-point.
23297 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23298
e8974c48
DA
232992011-03-24 Drew Adams <drew.adams@oracle.com>
23300
23301 * thingatpt.el: Support `defun'.
23302
def71b5e
LL
233032011-03-23 Leo Liu <sdl.web@gmail.com>
23304
cb5af48e
LL
23305 * abbrevlist.el: Move to obsolete/abbrevlist.el.
23306
def71b5e
LL
23307 * help-mode.el (help-mode-finish): Tweak regexp.
23308
927c53e7
GM
233092011-03-23 Glenn Morris <rgm@gnu.org>
23310
18d05bed
GM
23311 * eshell/esh-opt.el (eshell-eval-using-options):
23312 Do not bind unused local variable `eshell-option-stub'.
23313
927c53e7
GM
23314 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23315
9d0da923
JB
233162011-03-22 Juanma Barranquero <lekktu@gmail.com>
23317
23318 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23319 keymap variable in `with-no-warnings' to avoid a warning when the
23320 keymap has been already `defconst'ed.
23321
4b978a67
LL
233222011-03-22 Leo Liu <sdl.web@gmail.com>
23323
23324 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23325 encode all chars in abbrevs; otherwise use emacs-mule or
23326 utf-8-emacs. (Bug#8308)
23327
5fd62452
JB
233282011-03-22 Juanma Barranquero <lekktu@gmail.com>
23329
0b1596c6
JB
23330 * simple.el (backward-delete-char-untabify):
23331 Avoid warning about using `delete-backward-char'.
23332
5fd62452
JB
23333 * image.el (image-type-file-name-regexps): Make it variable.
23334 `imagemagick-register-types' modifies it, and the user may want
23335 to add new extensions for known image types.
23336 (imagemagick-register-types): Throw error if not using ImageMagick.
23337
0b4e93f1
LL
233382011-03-22 Leo Liu <sdl.web@gmail.com>
23339
23340 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23341 located before rcirc-prompt-end-marker.
23342 (rcirc-complete): Error if point is not after rcirc prompt.
23343 Handle the case when table is nil.
9882e214 23344 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 23345
fccee4ab
CY
233462011-03-22 Chong Yidong <cyd@stupidchicken.com>
23347
23348 * custom.el (custom--inhibit-theme-enable): Make it affect only
23349 custom-theme-set-variables and custom-theme-set-faces.
23350 (provide-theme): Ignore custom--inhibit-theme-enable.
23351 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23352 (custom-enabling-themes): Delete variable.
d86d2721
SM
23353 (enable-theme): Accept only loaded themes as arguments.
23354 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
23355 (custom-enabled-themes): Forbid themes from setting this.
23356 Eliminate use of custom-enabling-themes.
23357 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 23358
af896da6
LL
233592011-03-21 Leo Liu <sdl.web@gmail.com>
23360
23361 * ido.el (ido-read-internal): Add ido-selected to history instead
23362 of user input.
23363
78f64af0
SM
233642011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23365
23366 * subr.el (deferred-action-list, deferred-action-function):
23367 Mark obsolete.
23368
b16ac1ec
LL
233692011-03-21 Leo Liu <sdl.web@gmail.com>
23370
810f7698
LL
23371 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23372 change on 2011-02-13 (bug#8309).
23373
b16ac1ec
LL
23374 * minibuffer.el (read-file-name-function): Change default value.
23375 (read-file-name--defaults): Rename from read-file-name-defaults.
23376 (read-file-name-default): Rename from read-file-name.
23377 (read-file-name): Call read-file-name-function.
23378
4e05e67e
GM
233792011-03-21 Glenn Morris <rgm@gnu.org>
23380
23381 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23382 Doc fixes.
23383
4359915b
CY
233842011-03-21 Chong Yidong <cyd@stupidchicken.com>
23385
23386 * cus-theme.el: Add missing provide statement.
23387 (customize-create-theme): Extract theme value correctly.
23388 (custom-theme-visit-theme): Autoload.
23389 (customize-create-theme): Prompt before inserting default faces.
23390
1fe275ee
JB
233912011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
23392
23393 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23394 units and musical notes.
23395
cd394be1 233962011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
23397
23398 * ido.el (ido-read-internal): Use completing-read-default.
23399 (ido-completing-read): Fix compatibility with completing-read.
23400
7d476bde
CO
234012011-03-20 Christian Ohler <ohler@gnu.org>
23402
23403 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23404 (ert-delete-all-tests): Use `called-interactively-p' rather than
23405 `interactive-p'.
23406 (ert--make-xrefs-region): Respect END.
23407
fe0fb33e
CY
234082011-03-19 Chong Yidong <cyd@stupidchicken.com>
23409
ff854b0b
CY
23410 * dired-aux.el (dired-create-directory): Signal an error if the
23411 directory already exists (Bug#8246).
23412
fe0fb33e
CY
23413 * facemenu.el (list-colors-display): Call list-faces-display
23414 inside with-help-window.
23415 (list-colors-print): Use display property to align the final
23416 column, instead of checking window-width.
23417
576bce32
EZ
234182011-03-19 Eli Zaretskii <eliz@gnu.org>
23419
4d61f28d 23420 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
23421 windows-nt systems.
23422 (emerge-protect-metachars): Quote correctly for ms-dos and
23423 windows-nt systems.
23424
89c41d68 234252011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
23426
23427 * info.el (info-initialize): Replace all uses of `:' with
23428 path-separator for compatibility with non-Unix systems.
23429 Cache quoting of path-separator. (Bug#8258)
23430
b14e3e21 234312011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
23432
23433 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23434 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23435 (mouse-avoidance-mode): Fix typos in docstrings.
23436
4525ce3e
CY
234372011-03-19 Chong Yidong <cyd@stupidchicken.com>
23438
23439 * startup.el (package-subdirectory-regexp): Move from package.el.
23440 Omit \\` and \\', and let callers add them.
23441
23442 * emacs-lisp/package.el (package-strip-version)
23443 (package-load-all-descriptors): Add \\` and \\' to
23444 package-subdirectory-regexp before using it.
23445 (package-untar-buffer): New arg DIR; ensure that file untars only
23446 into this expected directory. Remove superfluous delete-region.
23447 (package-unpack): Caller changed.
23448 (package-tar-file-info): Use package-subdirectory-regexp.
23449
a904a09a 234502011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 23451
a904a09a
SM
23452 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23453 diff-mode-shared-map (bug#8284).
23454 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
23455
234562011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23457
23458 * calendar/time-date.el (format-seconds): Use assoc instead of
23459 assoc-string, since assoc-string doesn't exist in XEmacs.
23460
171fc304
JB
234612011-03-17 Juanma Barranquero <lekktu@gmail.com>
23462
23463 * custom.el (custom-known-themes): Reflow docstring.
23464 (custom-theme-load-path): Fix typo in docstring.
23465 (load-theme): Fix typo in error message.
23466 (custom-available-themes, custom-variable-theme-value):
23467 Use `let', not `let*'.
23468
d71990a1
JB
234692011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23470
23471 * calc/README: Mention inclusion of musical notes.
23472
23473 * calc/calc-units.el (calc-lu-quant): Rename from
23474 `calc-logunits-quantity'.
23475 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23476 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23477 (calc-db): Rename from `calc-dblevel'.
23478 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23479 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23480 (calc-np): Rename from `calc-nplevel'.
23481 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23482 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23483 (calc-lu-plus): Rename from `calc-logunits-add'.
23484 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23485 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23486 (calc-lu-minus): Rename from `calc-logunits-sub'.
23487 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23488 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23489 (calc-lu-times): Rename from `calc-logunits-mul'.
23490 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23491 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23492 (calc-lu-divide): Rename from `calc-logunits-div'.
23493 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23494 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23495
23496 * calc/calc-ext.el (calc-init-extensions): Update the names of the
23497 functions being autoloaded.
23498
23499 * calc/calc.el (calc-lu-power-reference): Rename from
23500 `calc-logunits-power-reference'.
23501 (calc-lu-field-reference): Rename from
23502 `calc-logunits-field-reference'.
23503
7a71b18d
GM
23504 * calc/calc-help.el (calc-l-prefix-help):
23505 Mention musical note functions.
d71990a1 23506
40c2934b
SM
235072011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
23508
23509 * minibuffer.el (completion-all-sorted-completions):
23510 Use :completion-cycle-penalty text property if present.
23511
b0911414
KM
235122011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
23513
23514 * allout.el (allout-yank-processing): Adjust for new rebulleting
23515 regime so bullet being yanked is used without prompting the user
23516 for a choice.
23517
8a05b668
JB
235182011-03-16 Juanma Barranquero <lekktu@gmail.com>
23519
23520 * startup.el (command-line): Warn the user that _emacs is deprecated.
23521
5ba5fb81
JB
235222011-03-16 Juanma Barranquero <lekktu@gmail.com>
23523
23524 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23525 (delphi-verbose, delphi-comment-face, delphi-string-face)
23526 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23527 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23528 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23529 (delphi-new-comment-line, delphi-font-lock-defaults)
23530 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23531 Fix typos in docstrings.
23532
2dab465b
KM
235332011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
23534
5ba5fb81 23535 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
23536 Invert the roles of character and string values for INSTEAD, so a
23537 string is used for the more common case of a defaulting prompt.
23538
0adf5618
SM
235392011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23540
23541 * progmodes/ruby-mode.el (ruby-backward-sexp):
23542 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23543 * play/gamegrid.el (gamegrid-make-face):
23544 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23545 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23546 * notifications.el (notifications-notify):
23547 * net/xesam.el (xesam-search-engines):
23548 * net/quickurl.el (quickurl-list-insert):
23549 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23550
d72700e5
CY
235512011-03-15 Chong Yidong <cyd@stupidchicken.com>
23552
23553 * startup.el (command-line): Update package subdirectory regexp.
23554
49c5410a
SM
235552011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23556
c6eee9aa
SM
23557 * allout.el (allout-abbreviate-flattened-numbering)
23558 (allout-mode-deactivate-hook): Fix up obsolescence "date".
23559
49c5410a
SM
23560 * subr.el (read-char-choice): Only show the cursor after the prompt,
23561 not after the answer.
23562
047b2bb9
KR
235632011-03-15 Kevin Ryde <user42@zip.com.au>
23564
23565 * help-fns.el (variable-at-point): Skip leading quotes, if any
23566 (bug#8253).
23567
0a57d256
SM
235682011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23569
23570 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
23571 warning message.
23572
77c992bc
MA
235732011-03-14 Michael Albinus <michael.albinus@gmx.de>
23574
23575 * shell.el (shell): When called interactively, offer to change the
23576 shell file name on remote hosts.
23577
eebc475d
TZ
235782011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
23579
23580 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
23581 integration for LDAP parameters. The host, base, user or binddn,
23582 and secret tokens can be specified in a netrc file, for instance.
23583 This is optional because an `auth-source' parameter must be
23584 specified in the search attributes.
23585
9d05d1ba
JB
235862011-03-13 Juanma Barranquero <lekktu@gmail.com>
23587
23588 * help.el (describe-mode): Link to the mode's definition (bug#8185).
23589
09d9db2c
GM
235902011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23591
23592 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23593 into declaration. Remove redundant and harmful binding.
23594
235952011-03-12 Eli Zaretskii <eliz@gnu.org>
23596
23597 * files.el (file-ownership-preserved-p): Pass `integer' as an
23598 explicit 2nd argument to `file-attributes'. If the file's owner
23599 is the Administrators group on Windows, and the current user is
23600 Administrator, consider that a match.
23601
23602 * server.el (server-ensure-safe-dir): Consider server directory
23603 safe on MS-Windows if its owner is the Administrators group while
23604 the current Emacs user is Administrator. Use `=' to compare
23605 numerical UIDs, since they could be integers or floats.
23606
219bd536
JB
236072011-03-12 Juanma Barranquero <lekktu@gmail.com>
23608
23609 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23610
f3afd36b
MA
236112011-03-12 Michael Albinus <michael.albinus@gmx.de>
23612
23613 Sync with Tramp 2.2.1.
23614
23615 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23616
23617 * net/trampver.el: Update release number.
23618
3aaaa6f1
SM
236192011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23620
94642599
SM
23621 * progmodes/compile.el (compilation--previous-directory): Fix up
23622 various nil/dead-marker mismatches (bug#8014).
23623 (compilation-directory-properties, compilation-error-properties):
23624 Don't call it at a position past the one we're about to change.
23625
3aaaa6f1
SM
23626 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23627 Disable obsolescence warnings in the file that declares it.
23628
14239447
KM
236292011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
23630
099c39a4
JB
23631 * allout-widgets.el (allout-widgets-tally):
23632 Initialize allout-widgets-tally as a hash table rather than nil to
23633 prevent mode-line redisplay warnings. Also, clarify the module
23634 description and fix a comment typo.
14239447 23635
135e287c
JB
236362011-03-11 Juanma Barranquero <lekktu@gmail.com>
23637
23638 * help-fns.el (describe-variable): Don't complete keywords.
23639 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23640
ffbf300e
CY
236412011-03-10 Chong Yidong <cyd@stupidchicken.com>
23642
ba08b241
CY
23643 * emacs-lisp/package.el (package-version-join): Impose a standard
23644 string representation for pre/alpha/beta version lists.
23645 (package-unpack-single): Standardize the directory name by passing
23646 it through package-version-join.
23647 (package-strip-rcs-id): Accept any version string that does not
23648 signal an error in version-to-list.
ffbf300e 23649
f346fd6b
MA
236502011-03-10 Michael Albinus <michael.albinus@gmx.de>
23651
23652 * simple.el (delete-trailing-whitespace): Return nil for the
23653 benefit of `write-file-functions'.
23654
ccb55d27
GM
236552011-03-10 Glenn Morris <rgm@gnu.org>
23656
5ceaac0c
GM
23657 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23658
02da65ff
GM
23659 * vc/vc-git.el (vc-git-program): New option.
23660 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23661 (vc-git--call): Use it.
23662
b2f603cc
GM
23663 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23664
5772caab
GM
23665 * cus-edit.el (Custom-newline): If no button at point, look
23666 for a subgroup button at start-of-line. (Bug#2298)
23667
ccb55d27
GM
23668 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23669
ec6ecaed
JD
236702011-03-10 Julien Danjou <julien@danjou.info>
23671
23672 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23673 `cursor-type' is nil.
23674
9d5aa01d
JB
236752011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23676
23677 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23678
b6a5875b
KM
236792011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23680
7a71b18d 23681 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
23682 preserves the existing header prefix, rebulleting it if necessary,
23683 rather than replacing it. This is necessary for proper operation
23684 of cooperative addons like allout-widgets.
1154d12e
JB
23685 (allout-make-topic-prefix, allout-rebullet-heading):
23686 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23687 value as alternate bullet to be used, instead of prompting the user
23688 for a bullet character.
b6a5875b 23689
ee545c35
MA
236902011-03-09 Michael Albinus <michael.albinus@gmx.de>
23691
d86d2721
SM
23692 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23693 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
23694 `tramp-default-port'.
23695
c47971d7
DD
236962011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23697
23698 * net/rcirc.el (rcirc-handler-001): Remove useless
23699 with-rcirc-process-buffer.
23700 (rcirc-check-auth-status): Swap arguments to string-match.
23701
13522cb4
GM
237022011-03-09 Glenn Morris <rgm@gnu.org>
23703
0be6f4f1
GM
23704 * shell.el (shell-mode):
23705 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23706
13522cb4
GM
23707 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23708 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23709
515de2e3
CY
237102011-03-08 Chong Yidong <cyd@stupidchicken.com>
23711
23712 * emacs-lisp/package.el (package-refresh-contents)
23713 (package-menu-execute): Use condition-case-no-debug.
23714
b511b994
MA
237152011-03-08 Michael Albinus <michael.albinus@gmx.de>
23716
23717 * simple.el (shell-command-to-string): Use `process-file'.
23718
23719 * emacs-lisp/package.el (package-tar-file-info): Handle also
23720 remote files.
23721
d86d2721
SM
23722 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23723 Use `equal' for upload base check.
b511b994 23724
25bbfb31
AM
237252011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
23726
23727 * textmodes/texinfo.el (texinfo-environments):
23728 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
23729
be996521
GM
237302011-03-08 Glenn Morris <rgm@gnu.org>
23731
e9c8529f
GM
23732 * cus-start.el (cursor-in-non-selected-windows):
23733 Fix :set quoting oddness. (Bug#8192)
23734
be996521
GM
23735 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23736 in some setf expressions. (Bug#2159)
23737
2bb5649e
CY
237382011-03-08 Chong Yidong <cyd@stupidchicken.com>
23739
23740 * custom.el (custom-available-themes): Return themes in
23741 alphabetical order.
23742
33383987 23743See ChangeLog.15 for earlier changes.
e3d51b27
MR
23744
23745;; Local Variables:
23746;; coding: utf-8
e3d51b27
MR
23747;; End:
23748
ab422c4d 23749 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
23750
23751 This file is part of GNU Emacs.
23752
23753 GNU Emacs is free software: you can redistribute it and/or modify
23754 it under the terms of the GNU General Public License as published by
23755 the Free Software Foundation, either version 3 of the License, or
23756 (at your option) any later version.
23757
23758 GNU Emacs is distributed in the hope that it will be useful,
23759 but WITHOUT ANY WARRANTY; without even the implied warranty of
23760 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23761 GNU General Public License for more details.
23762
23763 You should have received a copy of the GNU General Public License
23764 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.