* lisp/simple.el (end-of-buffer): Don't touch unrelated windows.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
4 (fundamental-mode): Use run-mode-hooks.
5
6 * eshell/esh-proc.el (eshell/kill): Fix last change.
7 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
8
9 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
10
11 * eshell/esh-proc.el (eshell/kill): Rewrite.
12
13 * eshell/em-ls.el (show-almost-all): Declare.
14 (eshell-do-ls): Add support for -A argument.
15
16 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
17
18 * icomplete.el (icomplete-forward-completions)
19 (icomplete-backward-completions): Handle corner case (bug#13602).
20
21 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
22
23 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
24 be nil. Handle this. (Bug#13636)
25
26 2013-02-07 Richard Stallman <rms@gnu.org>
27
28 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
29 `save-buffer-coding-system'.
30
31 2013-02-07 Alan Mackenzie <acm@muc.de>
32
33 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
34 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
35 (c-parse-state-get-strategy): Don't return 'BOD any more.
36 (c-append-lower-brace-pair-to-state-cache):
37 Extra parameter HERE instead of narrowing.
38 Widen to top of buffer before searching backwards for a brace pair.
39 (c-state-push-any-brace-pair): Add HERE parameter to function call.
40 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
41 Narrow to parameter HERE, in place of being called narrowed.
42 (c-remove-stale-state-cache): Extra parameter HERE in place of
43 narrowing. Check there's an open brace in the cache before
44 searching for its match.
45 (c-invalidate-state-cache-1): Add HERE parameter to function call.
46 (c-parse-state-1): Don't narrow here for 'forward strategy,
47 instead passing extra parameter HERE to several functions.
48 Remove 'BOD strategy.
49
50 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
51
52 * emacs-lisp/package.el (describe-package-1): Tell what archive is
53 used to install the package.
54
55 2013-02-06 Glenn Morris <rgm@gnu.org>
56
57 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
58 if we can't get user input. (Bug#6567)
59
60 * startup.el (command-line): If simple.el is missing,
61 test and warn about for some possible causes.
62
63 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
64
65 * cus-start.el (all): Add ns-use-native-fullscreen.
66
67 2013-02-05 Glenn Morris <rgm@gnu.org>
68
69 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
70
71 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
72 Fix directory creation in fallback case.
73
74 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
75
76 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
77 (vc-update-change-log): Use dolist.
78
79 2013-02-04 Chong Yidong <cyd@gnu.org>
80
81 * thingatpt.el: Rewrite the URL detection routines, absorbing some
82 code from ffap.el.
83 (thing-at-point-beginning-of-url-regexp): New var.
84 (thing-at-point-uri-schemes): Update list of URI schemes.
85 (thing-at-point-url-regexp): Variable deleted.
86 (thing-at-point-markedup-url-regexp): Disallow newlines.
87 (thing-at-point-newsgroup-regexp)
88 (thing-at-point-newsgroup-heads)
89 (thing-at-point-default-mail-uri-scheme): New variables.
90 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
91 method to find the possible bounds of the URI at point.
92 New optional argument to find ill-formed URIs.
93 (thing-at-point-url-at-point): Rewrite. New arguments for finding
94 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
95 the scheme-adding heuristics from ffap-url-at-point.
96 (thing-at-point--bounds-of-well-formed-url): New function.
97 Do parens matching to decide whether to include parens in the URI
98 (Bug#9153).
99
100 * ffap.el: Require thingatpt.
101 (ffap-url-at-point): Delegate URI detection to thing-at-point.
102 All URI-valid characters are now recognized (Bug#5673).
103 (ffap-string-at-point): Use use-region-p.
104 (ffap-url-regexp): Extra character is handled by thing-at-point.
105 (ffap-string-at-point-mode-alist): Allow parentheses.
106 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
107 Convert to aliases; code moved to thingatpt.el.
108 (ffap-gnus-hook): Use setq-local.
109
110 2013-02-04 Glenn Morris <rgm@gnu.org>
111
112 * emacs-lisp/ert.el (ert--explain-format-atom):
113 Don't try to print non-characters as characters. (Bug#13543)
114
115 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
116
117 * net/tramp.el (tramp-debug-message): Extend function exclude list.
118 (tramp-backtrace): New defun.
119 (tramp-handle-insert-file-contents): Use `visit' when inserting
120 the local copy.
121
122 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
123 Use `remote-file-name-inhibit-cache'.
124
125 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
126
127 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
128 (bug#13614).
129
130 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
131 current-load-list (bug#13366).
132
133 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
134
135 * progmodes/compile.el (compilation-error-regexp-alist-alist):
136 Identify g++ template instantiation trace. (Bug#12287)
137 (compilation-mode-hook, compilation-start-hook)
138 (compilation-window-height): Simplify docstrings. (Bug#13379)
139
140 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
141
142 * mouse.el (mouse-drag-track): Always deactivate the mark before
143 running the final event's command since that command is in charge of
144 activating the mark if needed (bug#13523).
145
146 2013-02-02 Juri Linkov <juri@jurta.org>
147
148 * replace.el (perform-replace): Move let-bindings of isearch-*
149 variables deeper to the loop that searches for the next match.
150 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
151 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
152 (Bug#13579)
153
154 * isearch.el (isearch-search-fun-default): Check for null
155 first element of isearch-cmds as a precaution when it's used
156 with inactive isearch.
157
158 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
159
160 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
161 error when buffer in question is narrowed so position 1 is out of
162 visible part.
163
164 2013-02-02 Glenn Morris <rgm@gnu.org>
165
166 * textmodes/remember.el (remember-clipboard): Doc fix.
167
168 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
169
170 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
171 properties (bug#13179).
172
173 2013-02-02 Juri Linkov <juri@jurta.org>
174
175 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
176 instead of hard-coded default face `match'. (Bug#9438)
177
178 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
179
180 * vc/vc-arch.el (vc-arch-registered):
181 * vc/vc-bzr.el (vc-bzr-registered):
182 * vc/vc-cvs.el (vc-cvs-registered):
183 * vc/vc-git.el (vc-git-registered):
184 * vc/vc-hg.el (vc-hg-registered):
185 * vc/vc-mtn.el (vc-mtn-registered):
186 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
187 (Bug#13139)
188
189 * info.el (Info-next-reference, Info-prev-reference): Add numeric
190 prefix argument. (Bug#11656)
191
192 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
193
194 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
195
196 2013-02-01 Glenn Morris <rgm@gnu.org>
197
198 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
199 if the backend is known not to support it.
200
201 * imenu.el (imenu-default-create-index-function):
202 Tweak infinite loop test to check for forward motion as well as none.
203
204 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
205
206 * net/soap-client.el (soap-invoke): Encode the string for
207 `url-request-data' as UTF-8.
208 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
209
210 2013-02-01 Glenn Morris <rgm@gnu.org>
211
212 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
213
214 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
215
216 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
217
218 * net/tramp.el (tramp-tramp-file-p): Comment check for
219 `string-as-unibyte'. The function does not exist on XEmacs, and
220 likely we need another approach.
221
222 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
223 `tramp-gw-*' variables are bound.
224
225 2013-01-31 Glenn Morris <rgm@gnu.org>
226
227 * files.el (basic-save-buffer-2): Choose coding system for
228 writing the file before backing it up, to reduce delay between
229 backing up and writing the new version. (Bug#13522)
230
231 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
232
233 * simple.el (cycle-spacing): New command.
234 (just-one-space): Use it.
235
236 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
237
238 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
239 (opascal-newline-always-indents): Remove custom.
240 (opascal-tab, opascal-newline): Remove commands.
241 (opascal-new-comment-line): Insert "\n" instead of calling newline.
242 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
243 (opascal-save-match-data): Remove, use save-match-data instead.
244 (opascal-save-state): Use with-silent-modifications.
245
246 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
247 (bug#13585).
248
249 2013-01-30 Juri Linkov <juri@jurta.org>
250
251 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
252 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
253 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
254
255 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
256
257 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
258 column if we're just deleting the backslashes.
259 (makefile-fill-paragraph): Use eolp.
260
261 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
262
263 * autorevert.el (auto-revert-use-notify): Fix docstring.
264
265 2013-01-30 Leo Liu <sdl.web@gmail.com>
266
267 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
268
269 2013-01-30 Glenn Morris <rgm@gnu.org>
270
271 * mouse.el (mouse-drag-line): Avoid pushing same event onto
272 unread-command-events twice in some cases. This tries to implement
273 the 2012-07-26 changes in a different way. (Bug#13560)
274
275 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
276
277 * progmodes/python.el
278 (python-pdbtrack-comint-output-filter-function): Enhancements on
279 stacktrace detection. (thanks @gnovak)
280
281 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
282
283 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
284 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
285 Use defvar-local.
286 (jit-lock-register): Use setq-local.
287
288 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
289
290 * calc-units.el (math-default-units-table): Remove initial value.
291 (calc-convert-units): Treat expressions where all the units cancel as
292 if they didn't have units.
293
294 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
295
296 * net/tramp.el (tramp-process-connection-type): Fix docstring.
297 (tramp-completion-reread-directory-timeout): Fix type.
298 (tramp-connection-min-time-diff): New defcustom.
299
300 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
301
302 2013-01-30 Glenn Morris <rgm@gnu.org>
303
304 * imenu.el (imenu-default-create-index-function):
305 Put back a version of the infinite loop test removed 2013-01-23.
306
307 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
308
309 * progmodes/python.el (python-shell-parse-command):
310 Find python-shell-interpreter with modified environment.
311
312 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
313
314 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
315
316 2013-01-29 Alan Mackenzie <acm@muc.de>
317
318 Amend to fontify /regexp/s in actions correctly.
319 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
320 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
321 are no longer included.
322 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
323 What used to be these variables without "-line" in the name.
324 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
325 (c-awk-non-arith-op-bra-re): Now also matches {.
326 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
327 "return", and "case".
328 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
329 by /.
330 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
331 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
332
333 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
334
335 * autorevert.el (auto-revert-use-notify):
336 Use `custom-initialize-default' for initialization. (Bug#13583)
337
338 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
339
340 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
341 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
342 in `tramp-file-name-handler'.
343 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
344 compatibility.
345 (tramp-compute-multi-hops): Check, whether
346 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
347
348 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
349
350 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
351 (bug#13297).
352
353 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
354
355 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
356 checks made superfluous by the \_< operator.
357 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
358 temporarily) broken indentation.
359 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
360 Highlight nested constants, too. \_< broke that.
361
362 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
363
364 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
365 instead of "\\b".
366
367 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
368
369 * autorevert.el (auto-revert-handler): Notifications which result
370 from a saved file shall not be taken into account. (Bug#13557)
371
372 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
373
374 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
375 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
376 (lisp-mode): Pass t for it. (Bug#13556)
377
378 2013-01-25 Alan Mackenzie <acm@muc.de>
379
380 AWK Mode: Fix indentation bug at top level. Bug #12274.
381
382 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
383 just before CASE 5D.
384
385 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
386
387 * net/socks.el (socks-nslookup-host): Use string-to-number.
388
389 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
390
391 * autorevert.el (auto-revert-remote-files)
392 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
393 (auto-revert-notify-enabled, auto-revert-use-notify)
394 (auto-revert-notify-watch-descriptor-hash-list)
395 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
396 (auto-revert-notify-event-descriptor)
397 (auto-revert-notify-event-action)
398 (auto-revert-notify-event-file-name): Doc fix.
399 (global-auto-revert-mode): Reorder checks.
400 (auto-revert-notify-rm-watch): Respect changed values of
401 `auto-revert-notify-watch-descriptor-hash-list'.
402 (auto-revert-notify-add-watch): Check for
403 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
404 `inotify-add-watch'. Watch `default-directory' instead of
405 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
406 has a changed meaning now. (Bug#13540)
407 (auto-revert-notify-handler): Change implementation wrt events
408 returning from a directory.
409 (auto-revert-handler): Reorder implementation for checks of remote
410 files.
411 (auto-revert-buffers): Fix parentheses error.
412
413 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
414
415 * progmodes/python.el: Enhancements to header documentation about
416 skeletons. (Bug#5716)
417
418 * imenu.el (imenu-default-create-index-function): Remove useless
419 infinite loop check. (Bug#13438)
420
421 2013-01-25 Alan Mackenzie <acm@muc.de>
422
423 Fix a bug in the state cache mechanism. Refactor this a bit.
424
425 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
426 `cache-pos' element from the return value.
427 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
428 buffer to enable proper searching from beyond HERE. Amend the
429 test for detecting the sought brace pair. Amend the value written
430 to the "brace desert cache" when the brace isn't found.
431 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
432 and several other variables analogously.
433 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
434 parameter to a locally calculated variable.
435 (c-parse-state-1): Change the calling conventions to the two
436 defuns involving `cache-pos'.
437
438 2013-01-25 Chong Yidong <cyd@gnu.org>
439
440 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
441
442 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
443
444 * paren.el (show-paren-function): Make sure to set 'priority and
445 'face only if the overlay does exist.
446
447 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
448
449 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
450
451 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
452 basic attributes.
453 (tramp-sh-handle-set-file-acl): Improve error checking.
454
455 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
456
457 * doc-view.el (doc-view-display): Force mode line update until all
458 document is converted. Suggested by Stefan Monnier (Bug#13164).
459
460 2013-01-23 Bastien Guerry <bzg@gnu.org>
461
462 * paren.el (show-paren-function): Make sure an overlay exists
463 before trying to delete it. Also use `pos' as a position only
464 when it is an integer.
465
466 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
467
468 * play/gametree.el (gametree-break-line-here): Use point-marker.
469
470 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
471
472 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
473 Mark descriptive parts with `display' property.
474
475 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
476
477 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
478 New variable to map standard dict names to hunspell ones.
479 (ispell-set-spellchecker-params): Make sure specific dict names
480 are used for standard dicts with hunspell.
481
482 2013-01-21 Tassilo Horn <tsdh@gnu.org>
483
484 * textmodes/reftex-cite.el (reftex-format-citation): Add format
485 chars for note (%N) and url (%U).
486 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
487
488 2013-01-21 Juri Linkov <juri@jurta.org>
489
490 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
491 in addition to existing separate binding `meta f10' in `global-map'.
492 (Bug#13484)
493
494 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
495
496 Improve XEmacs compatibility.
497
498 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
499
500 * net/tramp-adb.el (top): Require `time-date'.
501 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
502 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
503 Use `tramp-file-name-handler'.
504 (tramp-adb-maybe-open-connection):
505 Use `tramp-compat-set-process-query-on-exit-flag'.
506
507 * net/tramp-sh.el (tramp-sh-handle-file-acl):
508 Use `tramp-compat-funcall'.
509
510 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
511 `tramp-compat-funcall'.
512
513 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
514
515 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
516 reimplementation using "adb shell command ..." instead of running
517 remote shell interactively.
518
519 2013-01-20 Glenn Morris <rgm@gnu.org>
520
521 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
522 Add native profiler menu entries.
523
524 * profiler.el (profiler-running-p): New function.
525 (profiler-cpu-profile): Use profiler-running-p.
526 (profiler-report-mode-map): Add some more menu entries.
527
528 2013-01-19 Glenn Morris <rgm@gnu.org>
529
530 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
531 fixes 2012-12-07 change. (Bug#13499)
532
533 2013-01-19 Leo Liu <sdl.web@gmail.com>
534
535 * dired.el (dired-get-marked-files): Prune erroneous values due to
536 last change. (Bug#13152)
537
538 2013-01-19 Glenn Morris <rgm@gnu.org>
539
540 * progmodes/etags.el (tags-table-check-computed-list):
541 Preserve point in tags buffer. (Bug#13412)
542
543 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
544
545 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
546 Chong Yidong <cyd@gnu.org>
547
548 * image-mode.el (image-next-file, image-previous-file):
549 New commands (Bug#8453).
550 (image-mode-map): Bind them to n and p.
551 (image-mode--images-in-directory): New helper function.
552
553 2013-01-19 Chong Yidong <cyd@gnu.org>
554
555 * image-mode.el (image-mode-fit-frame): Add a frame argument.
556 Suggested by Drew Adams (Bug#7730). Handle window decorations;
557 save and restore the old window configuration.
558
559 2013-01-18 Leo Liu <sdl.web@gmail.com>
560
561 * progmodes/js.el: Tweak autoload cookie for alias.
562
563 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
564
565 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
566 buffer local, again. This was lost with the fix on 2013-01-12.
567
568 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
569
570 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
571 order to support several eshell buffers in parallel.
572
573 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
574
575 * autorevert.el (auto-revert-use-notify): In the :set function, do
576 not modify `kill-buffer-hook'.
577 (auto-revert-notify-rm-watch):
578 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
579 (auto-revert-notify-add-watch): Do not call
580 `auto-revert-notify-rm-watch', but add it to a buffer local
581 `kill-buffer-hook'.
582
583 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
584
585 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
586 call to `eval' rather than a backquoted lambda.
587
588 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
591 to return an explicit nil.
592 (advice--remove-function): Change accordingly.
593
594 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
595 the use of nadvice.el.
596
597 * progmodes/which-func.el (which-function): Silence imenu errors
598 (bug#13433).
599
600 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
601
602 * progmodes/sql.el: (sql-imenu-generic-expression):
603 (sql-mode-font-lock-object-name): Match schema qualified names.
604 (sql-connect): Use string keys.
605 (sql-product-interactive): Wait for interpreter prompt.
606 (sql-comint-oracle): Set process coding based on NLS_LANG.
607
608 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
609
610 * progmodes/sql.el (sql-output-to-send): Remove, unused.
611 (sql-interactive-remove-continuation-prompt):
612 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
613
614 2013-01-14 Leo Liu <sdl.web@gmail.com>
615
616 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
617 (Bug#13420)
618
619 2013-01-14 Glenn Morris <rgm@gnu.org>
620
621 * progmodes/compile.el (compilation-error-regexp-alist-alist):
622 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
623
624 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
625
626 * progmodes/python.el (python-nav-end-of-statement):
627 Fix cornercase when handling multiline strings.
628
629 2013-01-13 Richard Stallman <rms@gnu.org>
630
631 * mail/sendmail.el (mail-position-on-field): Add doc string.
632
633 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
634 Get current message boundaries and pass them to
635 message-forward-make-body-mime. Minor style changes.
636
637 2013-01-13 Eli Zaretskii <eliz@gnu.org>
638
639 * cus-start.el (all): Avoid warnings about
640 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
641
642 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
643
644 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
645
646 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
647
648 * jit-lock.el (jit-lock-debug-mode): New minor mode.
649 (jit-lock--debug-fontifying): New var.
650 (jit-lock--debug-fontify): New function.
651 * subr.el (condition-case-unless-debug): Don't prevent catching the
652 error, just let the debbugger run.
653 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
654 timer code and don't drop errors silently.
655
656 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
657
658 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
659 `permanent-local' property.
660 (auto-revert-notify-handler): Use `file-equal-p'.
661
662 2013-01-12 Eli Zaretskii <eliz@gnu.org>
663
664 * autorevert.el (auto-revert-notify-handler): Fix filtering of
665 file notification by ACTION. For filtering by file name, compare
666 only the non-directory part of the file name.
667
668 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
669
670 * autorevert.el: Use cl-lib instead of cl.
671
672 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
673 (vc-bzr-checkin): Use it.
674 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
675 will preserve match-data.
676
677 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
678
679 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
680 (js--declaration-keyword-re): New var.
681 (js--multi-line-declaration-indentation): New function.
682 (js--proper-indentation): Use it.
683
684 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
685
686 * calc/calc.el (calc-highlight-selections-with-faces)
687 (calc-dispatch):
688 * comint.el (comint-history-isearch-message):
689 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
690 * ffap.el (ffap-string-at-point-region, ffap-next)
691 (ffap-string-at-point, ffap-string-around)
692 (ffap-copy-string-as-kill, ffap-highlight-overlay)
693 (ffap-literally):
694 * font-lock.el (font-lock-keywords-alist)
695 (font-lock-removed-keywords-alist):
696 * help-mode.el (help-xref-symbol-regexp):
697 * info.el (Info-find-emacs-command-nodes):
698 * international/mule.el (add-to-coding-system-list):
699 * isearch.el (isearch-message-function, isearch-fail-pos):
700 * misearch.el (multi-isearch-next-buffer-function):
701 * newcomment.el (comment-box):
702 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
703 (pr-setting-database):
704 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
705 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
706 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
707 (pike-font-lock-keywords-3):
708 * progmodes/compile.el (compile):
709 * progmodes/etags.el (tags-table-files)
710 (tags-table-files-function, tags-included-tables-function):
711 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
712 (gdb-restore-windows):
713 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
714 (ps-n-up-filling-database):
715 * server.el (server-buffer, server-log):
716 * simple.el (newline, delete-backward-char, delete-forward-char)
717 (minibuffer-history-isearch-message, kill-line, track-eol)
718 (temporary-goal-column):
719 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
720 (flyspell-default-deplacement-commands):
721 * textmodes/ispell.el (ispell-accept-output):
722 * textmodes/sgml-mode.el (html-tag-help):
723 * vc/compare-w.el (compare-ignore-whitespace)
724 (compare-ignore-case, compare-windows-dehighlight):
725 * vc/diff.el (diff):
726 * whitespace.el (whitespace-point)
727 (whitespace-font-lock-refontify, whitespace-bob-marker)
728 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
729
730 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
731
732 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
733 (auto-revert-notify-rm-watch): Ignore errors.
734 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
735 inotify, and '(size last-write-time) for w32notify.
736 Set buffer-local `auto-revert-use-notify' to nil when adding a file
737 watch fails - this is a fallback to the file modification check.
738 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
739 (auto-revert-notify-event-action)
740 (auto-revert-notify-event-file-name): New defuns.
741 (auto-revert-notify-handler): Use them. Implement first
742 plausibility checks.
743 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
744
745 2013-01-11 Julien Danjou <julien@danjou.info>
746
747 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
748 max are almost equal. Also return the correct value for V which is
749 already between 0 and 1.
750
751 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
752
753 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
754
755 2013-01-11 Eli Zaretskii <eliz@gnu.org>
756
757 * autorevert.el (auto-revert-notify-rm-watch)
758 (auto-revert-notify-add-watch): Fix typos in w32notify function
759 names.
760
761 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
762
763 * autorevert.el (auto-revert-notify-enabled): Move up.
764 (auto-revert-use-notify): New defcustom.
765 (auto-revert-mode, global-auto-revert-mode)
766 (auto-revert-notify-add-watch, auto-revert-handler)
767 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
768 `auto-revert-notify-enabled'.
769
770 2013-01-10 Elias Pipping <pipping@exherbo.org>
771
772 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
773 * doc-view.el (doc-view-document->bitmap):
774 Use doc-view-single-page-converter-function instead of
775 single-page-converter arg; adjust callers.
776
777 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
778
779 * progmodes/which-func.el (which-function): Understand Semantic's use
780 of overlays in imenu--index-alist.
781
782 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
783
784 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
785 (Man-man-k-use-anchor): New var.
786 (Man-parse-man-k): New function.
787 (Man-completion-table): Use it.
788 (man): Flush the completion cache between uses.
789
790 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
791
792 * autorevert.el: Add file watch support.
793 (auto-revert-notify-enabled): New defconst.
794 (auto-revert-notify-watch-descriptor-hash-list)
795 (auto-revert-notify-watch-descriptor)
796 (auto-revert-notify-modified-p): New defvars.
797 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
798 (auto-revert-notify-handler): New defuns.
799 (auto-revert-mode, global-auto-revert-mode): Remove file watches
800 when mode is disabled.
801 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
802 (auto-revert-buffers): Add file watches for active buffers.
803
804 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
805
806 * cus-start.el (toplevel): Only allow float values for
807 scroll-up-aggressively and scroll-down-aggressively.
808 Allow any number for line-spacing.
809
810 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
811
812 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
813 (doc-view-pdf->png-converter-function): Use mupdf if available.
814 (doc-view-djvu->png-converter-function)
815 (doc-view-ps->png-converter-function): Remove.
816 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
817 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
818 (doc-view-already-converted-p): Adjust accordingly.
819 (doc-view-mode-p): Simplify.
820 (doc-view-enlarge): Use setq-local.
821 (doc-view-pdf->png-converter-ghostscript)
822 (doc-view-djvu->png-converter-ddjvu)
823 (doc-view-pdf->png-converter-mupdf): Rework to call
824 doc-view-start-process directly.
825 (doc-view-pdf/ps->png): Simplify accordingly.
826 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
827 (doc-view-document->bitmap): Rename from doc-view-document->png.
828 (doc-view-convert-current-doc): Merge pdf and djvu cases.
829 (doc-view-set-slice-from-bounding-box): Fix completion table.
830 (doc-view-mode): Use add-hook for after-revert-hook.
831
832 2013-01-10 Glenn Morris <rgm@gnu.org>
833
834 * emacs-lisp/authors.el (authors-ignored-files)
835 (authors-valid-file-names, authors-renamed-files-alist):
836 Add some more entries.
837
838 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
839
840 * image-mode.el (image-mode-winprops): Don't throw away the fallback
841 `t' pseudo-window entry.
842
843 2013-01-10 Alan Mackenzie <acm@muc.de>
844
845 Fix bugs in the c-parse-state mechanism. Reuse some markers
846 instead of continually generating new ones.
847
848 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
849 (c-state-old-cpp-end-marker): New variables.
850 (c-append-lower-brace-pair-to-state-cache): Start a backward
851 search for "}" definitively outside CPP constructs.
852 (c-remove-stale-state-cache): Inform the caller of a need to
853 search back for a brace pair in certain circumstances.
854 (c-state-maybe-marker): New macro.
855 (c-parse-state): Reuse markers when appropriate.
856
857 2013-01-10 Glenn Morris <rgm@gnu.org>
858
859 * simple.el (execute-extended-command): Doc fix.
860 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
861
862 2013-01-10 Chong Yidong <cyd@gnu.org>
863
864 * faces.el (read-face-name): Doc fix.
865
866 2013-01-10 Roland Winkler <winkler@gnu.org>
867
868 * emacs-lisp/crm.el: Allow any regexp for separators.
869 (crm-default-separator): All spaces around the default comma separator.
870 (crm--completion-command): New macro.
871 (crm-completion-help, crm-complete, crm-complete-word): Use it.
872 (crm-complete-and-exit): Handle non-single-char separators.
873
874 2013-01-09 Elias Pipping <pipping@lavabit.com>
875
876 * doc-view.el: Add support for DjVu (bug#13164).
877 (doc-view-djvu->png-converter-function): New config var.
878 (doc-view-single-page-converter-function, doc-view--image-type)
879 (doc-view--image-file-extension): New vars.
880 (doc-view-mode): Initialize them.
881 (doc-view-goto-page): Use them.
882 (doc-view-mode-p): Add support for ddjvu.
883 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
884 (doc-view-set-up-single-converter): New funs.
885 (doc-view-pdf/ps->png): Extend for djvu.
886 (doc-view-document->png): Rename from doc-view-pdf->png.
887 (doc-view-convert-current-doc): Handle djvu.
888 (doc-view-insert-image, doc-view-display)
889 (doc-view-already-converted-p): Don't hardcode png.
890 (doc-view-set-doc-type): Recognize djvu docs.
891
892 2013-01-09 Elias Pipping <pipping@lavabit.com>
893
894 * doc-view.el: Add support for mupdf converter (bug#13164).
895 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
896 (doc-view-ps->png-converter-function): New config vars.
897 (doc-view-pdf->png-converter-ghostscript)
898 (doc-view-ps->png-converter-ghostscript)
899 (doc-view-pdf->png-converter-mupdf): New functions.
900 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
901
902 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
903
904 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
905 first in session cache: When `tramp-own-remote-path' is in
906 `tramp-remote-path', the remote path is only set in the session
907 cache.
908
909 2013-01-09 Glenn Morris <rgm@gnu.org>
910
911 * emacs-lisp/trace.el (trace-function-foreground)
912 (trace-function-background): Doc fix.
913
914 2013-01-09 Juri Linkov <juri@jurta.org>
915
916 * international/mule-cmds.el (read-char-by-name): Move let-binding
917 of completion-ignore-case around completing-read to fix regression
918 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
919 `string-match-p' using the nil value of `case-fold-search' and
920 `completion-ignore-case' in `completion-pcm--all-completions'.
921 (Bug#12615).
922
923 2013-01-09 Glenn Morris <rgm@gnu.org>
924
925 * progmodes/compile.el (compilation-parse-errors):
926 Fix typo. (Bug#13369)
927
928 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
929
930 * comint.el (comint-send-input): Check size of buffer before
931 waiting for process output, in case already accepted. (Bug#13290)
932
933 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
934
935 Spelling fixes.
936 * net/tramp-adb.el (tramp-adb-get-toolbox):
937 Fix misspelling of 'unknown'.
938
939 2013-01-08 Juri Linkov <juri@jurta.org>
940
941 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
942 * progmodes/flymake.el (flymake-errline, flymake-warnline):
943 Use underline style wave on terminals that support it. (Bug#13000)
944
945 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
948 the predicate returns nil.
949
950 * simple.el: Use lexical-binding.
951 (primitive-undo): Use pcase.
952 (minibuffer-history-isearch-push-state): Use a closure.
953
954 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
955
956 * simple.el (primitive-undo): Move from undo.c.
957
958 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
959
960 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
961 (cvs-mode-remove-handled): Use it (bug#13380).
962
963 * emacs-lisp/nadvice.el (advice--tweak): New function.
964 (advice--remove-function, advice--subst-main): Use it.
965
966 * emacs-lisp/advice.el: Update commentary.
967
968 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
969
970 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
971 Remove spurious entry.
972
973 2013-01-08 Glenn Morris <rgm@gnu.org>
974
975 * net/tramp.el (tramp-default-host-alist): Add :version.
976
977 2013-01-08 Juri Linkov <juri@jurta.org>
978
979 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
980 single completion. (Bug#12456)
981 (info--manual-names): Expand node completions into an explicit list
982 before appending it to another list. Filter out internal buffers
983 with the leading space in the buffer name. (Bug#10771)
984
985 2013-01-08 Juri Linkov <juri@jurta.org>
986
987 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
988 that defaults to the Top node.
989 (Info-goto-node, Info-read-node-name): Doc fix to mention that
990 the short format (FILENAME) goes to the Top node.
991 (Info-build-node-completions): Rename arg `file' to `filename'.
992 (Bug#13365)
993
994 2013-01-07 Bastien Guerry <bzg@gnu.org>
995
996 * menu-bar.el (menu-bar-search-documentation-menu):
997 Use `apropos-user-option' and fix the help message.
998
999 2013-01-07 Bastien Guerry <bzg@gnu.org>
1000
1001 * apropos.el (apropos-do-all): Update docstring.
1002 (apropos-user-option-button): New face.
1003 (apropos-user-option): Rename from `apropos-variable' and update
1004 docstring.
1005 (apropos-variable): Rewrite, now show all variables by default.
1006 (apropos-print): Mention "User option" instead of "Variable" when
1007 printing doc for user options. (Bug#13276)
1008
1009 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1010
1011 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1012 Handle filename correctly, when parsing "source -> target" symlink
1013 output.
1014 (tramp-adb-handle-set-file-times): New defun.
1015
1016 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1019 advice list when the interactive-spec of ad-Advice-* changes.
1020
1021 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1022
1023 * wid-edit.el (widget-default-get): Work for inlined elements.
1024 (Bug#12670)
1025
1026 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1027
1028 * net/tramp.el (tramp-default-host-alist): New defcustom.
1029 (tramp-find-host): Use it.
1030 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1031 `eshell-directory-change-hook'.
1032
1033 * net/tramp-adb.el (top): Add adb specific entry in
1034 `tramp-default-host-alist'.
1035 (tramp-adb-file-name-host): Remove function.
1036 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1037 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1038
1039 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1040
1041 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1042
1043 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1044
1045 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1046
1047 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1048 consist of more than one digit.
1049 (tramp-adb-file-name-handler-alist):
1050 Use `tramp-handle-file-exists-p' consistently.
1051 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1052 (tramp-adb-handle-file-exists-p): Remove function.
1053 (tramp-adb-file-name-host): New defun.
1054 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1055 Use it.
1056 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1057
1058 2013-01-06 Chong Yidong <cyd@gnu.org>
1059
1060 * vc/vc.el (vc-next-action): Detect buffer modifications
1061 conflicting with locking VCS operation (Bug#11490).
1062
1063 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1064
1065 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1066
1067 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1068 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1069
1070 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1071
1072 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1073 parsing of ls output using regular expression (handle filenames
1074 with spaces). Use virtual device number.
1075 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1076 cleanup).
1077
1078 2013-01-04 Daiki Ueno <ueno@gnu.org>
1079
1080 * epg.el: Silence byte-compiler warnings.
1081 (epg--start): Use delete-char instead of delete-backward-char.
1082 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1083
1084 2013-01-04 Daiki Ueno <ueno@gnu.org>
1085
1086 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1087 Suggested by Eli Zaretskii <eliz@gnu.org>.
1088
1089 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1090
1091 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1092 non-negative integers. Otherwise, the default values are used.
1093 (tramp-convert-file-attributes): Convert uid and gid to integers.
1094
1095 2013-01-04 Glenn Morris <rgm@gnu.org>
1096
1097 * term.el (term-handle-colors-array): Ensure face attributes
1098 are fully specified, not nil. (Bug#13337)
1099
1100 * term.el (term-default-fg-color, term-default-bg-color):
1101 Fix custom type.
1102
1103 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1104 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1105 rather than 'jka-compr being loaded. (Bug#13338)
1106
1107 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1108
1109 * icomplete.el (icomplete-completions):
1110 Honor icomplete-prospects-height once more following
1111 2012-11-29 changes. (Bug#13224)
1112
1113 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1114
1115 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1116 of called-interactively-p as well (bug#13237).
1117
1118 * view.el (view--enable, view--disable): Rename from view-mode-enable
1119 and view-mode-disable and assume it's called from view-mode.
1120 (view-mode-enable, view-mode-disable): Redefine as obsolete
1121 compatibility layer above view-mode.
1122 (view-mode-enter): Call `view-mode'.
1123
1124 * files.el (after-find-file): Call `view-mode'.
1125
1126 * doc-view.el (doc-view-scale-internally): New var.
1127 (doc-view-enlarge, doc-view-insert-image): Obey it.
1128
1129 2013-01-03 Daiki Ueno <ueno@gnu.org>
1130
1131 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1132 exist. (Bug#13344)
1133
1134 2013-01-03 Glenn Morris <rgm@gnu.org>
1135
1136 * mail/rmail.el (rmail-set-header-1): Ignore case.
1137 Handle multi-line headers. (Bug#13330)
1138
1139 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1140 Handle paragraph starting at beginning of buffer.
1141
1142 * subr.el (eval-after-load): Don't purecopy the form, so that it
1143 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1144
1145 * emacs-lisp/byte-run.el (defun): Place cl declarations
1146 after any interactive spec. (Bug#13265)
1147
1148 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1149
1150 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1151 defun. Don't check for DECL if DOCSTRING isn't a string.
1152 (defun): Likewise.
1153
1154 2013-01-02 Glenn Morris <rgm@gnu.org>
1155
1156 * eshell/em-cmpl.el (eshell-pcomplete):
1157 More thoroughly imitate pcomplete. (Bug#13293)
1158
1159 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1160 Return nil for empty path elements. (Bug#13296)
1161
1162 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1163
1164 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1165 order to improve efficiency (Based on Daniel Colascione's
1166 <dancol@dancol.org> patch). (Bug#13182)
1167
1168 2013-01-02 Glenn Morris <rgm@gnu.org>
1169
1170 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1171
1172 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1173
1174 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1175 neither DOCSTRING nor DECL was given. (Bug#13316)
1176
1177 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1178
1179 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1180 `error' call.
1181 (tramp-do-copy-or-rename-file): Ignore errors when calling
1182 `set-file-extended-attributes'.
1183
1184 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1185 Add handler for `file-acl'.
1186 (tramp-smb-handle-file-acl): New defun.
1187
1188 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1189
1190 * calc/README: Mention ISO 8601 week-numbering dates.
1191
1192 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1193
1194 * view.el (view-mode-enable): New argument run-view-mode-hook.
1195 Run view-mode-hook only when it's non-nil (Bug#13315).
1196 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1197 argument t.
1198
1199 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1200
1201 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1202 (No device connected, invalid device name). (Bug #13299)
1203
1204 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1205
1206 * window.el (window-resizable--p): Rename to window-resizable-p.
1207 (window-resize-no-error): New function.
1208
1209 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1210 broken in fix from 2012-12-28.
1211
1212 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1213
1214 * subr.el (special-form-p): Don't signal errors on undef aliases.
1215
1216 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1217
1218 * calc/calc-forms.el (math-parse-date): Try using
1219 `math-parse-iso-date' when it looks like it might be needed.
1220 Allow times of 24:00.
1221 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1222 of 24:00.
1223
1224 2012-12-30 Glenn Morris <rgm@gnu.org>
1225
1226 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1227 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1228 (rmail-summary-displayed, rmail-summary): Declare.
1229 (mairix-rmail-display): Just require rmail.
1230
1231 2012-12-30 Chong Yidong <cyd@gnu.org>
1232
1233 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1234 check for the tarball contents.
1235
1236 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1237
1238 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1239 tarfile content listings (Bug#13136).
1240
1241 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1242
1243 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1244 Insert the undecoded text of the message being forwarded. (Bug#9521)
1245
1246 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1247
1248 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1249 integers, if they are real numbers. (Bug#13282)
1250
1251 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1252 Return `t' on success.
1253
1254 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1255 Add handler for `set-file-selinux-context'.
1256
1257 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1258
1259 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1260 (tramp-sh-handle-set-file-acl): Return `t' on success.
1261
1262 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1263
1264 * files.el (backup-buffer-copy, basic-save-buffer-2):
1265 If set-file-extended-attributes fails, fall back on set-file-modes
1266 instead of signaling an error. (Bug#13298)
1267 (basic-save-buffer): Likewise.
1268
1269 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1270
1271 * progmodes/python.el: Support other commands triggering
1272 python-indent-line so indentation cycling continues to work.
1273 (python-indent-trigger-commands): New defcustom.
1274 (python-indent-line): Use it.
1275
1276 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1277
1278 * progmodes/python.el (python-shell-send-region): Add blank lines
1279 for non sent code so backtraces remain correct.
1280
1281 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1282
1283 * progmodes/python.el: Remove cl dependency.
1284 (python-syntax-count-quotes): Replace incf call.
1285 (python-fill-string): Replace setf call.
1286
1287 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1288
1289 * info.el (info-other-window): New arg, for consistency with info.
1290
1291 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1292
1293 * mail/rmail.el (rmail-maybe-display-summary):
1294 Rewrite (Bug#13066).
1295
1296 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1297
1298 * epg.el (epg--start): Modify process-environment locally.
1299
1300 2012-12-28 Daiki Ueno <ueno@gnu.org>
1301
1302 * epg.el: Support pinentry-curses.
1303 Suggested by Werner Koch in
1304 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1305 (epg-agent-file, epg-agent-mtime): New variable.
1306 (epg--start): Record the modified time of gpg-agent socket file,
1307 to restore Emacs frame after pinentry-curses termination.
1308 (epg-wait-for-completion): Restore Emacs frame here.
1309
1310 2012-12-27 Juri Linkov <juri@jurta.org>
1311
1312 * info.el (Info-file-completions): New variable.
1313 (Info-read-node-name-1): Complete node names in the Info file
1314 when a file name is given. Call `Info-build-node-completions'
1315 with a file name.
1316 (Info-build-node-completions): Add new arg `file'. When it is
1317 non-nil, visit it in a temporary buffer and cache its completions in
1318 `Info-current-file-completions'. Move most of the function body to
1319 `Info-build-node-completions-1'.
1320 (Info-build-node-completions-1): New function with the body from
1321 `Info-build-node-completions'. (Bug#12456)
1322
1323 2012-12-27 Juri Linkov <juri@jurta.org>
1324
1325 * frame.el (frame-maximization-style): Remove user option.
1326 (cycle-frame-maximized): Remove function.
1327 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1328 (toggle-frame-fullscreen): New command bound to <f11> instead of
1329 `toggle-frame-maximized'.
1330 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1331
1332 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1333
1334 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1335
1336 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1337 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1338 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1339 for `file-accessible-directory-p'. (Bug#13275)
1340
1341 2012-12-27 Sam Steingold <sds@gnu.org>
1342
1343 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1344 continuations, see <http://stackoverflow.com/questions/3582436>.
1345
1346 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
1347
1348 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1349 "module" and "def" to have indentation before them.
1350 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1351
1352 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1353
1354 2012-12-27 Alan Mackenzie <acm@muc.de>
1355
1356 Speed up fontification where there's large brace blocks.
1357 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1358 to a call of c-beginning-of-decl-1.
1359
1360 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1361
1362 * comint.el (comint-adjust-window-point): New function.
1363 (comint-postoutput-scroll-to-bottom):
1364 Call comint-adjust-window-point (Bug#13248).
1365
1366 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1367
1368 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1369 Rakefile regexp.
1370 (auto-mode-alist): Associate .gemspec files with ruby-mode
1371 (https://bugs.ruby-lang.org/issues/5453).
1372
1373 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1374
1375 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1376 Suppress coloring, if possible (required for BusyBox based systems like
1377 CyanogenMod).
1378 (tramp-adb-handle-file-attributes)
1379 (tramp-adb-handle-insert-directory)
1380 (tramp-adb-handle-file-name-all-completions): Use it.
1381 (tramp-adb-get-toolbox): New defun. Check for remote shell
1382 implementation (BusyBox or Toolbox).
1383
1384 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1385
1386 * startup.el (initial-buffer-choice): Allow function as value
1387 (Bug#13251).
1388 (command-line-1): Handle case where initial-buffer-choice
1389 specifies a function.
1390 * server.el (server-execute): Handle case where
1391 initial-buffer-choice specifies a function.
1392
1393 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1394
1395 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1396 its own function.
1397 (smtpmail-try-auth-methods): Forget the user name/password if the
1398 login is unsuccessful (bug#12424).
1399
1400 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
1401
1402 * notifications.el (notifications-notify): Protect body with
1403 `with-demoted-errors'.
1404
1405 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1406 Check properties of remote device. Restart connection, if there is a
1407 change.
1408
1409 2012-12-21 Chong Yidong <cyd@gnu.org>
1410
1411 * sort.el (sort-subr): Doc fix (Bug#13056).
1412
1413 2012-12-21 Bastien Guerry <bzg@gnu.org>
1414
1415 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1416
1417 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
1418
1419 * simple.el (process-file): Overwrite stderr file, if exists.
1420
1421 2012-12-21 Daiki Ueno <ueno@gnu.org>
1422
1423 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1424 (epg-error): Set `error-message' property.
1425
1426 2012-12-21 Chong Yidong <cyd@gnu.org>
1427
1428 * international/mule-cmds.el (read-char-by-name): Signal an error
1429 if the user does not supply a valid character (Bug#13177).
1430
1431 * simple.el (transpose-subr-1): Preserve marker positions by
1432 changing the insertion sequence (Bug#13122).
1433
1434 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1435
1436 * simple.el (kill-region): Deactivate mark even for empty regions
1437 (Bug#13169).
1438
1439 2012-12-21 Chong Yidong <cyd@gnu.org>
1440
1441 * help-fns.el (describe-variable): Make sure we get the right
1442 buffer name (Bug#13105). Suggested by Kelly Dean.
1443
1444 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1445
1446 * comint.el (comint-redirect-previous-input-string): New variable.
1447 (comint-redirect-setup, comint-redirect-cleanup)
1448 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1449 (comint-redirect-preoutput-filter): Fix verbose message.
1450
1451 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
1452
1453 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1454 is too long for Tramp. See discussion in
1455 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1456
1457 * progmodes/compile.el (compilation-start): Remove line escape
1458 template.
1459
1460 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1461
1462 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1463 Adjust comment.
1464
1465 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1466
1467 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1468 following non-comment text (bug#13207).
1469 (lm-header-multiline): Continuation lines need to be indented more than
1470 the first line.
1471 (lm-homepage): New function.
1472 (lm-with-file): Don't be confused if narrowing is in effect.
1473
1474 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1475
1476 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1477 very beginning of a hunk (e.g. killing the first line).
1478
1479 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
1480
1481 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1482 and text properties from returned ACL string.
1483 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1484 for "setfacl" command.
1485
1486 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
1487
1488 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1489 `tramp-cleanup-this-connection', when the process has died.
1490 (Bug#13151)
1491
1492 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1493
1494 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1495
1496 2012-12-17 Kevin Ryde <user42@zip.com.au>
1497
1498 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1499
1500 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
1501
1502 Add support for preserving ACL entries of files.
1503
1504 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1505 `set-file-acl' handlers.
1506
1507 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1508 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1509
1510 * net/tramp-compat.el (tramp-compat-copy-file):
1511 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1512
1513 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1514 Add `file-acl' and `set-file-acl' handlers.
1515 (tramp-gvfs-handle-copy-file):
1516 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1517 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1518 New defuns.
1519
1520 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1521 Add `file-acl' and `set-file-acl' handlers.
1522 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1523 (tramp-sh-handle-set-file-acl): New defuns.
1524 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1525 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1526
1527 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1528 Add `file-acl' and `set-file-acl' handlers.
1529 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1530
1531 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1532
1533 * help-macro.el (make-help-screen): Instead of switch-to-buffer
1534 use pop-to-buffer with NORECORD argument t. As buffer name, use
1535 *Metahelp* with a leading space (Bug#13190).
1536
1537 2012-12-16 Romain Francoise <romain@orebokech.com>
1538
1539 * files.el (file-extended-attributes)
1540 (set-file-extended-attributes): New functions.
1541 (backup-buffer): Use them to handle both SELinux context and ACL
1542 entries.
1543 (backup-buffer-copy): Work with an alist of extended attributes,
1544 rather than an SELinux context.
1545 (basic-save-buffer-2): Ditto.
1546
1547 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1548
1549 * battery.el (battery-bsd-apm): New function.
1550
1551 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1552
1553 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1554 standard date formats.
1555
1556 2012-12-15 Juri Linkov <juri@jurta.org>
1557
1558 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1559 `isearch-insert-char-by-name'.
1560 (with-isearch-suspended): New defmacro with body mostly from
1561 `isearch-edit-string' except the part that sets
1562 `isearch-new-string' and `isearch-new-message'.
1563 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1564 body that sets `isearch-new-string' and `isearch-new-message'.
1565 (isearch-insert-char-by-name): New command.
1566 * international/mule-cmds.el (read-char-by-name): Let-bind
1567 `enable-recursive-minibuffers' to t.
1568 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1569
1570 2012-12-15 Juri Linkov <juri@jurta.org>
1571
1572 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1573 (Bug#13175)
1574
1575 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1576
1577 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1578 the prompt. (Bug#13045)
1579
1580 2012-12-14 Glenn Morris <rgm@gnu.org>
1581
1582 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1583 Try to include filename in non-bytecomp warning. (Bug#13132)
1584
1585 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1586
1587 Fix permissions bugs with setgid directories etc. (Bug#13125)
1588 * files.el (backup-buffer): Don't rely on 9th output of
1589 file-attributes, as it's now a placeholder. Instead, use the new
1590 optional arg of file-ownership-preserved-p.
1591 (file-ownership-preserved-p): New optional arg GROUP.
1592 Fix mishandling of setuid directories that would cause this
1593 function to return t when it should have returned nil.
1594 Document what happens if the file does not exist, and when
1595 it's not known whether the ownership will be preserved.
1596 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1597 Likewise.
1598 (tramp-get-local-gid): Use group-gid for integer, as that's
1599 faster and more reliable.
1600
1601 2012-12-14 Julien Danjou <julien@danjou.info>
1602
1603 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1604 Update keywords list, data type and PL/pgSQL.
1605
1606 2012-12-14 Dave Abrahams <dave@boostpro.com>
1607
1608 * vc/ediff-util.el (ediff-buffer-type): New function.
1609 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1610 rather than taking it as as argument.
1611 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1612
1613 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1614
1615 * json.el: Add pretty-print option (bug#12634).
1616 (json-encoding-separator, json-encoding-default-indentation)
1617 (json--encoding-current-indentation, json-encoding-pretty-print)
1618 (json-encoding-lisp-style-closings): New vars.
1619 (json--with-indentation): New macro.
1620 (json-encode-hash-table, json-encode-alist, json-encode-plist)
1621 (json-encode-array): Use it to obey json-encoding-pretty-print.
1622 (json-pretty-print-buffer, json-pretty-print): New commands.
1623
1624 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
1625
1626 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1627 Extract `ruby-syntax-propertize-expansions'.
1628 (ruby-syntax-propertize-expansions): Only change syntax on
1629 certain string delimiters, to punctuation. This way the common
1630 functions like forward-word and thing-at-point still work.
1631 (ruby-match-expression-expansion): Improve readability.
1632 (ruby-block-contains-point): New function.
1633 (ruby-add-log-current-method): Handle several edge cases.
1634
1635 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
1636
1637 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1638 unload-feature finishes even when aborting an ongoing edebug session.
1639 Also, do not worry about edebug-mode, unload-feature takes care of it.
1640
1641 2012-12-13 Andreas Schwab <schwab@suse.de>
1642
1643 * net/tls.el (tls-program): Update customize type.
1644
1645 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
1646
1647 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1648 (edebug-setup-hook, cl-read-load-hooks): Use it.
1649 (edebug-unload-function): New function. (Bug#13163)
1650
1651 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
1652
1653 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1654 Otherwise, there could be errors in autoloading. (Bug#13151)
1655
1656 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
1657
1658 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1659 sequences.
1660
1661 2012-12-13 Alan Mackenzie <acm@muc.de>
1662
1663 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
1664 * progmodes/cc-engine.el (c-backward-comments): Add code to work
1665 around `forward-comment' not recognizing ^M as whitespace.
1666
1667 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
1668
1669 * progmodes/python.el (python-skeleton-class)
1670 (python-skeleton-def): Do not add space after defun name.
1671
1672 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1673
1674 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1675 (cl--symbol-function): Remove (now that funbound is like nil).
1676
1677 2012-12-12 Glenn Morris <rgm@gnu.org>
1678
1679 * button.el (button--area-button-p): Fix typo.
1680
1681 2012-12-12 Sam Steingold <sds@gnu.org>
1682
1683 * frame.el (frame-maximization-style): New user option.
1684 (toggle-frame-maximized): Toggle frame maximization according to
1685 `frame-maximization-style', bound to <f11>.
1686 (cycle-frame-maximized): Cycle between all maximization styles and
1687 non-maximized frame, bound to shift-<f11>.
1688
1689 2012-12-12 David Cadé <codename68@gmail.com>
1690
1691 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1692
1693 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1694
1695 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1696 (eieio-override-prin1): Don't quote kewords and booleans.
1697 (object-write) <eieio-default-superclass>: Don't put closing parens
1698 on new line, avoid needless empty lines, align values that are objects
1699 with the slot keyword (instead of beginning on the same line).
1700 (eieio-list-prin1): Align value with slot keyword; increase
1701 eieio-print-depth before printing members of the list.
1702
1703 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1704
1705 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1706 a display text-property.
1707 (report-emacs-bug-hook): Don't bother deleting it any more.
1708
1709 * hilit-chg.el (highlight-save-buffer-state): Delete.
1710 Use with-silent-modifications instead.
1711 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1712
1713 * button.el: Handle buttons in display text-properties.
1714 (button--area-button-p, button--area-button-string):
1715 Use (STRING . STRING-POS) representation instead of just STRING.
1716
1717 2012-12-11 Eli Zaretskii <eliz@gnu.org>
1718
1719 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1720 subdirectory be skipped.
1721
1722 2012-12-11 Glenn Morris <rgm@gnu.org>
1723
1724 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1725
1726 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1727 Treat preprocessor lines embedded in continuations like comments.
1728 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
1729
1730 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
1731
1732 * calc/calc.el (calc-standard-date-formats): Add more date
1733 formats.
1734 * calc/calc-forms.el (math-parse-iso-date): New function.
1735 (math-parse-date): Use `math-parse-iso-date' when appropriate.
1736 (math-parse-iso-date-validate): Add extra error checking.
1737 (calc-date-notation): Add ability to access new date formats.
1738
1739 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1740
1741 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1742 font-lock as well as when there's no text-property.
1743
1744 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
1745
1746 * hi-lock.el: Refine the choice of default face.
1747 (hi-lock-keyword->face): New function. Use it wherever we used
1748 cadadadr instead.
1749 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1750 (hi-lock--last-face): Remove var.
1751 (hi-lock--unused-faces): New var to replace it.
1752 (hi-lock-read-face-name): Use/maintain it.
1753 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
1754 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1755 if it has another face.
1756
1757 2012-12-10 Eli Zaretskii <eliz@gnu.org>
1758
1759 * subr.el (w32notify-handle-event): New function.
1760 (inotify-handle-event): Doc fix.
1761
1762 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1763
1764 * subr.el (inotify-event-p, inotify-handle-event): New functions.
1765
1766 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
1767
1768 * simple.el (just-one-space): Doc fix.
1769
1770 2012-12-10 Eli Zaretskii <eliz@gnu.org>
1771
1772 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
1773
1774 2012-12-10 Le Wang <l26wang@gmail.com>
1775
1776 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1777 narrowed buffer (bug#12361).
1778
1779 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
1780
1781 * vc/vc-hooks.el (vc-state): Doc fix.
1782
1783 2012-12-10 Glenn Morris <rgm@gnu.org>
1784
1785 * mail/rmail.el (rmail-maybe-display-summary):
1786 Preserve buffer, in case select-window changes it. (Bug#13066)
1787
1788 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1791 cl-load-hook where they belong.
1792
1793 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1796
1797 2012-12-09 Eli Zaretskii <eliz@gnu.org>
1798
1799 Parallelize byte compilation on MS-Windows.
1800 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
1801 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
1802 (WINS_BASIC): Define as concatenation of the above.
1803 (compile): Subdivide into 4 separate and independent jobs that can
1804 be run in parallel.
1805 (compile0-CMD, compile0-SH): New targets for compiling
1806 COMPILE_FIRST files, which are prerequisites for the rest of the
1807 byte-compilation.
1808 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1809 New targets for parallel compilation with cmd.exe.
1810 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1811 compiling under a Unixy shell.
1812
1813 2012-12-09 Chong Yidong <cyd@gnu.org>
1814
1815 * simple.el (set-mark-default-inactive): Delete this
1816 accidentally-introduced option.
1817 (set-mark-command, exchange-point-and-mark): Remove calls.
1818
1819 2012-12-09 Glenn Morris <rgm@gnu.org>
1820
1821 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1822 Respect a defcustom's :set function, if appropriate. (Bug#109)
1823 (eval-defun): Doc fix.
1824
1825 2012-12-08 Juri Linkov <juri@jurta.org>
1826
1827 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1828 (Info-fontify-node, Info-bookmark-make-record): Remove the
1829 file extension from Info-current-file (Bug#13016).
1830
1831 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1832
1833 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1834 point, still provide some default.
1835 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1836 names, since we don't use it right now. Actually return the list.
1837 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1838
1839 2012-12-07 Chong Yidong <cyd@gnu.org>
1840
1841 * novice.el (disabled-command-function): Remove a spurious help
1842 xref (Bug#13043). Suggested by Kelly Dean.
1843
1844 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1845 syntax is specified (Bug#13025).
1846
1847 * info.el (Info-set-mode-line): Remove the file extension from
1848 Info-current-file if there is one (Bug#13016).
1849
1850 2012-12-07 Glenn Morris <rgm@gnu.org>
1851
1852 * mail/rmail.el (rmail-mime-decoded): New permanent local.
1853 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1854 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1855 and rmail-mime-decoded. (Bug#9841)
1856
1857 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
1858 (batch-unrmail, unrmail): Doc fixes.
1859 (unrmail): Respect unrmail-mbox-format.
1860 * mail/rmail.el (rmail-mbox-format): New option.
1861 (rmail-show-message-1): Respect rmail-mbox-format.
1862
1863 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1864
1865 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1866
1867 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1868
1869 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
1870 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
1871 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
1872 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1873 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1874 (cl-progv): Don't rely on dynamic scoping to find the body.
1875 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1876 (cl--proclaims-deferred): Rename from the "cl-" prefix.
1877 (cl-declaim): Use backquotes.
1878 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1879 Use "cl--" prefix for the object's tag.
1880
1881 * ses.el: Use advice-add/remove.
1882 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1883 (copy-region-as-kill, yank): Use advice-add.
1884 (ses-unload-function): Use advice-remove.
1885
1886 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
1887
1888 * button.el: Make them work in header-lines (bug#12817).
1889 (button-map): Add bindings for header-line and mode-line use.
1890 (button-get, button-put, button-label): `button' may now be a string.
1891 (button-activate): Don't make it a defsubst.
1892 (button--area-button-p, button--area-button-string): New functions.
1893 (make-text-button): Fix the return value when `beg' was a string.
1894 (push-button): Handle the mode-line case.
1895
1896 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1897
1898 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1899 (sql-signum): Remove. Use `cl-signum' instead.
1900 (sql-read-passwd): Remove; use read-passwd instread.
1901 (sql-get-login-ext): Use read-string.
1902 (sql-get-login): Use dolist and pcase.
1903 (sql--completion-table): Rename from sql-try-completion.
1904 Use complete-with-action.
1905 (sql-mode): Don't change abbrev-all-caps globally.
1906 (sql-connect): Don't rely on dynamic scoping for `new-name'.
1907 (sql-postgres-completion-object): Initialize vars in their `let'.
1908 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1909 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1910 (sql-comint-interbase): Use a single append, without setq.
1911 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1912
1913 * hi-lock.el: Rework the default face and the serialize regexp code.
1914 (hi-lock--auto-select-face-defaults): Remove.
1915 (hi-lock-string-serialize-serial): Remove.
1916 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
1917 make weak.
1918 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
1919 equal string.
1920 (hi-lock-set-pattern): Adjust accordingly.
1921 (hi-lock--regexps-at-point): Simplify accordingly.
1922 (hi-lock--auto-select-face-defaults): Remove.
1923 (hi-lock--last-face): New var to replace it.
1924 (hi-lock-read-face-name): Rewrite (bug#11095).
1925 (hi-lock-unface-buffer): Arrange for the face to be the next default.
1926
1927 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
1928
1929 * net/tramp.el (tramp-replace-environment-variables):
1930 Hide compiler warning.
1931 (tramp-file-name-for-operation): Remove `executable-find',
1932 `start-process', `call-process' and `call-process-region'.
1933
1934 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
1935
1936 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
1937 compatibility.
1938
1939 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
1940
1941 2012-12-06 Chong Yidong <cyd@gnu.org>
1942
1943 * ffap.el (ffap-replace-file-component): Fix typo.
1944
1945 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1946
1947 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1948 fix open-paren-like token test (bug#12785).
1949
1950 2012-12-06 Glenn Morris <rgm@gnu.org>
1951
1952 * mail/rmailsum.el (rmail-new-summary): Tweak for
1953 rmail-maybe-display-summary changing buffer. (Bug#13066)
1954
1955 2012-12-06 Juri Linkov <juri@jurta.org>
1956
1957 * info.el (Info-fontify-node): Don't hide the last newline.
1958 (Bug#12272)
1959
1960 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
1961
1962 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1963 so as to enable message-read-from-minibuffer to expand mail aliases.
1964
1965 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1966
1967 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1968 the `intangible' property.
1969 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1970
1971 2012-12-05 Deniz Dogan <deniz@dogan.se>
1972
1973 * net/rcirc.el (rcirc-urls): Update documentation.
1974 (rcirc-condition-filter): New function.
1975 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1976 and exclude consecutive duplicate URLs (Bug#6082).
1977
1978 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
1979
1980 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1981 Check return code of copy command.
1982
1983 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1984 Use group `tramp'. Add version.
1985
1986 2012-12-05 Chong Yidong <cyd@gnu.org>
1987
1988 * ffap.el (ffap-url-regexp): Don't require matching at front of
1989 string (Bug#4952).
1990 (ffap-url-p): If only a substring matches, return that.
1991 (ffap-url-at-point): Use the return value of ffap-url-p.
1992 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1993 (find-file-at-point, dired-at-point, dired-at-point-prompter)
1994 (ffap-guess-file-name-at-point): Likewise.
1995 (ffap-replace-file-component): Fix typo.
1996
1997 * info.el (info-display-manual): Add existing Info buffers, whose
1998 files may not be in Info-directory-list, to the completion.
1999 (info--manual-names): New helper function.
2000
2001 2012-12-05 Glenn Morris <rgm@gnu.org>
2002
2003 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2004 New functions, for detecting and resolving conflicts. (Bug#10709)
2005
2006 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2007
2008 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2009 (hi-lock-auto-select-face-defaults): New buffer local variable.
2010 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2011 (hi-lock-unface-buffer): Prompt user with useful defaults.
2012 With prefix arg, unhighlight all hi-lock patterns in buffer.
2013
2014 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2015
2016 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2017
2018 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2019
2020 * Makefile.in (TRAMP_SRC):
2021 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2022
2023 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2024
2025 * net/tramp-adb.el: New package.
2026
2027 2012-12-04 Chong Yidong <cyd@gnu.org>
2028
2029 * terminal.el: Move to obsolete/.
2030
2031 * longlines.el: Move to obsolete/.
2032
2033 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2034 Remove code referring to longlines mode.
2035
2036 2012-12-03 Juri Linkov <juri@jurta.org>
2037
2038 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2039
2040 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2041
2042 * textmodes/ispell.el (ispell-init-process)
2043 (ispell-start-process, ispell-internal-change-dictionary):
2044 Make sure personal dictionary name is expanded after initial
2045 `default-directory' value. Use expanded strings for
2046 keep/restart checks and for value (Bug#13019).
2047
2048 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2049
2050 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2051
2052 2012-12-03 Leo Liu <sdl.web@gmail.com>
2053
2054 * files.el (dir-locals-read-from-file): Check file non-empty
2055 before reading. (Bug#13038)
2056
2057 2012-12-03 Glenn Morris <rgm@gnu.org>
2058
2059 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2060 Remove any version extension before checking filename. (Bug#13006)
2061 (jka-compr-compression-info-list): Belated :version bump.
2062
2063 2012-12-03 Chong Yidong <cyd@gnu.org>
2064
2065 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2066
2067 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2068 (buffer-menu): Doc fix (Bug#12294).
2069
2070 2012-12-03 Roland Winkler <winkler@gnu.org>
2071
2072 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2073 of diary-show-all-entries in the diary buffer (Bug#12994).
2074
2075 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2076
2077 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2078 "<STDIN>". This is binary safe.
2079
2080 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2081
2082 * calc/calc-forms.el (math-absolute-from-iso-dt)
2083 (math-date-to-iso-dt, math-parse-iso-date-validate)
2084 (math-iso-dt-to-date): New functions.
2085 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2086 (math-fd-isoweekday): New variables.
2087 (calc-date-notation, math-parse-standard-date, math-format-date)
2088 (math-format-date-part): Add support for more formatting codes.
2089
2090 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2091
2092 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2093 current buffer's file name when called interactively (Bug#12488).
2094
2095 2012-12-02 Juri Linkov <juri@jurta.org>
2096
2097 * info.el (info-display-manual): Don't clobber an existing Info
2098 buffer (Bug#10770). Add completion (Bug#10771).
2099
2100 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2101
2102 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2103 before using it for comparison (Bug#5297).
2104
2105 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2106
2107 * textmodes/css-mode.el (css-current-defun-name): New function.
2108 (css-mode): Use it.
2109
2110 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2111 (html-mode): Use it.
2112
2113 2012-12-01 Chong Yidong <cyd@gnu.org>
2114
2115 Modularize add-log-current-defun (Bug#2224).
2116 Suggested by Jari Aalto.
2117
2118 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2119 (add-log-current-defun): Move mode-specific code to other files.
2120 (add-log-lisp-like-modes, add-log-c-like-modes)
2121 (add-log-tex-like-modes): Variables deleted.
2122
2123 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2124 (lisp-mode-variables): Use it.
2125
2126 * progmodes/cc-mode.el (c-common-init):
2127 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2128 add-log-current-defun-function.
2129
2130 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2131 (m4-mode): Use it.
2132
2133 * progmodes/perl-mode.el (perl-current-defun-name): New.
2134 (perl-mode): Use it.
2135
2136 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2137 Use lisp-current-defun-name.
2138
2139 * textmodes/tex-mode.el (tex-current-defun-name): New.
2140 (tex-common-initialization): Use it.
2141
2142 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2143 (texinfo-mode): Use it.
2144
2145 2012-12-01 Chong Yidong <cyd@gnu.org>
2146
2147 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2148 * progmodes/autoconf.el (autoconf-mode):
2149 * progmodes/js.el (js-mode):
2150 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2151 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2152 * progmodes/perl-mode.el (perl-mode):
2153 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2154 * textmodes/css-mode.el (css-mode):
2155 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2156 (sgml-tags-invisible, sgml-guess-indent):
2157 * textmodes/tex-mode.el (tex-common-initialization)
2158 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2159 (doctex-mode, plain-tex-mode, latex-mode):
2160 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2161
2162 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2163
2164 * vc/vc-hg.el (vc-hg-next-revision):
2165 Ensure use of default "tip" output format. (Bug#6968)
2166
2167 2012-12-01 Kim F. Storm <storm@cua.dk>
2168
2169 * startup.el (fancy-startup-tail): Add a clickable link
2170 (Bug#2176).
2171
2172 2012-12-01 Chong Yidong <cyd@gnu.org>
2173
2174 * startup.el (fancy-startup-tail): Improve the message about
2175 auto-save files (Bug#2176).
2176
2177 * files.el (recover-session): Improve the descriptive message, and
2178 use substitute-command-keys.
2179
2180 2012-12-01 Glenn Morris <rgm@gnu.org>
2181
2182 * ido.el (ido-file-internal):
2183 Handle other-window, other-frame for dired. (Bug#13036)
2184
2185 2012-11-30 Glenn Morris <rgm@gnu.org>
2186
2187 * icomplete.el (icomplete-separator): Fix :version.
2188
2189 2012-11-30 Chong Yidong <cyd@gnu.org>
2190
2191 * shell.el (shell): For C-u M-x shell, use an inactive shell
2192 buffer as the default (Bug#1975).
2193 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2194 (shell-mode): Use them to reapply ansi colorization if Shell mode
2195 is re-enabled.
2196
2197 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2198
2199 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2200
2201 2012-11-30 Samuel Bronson <naesten@gmail.com>
2202
2203 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2204 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2205
2206 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2207
2208 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2209 by move-to-column (Bug#3234).
2210
2211 2012-11-30 Chong Yidong <cyd@gnu.org>
2212
2213 * longlines.el (longlines-wrap-line, longlines-encode-region):
2214 Preserve text properties (Bug#1425).
2215
2216 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2217
2218 * vc/vc.el (vc-register): Allow registering a file which is
2219 already registered with a different backend (Bug#10589).
2220
2221 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2222 Stefan Monnier <monnier@iro.umontreal.ca>
2223
2224 * icomplete.el: Change separator; add ido-style commands.
2225 (icomplete-show-key-bindings): Remove custom var.
2226 (icomplete-get-keys): Remove function.
2227 (icomplete-forward-completions, icomplete-backward-completions):
2228 New commands.
2229 (icomplete-minibuffer-map): New var.
2230 (icomplete-minibuffer-setup): Use it.
2231 (icomplete-exhibit): Don't delay if the list of completions is known.
2232 (icomplete-separator): New custom.
2233 (icomplete-completions): Use it.
2234 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2235 (minibuffer-force-complete-and-exit): New command.
2236 (minibuffer--complete-and-exit): New function extracted from
2237 minibuffer-complete-and-exit.
2238 (minibuffer-complete-and-exit): Use it.
2239
2240 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2241 error message when the file doesn't exist (bug#12974).
2242
2243 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2244
2245 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2246
2247 2012-11-29 Glenn Morris <rgm@gnu.org>
2248
2249 * files.el (hack-dir-local-variables): Warn if try to set
2250 coding via dir-locals, since it doesn't work. (Bug#7169)
2251
2252 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2253 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2254 Set buffer-local value of desktop-save-buffer.
2255 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2256 New functions.
2257 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2258 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2259
2260 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2261 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2262 Doc fix.
2263 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2264 Doc fixes.
2265
2266 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2267
2268 * calc/calc-forms.el (calc-date-notation): Fix regexp
2269 used to find time codes. Fix symbol for seconds.
2270
2271 2012-11-27 Glenn Morris <rgm@gnu.org>
2272
2273 * emacs-lisp/derived.el (derived-mode-make-docstring):
2274 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2275
2276 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2277
2278 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2279 lexically scoped variables (bug#13005).
2280
2281 2012-11-27 Glenn Morris <rgm@gnu.org>
2282
2283 * vc/vc-hooks.el (vc-mistrust-permissions):
2284 Default to t, to avoid data-loss. (Bug#11490)
2285
2286 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2287
2288 * progmodes/python.el (python-indent-guess-indent-offset):
2289 If indentation is guessed make python-indent-offset buffer-local.
2290
2291 Fix Imenu regression.
2292 * progmodes/python.el (python-nav-beginning-of-defun):
2293 Fix forward movement when statement(s) separates point from defun.
2294 (python-imenu-prev-index-position): New function.
2295
2296 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2297
2298 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2299
2300 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2301 Don't set buffer-file-type. Return nil. (Bug#12989)
2302
2303 2012-11-27 Glenn Morris <rgm@gnu.org>
2304
2305 * hippie-exp.el (hippie-expand-try-functions-list):
2306 Re-autoload it. (Bug#12982)
2307
2308 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2309
2310 * descr-text.el (describe-char-padded-string):
2311 Call internal-char-font only on GUI frames. (Bug#11964)
2312
2313 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2314
2315 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2316 and obsoletion message.
2317
2318 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2319
2320 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2321 the constructs to keep outside of the `cl-block' (bug#12977).
2322
2323 2012-11-27 Chong Yidong <cyd@gnu.org>
2324
2325 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2326 keep reading until we get the up-event anyway, in order to process
2327 the up-event for mouse-1-click-follows-link (Bug#12971).
2328
2329 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2330
2331 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2332 base function is not yet defined (bug#12965).
2333 (ad-activate-advised-definition): Use ad-compile-function.
2334 (ad-activate): Use cond.
2335
2336 2012-11-25 Leo Liu <sdl.web@gmail.com>
2337
2338 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2339 (Bug#12979)
2340
2341 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2342
2343 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2344 reftex-section-info-function in order to be compatible with
2345 Texinfo integration.
2346
2347 * textmodes/reftex.el (reftex-section-pre-regexp)
2348 (reftex-section-post-regexp, reftex-section-info-function):
2349 New variable.
2350 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2351 reftex-section-post-regexp, and reftex-section-info-function in order
2352 to be compatible with Texinfo integration.
2353
2354 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2355 use reftex-section-pre-regexp variable in order to be compatible with
2356 Texinfo integration.
2357
2358 2012-11-25 Chong Yidong <cyd@gnu.org>
2359
2360 * faces.el: Make face-spec-set more analogous to setq.
2361 (face-spec-set): Change the third arg to specify whether this
2362 function is being called via defface, customize, or a third party.
2363 Set the appropriate symbol properties. Clear the override spec if
2364 setting via Custom. Initialize face if necessary. (Bug#4988)
2365 (face-spec-recalc): Allow theme faces to completely replace the
2366 defface spec, in the same way as custom faces (Bug#8454).
2367
2368 * cus-face.el (custom-declare-face): Move face initialization to
2369 face-spec-set.
2370 (custom-theme-set-faces): Don't initialize the face name here, as
2371 that is now done in face-spec-set.
2372
2373 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2374 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2375 Simplify by using the new arg to face-spec-set.
2376
2377 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2378 reset face-override-spec too, and use custom-declare-face.
2379
2380 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2381
2382 * term/ns-win.el (ns-initialize-window-system): Move creation of
2383 fontsets here (Bug#11964).
2384
2385 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2386
2387 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2388 cell renaming.
2389
2390 2012-11-24 Chong Yidong <cyd@gnu.org>
2391
2392 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2393 obsolete.
2394
2395 * custom.el (custom-theme-set-variables): Use a topological sort
2396 for ordering by custom dependencies (Bug#12952).
2397 (custom--sort-vars, custom--sort-vars-1): New functions.
2398
2399 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2400
2401 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2402 lexical-binding (bug#12938).
2403
2404 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
2405
2406 * image-mode.el (image-transform-check-size): Use assertions only
2407 for images of type imagemagick.
2408
2409 Otherwise no error, image-transform-fit-to-{width,height} is
2410 silently ignored, as before. Doc fix.
2411
2412 2012-11-24 Chong Yidong <cyd@gnu.org>
2413
2414 * faces.el (color-defined-p): Doc fix (Bug#12853).
2415
2416 2012-11-24 Juri Linkov <juri@jurta.org>
2417
2418 * dired.el (dired-mark): Add optional arg `interactive'.
2419 Check for `use-region-p' if `interactive' is non-nil.
2420 (dired-unmark, dired-flag-file-deletion): Add optional arg
2421 `interactive'. Call `dired-mark' with the arg `interactive'.
2422 (Bug#10624)
2423
2424 * wdired.el: Revert 2012-10-17 change partly and replace it with
2425 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2426 (wdired-finish-edit): Add marks for new file names to
2427 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2428 after `revert-buffer'.
2429 (wdired-do-renames): Remove calls to `dired-remove-file',
2430 `dired-add-file', `dired-add-entry'. (Bug#11795)
2431
2432 2012-11-24 Alan Mackenzie <acm@muc.de>
2433
2434 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2435
2436 Fix bugs in the state cache. Enhance a debugging mechanism.
2437 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2438 "brace at column zero" strategy for C++.
2439 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2440 (c-parse-state-point): New variable.
2441 (c-record-parse-state-state): Record old parse state with
2442 `copy-tree'. Record previous value of point.
2443 (c-debug-parse-state-double-cons): New debugging function.
2444 (c-debug-parse-state): Call the above new function.
2445 (c-toggle-parse-state-debug): Output a confirmatory message.
2446
2447 * progmodes/cc-mode.el (c-before-change, c-after-change):
2448 Call c-invalidate-state-cache from `c-before-change' instead of
2449 `c-after-change'.
2450
2451 2012-11-23 Chong Yidong <cyd@gnu.org>
2452
2453 * find-cmd.el (find-constituents): Add executable, ipath,
2454 readable, samefile, writable, daystart, regextype (Bug#12856).
2455
2456 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2457
2458 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2459
2460 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2461
2462 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2463 definition. This fixes a bootstrap failure.
2464 (calc-gregorian-switch): In menu, put dates before regions.
2465 This is easier to follow, lines up better in the menu, and lets us
2466 coalesce regions that switch at the same time. Give country
2467 names, not "Vatican", as that's better for non-expert users.
2468 Use names that are stable between the date of switch and now, e.g.,
2469 Bohemia and Moravia (which existed then and now) and not
2470 Czechoslovakia (which didn't exist then and doesn't exist now).
2471 What is now the U.S. mostly did not switch at the same time as
2472 Britain, so omit the U.S. Correct spelling of "Britain".
2473 Catholic Switzerland was too much of a mess, so omit it.
2474
2475 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2476
2477 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2478 after the variable is changed.
2479
2480 2012-11-21 Daniel Colascione <dancol@dancol.org>
2481
2482 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2483 in SQL declarations for font-lock.
2484 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2485
2486 2012-11-21 Glenn Morris <rgm@gnu.org>
2487
2488 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2489 (face-italic-p): Add optional argument "inherit".
2490
2491 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2492 Remove -p suffix from names, for consistency with other set-face-*.
2493 (set-face-inverse-video): Fix interactive spec.
2494 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2495 * textmodes/table.el (table--update-cell-face):
2496 Use set-face-inverse-video rather than now obsolete alias.
2497
2498 2012-11-21 Eli Zaretskii <eliz@gnu.org>
2499
2500 * simple.el (line-move): Don't call line-move-partial if
2501 scroll-conservatively is in effect. (Bug#12927)
2502
2503 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2504
2505 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2506 Fallback on completion-at-point rather than
2507 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2508 (eshell-cmpl-initialize): Setup completion-at-point.
2509
2510 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2511
2512 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2513
2514 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
2515
2516 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2517 are remote, check out-of-band property for both.
2518
2519 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2520
2521 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2522 code rewrite.
2523
2524 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
2525
2526 More minor time fixes.
2527 * calendar/time-date.el: Commentary fix.
2528 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2529 too much other code depends on (0 0) time stamps.
2530 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2531 Add a couple of FIXME comments.
2532
2533 Minor cleanup for times as lists of four integers.
2534 * files.el (dir-locals-directory-cache):
2535 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2536 Doc fixes.
2537 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2538 * ps-bdf.el (bdf-file-newer-than-time):
2539 Process four-integers time stamps, not two. Doc fixes.
2540
2541 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2542
2543 * uniquify.el (uniquify-managed): Use defvar-local.
2544 (rename-buffer, create-file-buffer): Advise with advice-add.
2545 (uniquify-unload-function): Unadvise accordingly.
2546
2547 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2548 (trace-buffer): Don't purecopy.
2549 (trace-entry-message, trace-exit-message): Add `context' arg.
2550 (trace--timer): New var.
2551 (trace-make-advice): Adjust for use in nadvice.
2552 Add `context' argument. Delay `display-buffer' via a timer.
2553 (trace-function-internal): Use advice-add.
2554 (trace--read-args): New function.
2555 (trace-function-foreground, trace-function-background): Use it.
2556 (trace-function): Rename to trace-function-foreground and redefine as
2557 an alias to that new name.
2558 (untrace-function, untrace-all): Adjust to the use of nadvice.
2559
2560 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2561
2562 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2563
2564 * subr.el (called-interactively-p-functions): New var.
2565 (internal--called-interactively-p--get-frame): New macro.
2566 (called-interactively-p, interactive-p): Rewrite in Lisp.
2567 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2568 (called-interactively-p-functions): Use it.
2569 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2570 (called-interactively-p-functions): Use it.
2571 * allout.el (allout-called-interactively-p): Don't assume
2572 called-interactively-p is a subr.
2573
2574 2012-11-20 Glenn Morris <rgm@gnu.org>
2575
2576 * profiler.el (profiler-report-mode-map): Add a menu.
2577 No need to bind `q' because we derive from special-mode.
2578 (profiler-report-find-entry): Handle calls from the menu-bar.
2579
2580 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2581
2582 * emacs-lisp/byte-run.el (defun-declarations-alist):
2583 Allow a compiler-macro to be a lambda expression.
2584
2585 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2586 eval-when-compile.
2587 (python-syntax-context): Add compiler-macro.
2588 (python-font-lock-keywords): Simplify with De Morgan.
2589
2590 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2591
2592 * files.el (load-file): Require match in minibuffer selection, as was
2593 the case in Emacs-20 before we changed the spec to allow .elc files
2594 (bug#12935).
2595
2596 * json.el: Don't require cl since we don't use it.
2597 * color.el: Don't require cl.
2598 (color-complement): `caddr' -> `nth 2'.
2599
2600 * calendar/time-date.el (time-to-seconds): De-obsolete.
2601
2602 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2603
2604 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2605 year numbers.
2606 (math-date-to-julian-dt): Adjust the initial approximation for the
2607 year to deal with the new definition of the DATE.
2608
2609 2012-11-19 Daniel Colascione <dancol@dancol.org>
2610
2611 * term/w32-win.el (cygwin-convert-path-from-windows):
2612 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
2613
2614 2012-11-18 Chong Yidong <cyd@gnu.org>
2615
2616 * filecache.el (file-cache--read-list): New function.
2617 (file-cache-add-directory-list, file-cache-add-file-list)
2618 (file-cache-delete-file-list, file-cache-delete-directory-list):
2619 Use it to read a list of files or directories (Bug#12846).
2620 (file-cache-add-file, file-cache-add-directory)
2621 (file-cache-delete-file-list, file-cache-delete-file-regexp)
2622 (file-cache-delete-directory): Print an message.
2623
2624 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
2625
2626 * calc/calc-forms.el (math-date-to-dt): Use integer date when
2627 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2628
2629 2012-11-18 Glenn Morris <rgm@gnu.org>
2630
2631 * image.el (insert-image, insert-sliced-image): Doc fix.
2632
2633 2012-11-18 Chong Yidong <cyd@gnu.org>
2634
2635 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2636 (Bug#12810).
2637
2638 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2639
2640 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2641 response when the target file is in a subdirectory (Bug#12757).
2642
2643 2012-11-18 Chong Yidong <cyd@gnu.org>
2644
2645 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2646
2647 2012-11-18 Glenn Morris <rgm@gnu.org>
2648
2649 * emacs-lisp/cl-lib.el (face-underline-p):
2650 Use set-face-underline rather than the alias set-face-underline-p.
2651
2652 * window.el (with-temp-buffer-window): Doc fix.
2653 * subr.el (with-output-to-temp-buffer):
2654 Add doc xref to with-temp-buffer-window.
2655
2656 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
2657
2658 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2659 * calc/calc.el (math-format-date-cache): Declare.
2660
2661 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2662
2663 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2664 It also uses January 1, 1 AD as its day number 1.
2665 * calc/calc-forms.el (math-julian-date-beginning)
2666 (math-julian-date-beginning-int): Implement this.
2667
2668 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
2669
2670 * descr-text.el (quail-find-key):
2671 * dired.el (desktop-file-name):
2672 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2673 * generic-x.el (comint-mode, comint-exec):
2674 * image-dired.el (widget-forward):
2675 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2676 (speedbar-change-expand-button-char)
2677 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2678 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2679 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2680 (widget-field-action, widget-value-set):
2681 * speedbar.el (imenu--make-index-alist):
2682 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2683 (ring-length, ring-insert):
2684 * vcursor.el (compare-windows-skip-whitespace):
2685 * woman.el (dired-get-filename):
2686 Declare functions.
2687
2688 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2689
2690 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2691
2692 * calc/calc.el (calc-gregorian-switch): New variable.
2693
2694 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2695 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2696 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2697 (math-leap-year-p): Add option to distinguish between Julian
2698 and Gregorian calendars.
2699 (math-day-number): Use `math-day-in-year' to do the computations.
2700 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2701 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2702 to do the computations.
2703 (math-date-to-dt): Use `math-date-to-julian-dt' and
2704 `math-date-to-gregorian-dt' to do the computations.
2705 (calcFunc-weekday, math-format-date-part): Use the new version of
2706 the DATE to determine the weekday.
2707 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2708 when necessary.
2709
2710 2012-11-17 Eli Zaretskii <eliz@gnu.org>
2711
2712 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2713 Cygwin; otherwise use 'file:'. (Bug#12914)
2714 (cygwin-convert-path-from-windows): Declare, to avoid
2715 byte-compiler warnings.
2716
2717 2012-11-17 Andreas Politz <politza@fh-trier.de>
2718
2719 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2720 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2721 prefix and negative numeric prefix args (Bug#12795).
2722
2723 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
2724
2725 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2726 Don't signal an error with a score that is too low to add to the
2727 list of top scores. (Bug#12779)
2728
2729 2012-11-17 Chong Yidong <cyd@gnu.org>
2730
2731 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2732
2733 * filecache.el (file-cache-add-file): Handle relative file name in
2734 the argument (Bug#12694).
2735
2736 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2737
2738 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2739
2740 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2743
2744 * emacs-lisp/cl-lib.el: Set more meaningful version number.
2745
2746 2012-11-16 Martin Rudalics <rudalics@gmx.at>
2747
2748 * window.el (enlarge-window, shrink-window): Don't mention return
2749 value in doc-string (Bug#12896).
2750 (window--display-buffer): Don't resize frames - it won't work
2751 with all window managers and defeat pop-up-frame-alist.
2752 (display-buffer-alist): In doc-string explain that CONDITION can
2753 be a function and which arguments are passed to it (Bug#12854).
2754 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
2755 expressions (Bug#12854).
2756 (display-buffer): Pass ACTION argument to
2757 display-buffer-assq-regexp.
2758
2759 2012-11-16 Glenn Morris <rgm@gnu.org>
2760
2761 * window.el (fit-frame-to-buffer-bottom-margin)
2762 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2763
2764 * faces.el (face-underline-p): Use face-attribute-specified-or.
2765
2766 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
2767
2768 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2769
2770 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2771
2772 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2773
2774 2012-11-16 Glenn Morris <rgm@gnu.org>
2775
2776 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
2777 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2778
2779 * faces.el (face-underline-p): Doc fix. Handle :underline being
2780 things other than `t' (a string, a list).
2781 (face-inverse-video-p): Doc fix.
2782 (set-face-underline): Rename it back from set-face-underline-p.
2783 Doc fix. Allow interactive input of values other than t.
2784 (read-face-attribute): Apply formatting to :underline,
2785 since like :box and :stipple it can take list values.
2786
2787 * term.el (ansi-term): Don't let C-x escape-char binding
2788 clobber the more standard C-c binding. (Bug#12842)
2789
2790 * subr.el (set-temporary-overlay-map): Doc fix.
2791
2792 2012-11-16 Martin Rudalics <rudalics@gmx.at>
2793
2794 * window.el (record-window-buffer)
2795 (display-buffer-record-window): When copying the markers to
2796 window-point preserve window-point-insertion-type. (Bug#12588)
2797
2798 2012-11-16 Glenn Morris <rgm@gnu.org>
2799
2800 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2801 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2802 Use new names for hooks rather than obsolete aliases.
2803
2804 2012-11-15 Daniel Colascione <dancol@dancol.org>
2805
2806 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
2807 prefix instead of "file:" so that when FILE-NAME begins with "//",
2808 as it does when the target file is on a network share, url-handler
2809 isn't confused.
2810
2811 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2812
2813 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2814 a preactivated advice from an old advice.el; they're not compatible!
2815
2816 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2817
2818 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2819 Fix string-spec case.
2820
2821 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2822
2823 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2824
2825 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2826 (advice--buffer-local-function-sample): New var.
2827 (advice--set-buffer-local, advice--buffer-local): New functions.
2828 (add-function, remove-function): Use them.
2829
2830 2012-11-15 Drew Adams <drew.adams@oracle.com>
2831
2832 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2833
2834 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2835
2836 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2837 potential binding of print-gensym to t, and prettify (back)quotes in
2838 case they appear in args's default values (bug#12884).
2839
2840 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2841
2842 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2843 (advice-eval-interactive-spec): New function.
2844 (advice--make-interactive-form): Support around advice (bug#12844).
2845
2846 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
2847
2848 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2849 more strict. Add docstring.
2850 (ruby-expression-expansion-re): Extract from
2851 `ruby-match-expression-expansion'.
2852 (ruby-syntax-propertize-function): After everything else, search
2853 for expansions in string literals, mark their insides as
2854 whitespace syntax and save match data for font-lock.
2855 (ruby-font-lock-keywords): Use the 2nd group from expression
2856 expansion matches.
2857 (ruby-match-expression-expansion): Use the match data saved to the
2858 text property in ruby-syntax-propertize-function.
2859
2860 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2861
2862 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2863 (bug#12879).
2864
2865 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2866
2867 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2868 start/end keyword a bit harder. Works with different values of N.
2869 Add more comments.
2870 (ruby-end-of-block): Update accordingly.
2871
2872 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2873
2874 * woman.el (woman-file-name): Don't mess with unread-command-events
2875 (bug#12861).
2876
2877 * emacs-lisp/advice.el: Layer on top of nadvice.el.
2878 Remove out of date self-require hack.
2879 (ad-do-advised-functions): Use simple `dolist'.
2880 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2881 (ad-advice-definition): Redefine as functions.
2882 (ad-advice-classes): Move before first use.
2883 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
2884 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
2885 (ad--defalias-fset): Remove functions.
2886 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
2887 (ad-get-orig-definition): Rewrite.
2888 (ad-make-advised-definition-docstring): Change base docstring.
2889 (ad-real-orig-definition): Rewrite.
2890 (ad-map-arglists): Change name of called function.
2891 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2892 (ad-make-advised-definition): Simplify.
2893 (ad-assemble-advised-definition): Tweak for new calling context.
2894 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
2895 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
2896 function and call ad-activate if needed.
2897 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2898 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2899 (ad-compile-function): Compile ad-Advice-*.
2900 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2901 (ad-start-advice, ad-stop-advice): Remove.
2902
2903 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2904
2905 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2906 period before class method names, not after. Remove handling of
2907 one impossible case. Add comments.
2908
2909 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2910
2911 * emacs-lisp/advice.el: Remove support for freezing.
2912 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2913 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2914 Remove support for `freeze'.
2915
2916 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
2917 override the default.
2918 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
2919 cl--dotimes/dolist.
2920 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
2921 `cl' is loaded.
2922
2923 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
2924 from add-advice.
2925 (advice--strip-macro): New function.
2926 (advice--defalias-fset): Use them to handle macros.
2927 (advice-add): Use them.
2928 (advice-member-p): Correctly handle macros.
2929
2930 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2931
2932 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2933 Never font-lock the beginning of singleton class as heredoc.
2934
2935 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2936
2937 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
2938
2939 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
2940
2941 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
2942 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
2943 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
2944
2945 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2946
2947 Fix end-of-defun misbehavior.
2948 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2949 python-beginning-of-defun-function. Handle nested defuns
2950 correctly.
2951 (python-nav-end-of-defun): Rename from
2952 python-end-of-defun-function. Ensure forward movement.
2953 (python-info-current-defun): Reimplement to work as intended
2954 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
2955 parent defuns as soon as possible.
2956
2957 2012-11-13 Glenn Morris <rgm@gnu.org>
2958
2959 * progmodes/flymake.el (flymake-error-bitmap)
2960 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2961 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2962
2963 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2964
2965 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2966 backward, always stop at indentation. Reverts the change from
2967 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2968
2969 2012-11-13 Glenn Morris <rgm@gnu.org>
2970
2971 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2972 Add ibuffer-filter-by-derived-mode.
2973
2974 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2975 the same name shadowing each other.
2976
2977 * window.el (with-temp-buffer-window): Doc tweak.
2978
2979 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2980
2981 * help.el (temp-buffer-max-height):
2982 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
2983 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2984
2985 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2986
2987 * emacs-lisp/nadvice.el: New package.
2988 * subr.el (special-form-p): New function.
2989 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2990 (elp-all-instrumented-list): Remove var.
2991 (elp-not-profilable): Remove elp-wrapper.
2992 (elp-profilable-p): Use autoloadp and special-form-p.
2993 (elp--advice-name): New const.
2994 (elp-instrument-function): Use advice-add.
2995 (elp--instrumented-p): New predicate.
2996 (elp-restore-function): Use advice-remove.
2997 (elp-restore-all, elp-reset-all): Use mapatoms.
2998 (elp-set-master): Use elp--instrumented-p.
2999 (elp--make-wrapper): Rename from elp-wrapper, return a function
3000 suitable for advice-add. Use cl-inf.
3001 (elp-results): Use mapatoms+elp--instrumented-p.
3002 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3003 (debug-function-list): Remove var.
3004 (debug): Rename arg, and then let-bind it explicitly inside.
3005 (debugger-setup-buffer): Rename arg.
3006 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3007 (debugger-frame-number): Adjust to new debug-on-entry setup.
3008 (debug--implement-debug-on-entry): Rename from
3009 implement-debug-on-entry, add argument.
3010 (debugger-special-form-p): Remove, use special-form-p instead.
3011 (debug-on-entry): Use advice-add.
3012 (debug--function-list): New function.
3013 (cancel-debug-on-entry): Use it, along with advice-remove.
3014 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3015 (debugger-list-functions): Use debug--function-list instead of
3016 debug-function-list.
3017 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3018 (ad-special-form-p): Remove, use special-form-p instead.
3019 (ad-set-advice-info): Use add-function and remove-function.
3020 (ad--defalias-fset): Adjust accordingly.
3021
3022 2012-11-10 Glenn Morris <rgm@gnu.org>
3023
3024 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3025 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3026 (report-emacs-bug-create-existing-bugs-buffer)
3027 (report-emacs-bug-parse-query-results)
3028 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3029
3030 * term.el (term-default-fg-color, term-default-bg-color):
3031 Make obsolete, rather than just saying "deprecated" in the doc.
3032
3033 * term.el (term): Rename from `term-face'.
3034 (term-current-face, ansi-term-color-vector)
3035 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3036 Update all users.
3037
3038 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3039
3040 * server.el (server-create-window-system-frame): Handle Nextstep
3041 specially (Bug#12780).
3042
3043 2012-11-10 Glenn Morris <rgm@gnu.org>
3044
3045 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3046 Unautoload, and make obsolete. (Bug#7449)
3047
3048 2012-11-10 Chong Yidong <cyd@gnu.org>
3049
3050 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3051 rename from diff-remove-trailing-whitespace (Bug#12831).
3052
3053 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3054
3055 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3056 miscompilation of trace.el.
3057
3058 2012-11-10 Glenn Morris <rgm@gnu.org>
3059
3060 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3061
3062 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3063
3064 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3065 (bug#12812).
3066
3067 2012-11-10 Chong Yidong <cyd@gnu.org>
3068
3069 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3070 a defcustom with an appropriate :set function.
3071 (minibuffer-default--in-prompt-regexps): New function.
3072
3073 2012-11-10 Glenn Morris <rgm@gnu.org>
3074
3075 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3076 (define-modify-macro): Doc fixes.
3077
3078 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3079 (gv-define-simple-setter): Update doc of `fix-return'.
3080
3081 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3082
3083 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3084 twice when `fix-return' is set (bug#12813).
3085
3086 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3087 gv-define-simple-setter (bug#12812).
3088
3089 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3090 (bug#12756).
3091
3092 2012-11-10 Glenn Morris <rgm@gnu.org>
3093
3094 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3095
3096 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3097 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3098 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3099 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3100
3101 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3102
3103 2012-11-10 Leo Liu <sdl.web@gmail.com>
3104
3105 * ido.el (ido-set-matches-1): Improve flex matching performance by
3106 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3107
3108 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3109
3110 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3111 (ad--defalias-fset): New function.
3112 (ad-safe-fset): Remove.
3113 (ad-make-freeze-definition): Use cl-letf*.
3114
3115 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3116
3117 * subr.el (dolist): Don't bind VAR in RESULT.
3118
3119 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3120 (fset, documentation): Don't save real def since we don't advise.
3121 (ad-do-advised-functions): Remove problematic `result-form'.
3122 (ad-safe-fset): `ad-real-fset' => `fset'.
3123 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3124 uses CL's dolist internally.
3125 (ad-arglist): Remove unused arg `name'.
3126 (ad-docstring, ad-make-advised-docstring):
3127 `ad-real-documentation' => `documentation'.
3128 (warning-suppress-types): Declare.
3129 (ad-set-arguments): Simple CSE.
3130 (ad-recover-normality): Sanity check.
3131
3132 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3133 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3134
3135 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3136
3137 * ses.el: symbol to coordinate mapping is made by symbol property
3138 `ses-cell'. This means that the same mapping is done for all SES
3139 sheets. That is good enough for cells with standard A1 names, but
3140 not for named cell. So a hash map is added for the latter.
3141 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3142 (ses-sym-rowcol): Use hashmap for named cell.
3143 (ses-is-cell-sym-p): New defun.
3144 (ses-decode-cell-symbol): New defun.
3145 (ses-create-cell-variable): Add cell to hashmap when name is not
3146 A1-like.
3147 (ses-rename-cell): Check that cell new name is not already in
3148 spreadsheet with the use of ses-is-cell-sym-p
3149 (ses-rename-cell): Use hash map for named cells, but accept also
3150 renaming back to A1-like.
3151
3152 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3153
3154 * emacs-lisp/advice.el: Use new dynamic docstrings.
3155 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3156 Use dynamic-docstring-function instead of ad-advice-info.
3157 (ad--make-advised-docstring): New function extracted from
3158 ad-make-advised-docstring.
3159 (ad-make-advised-docstring): Use it.
3160 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3161 from sql-help.
3162 (sql-help): Use it with dynamic-docstring-function.
3163
3164 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3165
3166 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3167
3168 * files.el (hack-one-local-variable--obsolete): New function.
3169 (hack-one-local-variable): Use it for obsolete settings.
3170
3171 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3172 the new name.
3173
3174 * progmodes/js.el (js--filling-paragraph): New var.
3175 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3176 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3177 less sneaky.
3178
3179 2012-11-08 Julien Danjou <julien@danjou.info>
3180
3181 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3182 `auto-mode-alist' (Bug#12835).
3183
3184 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3185
3186 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3187 (perl--prettify-symbols-alist): New const.
3188 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3189 New functions.
3190 (perl-font-lock-keywords-2): Use them.
3191 (perl-electric-noindent-p): New function.
3192 (perl-mode): Use it to set up electric-indent-mode.
3193 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3194 (perl-mode-map): Remove bindings for them.
3195 (perl-imenu-generic-expression, perl-outline-level):
3196 Match functions&packages in column>0.
3197
3198 * env.el (env--substitute-vars-regexp): New const.
3199 (substitute-env-vars): Use it. Add `only-defined' arg.
3200 * net/tramp.el (tramp-replace-environment-variables): Use it.
3201
3202 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3203 Byte-compile *before* eval in eval-and-compile.
3204 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3205 (byte-compile-file-form-autoload): Don't hide actual definition.
3206 (byte-compile-maybe-guarded): Accept `functionp' as well.
3207
3208 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3209
3210 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3211
3212 * notifications.el (notifications-get-server-information-method):
3213 New defconst.
3214 (notifications-get-capabilities): Fix docstring.
3215 (notifications-get-server-information): New defun.
3216
3217 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3218
3219 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3220 readability.
3221
3222 * textmodes/ispell.el: Experimental support for support debugging.
3223 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3224 buffer for ispell.
3225 (ispell-print-if-debug): New function to print stuff to
3226 `ispell-debug-buffer' if debugging is enabled.
3227 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3228 show some debugging info.
3229 (ispell-buffer-with-debug): New function that creates a debugging
3230 buffer and calls `ispell-buffer' with debugging enabled.
3231
3232 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3233 comment in autoconf mode. (Bug#12768)
3234
3235 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3236
3237 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3238 frame-first-window, frame-root-window, frame-selected-window,
3239 minibuffer-selected-window, minibuffer-window,
3240 window-absolute-pixel-edges, window-at, window-body-height,
3241 window-body-width, window-display-table, window-combination-limit,
3242 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3243 window-inside-edges, window-inside-pixel-edges, window-left-child,
3244 window-left-column, window-margins, window-next-buffers,
3245 window-next-sibling, window-new-normal, window-new-total,
3246 window-normal-size, window-parameter, window-parameters, window-parent,
3247 window-pixel-edges, window-point, window-prev-buffers,
3248 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3249 window-start, window-text-height, window-top-child, window-top-line,
3250 window-total-height, window-total-width and window-use-time to the list
3251 of functions without side-effects.
3252 (toplevel): Add window-valid-p to the list of error-free functions
3253 without side-effects.
3254
3255 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3256
3257 * textmodes/ispell.el (ispell-program-name):
3258 Update spellchecker parameters when customized.
3259
3260 2012-11-04 Glenn Morris <rgm@gnu.org>
3261
3262 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3263
3264 2012-11-04 Chong Yidong <cyd@gnu.org>
3265
3266 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3267 same-window-* variables.
3268
3269 2012-11-04 Juri Linkov <juri@jurta.org>
3270
3271 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3272 (isearch-describe-key, isearch-describe-mode): Use a display
3273 action instead of binding same-window-* variables (Bug#10040).
3274
3275 2012-11-03 Glenn Morris <rgm@gnu.org>
3276
3277 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3278 Rename handler properties back from cl-- to cl-. (Bug#12788)
3279
3280 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3281
3282 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3283
3284 * term/pc-win.el: Don't load term/internal from here.
3285
3286 * loadup.el: Load term/internal from here.
3287
3288 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3289
3290 * progmodes/python.el (inferior-python-mode): Fix hang in
3291 jit-lock (Bug#12645).
3292
3293 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3294
3295 * window.el (switch-to-visible-buffer)
3296 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3297
3298 2012-11-03 Glenn Morris <rgm@gnu.org>
3299
3300 * emacs-lisp/cl-lib.el (cl--random-time):
3301 Rename from cl-random-time. (Bug#12773)
3302 (cl--gensym-counter, cl--random-state): Update callers.
3303 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3304
3305 2012-11-03 Chong Yidong <cyd@gnu.org>
3306
3307 * cus-start.el: Make cursor-type customizable (Bug#11633).
3308
3309 2012-11-02 Glenn Morris <rgm@gnu.org>
3310
3311 * filecache.el: No need to load find-lisp when compiling.
3312 (find-lisp-find-files): Autoload it.
3313 (file-cache-add-directory-recursively): Don't require find-lisp.
3314
3315 * image.el (image-type-from-file-name): Trivial simplification.
3316
3317 * emacs-lisp/bytecomp.el (byte-compile-eval):
3318 Decouple "noruntime" and "cl-functions" warnings.
3319
3320 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3321
3322 * play/gomoku.el (gomoku-display-statistics): Update mode line
3323 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3324
3325 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3326
3327 * window.el (quit-restore-window): If the window has been
3328 created on an existing frame and ended up as the sole window on
3329 that frame, do not delete it (Bug#12764).
3330
3331 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3332
3333 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3334 Rename from sh--inside-arithmetic-expression, handle more cases
3335 (bug#11263).
3336
3337 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3338 (sh-font-lock-open-heredoc): Use it (bug#12770).
3339
3340 2012-10-30 Glenn Morris <rgm@gnu.org>
3341
3342 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3343
3344 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3345
3346 2012-10-29 Chong Yidong <cyd@gnu.org>
3347
3348 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3349 function key is stored in a keyboard macro (Bug#4894).
3350
3351 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3352
3353 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3354
3355 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3356 header comments".
3357 (diff-unified->context, diff-context->unified)
3358 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3359
3360 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3361
3362 * files.el (find-alternate-file): Only ask one question (bug#12487).
3363
3364 2012-10-29 Chong Yidong <cyd@gnu.org>
3365
3366 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3367 Suggested by Dan Nicolaescu (Bug#6326).
3368
3369 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3370
3371 * startup.el (fancy-about-screen): Don't message (Bug#12680).
3372
3373 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3374
3375 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3376
3377 * face-remap.el (face-remap-add-relative): Handle the case where a
3378 face-remapping-alist entry is a cons cell (Bug#12762).
3379
3380 2012-10-29 Kevin Ryde <user42@zip.com.au>
3381
3382 * woman.el (woman-parse-numeric-value): Handle picas correctly
3383 (Bug#12639).
3384
3385 2012-10-29 Glenn Morris <rgm@gnu.org>
3386
3387 * emacs-lisp/cl.el (defsetf): Doc fix.
3388
3389 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3390
3391 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3392 syntax to the matching opener, if any (bug#12547).
3393 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3394 matching open as a "case-(".
3395 (sh-smie-rc-grammar): Add a corresponding rule for it.
3396
3397 2012-10-28 Daniel Hackney <dan@haxney.org>
3398
3399 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3400 "PKGNAME-autoloads.el" in case we created it.
3401
3402 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3403
3404 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3405 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3406 (completion--twq-all): Disable too-strict assertions.
3407
3408 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3409
3410 2012-10-27 Eli Zaretskii <eliz@gnu.org>
3411
3412 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3413 text to match the real keybindings.
3414
3415 2012-10-27 Juri Linkov <juri@jurta.org>
3416
3417 * wdired.el (wdired-keep-marker-rename): New defcustom.
3418 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3419 (Bug#11795)
3420
3421 * dired.el (dired-keep-marker-rename): Add reference to
3422 `wdired-keep-marker-rename' in the docstring.
3423 Add default character value ?R to display initially in
3424 Customization UI instead of ?@.
3425
3426 2012-10-27 Martin Rudalics <rudalics@gmx.at>
3427
3428 * window.el (display-buffer): In doc-string describe
3429 window-height and window-width alist entries.
3430
3431 * time.el (display-time-world): Restore fit-window-to-buffer
3432 behavior.
3433
3434 2012-10-27 Chong Yidong <cyd@gnu.org>
3435
3436 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3437
3438 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
3439
3440 * minibuffer.el (completion-category-overrides): New completion
3441 category `bookmark' (bug#11131).
3442
3443 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3444
3445 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3446 Silence bogus compiler warnings for ad-do-it.
3447
3448 * bookmark.el (bookmark-completing-read): Set the completion category
3449 to `bookmark' (bug#11131).
3450
3451 2012-10-26 Bastien <bzg@altern.org>
3452 Stefan Monnier <monnier@iro.umontreal.ca>
3453
3454 * face-remap.el: Use lexical-binding.
3455 (text-scale-adjust): Improve docstring. Use itself for the temporary
3456 overlay-map bindings, so as to repeat the "Use..." message each time.
3457
3458 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3459
3460 * emacs-lisp/macroexp.el (macroexp--expand-all):
3461 Obey byte-compile-warning-enabled-p (bug#12486).
3462
3463 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3464 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3465
3466 2012-10-26 Martin Rudalics <rudalics@gmx.at>
3467
3468 * mouse.el (mouse-drag-line): Move last form into preceding when
3469 clause (Bug#12731).
3470
3471 * help.el (resize-temp-buffer-window): Fix doc-string.
3472
3473 2012-10-25 David Engster <deng@randomsample.de>
3474
3475 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3476 Remove. This feature is already integrated in imenu.
3477
3478 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3479 always loaded. Require `speedbar' unconditionally.
3480
3481 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3482
3483 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3484
3485 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3486
3487 * net/ldap.el (ldap-search-internal): The official ldif format starts
3488 with a "version: 1" header (bug#12724).
3489
3490 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3491 (bug#12721).
3492
3493 2012-10-25 Glenn Morris <rgm@gnu.org>
3494
3495 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3496
3497 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3498
3499 * minibuffer.el (minibuffer-force-complete): Use one more marker
3500 for the temporary-overlay-map command (bug#12619).
3501
3502 2012-10-24 Chong Yidong <cyd@gnu.org>
3503
3504 * time.el (display-time-world-mode): Derive from special-mode.
3505 (display-time-world): Use display-buffer (Bug#12708).
3506 (display-time-world-mode-map): Variable deleted.
3507 (display-time-world-display): Wrap the final delete-char inside
3508 inhibit-read-only.
3509
3510 2012-10-24 Chong Yidong <cyd@gnu.org>
3511
3512 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3513 Doc fix.
3514
3515 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3516
3517 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3518
3519 * minibuffer.el (completion--all-sorted-completions-location): New var.
3520 (completion--cache-all-sorted-completions)
3521 (completion--flush-all-sorted-completions): Use it.
3522 (completion-in-region, completion-in-region--postch)
3523 (completion-at-point, completion-help-at-point): Use markers in
3524 completion-in-region--data (bug#12619).
3525
3526 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3527
3528 * progmodes/compile.el (compilation-start): Try to handle common
3529 quoting of `cd' argument (bug#12640).
3530
3531 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3532 (bug#12671).
3533
3534 2012-10-23 Glenn Morris <rgm@gnu.org>
3535
3536 * progmodes/gud.el (gud-menu-map):
3537 Check gdb-active-process is bound. (Bug#12358)
3538
3539 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3540
3541 * repeat.el (repeat): Set real-this-command (bug#12232).
3542
3543 * htmlfontify.el (hfy-post-html-hook):
3544 * filesets.el (filesets-cache-fill-content-hook):
3545 * arc-mode.el (archive-extract-hook):
3546 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3547 * net/rcirc.el (rcirc-sentinel-functions)
3548 (rcirc-receive-message-functions, rcirc-activity-functions)
3549 (rcirc-print-functions):
3550 * net/dbus.el (dbus-event-error-functions):
3551 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3552 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3553 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3554 * term/sun.el (sun-raw-prefix-hooks):
3555 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3556
3557 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
3558
3559 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3560 Set `tramp-chunksize' to 1. This improves the performance.
3561 (tramp-smb-wait-for-output): Add timeout to
3562 `tramp-accept-process-output' calls.
3563
3564 2012-10-23 Chong Yidong <cyd@gnu.org>
3565
3566 * faces.el (font-list-limit): Define as an obsolete variable.
3567
3568 * startup.el (command-line):
3569 * cus-start.el: Don't refer to font-list-limit.
3570
3571 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3572
3573 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3574
3575 * subr.el (internal-temp-output-buffer-show): Rename from
3576 temp-output-buffer-show, since previously compiled files expect this name.
3577
3578 2012-10-23 Glenn Morris <rgm@gnu.org>
3579
3580 * image.el (image-type-from-file-name): If multiple types match,
3581 return the first one that is supported. (Bug#9045)
3582
3583 2012-10-22 Glenn Morris <rgm@gnu.org>
3584
3585 * image.el (imagemagick-enabled-types): Doc fix.
3586
3587 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3588
3589 * progmodes/which-func.el (which-func-current): The hash-table may have
3590 an explicit nil (bug#12338).
3591
3592 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3593
3594 * electric.el (electric-pair-delete-selection-self-insert-function):
3595 Rename to electric-pair-will-use-region, return a boolean.
3596 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3597
3598 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3599 (delete-selection-pre-hook): Use use-region-p.
3600 (delete-selection-self-insert-function): Remove.
3601 (self-insert-command): Obey self-insert-uses-region-functions.
3602 (self-insert-iso): Revert to previous setting, since we don't actually
3603 know what that command does.
3604 (delete-selection-self-insert-hooks): Remove.
3605
3606 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3607
3608 * delsel.el (delete-selection-helper): New function, extracted from
3609 delete-selection-pre-hook.
3610 (delete-selection-pre-hook): Use it.
3611 (delete-selection-self-insert-function): New function.
3612 (delete-selection-self-insert-hooks): New hook.
3613 (self-insert-command, self-insert-iso): Use it.
3614 * electric.el (electric-pair-syntax): New function, extracted from
3615 electric-pair-post-self-insert-function.
3616 (electric-pair-post-self-insert-function): Use it.
3617 (electric-pair-delete-selection-self-insert-function): New function.
3618 (electric-pair-mode): Require delsel and setup
3619 delete-selection-self-insert-hooks (bug#11520).
3620
3621 2012-10-20 Chong Yidong <cyd@gnu.org>
3622
3623 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3624 no changes to show (Bug#12586).
3625
3626 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3627 list explicitly (Bug#12571).
3628
3629 2012-10-20 Arne Jørgensen <arne@arnested.dk>
3630
3631 * progmodes/flymake.el (flymake-create-temp-inplace):
3632 Use file-truename.
3633
3634 2012-10-20 Eli Zaretskii <eliz@gnu.org>
3635
3636 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
3637
3638 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
3639
3640 * calc/calc-units.el (math-extract-units): Properly extract powers
3641 of units.
3642
3643 2012-10-20 Daniel Colascione <dancol@dancol.org>
3644
3645 * frame.el (make-frame): Set x-display-name as we used to in order
3646 to unbreak creating an X11 frame from an Emacs daemon started
3647 without a display.
3648
3649 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3650
3651 * minibuffer.el (minibuffer-force-complete): Make the next completion use
3652 the same completion-field (bug#12221).
3653
3654 2012-10-19 Martin Rudalics <rudalics@gmx.at>
3655
3656 * emacs-lisp/debug.el (debug): Record height of debugger window
3657 also when debugger will be back (Bug#8789).
3658
3659 2012-10-18 Chong Yidong <cyd@gnu.org>
3660
3661 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3662 Convert to defcustom.
3663 (gdb-get-source-file): Don't bind pop-up-windows.
3664
3665 * progmodes/gud.el (gud-display-line): Don't specially re-use
3666 other frames for the gdb-mi case (Bug#12648).
3667
3668 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3669
3670 * emacs-lisp/advice.el: Clean up commentary a bit.
3671 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3672 (byte-code-function-p): Never redefine.
3673
3674 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3675
3676 2012-10-18 Glenn Morris <rgm@gnu.org>
3677
3678 * dired.el (dired-sort-toggle): Some ls implementations only allow
3679 a single option string. (Bug#12666)
3680
3681 * minibuffer.el (completion-cycle-threshold): Doc fix.
3682
3683 2012-10-17 Kenichi Handa <handa@gnu.org>
3684
3685 * international/mule.el (set-keyboard-coding-system):
3686 Recover input meta mode when the new coding system doesn not use 8-bit.
3687 Supply TERMINAL arg to set-input-meta-mode.
3688
3689 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
3690
3691 * wdired.el (wdired-old-marks): New variable.
3692 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3693 (wdired-do-renames): Move point with renamed file and don't lose
3694 mark status (Bug#11795).
3695
3696 2012-10-16 Juri Linkov <juri@jurta.org>
3697
3698 * replace.el (query-replace-help): Mention multi-buffer replacement
3699 keys in the Help message. (Bug#12655)
3700
3701 2012-10-15 Chong Yidong <cyd@gnu.org>
3702
3703 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3704
3705 2012-10-14 Eli Zaretskii <eliz@gnu.org>
3706
3707 * window.el (display-buffer): Doc fix.
3708
3709 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3710 Adjust the msft regexp to the output of Studio 2010, and move msft
3711 before edg-1. See the discussion on emacs-devel,
3712 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3713 for the details.
3714
3715 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3718 (oset): Move uses of object-class-fast macro after its definition.
3719
3720 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3721
3722 2012-10-13 Chong Yidong <cyd@gnu.org>
3723
3724 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3725 enabled, re-enable it (Bug#11963).
3726
3727 2012-10-13 Martin Rudalics <rudalics@gmx.at>
3728
3729 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3730 non-nil, restore window configuration (Bug#12623).
3731
3732 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3733
3734 * help-fns.el (describe-variable, describe-function-1):
3735 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3736
3737 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3738
3739 2012-10-12 Glenn Morris <rgm@gnu.org>
3740
3741 * mail/rmailsum.el (rmail-header-summary):
3742 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
3743
3744 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
3745
3746 * progmodes/python.el (python-mode-map):
3747 Replace subtitute-key-definition with proper command remapping.
3748 (python-nav--up-list): Fix behavior for blocks on the same level.
3749
3750 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
3753
3754 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3755 changes to the format of load-history.
3756
3757 * international/mule-cmds.el (read-char-by-name): Move let-binding of
3758 completion-ignore-case in case that var is buffer-local (bug#12615).
3759
3760 2012-10-11 Kenichi Handa <handa@gnu.org>
3761
3762 * international/eucjp-ms.el: Re-generated.
3763
3764 2012-10-10 Kenichi Handa <handa@gnu.org>
3765
3766 * select.el (xselect--encode-string): If a coding is specified for
3767 selection, and that is compatible with COMPOUND_TEXT, use it.
3768
3769 2012-10-10 Martin Rudalics <rudalics@gmx.at>
3770
3771 * window.el (switch-to-buffer-preserve-window-point): New option.
3772 (switch-to-buffer):
3773 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
3774
3775 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3776
3777 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3778 Don't document nil as a useful value (bug#12583).
3779
3780 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
3781
3782 * net/tramp.el (tramp-debug-message):
3783 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
3784 (with-tramp-progress-reporter): Rename from
3785 `tramp-with-progress-reporter'.
3786 (with-tramp-file-property, with-tramp-connection-property):
3787 Move from tramp-cache.el, rename from `with-file-property' and
3788 `with-connection-property', respectively.
3789
3790 * net/tramp-cache.el: Remove `with-file-property' and
3791 `with-connection-property'.
3792
3793 * net/tramp.el:
3794 * net/tramp-gvfs.el:
3795 * net/tramp-sh.el:
3796 * net/tramp-smb.el: Adapt callees.
3797
3798 * net/trampver.el: Update release number.
3799
3800 2012-10-09 Glenn Morris <rgm@gnu.org>
3801
3802 * w32-fns.el (set-message-beep):
3803 * term/w32-win.el (set-message-beep): Update declarations.
3804
3805 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3806
3807 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3808 (mode-line-widen, mode-line-input-method-map)
3809 (mode-line-coding-system-map, mode-line-remote)
3810 (mode-line-unbury-buffer, mode-line-bury-buffer)
3811 (mode-line-next-buffer, mode-line-previous-buffer):
3812 Replace save-selected-window+select-window => with-selected-window.
3813
3814 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3815 * progmodes/cc-vars.el (bq-process): Remove, unused.
3816
3817 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3818
3819 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3820
3821 Implemented `backward-up-list'-like navigation.
3822 * progmodes/python.el (python-nav-up-list)
3823 (python-nav-backward-up-list): New functions.
3824 (python-mode-map): Define substitute key for backward-up-list to
3825 python-nav-backward-up-list.
3826
3827 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3828
3829 * progmodes/python.el (python-fill-paragraph): Rename from
3830 python-fill-paragraph-function. Fixed fill-paragraph for
3831 decorators (Bug#12605).
3832
3833 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3834
3835 * progmodes/python.el (python-shell-output-filter): Handle extra
3836 carriage return in OSX (Bug#12409).
3837
3838 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3839
3840 Fix shell handling of unbalanced quotes and parens in output.
3841 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
3842 (python-syntax-propertize-function): Use it.
3843 (python-shell-output-syntax-table): New var.
3844 (inferior-python-mode): Prevent unbalanced parens/quotes from
3845 previous output mess with current input context.
3846
3847 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
3848
3849 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3850 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3851
3852 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
3853
3854 * ffap.el (ffap-replace-file-component): Support Tramp file name
3855 syntax, not only ange-ftp's one.
3856
3857 2012-10-08 Glenn Morris <rgm@gnu.org>
3858
3859 * cus-start.el (message-log-max): Set :version.
3860
3861 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3862
3863 2012-10-08 Martin Rudalics <rudalics@gmx.at>
3864
3865 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3866 the minibuffer window (Bug#10851).
3867
3868 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3869
3870 Enhancements on forward-sexp movement.
3871 * progmodes/python.el (python-nav-beginning-of-statement)
3872 (python-nav-end-of-statement): Return point-marker.
3873 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3874 (python-info-current-symbol)
3875 (python-info-statement-starts-block-p): Rename from
3876 python-info-beginning-of-block-p.
3877 (python-info-statement-ends-block-p): Rename from
3878 python-info-end-of-block-p.
3879 (python-info-beginning-of-statement-p)
3880 (python-info-end-of-statement-p)
3881 (python-info-beginning-of-block-p, python-info-end-of-block-p):
3882 New functions.
3883
3884 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3885
3886 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3887 frame-selected-windows.
3888
3889 2012-10-08 Daniel Colascione <dancol@dancol.org>
3890
3891 * battery.el (battery-status-function): Check for
3892 w32-battery-status itself, not system-time windows-nt.
3893
3894 * frame.el: Require cl-lib.
3895 (display-format-alist): New variable mapping frame types to
3896 functions that initialize them.
3897 (window-system-for-display): New function: interprets
3898 display-format-alist.
3899 (make-frame-on-display): Remove existing display-selection logic
3900 and just forward to make-frame, which will now DTRT.
3901 (make-frame): Restructure to use window-system-for-display to
3902 figure out how to create a frame on a given display.
3903 (display-mouse-p): Look for frame-type w32, not a particular
3904 system-type.
3905
3906 * loadup.el: Load w32 lisp code when we have the w32 feature.
3907
3908 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3909 system-type windows-nt.
3910
3911 * server.el (server-create-window-system-frame): Look for window
3912 type.
3913 (server-proces-filter): Only force a window system when windows-nt
3914 _and_ w32. Explain why.
3915
3916 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
3917 of window systems we configure for the mode.
3918
3919 * startup.el (command-line): Mark window system is initialized
3920 after we've done it.
3921
3922 * common-win.el (x-select-text): Look for w32, not windows-nt.
3923
3924 * ns-win.el: Require cl-lib. Add ourselves to
3925 display-format-alist.
3926 (ns-initialize-window-system): Assert we're not initialized twice.
3927
3928 * w32-win.el: Enable lexical binding; require cl-lib; add
3929 ourselves to display-format-alist.
3930 (w32-handle-dropped-file): Convert incoming dropped files from
3931 Windows paths to Cygwin ones before passing them on to the rest of
3932 Emacs.
3933 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
3934 (w32-initialize-window-system): Assert we're not initialized twice.
3935
3936 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
3937 (x-initialize-window-system): Assert we're not initialized twice.
3938
3939 * w32-common-fns.el: New File.
3940 (w32-version, w32-using-nt, w32-get-clipboard-data)
3941 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3942 (w32-charset-info-alist, x-last-selected, text)
3943 (x-get-selection-value, x-selection-value): Move here.
3944
3945 * w32-fns.el: Require w32-common-fns.
3946 (w32-version, w32-using-nt, w32-get-clipboard-data)
3947 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3948 (w32-charset-info-alist, x-last-selected, text)
3949 (x-get-selection-value, x-selection-value): Move to
3950 w32-common-fns.
3951
3952 * w32-vars.el:
3953 (w32-allow-system-shell, w32-system-shells): Define only in
3954 non-cygwin case.
3955
3956 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3959 (read-passwd): Remove a few more potential sources of leaks.
3960
3961 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3962
3963 * progmodes/python.el (inferior-python-mode)
3964 (python-shell-make-comint): Fix initialization of local
3965 variables copied from parent buffer.
3966
3967 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3968
3969 * term/ns-win.el (ns-read-file-name): Update declaration to match
3970 nsfns.m.
3971 (ns-respond-to-change-font): Change fontsize separatly so we are sure
3972 it is set when font is acted upon.
3973
3974 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3975
3976 Enhancements to indentation.
3977 * progmodes/python.el (python-indent-context): Give priority to
3978 inside-string context. Make comments indentation markers.
3979 (python-indent-region): Do not mess with strings, unless it's the
3980 enclosing set of quotes.
3981
3982 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3983
3984 * window.el (internal--before-save-selected-window)
3985 (internal--after-save-selected-window): New functions extracted from
3986 save-selected-window. Make sure we return the `alist' we construct.
3987 (save-selected-window): Use them.
3988
3989 * textmodes/tex-mode.el (tex-recenter-output-buffer):
3990 Use with-selected-window.
3991
3992 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3993 forms that define macros (bug#12593).
3994
3995 2012-10-07 Kenichi Handa <handa@gnu.org>
3996
3997 * international/mule-conf.el (compound-text-with-extensions):
3998 Add :mime-charset property as x-ctext.
3999
4000 2012-10-07 Stefan Merten <smerten@oekonux.de>
4001
4002 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4003 (rst-indent-literal-normal, rst-indent-literal-minimized)
4004 (rst-indent-comment): Correct :version tag.
4005 (rst-official-cvs-rev): Correct version string.
4006
4007 2012-10-07 Glenn Morris <rgm@gnu.org>
4008
4009 * mail/rmailmm.el (rmail-mime-process-multipart):
4010 Do not confuse a multipart message with an epilogue
4011 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4012
4013 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4014
4015 Fix shell output retrieval and comint-prompt-regexp init.
4016 * progmodes/python.el (inferior-python-mode):
4017 (python-shell-make-comint): Fix initialization of
4018 comint-prompt-regexp from copied file local variables.
4019 (python-shell-fetched-lines): Remove var.
4020 (python-shell-output-filter-in-progress): Rename from
4021 python-shell-fetch-lines-in-progress.
4022 (python-shell-output-filter-buffer): Rename from
4023 python-shell-fetch-lines-string.
4024 (python-shell-fetch-lines-filter): Delete function.
4025 (python-shell-output-filter): New function.
4026 (python-shell-send-string-no-output): Use them.
4027
4028 2012-10-07 Glenn Morris <rgm@gnu.org>
4029
4030 * hi-lock.el (hi-lock-process-phrase):
4031 Try to make it less fragile. (Bug#7161)
4032
4033 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4034
4035 2012-10-06 Glenn Morris <rgm@gnu.org>
4036
4037 * ehelp.el (electric-help-mode): Use help-mode rather than
4038 non-existent mode `help'.
4039 (electric-help-map): Use button-buffer-map. (Bug#10917)
4040
4041 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4042 (reftex-create-bibtex-footer): Fix custom types.
4043
4044 * progmodes/sh-script.el (sh-indent-after-continuation):
4045 Add explicit :group.
4046
4047 * textmodes/rst.el (rst-preferred-decorations)
4048 (rst-shift-basic-offset): Clarify obsolescence versions.
4049
4050 * profiler.el (profiler): Add missing group :version tag.
4051 * avoid.el (mouse-avoidance-banish-position):
4052 * proced.el (proced-renice-command):
4053 * calc/calc.el (calc-ensure-consistent-units):
4054 * calendar/icalendar.el (icalendar-import-format-uid):
4055 * net/tramp.el (tramp-save-ad-hoc-proxies):
4056 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4057 * progmodes/flymake.el (flymake-error-bitmap)
4058 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4059 * progmodes/sh-script.el (sh-indent-after-continuation):
4060 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4061 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4062 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4063 (vhdl-array-index-record-field-in-sensitivity-list)
4064 (vhdl-indent-comment-like-next-code-line):
4065 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4066 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4067 (reftex-cite-key-separator, reftex-create-bibtex-header)
4068 (reftex-create-bibtex-footer):
4069 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4070 (rst-indent-literal-normal, rst-indent-literal-minimized)
4071 (rst-indent-comment): Add missing custom :version tags.
4072
4073 * calendar/timeclock.el (timeclock-modeline-display):
4074 Add missing obsolete alias for renamed user option.
4075
4076 * strokes.el (strokes-modeline-string):
4077 * emulation/crisp.el (crisp-mode-modeline-string):
4078 * eshell/esh-mode.el (eshell-status-in-modeline):
4079 Aliases to defcustoms must come before the defcustom.
4080
4081 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4082 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4083 (cal-tex-cursor-week-monday): Doc fixes.
4084 (cal-tex-cursor-week2-summary): Doc fix.
4085 Rename from cal-tex-cursor-week-at-a-glance.
4086
4087 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4088 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4089
4090 * calendar/calendar.el (calendar-mode-map):
4091 Add cal-tex-cursor-week2-summary.
4092
4093 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4094
4095 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4096
4097 * subr.el (read-passwd-map): New var.
4098 (read-passwd): Use `read-string' again.
4099 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4100
4101 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4102
4103 * register.el (append-to-register, prepend-to-register):
4104 Deactivate mark, as does `copy-to-register' (bug#12389).
4105
4106 2012-10-06 Chong Yidong <cyd@gnu.org>
4107
4108 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4109
4110 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4111
4112 * international/characters.el: Fix simple mistake ((car chars) ->
4113 elt), delete duplicated code.
4114
4115 2012-10-06 Glenn Morris <rgm@gnu.org>
4116
4117 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4118
4119 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4120
4121 * color.el (color-hsl-to-rgb): Fix incorrect results for
4122 small and large hue values. (Bug#12559)
4123
4124 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4125
4126 Enhancements to docstring formatting when filling paragraphs.
4127 * progmodes/python.el (python-fill-docstring-style): Rename from
4128 python-fill-string-style. Added new style.
4129 (python-fill-string): Use new style. Better checks for
4130 docstrings.
4131
4132 2012-10-05 Glenn Morris <rgm@gnu.org>
4133
4134 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4135
4136 * color.el (color-name-to-rgb, color-rgb-to-hex)
4137 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4138 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4139 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4140 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4141
4142 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4143
4144 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4145
4146 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4147 to get the correct size across symlinks.
4148
4149 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4150
4151 2012-10-04 Juri Linkov <juri@jurta.org>
4152
4153 * replace.el (query-replace-interactive): Declare obsolete.
4154 (query-replace-read-from): Add the last incremental search string
4155 to the list of default values accessible via M-n.
4156 (map-query-replace-regexp): Use `read-regexp'.
4157 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4158 (map-query-replace-regexp, replace-string, replace-regexp):
4159 Fix docstrings to replace mentions of `query-replace-interactive'
4160 with alternatives. (Bug#12526)
4161
4162 2012-10-04 Juri Linkov <juri@jurta.org>
4163
4164 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4165 (dired-pop-to-buffer): Declare obsolete.
4166 (dired-mark-pop-up): Doc fix.
4167
4168 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4169
4170 Allow user to set docstring style for fill-paragraph.
4171 * progmodes/python.el
4172 (python-fill-comment-function, python-fill-string-function)
4173 (python-fill-decorator-function, python-fill-paren-function):
4174 Remove :safe for defcustoms.
4175 (python-fill-string-style): New defcustom
4176 (python-fill-paragraph-function): Enhance context detection.
4177 (python-fill-string): Honor python-fill-string-style settings.
4178
4179 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4180
4181 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4182 after setting its buffer (Bug#10805).
4183
4184 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4185
4186 Fix cornercase for string syntax.
4187 * progmodes/python.el (python-syntax-propertize-function):
4188 Simplify and enhance the regexp for unescaped quotes. Now it also
4189 matches quotes in weird situations like the single quote in
4190 "something\"'".
4191 (python-syntax-stringify): Simplify num-quotes detecting code.
4192
4193 2012-10-03 Glenn Morris <rgm@gnu.org>
4194
4195 * help-macro.el (three-step-help):
4196 Revert 2012-09-29 change. (Bug#12567)
4197
4198 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4199
4200 * menu-bar.el (kill-this-buffer): Don't do anything when
4201 `menu-frame' is not alive or visible (Bug#8184).
4202
4203 * emacs-lisp/debug.el (debug): When quitting the debugger window
4204 restore current buffer (Bug#12502).
4205
4206 2012-10-02 Chong Yidong <cyd@gnu.org>
4207
4208 * progmodes/hideif.el (hif-lookup, hif-defined):
4209 Handle semantic-c-takeover-hideif.
4210
4211 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4212
4213 Change sampling interval units from ms to ns.
4214 * profiler.el (profiler-sampling-interval): Change units
4215 from ms to ns, multiplying the default by 1000000 so that
4216 it remains 1 ms.
4217 (profiler-report-cpu-line-format): Give enough room for
4218 the maximum counters on 64-bit hosts.
4219 (profiler-report-render-calltree-1): Call them "CPU samples",
4220 not "Time (ms)", since they are not milliseconds now (and
4221 never really were).
4222
4223 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4224
4225 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4226 Fix querying BBDB for entries without a last name (Bug#11580).
4227
4228 2012-10-02 Chong Yidong <cyd@gnu.org>
4229
4230 * emacs-lisp/eieio.el: Restore Version header.
4231
4232 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4233
4234 * vc/diff-mode.el (diff--auto-refine-data): New var.
4235 (diff-hunk): Use it to delay refinement.
4236 (diff-mode): Remove overlays when we turn off font-lock.
4237
4238 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4239 (table-initialize-table-fixed-width-mode)
4240 (table-set-table-fixed-width-mode): Remove functions.
4241 (table-command-list): Move initialization into declaration.
4242 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4243 (table-with-cache-buffer): Use `declare'.
4244 (table-span-cell): Simplify via CSE.
4245 (table-fixed-width-mode): Use define-minor-mode.
4246 (table-call-interactively, table-funcall, table-apply): Remove.
4247 (table-function): New function, to replace them.
4248
4249 * bookmark.el (bookmark-search-pattern): Remove var.
4250 (bookmark-read-search-input): Remove function.
4251 (bookmark-bmenu-search): Reimplement using a minibuffer.
4252
4253 * faces.el (modeline): Remove obsolete face name.
4254
4255 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4256 and give a non-nil default value.
4257 (add-change-log-entry): Simplify accordingly.
4258
4259 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4260
4261 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4262 (vc-git-log-edit-toggle-amend): New function.
4263 (vc-git-log-edit-toggle-signoff): New function.
4264 (vc-git-log-edit-mode): New major mode.
4265 (vc-git-log-edit-mode-map): Keymap for it.
4266 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4267
4268 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4269 header names.
4270 (log-edit-toggle-header): New function.
4271 (log-edit-extract-headers): Accept function values in HEADERS alist.
4272
4273 2012-10-01 David Engster <deng@randomsample.de>
4274
4275 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4276 from symbol property and change message to be more consistent with
4277 Emacs proper.
4278 (eieio-describe-generic): Add filename for each implementation.
4279 Fix indices for generic and normal methods.
4280 (eieio-method-def, eieio-class-def): New buttons.
4281 (eieio-help-find-method-definition)
4282 (eieio-help-find-class-definition): New functions.
4283 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4284 class, constructor and method definitions.
4285
4286 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4287 information in symbol property.
4288 (scoped-class): Remove.
4289 (eieio-slot-name-index, call-next-method): Check if it is bound.
4290
4291 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4292
4293 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4294 (eieio-custom-mode): New major mode.
4295 (eieio-customize-object): Use it.
4296
4297 2012-10-01 Eric Ludlam <zappo@gnu.org>
4298
4299 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4300 specifying the expected class, and whether subclassing is allowed.
4301 (eieio-persistent-convert-list-to-object):
4302 (eieio-persistent-validate/fix-slot-value)
4303 (eieio-persistent-slot-type-is-class-p): New functions.
4304 (eieio-named::slot-missing): Doc fix.
4305
4306 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4307 Stop using unused publd variable.
4308
4309 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4310 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4311 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4312 (eieio-speedbar-handle-click): Do not specify a class for the
4313 method. Fixes method invocation order problems with EDE.
4314
4315 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4316
4317 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4318 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4319
4320 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4321
4322 * bookmark.el (bookmark-version-control): Give tags in the
4323 :type choices (Bug#12309), and improve doc string.
4324 (bookmark-write-file): Bind `print-circle' to `t' to allow
4325 circular custom bookmark types. (Bug#12503)
4326
4327 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4328
4329 Revert the FOLLOW-SYMLINKS change for file-attributes.
4330 * files.el (remote-file-name-inhibit-cache, after-find-file):
4331 * time.el (display-time-file-nonempty-p): Undo last change.
4332
4333 * profiler.el (profiler-sampling-interval): Change default back to 1.
4334 See Stefan Monnier in
4335 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4336
4337 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4338
4339 Shell output catching a la gud-gdb.
4340 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4341 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4342 New Vars.
4343 (python-shell-fetch-lines-filter): New function.
4344 (python-shell-send-string-no-output): Use them.
4345
4346 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4347
4348 * profiler.el (profiler-sampling-interval): Rename from
4349 profiler-sample-interval.
4350 (profiler-sampling-interval): Default to 10.
4351 (profiler-find-profile): New command (was profiler-find-log).
4352 (profiler-find-profile-other-window): New command.
4353 (profiler-find-profile-other-frame): New command.
4354 (profiler-profile): Introduce API-level data structure.
4355
4356 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4357
4358 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4359 * files.el (remote-file-name-inhibit-cache):
4360 * time.el (display-time-file-nonempty-p): Use it.
4361 * files.el (after-find-file): Don't chase links before calling
4362 file-exists-p, as file-exists-p already does the right thing.
4363
4364 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
4365
4366 Merge from standalone RefTeX repository.
4367
4368 The following ChangeLog entries are shortened versions of the
4369 original ones with file paths adapted. A not so strongly edited
4370 version of the original ChangeLog can be found in the commit log.
4371
4372 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4373 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4374 Correctly handle new value type returned by `reftex-citation'.
4375
4376 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4377 that entries with whitespace at various places are found.
4378 Doc fix. Include entries that are cross-referenced from cited entries.
4379 Include @String definitions in the resulting bib file. Add header
4380 and footer defined in `reftex-create-bibtex-header' and
4381 `reftex-create-bibtex-footer'.
4382 (reftex-do-citation): Make it possible again to insert
4383 non-existent entries. Save match data when asking for optional
4384 arguments. Return all keys, not just the first one.
4385 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4386 all citations in the same line.
4387 (reftex-parse-bibtex-entry): Accept additional optional argument
4388 `raw' and keep quotes or braces if it is non-nil. Match fields
4389 containing hyphens besides word constituents.
4390 (reftex-get-string-refs): New function.
4391 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4392 and ask if it should be reread in case it did.
4393 (reftex-pop-to-bibtex-entry)
4394 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4395 entries with spaces or tabs in front of arguments.
4396 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4397 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4398 Match entries containing numbers and symbol constituents.
4399 (reftex-do-citation, reftex-figure-out-cite-format):
4400 Use `reftex-cite-key-separator'.
4401
4402 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4403 (reftex-mouse-view-crossref): Explain why point is set.
4404
4405 * textmodes/reftex-global.el: Whitespace changes.
4406
4407 * textmodes/reftex-index.el: Move provide statement to end of
4408 file.
4409 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4410 (reftex-index-visit-phrases-buffer): Set marker when visiting
4411 buffer. This allows for returning from the phrases file to the
4412 file one was just editing instead of the file where the last
4413 phrases was added from.
4414 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4415 punctuation syntax as it usually is not used as string quote in
4416 TeX-related modes and may occur unmatched. The change also
4417 prevents fontification of quoted content.
4418 (reftex-index-phrases-mode): Use it.
4419
4420 * textmodes/reftex-parse.el (reftex-parse-from-file):
4421 Move backward one char if a `\' was matched after a section macro.
4422 (reftex-parse-from-file): Use beginning of match instead of end as
4423 bound.
4424
4425 * textmodes/reftex-ref.el: Adapt creation of
4426 `reftex-<package>-<macro>' functions to new structure of
4427 `reftex-ref-style-alist'.
4428 (reftex-reference): Use `reftex-ref-style-list' function.
4429 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4430 reference macro if `reftex-ref-macro-prompt' is non-nil.
4431 (reftex-reference): Pass refstyle to `reftex-format-special'.
4432 Determine reference macro by looking at
4433 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4434 Use only one special format function.
4435 (reftex-varioref-vref, reftex-fancyref-fref)
4436 (reftex-fancyref-Fref): Remove definitions. The functions are now
4437 generated from `reftex-ref-style-alist'.
4438 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4439 Remove.
4440 (reftex-format-special): New function.
4441
4442 * textmodes/reftex-sel.el
4443 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4444 of `reftex-ref-style-alist'. Remove code for testing macro type.
4445 (reftex-select-toggle-varioref)
4446 (reftex-select-toggle-fancyref): Remove.
4447 (reftex-select-cycle-ref-style-internal)
4448 (reftex-select-cycle-ref-style-forward)
4449 (reftex-select-cycle-ref-style-backward): New functions.
4450 (reftex-select-label-map): Use `v' and `V' for general cycling
4451 through reference styles. Add `p' for switching between number
4452 and page reference types.
4453
4454 * textmodes/reftex-toc.el (reftex-re-enlarge):
4455 Call `enlarge-window' only if there is something to do because in Emacs
4456 the horizontal version throws an error even if the parameter is 0.
4457
4458 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4459 (reftex-plug-into-AUCTeX): Doc fix.
4460 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4461 string. Adapt to new name.
4462 (reftex-ref-style-alist): Change structure so that it is not
4463 possible to use multiple different package names within a style.
4464 Remove the symbols for symbols for macro type distinction.
4465 Add characters for macro selection.
4466 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4467 (reftex-create-bibtex-footer): New variables.
4468 (reftex-format-ref-function): Mention third argument of special
4469 format function.
4470 (reftex-ref-style-alist, reftex-ref-style-default-list):
4471 New variables.
4472 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4473 to new implementation. Mark as obsolete. Add compatibility code
4474 for honoring the variable values in case they are set.
4475 (reftex-cite-format-builtin, reftex-bibliography-commands):
4476 Add support for ConTeXt.
4477 (reftex-format-ref-function, reftex-format-cite-function):
4478 Fix custom type.
4479 (reftex-cite-key-separator): New variable.
4480
4481 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4482 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4483 `reftex-syntax-table' because parens have to retain their paren
4484 syntax in order for parsing of BibTeX entries like @book(...) to
4485 work.
4486 (reftex-in-comment): Do not error out if `comment-start-skip' is
4487 not set. Deal correctly with escaped comment characters.
4488 (reftex-tie-multifile-symbols): Add doc string.
4489 Initialize `reftex-ref-style-list'.
4490 (reftex-untie-multifile-symbols): Add doc string.
4491 (reftex-add-index-macros): Doc fix.
4492 (reftex-ref-style-activate, reftex-ref-style-toggle)
4493 (reftex-ref-style-list): New functions.
4494 (reftex-mode-menu): Use them. Adapt to new structure of
4495 `reftex-ref-style-alist'.
4496 (reftex-select-with-char): Kill the RefTeX Select buffer when
4497 done.
4498 (reftex-remove-if): New function.
4499 (reftex-erase-all-selection-and-index-buffers)
4500 (reftex-mode-menu): Reference styles are now computed from
4501 `reftex-ref-style-alist'. Fix typo.
4502 (reftex-report-bug): New function.
4503 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4504 algorithms with O(n log n). Introduce optional argument SORT (not
4505 yet used).
4506
4507 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4508
4509 Enhancements for triple-quote string syntax.
4510 * progmodes/python.el (python-syntax-propertize-function):
4511 Match both quote cases in one regexp.
4512 (python-syntax-stringify): Handle matches properly.
4513
4514 2012-09-30 Juri Linkov <juri@jurta.org>
4515
4516 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4517 to nil around the call to `insert' to prevent
4518 directory time modification by lock_file. (Bug#2295)
4519 * tar-mode.el (tar-summarize-buffer): Idem.
4520
4521 2012-09-30 Juri Linkov <juri@jurta.org>
4522
4523 * facemenu.el (list-colors-sort): Add option "Luminance".
4524 (list-colors-sort-key): Implement it.
4525
4526 * vc/diff-mode.el (diff-refine-removed):
4527 * vc/ediff-init.el (ediff-fine-diff-A):
4528 * vc/smerge-mode.el (smerge-refined-removed):
4529 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4530
4531 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4532
4533 * term/ns-win.el (x-file-dialog): New function.
4534
4535 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
4536
4537 * ido.el (ido-max-directory-size): Default to nil; the current
4538 default is small for POSIX systems, and impractical on Windows 7
4539 now that lstat returns directory sizes for NTFS.
4540
4541 2012-09-30 Martin Rudalics <rudalics@gmx.at>
4542
4543 In buffer display functions handle window-height/window-width
4544 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
4545 * window.el (window--display-buffer): New argument ALIST.
4546 Obey window-height and window-width alist entries.
4547 (window--try-to-split-window): New argument ALIST.
4548 Bind window-combination-limit to t when the window's size shall be
4549 changed and window-combination-limit equals `window-size'.
4550 (display-buffer-in-atom-window)
4551 (display-buffer-in-major-side-window)
4552 (display-buffer-in-side-window, display-buffer-same-window)
4553 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4554 (display-buffer-pop-up-window, display-buffer-below-selected)
4555 (display-buffer-at-bottom, display-buffer-in-previous-window)
4556 (display-buffer-use-some-window): Adjust all callers of
4557 window--display-buffer and window--try-to-split-window.
4558 (fit-frame-to-buffer): New option.
4559 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4560 is non-nil.
4561 (display-buffer-in-major-side-window): Evaluate window-height /
4562 window-width alist entries.
4563
4564 * help.el (temp-buffer-resize-frames)
4565 (temp-buffer-resize-regexps): Remove options.
4566 (temp-buffer-resize-mode): Adjust doc-string.
4567 (resize-temp-buffer-window): Don't consult
4568 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4569 temp-buffer-resize-frames.
4570
4571 * dired.el (dired-mark-pop-up):
4572 Call display-buffer-below-selected with a fit-window-to-buffer alist
4573 entry.
4574
4575 2012-09-30 Chong Yidong <cyd@gnu.org>
4576
4577 * server.el (server-host): Document the security implications.
4578 (server-auth-key): Doc fix.
4579
4580 * startup.el (initial-buffer-choice): Doc fix.
4581
4582 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4583
4584 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4585 restriction change.
4586
4587 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4588
4589 * help-fns.el (help-fns--obsolete): Fix last change.
4590
4591 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4592
4593 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4594 (minor-mode-map-alist): Remove redundant code.
4595
4596 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4597 visited in a buffer.
4598 (cvs-insert-visited-file): New function.
4599 (find-file-hook): Use it.
4600
4601 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4602
4603 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4604 chose face.
4605 (log-edit-empty-buffer-p): Don't require a space after a header.
4606
4607 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4608
4609 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4610
4611 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4612 a proper minor-mode.
4613
4614 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4615
4616 2012-09-29 Glenn Morris <rgm@gnu.org>
4617
4618 * winner.el (winner-mode): Remove variable (let define-minor-mode
4619 handle it).
4620 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4621 Doc fixes.
4622 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4623 (winner-mode): Use define-minor-mode.
4624
4625 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4626 the full definition in loaddefs, rather than duplicating it.
4627
4628 * help-macro.el (three-step-help): No need to autoload defcustom.
4629
4630 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4631 (inferior-lisp-program, inferior-lisp-load-command)
4632 (inferior-lisp-prompt, inferior-lisp-mode-hook):
4633 No need to autoload defcustoms.
4634
4635 * hippie-exp.el (hippie-expand-try-functions-list)
4636 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4637 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4638 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
4639 (hippie-expand-only-buffers): No need to autoload defcustoms.
4640 * progmodes/vhdl-mode.el (vhdl-line-expand):
4641 Explicitly load hippie-exp, so it does not get autoloaded
4642 while hippie-expand-try-functions-list is let-bound.
4643
4644 2012-09-28 Glenn Morris <rgm@gnu.org>
4645
4646 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4647
4648 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4649 Only "cl.el" counts as cl these days.
4650
4651 2012-09-28 Juri Linkov <juri@jurta.org>
4652
4653 Display archive errors in the echo area instead of inserting
4654 to the file buffer.
4655
4656 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4657 to STDERR-TEST that can be a regexp matching a successful output.
4658 Create a temporary file and redirect stderr to it. Search for
4659 STDERR-TEST in the stderr output and display it in the echo area
4660 if no match is found.
4661 (archive-extract-by-file): New function like
4662 `archive-extract-by-stdout' but extracting archives to files
4663 and looking for successful matches in stdout. Function body is
4664 mostly copied from `archive-rar-extract'.
4665 (archive-rar-extract): Use `archive-extract-by-file'.
4666 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
4667
4668 2012-09-28 Leo Liu <sdl.web@gmail.com>
4669
4670 * pcomplete.el (pcomplete-show-completions):
4671 Use minibuffer-message to make pcomplete usable in minibuffer.
4672
4673 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4674
4675 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4676
4677 * type-break.el: Use lexical-binding.
4678 (type-break-mode): Use define-minor-mode.
4679
4680 * emacs-lisp/pcase.el (pcase--mark-used): New.
4681 (pcase--u1): Use it (bug#12512).
4682
4683 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4684 in load-history with the right file name.
4685
4686 2012-09-28 Tassilo Horn <tsdh@gnu.org>
4687
4688 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4689 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4690 (doc-view-get-bounding-box): Make bounding box slicing work for
4691 ODF and DVI documents.
4692
4693 2012-09-28 Glenn Morris <rgm@gnu.org>
4694
4695 * type-break.el (type-break-mode, type-break-interval)
4696 (type-break-good-rest-interval, type-break-keystroke-threshold):
4697 No need to autoload.
4698 (type-break-good-rest-interval, type-break-keystroke-threshold):
4699 Add :set-after.
4700
4701 2012-09-28 Chong Yidong <cyd@gnu.org>
4702
4703 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4704 Add :version tag.
4705
4706 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4707
4708 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
4709
4710 2012-09-27 Glenn Morris <rgm@gnu.org>
4711
4712 * faces.el (x-display-name): Declare (for without-x builds).
4713
4714 * linum.el (linum-format): Don't autoload it. Improve :type.
4715
4716 * progmodes/tcl.el: Don't require outline when compiling.
4717 (outline-regexp, outline-level): Declare.
4718 * textmodes/sgml-mode.el: Don't require outline when compiling.
4719 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4720
4721 * term.el (term-ansi-reset):
4722 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4723
4724 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4725 files for RCS and SCCS. (Bug#9781)
4726
4727 2012-09-27 Chong Yidong <cyd@gnu.org>
4728
4729 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4730 change; value should be t.
4731
4732 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4733
4734 * image-mode.el: Use lexical-binding.
4735 (image-mode-winprops): Use t to stand for the window of
4736 a buffer that's not displayed.
4737 * doc-view.el (doc-view-new-window-function): Handle the new
4738 t in winprops.
4739 (doc-view-enlarge): Make it a real nop if the size is not changed.
4740 (doc-view-display): Handle the case where the buffer is not (yet?)
4741 displayed in any window.
4742 (doc-view-saved-settings): New var.
4743 (doc-view-mode): Use it.
4744 (doc-view-fallback-mode): Set it.
4745
4746 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4747 Set lexical-binding.
4748 (minibuffer-eldef-shorten-default): New var.
4749 (minibuffer-default-in-prompt-regexps): Use it for new default.
4750 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4751
4752 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
4753
4754 * international/uni-bidi.el:
4755 * international/uni-category.el:
4756 * international/uni-name.el:
4757 * international/uni-numeric.el: Regenerate.
4758
4759 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
4760 Stefan Monnier <monnier@iro.umontreal.ca>
4761
4762 * profiler.el: New file.
4763
4764 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4765
4766 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4767 (testcover-reinstrument): Simplify with CSE.
4768
4769 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
4770
4771 * window.el (temp-buffer-window-setup): Fix typo in docstring.
4772
4773 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
4774
4775 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4776 (verilog-auto-input, verilog-auto-insert-lisp)
4777 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4778 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4779 (verilog-auto-unused, verilog-auto-wire)
4780 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4781 newline. Reported by Andrew Jones.
4782 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4783 Reported by Brad Dobbie.
4784 (verilog-batch-delete-trailing-whitespace):
4785 Create verilog-batch-delete-trailing-whitespace.
4786 Reported by Brad Dobbie.
4787 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4788 parameters from another module. Reported by Dan Katz.
4789 (verilog-auto, verilog-auto-assign-modport)
4790 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4791 AUTOINOUTMODPORT for UVM interface module shell generation.
4792 Reported by Brad Dobbie.
4793 (verilog-auto-inst-interfaced-ports): Make default nil, as more
4794 standard behavior.
4795 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4796 Reported by Matt Martin.
4797
4798 2012-09-25 Martin Rudalics <rudalics@gmx.at>
4799
4800 * window.el (window--resize-child-windows): When resizing child
4801 windows proportionally, process them in reverse order to
4802 preserve the "when splitting a window the new one gets the odd
4803 line" behavior.
4804 (window--resize-root-window-vertically): When resizing the
4805 minibuffer window try to affect only windows at the bottom of the
4806 frame. (Bug#12419)
4807
4808 2012-09-25 Chong Yidong <cyd@gnu.org>
4809
4810 * subr.el (declare): Doc fix.
4811
4812 * help-fns.el (help-fns--obsolete): Handle macros properly.
4813
4814 2012-09-25 Chong Yidong <cyd@gnu.org>
4815
4816 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4817 this function obsolete.
4818
4819 * calendar/cal-x.el (calendar-two-frame-setup)
4820 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4821 * calendar/calendar.el (american-calendar, european-calendar)
4822 (calendar-for-loop):
4823 * comint.el (comint-dynamic-simple-complete)
4824 (comint-dynamic-complete-as-filename, comint-unquote-filename):
4825 * desktop.el (desktop-load-default):
4826 * dired-x.el (dired-omit-here-always)
4827 (dired-hack-local-variables, dired-default-directory):
4828 * emacs-lisp/derived.el (derived-mode-class):
4829 * emacs-lisp/timer.el (timer-set-time-with-usecs):
4830 * emacs-lock.el (toggle-emacs-lock):
4831 * epa.el (epa-display-verify-result):
4832 * epg.el (epg-sign-keys, epg-start-sign-keys)
4833 (epg-passphrase-callback-function):
4834 * eshell/esh-util.el (eshell-for):
4835 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4836 (eshell-add-to-window-buffer-names):
4837 * files.el (locate-file-completion):
4838 * imenu.el (imenu-example--create-c-index)
4839 (imenu-example--create-lisp-index)
4840 (imenu-example--lisp-extract-index-name)
4841 (imenu-example--name-and-position):
4842 * international/mule-cmds.el (princ-list):
4843 * international/mule-diag.el (decode-codepage-char):
4844 * international/mule-util.el (detect-coding-with-priority):
4845 * iswitchb.el (iswitchb-read-buffer):
4846 * mail/mailalias.el (mail-complete):
4847 * mail/sendmail.el (mail-sent-via):
4848 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4849 (mouse-major-mode-menu):
4850 * password-cache.el (password-read-and-add):
4851 * pcomplete.el (pcomplete-parse-comint-arguments):
4852 * progmodes/sh-script.el (sh-maybe-here-document):
4853 * replace.el (query-replace-regexp-eval):
4854 * savehist.el (savehist-load):
4855 * simple.el (choose-completion-delete-max-match):
4856 * term.el (term-dynamic-simple-complete):
4857 * vc/ediff-init.el (ediff-check-version):
4858 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4859 * vc/vc.el (vc-diff-switches-list):
4860 * view.el (view-return-to-alist-update): Likewise.
4861
4862 * subr.el (eval-next-after-load, makehash, insert-string)
4863 (assoc-ignore-representation, assoc-ignore-case): Use declare to
4864 mark obsolete.
4865 (mode-line-inverse-video): Variable deleted.
4866
4867 * international/mule-util.el (string-to-sequence): Remove.
4868
4869 * calendar/calendar.el (calendar-version):
4870 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
4871 (icalendar-convert-diary-to-ical):
4872 * cus-edit.el (custom-mode):
4873 * ansi-color.el (ansi-color-unfontify-region):
4874 * international/latin1-disp.el (latin1-char-displayable-p):
4875 * progmodes/cwarn.el (turn-on-cwarn-mode):
4876 * progmodes/which-func.el (which-func-update-1):
4877 Use define-obsolete-function-alias.
4878
4879 * net/newst-backend.el (newsticker-cache-filename):
4880 * net/newst-treeview.el (newsticker-groups-filename):
4881 Fix incorrect obsolescence declaration.
4882
4883 * allout.el (allout-passphrase-hint-string): Likewise.
4884 (allout-init): Use a declare form to mark obsolete.
4885
4886 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4887 this applies to functions.
4888
4889 * iswitchb.el (iswitchb-read-buffer): Move code of
4890 iswitchb-define-mode-map here, and delete that obsolete function.
4891
4892 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4893 font-lock-reference-face.
4894
4895 2012-09-25 Glenn Morris <rgm@gnu.org>
4896
4897 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4898 Doc fixes.
4899
4900 * eshell/em-term.el (eshell-term-name):
4901 Default to term-term-name. (Bug#12485)
4902
4903 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4904
4905 * progmodes/python.el (python-shell-send-buffer): Better handling
4906 of "if __name__ == '__main__':" conditionals when sending the buffer.
4907
4908 2012-09-24 Glenn Morris <rgm@gnu.org>
4909
4910 * eshell/esh-cmd.el (eshell-find-alias-function):
4911 Tighten up file-name regexp. (Bug#12499)
4912
4913 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4914
4915 Enhancements for triple-quote string syntax.
4916 * progmodes/python.el (python-quote-syntax): Remove.
4917 (python-syntax-propertize-function): New value.
4918 (python-syntax-count-quotes, python-syntax-stringify):
4919 New functions.
4920
4921 2012-09-24 Chong Yidong <cyd@gnu.org>
4922
4923 * mail/supercite.el (sc-version): Remove obsolete function.
4924 (sc-describe): Don't mark as obsolete, since it is bound.
4925 (sc-submit-bug-report): Remove.
4926
4927 * vc/log-edit.el (cvs-changelog-full-paragraphs)
4928 (cvs-commit-buffer-require-final-newline): Remove.
4929 (log-edit-require-final-newline)
4930 (log-edit-changelog-full-paragraphs): Default to t.
4931
4932 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
4933 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4934 * vc/vc.el (vc-checkout-carefully): Likewise.
4935
4936 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
4937 (emerge-version): Remove.
4938
4939 * progmodes/compile.el (compile-internal): Remove.
4940 (compilation-parse-errors-function): Fix typo.
4941
4942 * international/mule.el (set-char-table-default): Remove.
4943 (set-coding-priority, make-coding-system, generic-char-p)
4944 (charset-list, charset-bytes, charset-id): Use declare to mark
4945 functions as obsolete.
4946
4947 * vc/pcvs-defs.el (cvs-buffer-name-alist)
4948 (cvs-invert-ignore-marks): Remove references to obsolete vars.
4949 * vc/vc-hooks.el (vc-default-registered): Don't use
4950 vc-master-templates.
4951
4952 * font-lock.el (font-lock-reference-face):
4953 Use define-obsolete-variable-alias.
4954
4955 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4956 * calendar/calendar.el (calendar-font-lock-keywords):
4957 * calendar/diary-lib.el (diary-font-lock-keywords)
4958 (diary-fancy-font-lock-keywords):
4959 * textmodes/reftex-sel.el (reftex-insert-docstruct):
4960 * textmodes/reftex-index.el (reftex-insert-index):
4961 * textmodes/reftex-cite.el (reftex-format-bib-entry):
4962 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4963 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4964 * progmodes/prolog.el (prolog-font-lock-keywords):
4965 * progmodes/idlwave.el (idlwave-idl-keywords):
4966 * progmodes/ada-mode.el (ada-font-lock-keywords):
4967 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4968
4969 2012-09-24 Glenn Morris <rgm@gnu.org>
4970
4971 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4972
4973 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
4974
4975 * progmodes/python.el (python-indent-line): More consistent cursor
4976 movement behavior.
4977
4978 2012-09-23 Stefan Merten <smerten@oekonux.de>
4979
4980 * textmodes/rst.el: Fix compiler warning.
4981
4982 2012-09-23 Roland Winkler <winkler@gnu.org>
4983
4984 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4985 Transcribe also LaTeX hyphenation.
4986 (bibtex-reformat): Bug fix. Do not quote twice the elements of
4987 bibtex-reformat-previous-options.
4988
4989 2012-09-23 Roland Winkler <winkler@gnu.org>
4990
4991 * proced.el (proced-renice-command): New variable.
4992 (proced-marked-processes): New function.
4993 (proced-with-processes-buffer): New macro.
4994 (proced-send-signal): Use them.
4995 (proced-renice): New command bound to r.
4996
4997 2012-09-23 Roland Winkler <winkler@gnu.org>
4998
4999 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5000 ibuffer-saved-filter-groups has one element, shortcut the call of
5001 completing-read. (Bug#12331)
5002
5003 2012-09-23 Chong Yidong <cyd@gnu.org>
5004
5005 * bindings.el (mode-line-toggle-read-only):
5006 * bs.el (bs-toggle-readonly):
5007 * buff-menu.el (Buffer-menu-toggle-read-only):
5008 * dired.el (dired-toggle-read-only):
5009 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5010
5011 2012-09-23 Chong Yidong <cyd@gnu.org>
5012
5013 * image.el (image-type-available-p): Adapt to init-image-library
5014 argument changes.
5015
5016 2012-09-22 Juri Linkov <juri@jurta.org>
5017
5018 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5019 `dired-toggle-read-only'. (Bug#12462)
5020
5021 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5022
5023 * subr.el (temp-output-buffer-show): New function.
5024 (with-output-to-temp-buffer): Call temp-output-buffer-show
5025 instead of internal-temp-output-buffer-show.
5026
5027 2012-09-22 Chong Yidong <cyd@gnu.org>
5028
5029 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5030 (Bug#12462).
5031
5032 * repeat.el (repeat): Doc fix (Bug#12348).
5033
5034 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5035 (Bug#10909).
5036
5037 * simple.el (shell-command-on-region): Doc fix.
5038 (read-only-mode): Doc fix.
5039
5040 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5041
5042 * emacs-lisp/timer.el (run-with-idle-timer)
5043 (timer-activate-when-idle): Warn against reinvoking an idle timer
5044 from within its own timer action. (Bug#12447)
5045
5046 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5047
5048 * cus-start.el (window-combination-limit): Add new optional
5049 values.
5050 * window.el (temp-buffer-window-show)
5051 (window--try-to-split-window): Handle new values of
5052 window-combination-limit (Bug#1806).
5053 (split-window): Test window-combination-limit for t instead of
5054 non-nil.
5055 (display-buffer-at-bottom): New buffer display action function.
5056 * help.el (temp-buffer-resize-regexps): New option.
5057 (temp-buffer-resize-mode): Rewrite doc-string.
5058 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5059 Don't resize reused window. Suggested by Glenn Morris.
5060
5061 2012-09-22 Stefan Merten <smerten@oekonux.de>
5062
5063 * textmodes/rst.el: Revamp section title faces.
5064 (rst-official-version)
5065 (rst-package-emacs-version-alist): Sync with official version
5066 V1.4.0.
5067 (rst-faces-defaults, rst-set-level-default)
5068 (rst-level-face-max, rst-level-face-base-color)
5069 (rst-level-face-base-light, rst-level-face-format-light)
5070 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5071 (rst-adornment-faces-alist): Match new setup.
5072 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5073 (rst-level-5, rst-level-6): New faces.
5074
5075 2012-09-22 Chong Yidong <cyd@gnu.org>
5076
5077 * simple.el (undo): Handle indirect buffers (Bug#8207).
5078
5079 2012-09-21 Leo Liu <sdl.web@gmail.com>
5080
5081 IDO: Disable match re-ordering for buffer switching.
5082 * ido.el (ido-buffer-disable-smart-matches): New variable.
5083 (ido-set-matches-1): Use it. (Bug#2042)
5084
5085 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5086
5087 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5088 Fix 2011-05-17 change. (Bug#12418)
5089
5090 2012-09-21 Leo Liu <sdl.web@gmail.com>
5091
5092 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5093
5094 2012-09-21 Glenn Morris <rgm@gnu.org>
5095
5096 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5097 Be more robust about locating simple.el.
5098
5099 2012-09-21 Glenn Morris <rgm@gnu.org>
5100
5101 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5102
5103 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5104
5105 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5106
5107 2012-09-20 Juri Linkov <juri@jurta.org>
5108
5109 * replace.el (query-replace-read-from): Use `read-regexp' instead
5110 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5111 (occur-read-primary-args): Use `read-regexp' instead of
5112 `read-string'.
5113 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5114 `read-from-minibuffer'.
5115 * isearch.el (isearch-occur): Use `read-regexp' instead of
5116 `read-string'.
5117 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5118 `read-from-minibuffer'.
5119 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5120 of `read-string'. (Bug#7567)
5121
5122 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5123 and allow accepting a list of strings prepended to a list of
5124 standard default values. Doc fix. (Bug#12321)
5125
5126 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5127
5128 * replace.el (read-regexp): Don't add ": " when PROMPT already
5129 ends with a colon and space. (Bug#12321)
5130
5131 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5132
5133 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5134 error.
5135
5136 2012-09-20 Stefan Merten <smerten@oekonux.de>
5137
5138 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5139 Fixes feature request bug#11711.
5140 (rst-mode): Create `imenu-create-index-function'.
5141 (rst-get-stripped-line): Delete after refactoring.
5142 (rst-section-tree, rst-section-tree-rec)
5143 (rst-section-tree-point): Refactor and document properly.
5144 (rst-imenu-find-adornments-for-position)
5145 (rst-imenu-convert-cell, rst-imenu-create-index):
5146 New function.
5147
5148 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5149
5150 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5151 (macroexp--expand-all): Use it.
5152 (macroexp--funcall-and-return): Remove by folding it into its sole
5153 caller (macroexp--warn-and-return).
5154 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5155 Use macroexp--obsolete-warning.
5156
5157 * calc/calc.el: Fix last change by removing the whole chunk, since it
5158 was only needed back when Calc was not bundled.
5159
5160 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5161
5162 * emacs-lisp/debug.el (debug): Restore assignment to
5163 debugger-old-buffer removed on 2012-09-08.
5164
5165 2012-09-20 Juri Linkov <juri@jurta.org>
5166
5167 * dired-aux.el (dired-diff): Remove (require 'diff) since
5168 `diff-latest-backup-file' is now autoloaded.
5169
5170 2012-09-20 Chong Yidong <cyd@gnu.org>
5171
5172 * vc/diff.el (diff-latest-backup-file): Autoload.
5173
5174 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5175
5176 * calc/calc.el: Remove redundant autoload shape check.
5177 (sel-mode): Don't defvar.
5178 (calc-get-stack-element): Add `sel-mode' arg instead.
5179 (calc-top, calc-top-list): Pass it this additional argument.
5180 * calc/calc-store.el (calc-store-map):
5181 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5182 (calc-map-equation, calc-outer-product, calc-inner-product):
5183 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5184
5185 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5186
5187 2012-09-19 Juri Linkov <juri@jurta.org>
5188
5189 * dired-aux.el (dired-diff): Add (require 'diff) because
5190 `diff-latest-backup-file' is not autoloaded.
5191 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5192 of `dired-get-filename' to t to not report error when there is
5193 no default file on the current line.
5194
5195 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5196
5197 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5198 macroexp--eval-if-compile.
5199 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5200 (macroexp--expand-all): Use them (bug#12371).
5201
5202 * doc-view.el (doc-view-guess-paper-size)
5203 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5204
5205 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5206
5207 New feature: set optimal slice from BoundingBox information.
5208 * doc-view.el (doc-view-mode-map): Add keybinding.
5209 (doc-view-menu): Add menu entry.
5210 (doc-view-set-slice): Adapt docstring.
5211 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5212 (doc-view-scale-bounding-box)
5213 (doc-view-set-slice-from-bounding-box): New functions.
5214 (doc-view-paper-sizes): New defvar.
5215
5216 2012-09-19 Glenn Morris <rgm@gnu.org>
5217
5218 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5219 (byte-compile-log-warning): Autoload. (Bug#12371)
5220
5221 * calendar/calendar.el (calendar-american-month-header)
5222 (calendar-european-month-header, calendar-iso-month-header)
5223 (calendar-month-header): New options.
5224 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5225 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5226
5227 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5228
5229 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5230
5231 2012-09-18 Juri Linkov <juri@jurta.org>
5232
5233 * dired-aux.el (dired-diff): Restore original functionality of
5234 getting the default value, but keep new feature of using the
5235 latest existing backup file (`diff-latest-backup-file').
5236
5237 2012-09-18 Juri Linkov <juri@jurta.org>
5238
5239 * dired.el (dired-mark): If the region is active in Transient Mark
5240 mode, mark all files in the active region. Doc fix.
5241 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5242 Doc fix. (Bug#10624)
5243
5244 2012-09-18 Juri Linkov <juri@jurta.org>
5245
5246 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5247 attributes for M-n are pulled from the file at point.
5248 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5249 Suggested by Drew Adams. (Bug#10624)
5250
5251 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5252
5253 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5254 whitespace after "end".
5255 (ruby-do-end-to-brace): Collapse block to one line if it fits
5256 within fill-column.
5257
5258 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5259
5260 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5261 value.
5262 (debug): Don't remove debugger window when debugger is expected
5263 to be back.
5264
5265 2012-09-18 Chong Yidong <cyd@gnu.org>
5266
5267 * custom.el (defface): Doc fix.
5268
5269 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5270
5271 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5272
5273 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5274 to initialize query-on-exit; then test that instead (bug#12288).
5275
5276 2012-09-17 Stefan Merten <smerten@oekonux.de>
5277
5278 * textmodes/rst.el: Add support for `testcover'.
5279 (rst-defcustom-testcover, rst-testcover-add-compose)
5280 (rst-testcover-add-1value): New functions.
5281 (rst-portable-mark-active-p): Replace by `use-region-p'.
5282 (rst-update-section, rst-classify-adornment)
5283 (rst-find-title-line): Mark `1value' forms.
5284 (rst-classify-adornment): Remove superfluous form.
5285 (rst-update-section, rst-get-adornments-around)
5286 (rst-adornment-complete-p, rst-get-next-adornment)
5287 (rst-adjust, rst-promote-region)
5288 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5289 (rst-find-pfx-in-region, rst-section-tree-rec)
5290 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5291 (rst-toc-node, rst-toc, rst-forward-section)
5292 (rst-iterate-leftmost-paragraphs)
5293 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5294 (rst-bullet-list-region)
5295 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5296 (rst-compile-find-conf, rst-compile)
5297 (rst-repeat-last-character): Fix style.
5298
5299 2012-09-17 Chong Yidong <cyd@gnu.org>
5300
5301 * comint.el (comint--complete-file-name-data): Don't add a space
5302 if the status is `sole'; that adds a gratuitous space in the
5303 completion-cycling case (Bug#12092).
5304
5305 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5306
5307 2012-09-17 Richard Stallman <rms@gnu.org>
5308
5309 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5310 only in the mime-shown mode, not in raw mode.
5311 (rmail-mime): Toggle off mime by displaying the message without
5312 mime processing. (Bug#12305)
5313
5314 * mail/rmail.el (rmail-retry-failure):
5315 Turn off mime processing first. (Bug#12037)
5316
5317 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5318
5319 2012-09-17 Chong Yidong <cyd@gnu.org>
5320
5321 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5322 (shell-dynamic-complete-functions): Convert to defcustom.
5323 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5324
5325 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5326 * comint.el (comint-prompt-read-only):
5327 * custom.el (defcustom):
5328 * hi-lock.el (hi-lock-mode):
5329 * ibuffer.el (ibuffer-formats):
5330 * ielm.el (ielm-prompt-read-only):
5331 * novice.el (disable-command):
5332 * saveplace.el (toggle-save-place):
5333 * speedbar.el (speedbar-supported-extension-expressions):
5334 * startup.el (auto-save-list-file-prefix, init-file-user)
5335 (after-init-hook, inhibit-startup-echo-area-message):
5336 * strokes.el (strokes-help):
5337 * time-stamp.el (time-stamp):
5338 * calendar/calendar.el (calendar, diary-file):
5339 * calendar/diary-lib.el (diary-mail-entries, diary)
5340 (diary-list-entries-hook):
5341 * calendar/holidays.el (holidays, calendar-holidays):
5342 * calendar/lunar.el (lunar-phases):
5343 * calendar/solar.el (sunrise-sunset):
5344 * emulation/edt.el (edt-load-keys):
5345 * emulation/viper.el (viper-mode):
5346 * eshell/em-alias.el (eshell-command-aliases-list):
5347 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5348 * international/ogonek.el (ogonek-information):
5349 * net/tramp-cmds.el (tramp-bug):
5350 * net/quickurl.el (quickurl-reread-hook-postfix):
5351 * play/decipher.el (decipher-font-lock-keywords):
5352 * progmodes/cc-styles.el (c-set-style):
5353 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5354 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5355 * progmodes/octave-mod.el (octave-mode):
5356 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5357 * progmodes/verilog-mode.el (verilog-read-defines):
5358 * textmodes/two-column.el (2C-mode): Likewise.
5359
5360 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5361
5362 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5363 that holds many addresses.
5364
5365 2012-09-16 Chong Yidong <cyd@gnu.org>
5366
5367 * align.el (align-areas): Call the indication function with
5368 positions instead of markers for arguments (Bug#12343).
5369
5370 * files.el (parse-colon-path): Use split-string (Bug#12351).
5371
5372 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5373 (display-buffer-function): Mark as obsolete.
5374
5375 * progmodes/compile.el (compilation-parse-errors): Accept list
5376 values similar to font-lock-keywords (Bug#12136).
5377 Suggested by Oleksandr Manzyuk.
5378 (compilation-error-regexp-alist): Doc fix.
5379
5380 2012-09-15 Glenn Morris <rgm@gnu.org>
5381
5382 * version.el (emacs-bzr-version-bzr): New function.
5383 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5384
5385 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5386 checkouts, check the parent dirstate matches the branch.
5387 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5388 empty string.
5389
5390 * version.el (emacs-bzr-version): Doc fix.
5391 (emacs-bzr-version-dirstate): New function.
5392 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5393 is local try and check that it matches the branch. If not, just
5394 use dirstate information. (Bug#12441)
5395
5396 2012-09-14 Juri Linkov <juri@jurta.org>
5397
5398 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5399 (Bug#12399)
5400
5401 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5402
5403 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5404
5405 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5406 Remove obsolete byte-compiler hack that tried to silence some warnings.
5407 (edebug-submit-bug-report): Remove.
5408 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5409 Remove aliases, use the un-prefixed name instead.
5410 (edebug-pop-to-buffer): Consider other frames.
5411 (edebug-original-read):: Make it more obvious that it's always defined.
5412 (edebug--make-form-data-entry, edebug--form-data-name)
5413 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5414 single-dashed name, and implement with cl-defstruct.
5415 (edebug-set-form-data-entry): Use the standard accessors.
5416 (edebug-make-top-form-data-entry): Use push.
5417 (edebug-no-match): Drop useless `funcall'.
5418 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5419 to functions.
5420 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5421 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5422 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5423 (easy-menu-define, with-custom-print): Remove redundant specs.
5424 (edebug-outside-overriding-local-map)
5425 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5426 (edebug--display): Bind unread-command-events directly to nil rather
5427 than binding it to unread-command-events and later setting it to nil.
5428 (edebug--display): Kill edebug-eval-buffer here...
5429 (edebug--recursive-edit): ...rather than here.
5430 Bind standard-output and standard-input.
5431 (edebug-eval): Check cl-macroexpand-all is fboundp.
5432 (edebug-temp-display-freq-count): Fix last change.
5433
5434 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5435 * subr.el (noreturn, 1value): Add `debug' spec.
5436 * emacs-lisp/advice.el: Require cl-lib.
5437 (ad-copy-tree): Remove, use copy-tree instead.
5438 (ad-dolist): Remove use dolist or cl-dolist instead.
5439 (ad-do-return): Remove, use cl-return instead.
5440 (defadvice): Add `debug' spec.
5441
5442 2012-09-13 Juri Linkov <juri@jurta.org>
5443
5444 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5445 (Bug#12399)
5446
5447 2012-09-13 Glenn Morris <rgm@gnu.org>
5448
5449 * calc/calc.el (math-compose-expr):
5450 * calc/calc-ext.el (math-compose-expr):
5451 * progmodes/cc-defs.el (cl-macroexpand-all):
5452 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5453 (cl-macroexpand-all): Update declarations.
5454
5455 * vc/vc.el: No need to require ediff.
5456 (ediff-load-version-control): Declare.
5457 (ediff-vc-internal): Fix declaration.
5458 (vc-version-ediff): Require ediff.
5459
5460 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5461
5462 Use a more backwards-compatible timer format (Bug#12430).
5463 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5464 being right after USECS, as that better supports old code that
5465 inadvisedly looked directly at the timer vector.
5466
5467 2012-09-13 Kenichi Handa <handa@gnu.org>
5468
5469 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5470 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5471 `coding-priority' property of these language environment.
5472
5473 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5474
5475 Fix glitches caused by addition of psec to timers (Bug#12430).
5476 * image.el (image-animate-timer):
5477 * time.el (display-time-world-timer):
5478 Use timer--function and timer--args rather than raw access to
5479 timer vector.
5480
5481 2012-09-13 Glenn Morris <rgm@gnu.org>
5482
5483 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5484 If not compiling a file, try using load-file-name.
5485
5486 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5487
5488 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5489 Fix last change.
5490 (edebug-update-eval-list): Use `push'.
5491
5492 * emacs-lisp/edebug.el: Use lexical-binding.
5493 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5494 Mark unused args with underscore.
5495 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5496 (edebug-form-data): Use defvar-local.
5497 (edebug-make-before-and-after-form, edebug-make-after-form):
5498 Use backquote.
5499 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5500 Not dynamically scoped any more.
5501 (edebug--enter-trace): Add arguments `function' and `args'.
5502 Rename from edebug-enter-trace.
5503 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5504 (edebug--update-coverage): Add `after-index' and `value' args.
5505 Rename from edebug-update-coverage.
5506 (edebug-slow-after): Call it accordingly.
5507 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5508 edebug-recursive-edit.
5509 (edebug--display): Call it accordingly. Add args `value',
5510 `offset-index', and `arg-mode'. Rename from edebug-display.
5511 (edebug-debugger, edebug): Call it accordingly.
5512 (edebug-eval-display-list): Use dolist.
5513
5514 2012-09-12 Juri Linkov <juri@jurta.org>
5515
5516 * info.el (Info-search): Don't check for isearch-mode and
5517 isearch-regexp before let-binding search-spaces-regexp to
5518 Info-search-whitespace-regexp.
5519 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5520 search-whitespace-regexp if isearch-lax-whitespace or
5521 isearch-regexp-lax-whitespace is non-nil.
5522 (Info-mode): Don't set local variable search-whitespace-regexp.
5523 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5524
5525 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5526
5527 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5528 (debugger-env-macro): Remove support for unread-command-char.
5529
5530 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5531 the temporary map re-appearing on emulation-mode-map-alists.
5532
5533 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5534 since 22.1.
5535
5536 * ehelp.el (with-electric-help): Accept functions in
5537 electric-help-form-to-execute.
5538 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5539 And replace unread-command-char -> unread-command-events.
5540
5541 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
5542
5543 Sync with Tramp 2.2.6.
5544
5545 * net/tramp.el (tramp-accept-process-output): Don't use
5546 JUST-THIS-ONE in the XEmacs case.
5547
5548 * net/trampver.el: Update release number.
5549
5550 2012-09-12 Martin Rudalics <rudalics@gmx.at>
5551
5552 * emacs-lisp/debug.el (debugger-previous-window-height):
5553 New variable.
5554 (debug): When debugger-jumping-flag is non-nil try to restore
5555 height of debugger window. (Bug#8789)
5556
5557 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5558
5559 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5560 overriding-local-map and pre/post-command-hook here.
5561 (edebug-recursive-edit): Do it here instead (bug#12345).
5562 (edebug-outside-unread-command-char): Remove all uses of
5563 unread-command-char.
5564
5565 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5566 inhibit-debugger is bound instead.
5567
5568 2012-09-11 Bastien Guerry <bzg@gnu.org>
5569
5570 * subr.el (set-temporary-overlay-map): Add a docstring.
5571 (Bug#12346)
5572
5573 2012-09-11 Bastien Guerry <bzg@gnu.org>
5574
5575 * minibuffer.el (completion-table-subvert): Fix docstring.
5576 (Bug#12347)
5577
5578 2012-09-11 Bastien Guerry <bzg@gnu.org>
5579
5580 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
5581
5582 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5583
5584 * progmodes/sql.el: Version 3.1
5585 (sql-db2-escape-newlines): New variable.
5586 (sql-escape-newlines-filter): Use it.
5587
5588 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
5589
5590 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5591
5592 2012-09-10 Dan Nicolaescu <dann@gnu.org>
5593
5594 * vc/diff-mode.el (diff-mode-menu):
5595 Bind diff-remove-trailing-whitespace.
5596
5597 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5598
5599 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
5600 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5601 (emacs-lisp-byte-code-mode): New functions.
5602 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5603 (eval-defun-2): Remove bogus interactive spec.
5604 (lisp-indent-line): Remove redundant whole-exp code, now done in
5605 indent-according-to-mode.
5606 (save-match-data): Remove redundant indent data.
5607
5608 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5609 Use `declare'.
5610
5611 2012-09-09 Juri Linkov <juri@jurta.org>
5612
5613 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5614 (replace-lax-whitespace, query-replace-regexp)
5615 (query-replace-regexp-eval, replace-regexp): Doc fix.
5616 (perform-replace, replace-highlight): Let-bind
5617 isearch-lax-whitespace to replace-lax-whitespace and
5618 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5619
5620 * isearch.el (isearch-query-replace): Let-bind
5621 replace-lax-whitespace to isearch-lax-whitespace and
5622 replace-regexp-lax-whitespace to
5623 isearch-regexp-lax-whitespace. (Bug#10885)
5624
5625 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5626
5627 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5628
5629 2012-09-09 Alan Mackenzie <acm@muc.de>
5630
5631 * progmodes/cc-engine.el (c-state-cache-init):
5632 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5633 (c-record-parse-state-state):
5634 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
5635
5636 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
5637
5638 * register.el (register-separator): Rename from
5639 separator-register. All uses changed. Doc fix.
5640 (register): Fix version.
5641
5642 2012-09-09 Chong Yidong <cyd@gnu.org>
5643
5644 * replace.el (query-replace-map): Bind four new symbols for
5645 requesting window scrolling.
5646
5647 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5648 query-replace-map (Bug#8948).
5649
5650 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5651
5652 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5653 since they are now in query-replace-map.
5654
5655 * window.el (scroll-other-window-down): Make the arg optional.
5656
5657 2012-09-09 Chong Yidong <cyd@gnu.org>
5658
5659 * files.el (hack-local-variables-confirm): Use quit-window to kill
5660 the *Local Variables* buffer.
5661
5662 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5663
5664 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5665 not just expect to be at its beginning. Adjust callees.
5666 Succeed when do-end block has no space before the pipe character.
5667 (ruby-brace-to-do-end): When the original block is one-liner,
5668 convert to multiline. Reindent the result.
5669
5670 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
5671
5672 * register.el (register): New group.
5673 (separator-register): New user option.
5674 (increment-register): Route it to `append-to-register', if
5675 register contains text. Implication is that `C-x r +' can now be
5676 used for appending to a text register (bug#12217).
5677 (append-to-register, prepend-to-register): Add separator based on
5678 `separator-register'.
5679
5680 2012-09-08 Alan Mackenzie <acm@muc.de>
5681
5682 AWK Mode: make auto-newline work when there's "==" in the pattern.
5683 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5684 correctly.
5685 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5686 Test more rigorously for "=" token.
5687
5688 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5689
5690 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5691 Only fail when reached LIMIT.
5692
5693 2012-09-08 Chong Yidong <cyd@gnu.org>
5694
5695 * dired.el (dired-mode-map): Don't bind M-=.
5696
5697 * dired-aux.el (dired-diff): Use backup file as default.
5698
5699 2012-09-08 Drew Adams <drew.adams@oracle.com>
5700
5701 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5702
5703 2012-09-08 Chong Yidong <cyd@gnu.org>
5704
5705 * subr.el (syntax-after, syntax-class): Doc fix.
5706
5707 2012-09-08 Martin Rudalics <rudalics@gmx.at>
5708
5709 * window.el (display-buffer-in-previous-window): New buffer
5710 display action function.
5711
5712 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5713 (debugger-previous-window): New variable.
5714 (debug): Rewrite using display-buffer-in-previous-window,
5715 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5716
5717 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5718
5719 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5720
5721 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5722
5723 * progmodes/python.el (python-shell-send-string):
5724 When default-directory is remote, create temp file on remote
5725 filesystem.
5726 (python-shell-send-file): When file is remote, pass local view of
5727 file paths to remote Python interpreter. (Bug#12340)
5728
5729 2012-09-07 Chong Yidong <cyd@gnu.org>
5730
5731 * window.el (switch-to-buffer): Doc fix (Bug#12181).
5732
5733 * files.el (after-find-file): Don't fail on a read-only buffer if
5734 require-final-newline is `visit' or `visit-save' (Bug#11156).
5735
5736 * subr.el (read-char-choice): Allow quitting via ESC ESC.
5737
5738 * userlock.el (ask-user-about-supersession-threat):
5739 Use read-char-choice (Bug#12093).
5740
5741 2012-09-07 Chong Yidong <cyd@gnu.org>
5742
5743 * subr.el (buffer-narrowed-p): New function.
5744
5745 * ses.el (ses-widen):
5746 * simple.el (count-words--buffer-message):
5747 * net/browse-url.el (browse-url-of-buffer): Use it.
5748
5749 * simple.el (count-words-region): Don't signal an error if there
5750 is a non-nil prefix arg and the mark is not set.
5751
5752 * help.el (describe-key-briefly): Allow the message to be seen
5753 when invoked from the minibuffer (Bug#7014).
5754
5755 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5756
5757 * progmodes/ruby-mode.el (ruby-end-of-defun)
5758 (ruby-beginning-of-defun): Simplify, allow indentation before
5759 block beginning and end keywords.
5760 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5761 (ruby-end-of-defun): Expect that the point is at the beginning of
5762 the defun.
5763
5764 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5765
5766 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5767 (bug#12367).
5768 (cl--make-usage-args): Strip _ from argument names.
5769
5770 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5771
5772 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5773 obsolete alias speedbar-key-map.
5774 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5775 (vhdl-index-menu-init): Don't use obsolete variable
5776 font-lock-maximum-size.
5777
5778 2012-09-06 Chong Yidong <cyd@gnu.org>
5779
5780 * frame.el (window-system-version): Mark as obsolete.
5781
5782 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5783 of obsolete variable speedbar-key-map.
5784
5785 2012-09-06 Juri Linkov <juri@jurta.org>
5786
5787 * replace.el (replace-lax-whitespace): New defcustom.
5788 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5789 (replace-string, replace-regexp): Mention it in docstrings.
5790 (perform-replace, replace-highlight): Let-bind
5791 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5792 to the values of replace-lax-whitespace and regexp-flag.
5793 Don't let-bind search-whitespace-regexp. (Bug#10885)
5794
5795 * isearch.el (isearch-query-replace): Let-bind
5796 replace-lax-whitespace instead of let-binding
5797 replace-search-function and replace-re-search-function.
5798 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5799 and isearch-regexp-lax-whitespace to lazy-highlight variables.
5800 (isearch-toggle-symbol): Set isearch-regexp to nil
5801 in isearch-word mode (like in isearch-toggle-word).
5802
5803 2012-09-06 Juri Linkov <juri@jurta.org>
5804
5805 * replace.el (replace-search-function)
5806 (replace-re-search-function): Set default values to nil.
5807 (perform-replace): Let-bind isearch-related variables based on
5808 replace-related values, call `isearch-search-fun' and let-bind
5809 the result to `search-function'. Remove code that sets
5810 `search-function' and `search-string' separately for
5811 `delimited-flag'.
5812 (replace-highlight): Add new argument `delimited-flag' and
5813 rename other arguments to the names used in `perform-replace'.
5814 Let-bind `isearch-word' to the argument `delimited-flag'.
5815 (Bug#10885, bug#10887)
5816
5817 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5818
5819 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5820 ruby-beginning-of-indent, simplify, allow all keywords to have
5821 indentation before them.
5822 (ruby-beginning-of-indent): Adjust for above. Search until the
5823 found point is not inside a string or comment.
5824 (ruby-font-lock-keywords): Allow symbols to start with "@"
5825 character, give them higher priority than variables.
5826 (ruby-syntax-propertize-function)
5827 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5828 matchers. Expression expansions are not comments when inside a
5829 string, and there comment syntax status is irrelevant.
5830 (ruby-match-expression-expansion): New function. Check that
5831 expression expansion is inside a string, and it's not escaped.
5832 (ruby-font-lock-keywords): Use it.
5833
5834 2012-09-05 Martin Rudalics <rudalics@gmx.at>
5835
5836 * help.el (temp-buffer-max-height): New default value.
5837 (temp-buffer-resize-frames): New option.
5838 (resize-temp-buffer-window): Optionally resize frame.
5839
5840 * window.el (fit-frame-to-buffer-bottom-margin): New option.
5841 (fit-frame-to-buffer): New function.
5842
5843 2012-09-05 Glenn Morris <rgm@gnu.org>
5844
5845 * emulation/cua-rect.el (cua--init-rectangles):
5846 * textmodes/picture.el (picture-mode-map):
5847 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5848 like forward-char and backward-char. (Bug#12317)
5849
5850 2012-09-05 Leo Liu <sdl.web@gmail.com>
5851
5852 * progmodes/flymake.el (flymake-warning-re): New variable.
5853 (flymake-parse-line): Use it.
5854
5855 2012-09-05 Glenn Morris <rgm@gnu.org>
5856
5857 * calendar/holidays.el (holiday-christian-holidays):
5858 Rename an entry. (Bug#12289)
5859
5860 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5861
5862 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5863 (bug#12222).
5864
5865 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5866
5867 * loadup.el: Load macroexp. Remove hack.
5868 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5869 (macroexp--expand-all): Use it to get better warnings.
5870 (macroexp--backtrace, macroexp--trim-backtrace-frame)
5871 (internal-macroexpand-for-load): New functions.
5872 (macroexp--pending-eager-loads): New var.
5873 (emacs-startup-hook): New hack to replace one in loadup.el.
5874 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5875 (cl--compiler-macro-cXXr): Move to top, before they can be used.
5876 (cl-psetf): Simplify.
5877 (cl-defstruct): Add indent rule.
5878
5879 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
5880
5881 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5882 over `user-mail-address' for the SMTP MAIL FROM envelope.
5883 (smtpmail-via-smtp): Ditto.
5884
5885 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
5886
5887 * progmodes/ruby-mode.el: Clean up keybindings.
5888 (ruby-mode-map): Don't bind ruby-electric-brace,
5889 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5890 backward-kill-word, reindent-then-newline-and-indent.
5891 (ruby-mark-defun): Remove.
5892 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
5893 (ruby-mode): Set local beginning-of-defun-function and
5894 end-of-defun-function values.
5895
5896 2012-09-03 Martin Rudalics <rudalics@gmx.at>
5897
5898 * window.el (temp-buffer-window-setup-hook)
5899 (temp-buffer-window-show-hook): New hooks.
5900 (temp-buffer-window-setup, temp-buffer-window-show)
5901 (with-temp-buffer-window): New functions.
5902 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5903 (special-display-popup-frame): Make sure the window used shows BUFFER.
5904
5905 * help.el (temp-buffer-resize-mode): Fix doc-string.
5906 (resize-temp-buffer-window): New optional argument WINDOW.
5907
5908 * files.el (recover-file, save-buffers-kill-emacs):
5909 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5910
5911 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
5912
5913 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5914 remote definition of `default-directory', ensure we can connect.
5915
5916 2012-09-02 Juri Linkov <juri@jurta.org>
5917
5918 Toggle whitespace matching mode with M-s SPC.
5919 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
5920
5921 * isearch.el (search-whitespace-regexp): Doc fix.
5922 Remove cons cell customization.
5923 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
5924 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
5925 New variables.
5926 (isearch-forward, isearch-forward-regexp): Doc fix.
5927 (isearch-toggle-lax-whitespace): New command.
5928 (search-forward-lax-whitespace, search-backward-lax-whitespace)
5929 (re-search-forward-lax-whitespace)
5930 (re-search-backward-lax-whitespace): New functions.
5931 (isearch-whitespace-regexp): Remove function.
5932 (isearch-query-replace): Let-bind replace-search-function and
5933 replace-re-search-function.
5934 (isearch-occur): Let-bind search-spaces-regexp according to the
5935 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
5936 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
5937 condition for C-q SPC.
5938 (isearch-search-fun-default): Use new functions mentioned above.
5939 (isearch-search-forward, isearch-search-backward): Remove functions.
5940 (isearch-search): Don't let-bind search-spaces-regexp.
5941 (isearch-lazy-highlight-space-regexp): Remove variable.
5942 (isearch-lazy-highlight-lax-whitespace)
5943 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5944 (isearch-lazy-highlight-new-loop): Use them.
5945 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5946
5947 2012-09-02 Chong Yidong <cyd@gnu.org>
5948
5949 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5950
5951 2012-09-02 Glenn Morris <rgm@gnu.org>
5952
5953 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
5954
5955 2012-09-01 Glenn Morris <rgm@gnu.org>
5956
5957 * term.el: Tidy up menu definitions.
5958 (term-mode-map): Use easymenu for In/Out, Complete menus.
5959 (term-pager-break-map): Initialize in the defvar.
5960 (term-terminal-menu, term-signals-menu): Define with easymenu.
5961 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
5962 (term-pager-menu): New, extracted from term-process-pager.
5963 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5964 (term-update-mode-line): Propertize line/char and page items.
5965 (term-process-pager): Move keymap initialization elsewhere.
5966
5967 2012-09-01 Martin Rudalics <rudalics@gmx.at>
5968
5969 * window.el (switch-to-prev-buffer): Handle additional values of
5970 BURY-OR-KILL argument. Don't switch in minibuffer window.
5971 (switch-to-next-buffer): Don't switch in minibuffer window.
5972 (quit-restore-window): New function based on quit-window.
5973 Handle additional values of former KILL argument.
5974 (quit-window): Call quit-restore-window with appropriate
5975 interpretation of KILL argument.
5976 (display-buffer-below-selected): New buffer display action
5977 function.
5978
5979 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5980
5981 * minibuffer.el (completion-at-point-functions): Complete docstring
5982 (bug#12254).
5983
5984 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
5985
5986 Better seed support for (random).
5987 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5988 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5989 * play/mpuz.el, play/tetris.el, play/zone.el:
5990 * calc/calc-comb.el (math-init-random-base):
5991 * play/blackbox.el (bb-init-board):
5992 * play/life.el (life):
5993 * server.el (server-use-tcp):
5994 * type-break.el (type-break):
5995 Remove unnecessary call to (random t).
5996 * net/sasl.el (sasl-unique-id-function):
5997 Change (random t) to (random), now that the latter is more random.
5998 * play/life.el (life-initialized): Remove no-longer-needed var.
5999
6000 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6001
6002 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6003 Consider frame's buffer predicate when choosing the buffer.
6004 (Bug#12081)
6005
6006 2012-08-30 Richard Stallman <rms@gnu.org>
6007
6008 * simple.el (special-mode-map): Delete binding for `z'.
6009
6010 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6011
6012 * progmodes/compile.el (compilation-always-kill): Doc fix.
6013
6014 2012-08-30 Chong Yidong <cyd@gnu.org>
6015
6016 * window.el (display-buffer-reuse-frames): Make the obsolescence
6017 message more informative.
6018
6019 2012-08-30 Glenn Morris <rgm@gnu.org>
6020
6021 * paren.el (show-paren-delay):
6022 Add a :set function. Doc fix. (Bug#12297)
6023
6024 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6025
6026 * progmodes/compile.el (compilation-always-kill): New var.
6027 (compilation-start): Use it.
6028
6029 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6030
6031 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6032 * files.el (read-only-mode): Move to simple.el.
6033
6034 * files.el (read-only-mode): New minor mode.
6035 (toggle-read-only): Use it and mark obsolete.
6036 (find-file--read-only):
6037 * vc/vc.el (vc-next-action, vc-checkout):
6038 * vc/vc-cvs.el (vc-cvs-checkout):
6039 * obsolete/vc-mcvs.el (vc-mcvs-update):
6040 * ffap.el (ffap--toggle-read-only): Update callers.
6041
6042 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6043
6044 * eshell/esh-ext.el (eshell-external-command): Do not examine
6045 remote shell scripts.
6046 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6047
6048 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6049 "/usr/local/sbin".
6050
6051 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6052
6053 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6054
6055 2012-08-28 Leo Liu <sdl.web@gmail.com>
6056
6057 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6058 completion-at-point. (Bug#12220)
6059
6060 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6061
6062 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6063
6064 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6065
6066 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6067 be buffer-local; add delete-trailing-whitespace (bug#12259).
6068
6069 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6070
6071 * progmodes/hideif.el (hif-compress-define-list):
6072 Fix typo. (Bug#11951)
6073
6074 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6075
6076 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6077 buffer local setting.
6078
6079 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6080 rcirc-encode-coding-system.
6081
6082 2012-08-28 Leo Liu <sdl.web@gmail.com>
6083
6084 * net/rcirc.el (rcirc-split-message): New function.
6085 (rcirc-send-message): Use it. (Bug#12051)
6086
6087 2012-08-28 Juri Linkov <juri@jurta.org>
6088
6089 * info.el (Info-fontify-node): Hide empty lines at the end of
6090 the node. (Bug#12272)
6091
6092 2012-08-27 Drew Adams <drew.adams@oracle.com>
6093
6094 * dired.el (dired-pop-to-buffer): Make window start at beginning
6095 of buffer (Bug#12281).
6096
6097 2012-08-26 Chong Yidong <cyd@gnu.org>
6098
6099 * window.el (special-display-regexps, special-display-frame-alist)
6100 (special-display-buffer-names, special-display-function)
6101 (display-buffer-reuse-frames): Mark as obsolete.
6102
6103 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6104
6105 * help.el (help-print-return-message): Don't treat
6106 display-buffer-reuse-frames specially.
6107
6108 2012-08-26 Chong Yidong <cyd@gnu.org>
6109
6110 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6111 New variable, replacing gdb-frame-parameters.
6112 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6113 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6114 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6115 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6116 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6117 the functions directly with gdb-display-buffer-other-frame-action.
6118 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6119 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6120 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6121 (gdb-display-registers-buffer): Define directly.
6122 (def-gdb-display-buffer): Macro deleted.
6123 (gdb-display-buffer): Remove second and third args, callers don't
6124 use them. Defer to the default display-buffer behavior, apart
6125 from making windows dedicated.
6126 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6127
6128 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6129
6130 * window.el (display-buffer-pop-up-frame): Handle a
6131 pop-up-frame-parameters alist entry.
6132 (display-buffer): Document it.
6133
6134 2012-08-26 Chong Yidong <cyd@gnu.org>
6135
6136 * isearch.el (search-whitespace-regexp): Make string and nil
6137 values apply to both ordinary and regexp search. Allow a cons
6138 cell value to distinguish between the two.
6139 (isearch-whitespace-regexp, isearch-search-forward)
6140 (isearch-search-backward): New functions.
6141 (isearch-occur, isearch-search-fun-default, isearch-search)
6142 (isearch-lazy-highlight-new-loop): Use them.
6143 (isearch-forward, isearch-forward-regexp): Doc fix.
6144
6145 2012-08-26 Chong Yidong <cyd@gnu.org>
6146
6147 * faces.el (help-argument-name): Always inherit from italic
6148 (Bug#12213).
6149
6150 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6151
6152 * window.el (window--even-window-heights): Even heights when
6153 WINDOW and the selected window form a vertical combination.
6154 (display-buffer-use-some-window): Provide that window used gets
6155 sized back by quit-window. (Bug#11880) and (Bug#12091)
6156
6157 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6158
6159 Fix file time stamp problem with bzr and CVS (Bug#12001).
6160 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6161 in the file's time stamp, since the version control system loses
6162 that information.
6163
6164 2012-08-22 Juri Linkov <juri@jurta.org>
6165
6166 * info.el (Info-fontify-node): Hide the suffix of the
6167 Info file name in the header line. (Bug#12187)
6168
6169 2012-08-22 Glenn Morris <rgm@gnu.org>
6170
6171 * calendar/cal-tex.el (cal-tex-weekly-common):
6172 Restore leading blank page.
6173
6174 2012-08-22 Le Wang <l26wang@gmail.com>
6175
6176 * misc.el (forward-to-word, backward-to-word): Activate or extend
6177 the region under `shift-select-mode'. (Bug#12231)
6178
6179 2012-08-22 Bastien Guerry <bzg@gnu.org>
6180
6181 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6182 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6183 gives details on why the space is never needed.
6184
6185 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6186
6187 * window.el (walk-window-tree, window-with-parameter):
6188 New optional argument MINIBUF to control whether these functions
6189 should run on the minibuffer window.
6190 (window-at-side-list): Don't operate on minibuffer window.
6191 (window-in-direction): Simplify and rewrite doc-string.
6192 (window--size-ignore): Rename to window--size-ignore-p.
6193 Update callers.
6194 (display-buffer-in-atom-window, window--major-non-side-window)
6195 (window--major-side-window, display-buffer-in-major-side-window)
6196 (delete-side-window, display-buffer-in-side-window):
6197 New functions.
6198 (window--side-check, window-deletable-p, delete-window)
6199 (delete-other-windows, split-window): Handle side windows and
6200 atomic windows appropriately.
6201 (window--display-buffer): Call display-buffer-record-window also
6202 when the window buffer did not change.
6203
6204 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6205
6206 * help-fns.el (help-fns--key-bindings):
6207 Abbreviate non-symbol remap targets. (Bug#12174)
6208
6209 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6210
6211 * dired.el (dired-mark-remembered): Don't clobber point.
6212 (Bug#11795)
6213
6214 2012-08-22 Glenn Morris <rgm@gnu.org>
6215
6216 * progmodes/bug-reference.el (bug-reference): New custom group.
6217 (bug-reference-bug-regexp): Make it a defcustom.
6218
6219 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6220
6221 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6222 (js-paren-indent-offset, js-square-indent-offset)
6223 (js-curly-indent-offset): Add :safe (Bug#12257).
6224
6225 2012-08-22 Edward O'Connor <hober0@gmail.com>
6226
6227 * json.el (json-key-format): Add error properties.
6228 (json-encode-key): New function.
6229 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6230 Use json-encode-key.
6231
6232 2012-08-22 Glenn Morris <rgm@gnu.org>
6233
6234 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6235 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6236 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6237 Update for above change.
6238
6239 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6240
6241 * cus-face.el (custom-face-attributes): Fix customize type for the
6242 :underline attribute. (Bug#11805)
6243
6244 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6245
6246 * window.el (window-point-1, set-window-point-1): Remove.
6247 (window-in-direction, record-window-buffer)
6248 (set-window-buffer-start-and-point, split-window-below)
6249 (window--state-get-1, display-buffer-record-window):
6250 Replace calls to window-point-1 and set-window-point-1 by calls to
6251 window-point and set-window-point respectively.
6252
6253 2012-08-21 Glenn Morris <rgm@gnu.org>
6254
6255 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6256 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6257 Use it.
6258
6259 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6260 (cal-tex-shortday): New function.
6261 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6262 (cal-tex-cursor-filofax-daily): Use the above.
6263
6264 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6265 New functions.
6266 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6267 (cal-tex-cursor-filofax-week): Use them.
6268
6269 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6270 New constants.
6271 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6272 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6273
6274 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6275 (cal-tex-end-document): Don't rely on buffer name.
6276
6277 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6278 Use cal-tex-vspace.
6279 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6280 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6281 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6282 Use cal-tex-arg.
6283
6284 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6285 (cal-tex-cursor-week, cal-tex-cursor-week2)
6286 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6287 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6288 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6289 (cal-tex-insert-preamble, cal-tex-b-document)
6290 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6291 Improve cal-tex-cmd usage.
6292
6293 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6294 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6295 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6296 (cal-tex-weekly-paper): New function.
6297 (cal-tex-cursor-week, cal-tex-cursor-week2)
6298 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6299 (cal-tex-cursor-day): Use it.
6300
6301 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6302 (cal-tex-cursor-filofax-week): Remove leading blank page.
6303
6304 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6305 Add autoload cookie. For now at least, don't use color, since
6306 no other cal-tex function does.
6307
6308 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6309 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6310 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6311
6312 2012-08-21 Juri Linkov <juri@jurta.org>
6313
6314 * info.el (Info-file-attributes): New variable.
6315 (info-insert-file-contents): Add file attributes to
6316 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6317 `Info-toc-nodes' when previous modtime of the Info file is less
6318 than new modtime.
6319 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6320 of info.el. (Bug#12230)
6321
6322 2012-08-20 Glenn Morris <rgm@gnu.org>
6323
6324 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6325 * calendar/holidays.el (calendar-holiday-list):
6326 Report errors with display-warning rather than beep'n'sleep.
6327
6328 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6329
6330 * net/tramp.el (tramp-accept-process-output): Accept only output
6331 from PROC. Otherwise, process filters and sentinels might be
6332 confused. (Bug#12145)
6333
6334 2012-08-20 Chong Yidong <cyd@gnu.org>
6335
6336 * descr-text.el (describe-text-properties-1): Use overlays-in to
6337 report on empty overlays (Bug#3322).
6338
6339 2012-08-20 Glenn Morris <rgm@gnu.org>
6340
6341 * mail/rmailout.el (rmail-output-read-file-name):
6342 Trap and report errors in rmail-output-file-alist elements.
6343
6344 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6345 since most non-font-lock faces are not also variables).
6346
6347 2012-08-20 Edward Reingold <reingold@iit.edu>
6348
6349 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6350 New function. (Bug12160)
6351
6352 2012-08-19 Glenn Morris <rgm@gnu.org>
6353
6354 * mail/rmailout.el (rmail-output-read-file-name):
6355 Fix previous change (when the alist is nil or does not match).
6356
6357 2012-08-19 Chong Yidong <cyd@gnu.org>
6358
6359 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6360 (Bug#12228).
6361
6362 2012-08-18 Chong Yidong <cyd@gnu.org>
6363
6364 * simple.el (yank-handled-properties): New defcustom.
6365 (yank-excluded-properties): Add font-lock-face and category.
6366 (yank): Doc fix.
6367
6368 * subr.el (remove-yank-excluded-properties):
6369 Obey yank-handled-properties. The special handling of font-lock-face
6370 and category is now done this way, instead of being hard-coded.
6371 (insert-for-yank-1): Remove font-lock-face handling.
6372 (yank-handle-font-lock-face-property)
6373 (yank-handle-category-property): New function.
6374
6375 2012-08-17 Glenn Morris <rgm@gnu.org>
6376
6377 * mail/rmailout.el (rmail-output-read-file-name):
6378 Check rmail-output-file-alist against the full message body
6379 in the correct rmail buffer. (Bug#12214)
6380
6381 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
6382
6383 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6384 Eliminate superfluous prompt. (Bug#12203)
6385
6386 2012-08-17 Chong Yidong <cyd@gnu.org>
6387
6388 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6389 font spec, set the font directly (Bug#3228).
6390
6391 2012-08-17 Martin Rudalics <rudalics@gmx.at>
6392
6393 * window.el (delete-window): Fix last fix.
6394
6395 2012-08-16 Martin Rudalics <rudalics@gmx.at>
6396
6397 * window.el (window-valid-p): Move to window.c.
6398 (window-child, window-child-count, window-last-child)
6399 (window-normalize-window, window-combined-p)
6400 (window-combinations, window-atom-root, window-min-size)
6401 (window-sizable, window-sizable-p, window-size-fixed-p)
6402 (window-min-delta, window-max-delta, window--resizable)
6403 (window--resizable-p, window-resizable, window-total-size)
6404 (window-full-height-p, window-full-width-p, window-body-size)
6405 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6406 (minimize-window, window-deletable-p, delete-window)
6407 (delete-other-windows, set-window-buffer-start-and-point)
6408 (next-buffer, previous-buffer, split-window, balance-windows-2)
6409 (set-window-text-height, window-buffer-height)
6410 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6411 (truncated-partial-width-window-p): Minor code adjustments.
6412 In doc-strings state whether the argument window has to denote a
6413 live, valid or any window.
6414
6415 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6416
6417 * progmodes/subword.el (subword-forward-function)
6418 (subword-backward-function, subword-forward-regexp)
6419 (subword-backward-regexp): New variables.
6420 (subword-forward, subword-forward-internal, subword-backward-internal):
6421 Use new variables, eg so that different "word" definitions
6422 can be easily used. (Bug#11411)
6423
6424 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6425
6426 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6427 for composite selectors.
6428 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6429 operation just because we can't find a previous revision.
6430
6431 2012-08-15 Chong Yidong <cyd@gnu.org>
6432
6433 * frame.el (set-frame-font): Accept font objects.
6434
6435 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6436
6437 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6438
6439 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6440
6441 * man.el (Man-overstrike-face, Man-underline-face)
6442 (Man-reverse-face): Remove variables.
6443 (Man-overstrike, Man-underline, Man-reverse): New faces.
6444 (Man-fontify-manpage): Use them instead of the variables.
6445 (Man-cleanup-manpage): Comment change.
6446 (Man-ansi-color-map): New variable.
6447 (Man-fontify-manpage): Use it.
6448 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6449
6450 Implement ANSI SGR parameters 22-27 (bug#12146).
6451 * ansi-color.el (ansi-colors): Doc fix.
6452 (ansi-color-context, ansi-color-context-region): Doc fix.
6453 (ansi-color--find-face): New function.
6454 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6455 Rename the local variable `face' to `codes' since it is now a list of
6456 ansi codes. Doc fix.
6457 (ansi-color-get-face): Remove.
6458 (ansi-color-parse-sequence): New function, derived from
6459 ansi-color-get-face.
6460 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6461 codes 22-27.
6462
6463 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6464
6465 * subr.el (read-passwd): Allow use from a minibuffer.
6466
6467 2012-08-14 Eli Zaretskii <eliz@gnu.org>
6468
6469 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6470 inside comments and strings as identifiers.
6471
6472 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6473 expression to evaluate. This allows to evaluate expressions with
6474 embedded whitespace.
6475 (gud-tooltip-tips): Add a blank before the newline in the
6476 message-box text, for the benefit of message-box emulation on
6477 MS-Windows.
6478
6479 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6480 messages from GDB, pop them up in a tooltip to give feedback to
6481 user.
6482 (gdb-tooltip-print-1): Quote the expression to evaluate.
6483 This allows to evaluate expressions with embedded whitespace.
6484 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6485 if the TTY name is nil or empty (which happens when communicating
6486 with the inferior via pipes, e.g. on MS-Windows).
6487 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6488 don't send that to the GUD buffer.
6489
6490 2012-08-14 Glenn Morris <rgm@gnu.org>
6491
6492 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6493 Optimize away setq-default with no args, as for setq. (Bug#12195)
6494
6495 2012-08-14 Chong Yidong <cyd@gnu.org>
6496
6497 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6498
6499 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6500 (Bug#12085).
6501
6502 2012-08-14 Glenn Morris <rgm@gnu.org>
6503
6504 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6505
6506 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
6507
6508 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6509 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6510 Use cached shell name.
6511
6512 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6513
6514 * progmodes/python.el (python-shell-send-string):
6515 (python-shell-send-setup-code): Do not use `format' with `message'.
6516
6517 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6518
6519 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6520 (ruby-percent-literal-beg-re): New constant.
6521 (ruby-syntax-general-delimiters-goto-beg): Rename to
6522 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6523 (ruby-syntax-propertize-general-delimiters): Rename to
6524 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6525 popular term. Adjust comments everywhere.
6526 (ruby-syntax-propertize-percent-literal): Only propertize when not
6527 inside a simple string or comment. When the literal is unclosed,
6528 leave the text after it unpropertized.
6529 (ruby-syntax-methods-before-regexp): New constant.
6530 (ruby-syntax-propertize-function): Use it to recognize regexps.
6531 Don't look at the text after regexp, just use the whitelist.
6532
6533 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6534
6535 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6536 non-nil always load the compiled file if it exists. (Bug#12197)
6537
6538 2012-08-14 Chong Yidong <cyd@gnu.org>
6539
6540 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6541 (hi-lock-set-pattern): When deciding whether to use font lock or
6542 overlays, look at font-lock-mode instead of font-lock-fontified
6543 (Bug#12168).
6544 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6545 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6546
6547 2012-08-14 Daiki Ueno <ueno@unixuser.org>
6548
6549 * subr.el (internal--after-with-selected-window): Fix typo
6550 (Bug#12193).
6551
6552 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6553
6554 Use `completion-table-dynamic' for completion functions.
6555 * progmodes/python.el
6556 (python-shell-completion--do-completion-at-point)
6557 (python-shell-completion--get-completions):
6558 Remove functions.
6559 (python-shell-completion-complete-at-point): New function.
6560 (python-completion-complete-at-point): Use it.
6561
6562 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
6563
6564 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6565 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6566
6567 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6568
6569 * subr.el (function-get): Refine `autoload' arg so it can also
6570 autoload functions for gv.el (bug#12191).
6571 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6572 autoloads macros.
6573
6574 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6575 Prefer pcase-let over destructuring-bind.
6576 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6577 Also, remove whitespace as we go, rather than after accumulating the
6578 various places.
6579
6580 * subr.el (internal--before-with-selected-window)
6581 (internal--after-with-selected-window): Fix typo seleted->selected.
6582 (with-selected-window): Adjust callers.
6583 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6584
6585 2012-08-13 Bastien Guerry <bzg@gnu.org>
6586
6587 * window.el (special-display-popup-frame): Minor docstring
6588 enhancement. (Bug#12172)
6589
6590 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6591
6592 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6593 type 1-6.
6594 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6595 extended headers.
6596
6597 * files.el (hack-local-variables-filter): Remove useless eval.
6598
6599 2012-08-13 Martin Rudalics <rudalics@gmx.at>
6600
6601 * subr.el (with-selected-window): Fix last change.
6602
6603 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6604
6605 * subr.el (internal--before-with-seleted-window)
6606 (internal--after-with-seleted-window): New functions.
6607 (with-selected-window): Use them, to replace dependency on
6608 tty-top-frame.
6609
6610 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6611
6612 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6613 binding for `newline'.
6614 (ruby-move-to-block): When moving backward, stop at block opening,
6615 not indentation.
6616 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6617 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6618 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6619 `ruby-toggle-block'.
6620
6621 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6622
6623 * ibuffer.el (ibuffer-do-toggle-read-only):
6624 * dired.el (dired-toggle-read-only):
6625 * buff-menu.el (Buffer-menu-toggle-read-only):
6626 * bindings.el (mode-line-toggle-read-only):
6627 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6628
6629 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
6630
6631 * descr-text.el (describe-char): Put the overlays over the
6632 "displayed as" character.
6633
6634 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
6635
6636 * calc/calc-units.el (math-default-units-table): Give an
6637 initial value.
6638 (math-put-default-units): Add options to put composite units and
6639 unit systems in the default units table.
6640 (calc-convert-units): Send composite units to
6641 `math-put-default-units' when appropriate.
6642
6643 2012-08-11 Glenn Morris <rgm@gnu.org>
6644
6645 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6646
6647 * tutorial.el (help-with-tutorial):
6648 * emacs-lisp/copyright.el (copyright-update-directory):
6649 * emacs-lisp/autoload.el (autoload-find-generated-file)
6650 (autoload-find-file): Disable local eval: (for insurance).
6651
6652 * files.el (hack-local-variables-filter): If an eval: form is not
6653 known to be safe, and enable-local-variables is :safe, then ignore
6654 the form totally, as is done for non-eval forms. (Bug#12155)
6655 This is CVE-2012-3479.
6656
6657 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6658
6659 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6660 (rx-form): Simplify.
6661
6662 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
6663
6664 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6665 ?, _, and : are symbol constituents, ! is not (but kinda should be).
6666 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6667 (ruby-syntax-propertize-function): Adjust for changes in
6668 `ruby-syntax-propertize-heredoc'.
6669
6670 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6671
6672 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6673 binding (use `M-;' instead).
6674 (ruby-singleton-class-p): New function.
6675 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
6676
6677 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6678
6679 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6680
6681 2012-08-10 Chong Yidong <cyd@gnu.org>
6682
6683 * progmodes/python.el (python-shell-get-process-name): Don't mess
6684 with same-window-buffer-names.
6685
6686 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6687 (eshell-remove-from-window-buffer-names): Make obsolete.
6688 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6689 (eshell): Just use pop-to-buffer-same-window instead.
6690
6691 2012-08-10 Chong Yidong <cyd@gnu.org>
6692
6693 * bindings.el: Bind M-= back to count-words-region.
6694
6695 * simple.el (count-words-region): Accept a prefix arg for acting
6696 on the entire buffer.
6697 (count-words--buffer-message): New helper function.
6698
6699 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6702 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6703 (event-start, event-end): Use posn-at-point to return a more
6704 informative posn.
6705 (posnp): New function.
6706 * mouse.el (popup-menu-normalize-position): Use it.
6707
6708 2012-08-10 Masatake YAMATO <yamato@redhat.com>
6709
6710 * mouse.el (popup-menu-normalize-position): New function.
6711 (popup-menu): Use `popup-menu-normalize-position' to normalize
6712 the form for POSITION argument.
6713
6714 * term/x-win.el (x-menu-bar-open):
6715 Use the value returend from (posn-at-point) as position
6716 passed to `popup-menu'.
6717
6718 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6719
6720 * calc/calccomp.el (math-compose-expr): Add extra argument
6721 indicating that parentheses should be put around products in
6722 denominators. Give multiplication precedence over division during
6723 composition.
6724
6725 2012-08-09 Chong Yidong <cyd@gnu.org>
6726
6727 * man.el (Man-switches, Man-sed-command, Man-awk-command)
6728 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6729 (Man-untabify-command, manual-program): Convert to defcustom
6730 (Bug#10429).
6731
6732 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6733
6734 * descr-text.el (describe-char): Don't insert extra newlines
6735 (Bug#10127).
6736
6737 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6738 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6739
6740 * align.el (align-region): Delete temporary markers (Bug#10047).
6741 Plus some code cleanups.
6742
6743 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6744
6745 * progmodes/python.el (python-pdbtrack-tracked-buffer)
6746 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6747 (python-shell-internal-last-output): Use make-local-variable
6748 instead of make-variable-buffer-local.
6749
6750 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6751
6752 * progmodes/python.el: Enhancements to forward-sexp.
6753 (python-nav-forward-sexp): Rename from
6754 python-nav-forward-sexp-function.
6755 (python-nav--forward-sexp, python-nav--backward-sexp):
6756 New functions.
6757
6758 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6759
6760 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6761 modes and simplification modes.
6762
6763 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6764
6765 * delsel.el (delete-selection-pre-hook): Don't propagate the
6766 file-supersession signals (bug#12161).
6767
6768 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6771 (cl-map-extents): Add compatibility aliases (bug#12135).
6772
6773 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
6774
6775 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6776 tests by `ignore-error'.
6777 (tramp-find-shell): Open also a new shell, when cache is already
6778 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
6779
6780 2012-08-08 Juri Linkov <juri@jurta.org>
6781
6782 * bookmark.el: Add `defaults' property to the bookmark record.
6783 (bookmark-current-buffer): Doc fix.
6784 (bookmark-make-record): Add `defaults' property with default values
6785 to the bookmark record.
6786 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6787 with `bookmark-insert-current-bookmark'.
6788 (bookmark-set): Get `defaults' property from the bookmark record
6789 and use it in `read-from-minibuffer'.
6790 (bookmark-insert-current-bookmark): Remove function.
6791
6792 * info.el (Info-bookmark-make-record): Add `defaults' property
6793 with values of canonical Info node name, the current Info file
6794 name and the current Info node name. (Bug#12107)
6795
6796 2012-08-08 Juri Linkov <juri@jurta.org>
6797
6798 * files.el (basic-save-buffer): Use `buffer-name' as the default
6799 of `read-file-name' when buffer is not visiting a file (bug#12128).
6800
6801 2012-08-08 Juri Linkov <juri@jurta.org>
6802
6803 * info.el (Info-isearch-search): Doc fix.
6804 (Info-search): Change search-failed message from "initial node" to
6805 "end of node" (bug#12078).
6806 (Info-isearch-search): Change `isearch-string-state' to
6807 `isearch--state-string'.
6808
6809 2012-08-08 Glenn Morris <rgm@gnu.org>
6810
6811 * language/persian.el: Remove file.
6812 * language/misc-lang.el: Move unique part of persian.el here.
6813 * loadup.el: Remove language/persian.
6814
6815 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6816
6817 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6818
6819 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6820
6821 * progmodes/python.el: Fix defsubst warning.
6822 (python-syntax-context) Rename from python-info-ppss-context.
6823 (python-syntax-context-type): Rename from
6824 python-info-ppss-context-type.
6825 (python-syntax-comment-or-string-p): Rename from
6826 python-info-ppss-comment-or-string-p.
6827
6828 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6829
6830 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6831
6832 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6833
6834 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6835 a defcustom that is quoted with backquote.
6836
6837 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6838 Fix handling of interactive spec when the body uses return.
6839 (math-do-arg-check, math-define-function-body): Use backquote forms.
6840 * calc/calc-ext.el (math-defcache): Likewise.
6841 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6842 * allout.el (allout-new-exposure): Likewise.
6843 * calc/calcalg2.el (math-tracing-integral): Likewise.
6844 * info.el (Info-last-menu-item): Likewise.
6845 * emulation/vip.el (vip-loop): Likewise.
6846 * textmodes/artist.el (artist-funcall): Likewise.
6847 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6848 Construct menu-item directly.
6849
6850 * progmodes/autoconf.el (font-lock-syntactic-keywords):
6851 Don't declare.
6852
6853 2012-08-07 Chong Yidong <cyd@gnu.org>
6854
6855 * simple.el (deactivate-mark): Preserve text properties when
6856 saving the primary selection (Bug#8384).
6857
6858 2012-08-07 Kevin Ryde <user42@zip.com.au>
6859
6860 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6861 (woman-parse-numeric-value): On a bad .IP line, issue a warning
6862 and continue processing (Bug#12110).
6863
6864 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6865
6866 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6867 syntax-propertize-function (bug#10095).
6868
6869 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6870
6871 * help-fns.el (help-fns--key-bindings, help-fns--signature)
6872 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6873 describe-function-1.
6874 (describe-function-1): Use them. Move compiler macro after sig.
6875 (help-fns--compiler-macro): Use function-get. Assume we're already in
6876 standard-output. Adjust layout to new call order.
6877
6878 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6879 re-binding a symbol that has a symbol-macro (bug#12119).
6880
6881 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
6882
6883 * language/persian.el: New file. (Bug#11812)
6884 * loadup.el: Add language/persian.el.
6885
6886 2012-08-06 Chong Yidong <cyd@gnu.org>
6887
6888 * window.el (window--maybe-raise-frame): New function.
6889 (window--display-buffer): Split off from here.
6890 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6891 (display-buffer-pop-up-window, display-buffer-use-some-window):
6892 Obey an inhibit-switch-frame action alist entry.
6893 (display-buffer): Update doc.
6894
6895 * replace.el (occur-after-change-function): Avoid losing focus by
6896 using the inhibit-switch-frame display parameter (Bug#12139).
6897
6898 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
6899
6900 Make internal shell process buffer names start with space.
6901 * progmodes/python.el (python-shell-make-comint): Add optional
6902 argument INTERNAL.
6903 (run-python-internal): Use it.
6904 (python-shell-internal-get-or-create-process): Check for new
6905 internal buffer names.
6906
6907 2012-08-06 Glenn Morris <rgm@gnu.org>
6908
6909 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
6910 Do less getting and setting of environment variables.
6911
6912 2012-08-05 Chong Yidong <cyd@gnu.org>
6913
6914 * proced.el (proced): Add substitution string to docstring to
6915 trigger autoloading of the proced library on C-h f (Bug#1768).
6916
6917 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6918 Don't show defvars which have no second argument (Bug#8638).
6919
6920 * imenu.el (imenu-generic-expression): Move documentation here
6921 from imenu--generic-function.
6922 (imenu--generic-function): Refer to imenu-generic-expression.
6923
6924 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
6925
6926 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
6927 indentation declaration.
6928 (viper-loop): Add indentation declaration (Bug#7025).
6929
6930 2012-08-05 Chong Yidong <cyd@gnu.org>
6931
6932 * help-fns.el (describe-variable): Add hyperlink for
6933 directory-local variables files. Improve buffer-local and
6934 permanent-local reporting; suggested by MON KEY (Bug#6644).
6935
6936 * help-mode.el (help-dir-local-var-def): New button type.
6937
6938 * files.el (kill-buffer-hook): Provide a defvar.
6939
6940 2012-08-05 Glenn Morris <rgm@gnu.org>
6941
6942 * eshell/esh-ext.el (eshell/addpath):
6943 Also update eshell-path-env. (Bug#12013)
6944
6945 2012-08-05 Chong Yidong <cyd@gnu.org>
6946
6947 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
6948
6949 * fringe.el (fringe-styles): Add docstring.
6950 (fringe--check-mode): New function.
6951 (set-fringe-mode, set-fringe-style): Use it.
6952 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6953
6954 * files.el (set-auto-mode): Fix invalid setq call.
6955
6956 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6957
6958 * isearch.el: Misc simplification; use defstruct.
6959 (isearch-mode-map): Dense maps now work like sparse ones.
6960 (isearch--state): New defstruct.
6961 (isearch-string-state, isearch-message-state, isearch-point-state)
6962 (isearch-success-state, isearch-forward-state)
6963 (isearch-other-end-state, isearch-word-state, isearch-error-state)
6964 (isearch-wrapped-state, isearch-barrier-state)
6965 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6966 replaced by defstruct's accessors.
6967 (isearch--set-state): Rename from isearch-top-state and change
6968 calling convention.
6969 (isearch-push-state): Use new isearch--get-state.
6970 (isearch-toggle-word): Disable regexp when enabling word.
6971 (isearch-message-prefix): Remove unused arg _c-q-hack.
6972 (isearch-message-suffix): Remove unused arg _ellipsis.
6973
6974 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
6975
6976 * simple.el (list-processes--refresh): For a server use :host or
6977 :local as the address.
6978 (list-processes): Doc fix.
6979
6980 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
6981
6982 * lisp/mpc.el: Support password in host argument.
6983 (mpc--proc-connect): Parse and use new password element.
6984 Set mpc-proc variable instead of returning process.
6985 (mpc-proc): Adjust accordingly.
6986
6987 2012-08-03 Eli Zaretskii <eliz@gnu.org>
6988
6989 * whitespace.el (whitespace-display-mappings): Use Unicode
6990 codepoints, instead of emacs-mule codepoints. See
6991 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6992 for the details.
6993
6994 * files.el (file-truename): Don't skip symlink-chasing part on
6995 windows-nt. Incorporate the resolution of 8+3 short aliases on
6996 Windows into the loop that recursively chases symlinks.
6997 Compare directory and its parent case-insensitively on MS-Windows and
6998 MS-DOS.
6999
7000 2012-08-03 Chong Yidong <cyd@gnu.org>
7001
7002 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7003
7004 * sort.el (sort-regexp-fields): Doc fix.
7005
7006 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7007
7008 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7009 labels regex position point at the expected place.
7010
7011 2012-08-03 MON KEY <monkey@sandpframing.com>
7012
7013 * net/imap.el (imap-interactive-login, imap-authenticate)
7014 (imap-mailbox-lsub, imap-mailbox-list)
7015 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7016 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7017 (imap-parse-response): Doc fix.
7018
7019 2012-08-03 João Távora <joaotavora@gmail.com>
7020
7021 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7022 if sexp scanning does not move point (Bug#5734).
7023
7024 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7025
7026 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7027 Add listings, minted, and ctable packages.
7028 (reftex-label-alist-builtin): Move listings, minted, and ctable
7029 entries before LaTeX.
7030 (reftex-label-alist): Docfix.
7031
7032 2012-08-02 Bastien Guerry <bzg@gnu.org>
7033
7034 * replace.el (occur): Fix docstring (bug#12122).
7035
7036 2012-08-02 Glenn Morris <rgm@gnu.org>
7037
7038 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7039
7040 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7041
7042 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7043 * international/mule-cmds.el: Create
7044 inactivate-current-input-method-function as an obsolete alias for
7045 deactivate-current-input-method-function. See Katsumi Yamaoka in
7046 <http://bugs.gnu.org/10150#46>.
7047
7048 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7049
7050 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7051 of nested `if's.
7052
7053 2012-08-01 Glenn Morris <rgm@gnu.org>
7054
7055 * progmodes/autoconf.el (autoconf-definition-regexp):
7056 Add AH_TEMPLATE, adjust submatch numbering.
7057 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7058 (autoconf-current-defun-function): Update for above change.
7059 (autoconf-current-defun-function): First skip to end of current word.
7060
7061 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7062
7063 * calendar/cal-html.el (cal-html-insert-agenda-days):
7064 Fix typo. (Bug#12018)
7065
7066 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7067
7068 Shell processes: enhancements to startup and CEDET compatibility.
7069 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7070 (python-shell-make-comint): accept-process-output at startup.
7071 (run-python-internal): Set inferior-python-mode-hook to nil.
7072 (python-shell-internal-get-or-create-process): call sit-for.
7073 (python-preoutput-result): Add obsolete alias.
7074 (python-shell-internal-send-string): Use it.
7075 (python-shell-send-setup-code): Remove call to
7076 accept-process-output.
7077
7078 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7079
7080 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7081 (Bug#12108)
7082
7083 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7084
7085 * calc-mode.el (calc-basic-simplification-mode): Rename from
7086 `calc-limited-simplification-mode'.
7087 (calc-alg-simplification-mode): New function.
7088 (calc-set-simplify-mode): Adjust message.
7089
7090 * calc.el (calc-set-mode-line): Adjust mode line display for
7091 basic simplification mode.
7092
7093 * calc-help.el (calc-m-prefix-help): Update help message.
7094
7095 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7096 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7097
7098 2012-07-31 Bastien Guerry <bzg@gnu.org>
7099
7100 * man.el (man): Fix comment. (bug#12101)
7101
7102 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7103
7104 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7105 Don't return a non-nil value when no suitable buffer was found.
7106
7107 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7108
7109 * progmodes/python.el (run-python-internal): Disable font lock for
7110 internal shells.
7111
7112 2012-07-30 Stefan Merten <smerten@oekonux.de>
7113
7114 * textmodes/rst.el: Silence `checkdoc-ispell'.
7115 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7116 (rst-official-version, rst-official-cvs-rev)
7117 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7118 (rst-mode-map): New key binding.
7119
7120 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7121
7122 Update .PHONY listings in makefiles.
7123 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7124 autoloads, update-subdirs, updates, bzr-update, update-authors,
7125 compile-onefile, compile-calc, backup-compiled-files,
7126 compile-after-backup, compile-one-process, mh-autoloads,
7127 bootstrap-clean, distclean, maintainer-clean.
7128
7129 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7130
7131 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7132 (calc-set-mode-line): Don't display "AlgSimp ".
7133
7134 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7135 (calc-lim-simplify-mode): New function.
7136 (calc-set-simplify-mode): Default to 'alg.
7137 (calc-default-simplify-mode): Make algebraic simplifications
7138 the default.
7139
7140 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7141 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7142
7143 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7144 indicate new simplification modes.
7145
7146 * calc/README: Mention new default simplification mode.
7147
7148 * calc/calc.el (math-normalize-error): New variable.
7149 (math-normalize): Set `math-normalize-error' to t
7150 when there's an error.
7151
7152 * calc/calc-alg.el (math-simplify): Don't simplify when
7153 `math-normalize' returns an error.
7154
7155 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7156
7157 * international/mule-cmds.el (set-locale-environment): Revert last
7158 change, since display-graphic-p returns nil when this function is
7159 called during startup. Instead...
7160
7161 * term/w32console.el (terminal-init-w32console): ...setup the
7162 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7163
7164 2012-07-29 Juri Linkov <juri@jurta.org>
7165
7166 * simple.el (goto-line): Don't display default line number in the
7167 prompt because it should be displayed by `read-number' (bug#9952).
7168 Add the current line number to the defaults of `goto-line' to
7169 allow its easier modification by users with `M-n' (bug#9201).
7170
7171 * subr.el (read-number): Support multiple default values like in
7172 other minibuffer reading functions. Replace `read' with
7173 `string-to-number' for consistency with `number-to-string'.
7174
7175 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7176
7177 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7178 * emulation/viper-init.el (viper-deactivate-input-method-action):
7179 Rename from viper-inactivate-input-method-action.
7180 (viper-deactivate-input-method):
7181 Rename from viper-inactivate-input-method.
7182 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7183 * international/mule-cmds.el (deactivate-input-method):
7184 Rename from inactivate-input-method.
7185 Also run input-method-deactivate-hook.
7186 (deactivate-current-input-method-function):
7187 Rename from inactivate-current-input-method-function.
7188 (input-method-deactivate-hook): New hook.
7189 (input-method-inactivate-hook): Mark obsolete.
7190 (inactivate-input-method): Mark obsolete.
7191
7192 * international/quail.el (quail-activate):
7193 Also run quail-deactivate-hook.
7194 (quail-deactivate): Rename from quail-inactivate.
7195 * international/robin.el (robin-activate):
7196 Also run robin-deactivate-hook.
7197 (robin-deactivate): Rename from robin-inactivate.
7198
7199 2012-07-29 Chong Yidong <cyd@gnu.org>
7200
7201 * simple.el (indicate-copied-region): New function.
7202 (kill-ring-save): Split off from here.
7203
7204 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7205 (kill-rectangle): Set deactivate-mark to t on read-only error.
7206
7207 * register.el (copy-to-register, copy-rectangle-to-register):
7208 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7209 (append-to-register, prepend-to-register): Call indicate-copied-region.
7210
7211 2012-07-29 Juri Linkov <juri@jurta.org>
7212
7213 * simple.el (async-shell-command-buffer): New defcustom.
7214 (shell-command): Use it. (Bug#4719)
7215
7216 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7217
7218 * international/mule-cmds.el (set-locale-environment): In a
7219 console session on MS-Windows, set up keyboard and terminal
7220 encoding from the OEM codepage, not the ANSI codepage.
7221 (Bug#12055)
7222
7223 2012-07-28 Chong Yidong <cyd@gnu.org>
7224
7225 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7226 gdb-get-location.
7227
7228 2012-07-28 Leo Liu <sdl.web@gmail.com>
7229
7230 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7231 the alist (bug#12029).
7232
7233 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7234
7235 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7236 (compile-always, compile-first)
7237 ($(lisp)/calendar/cal-loaddefs.el)
7238 ($(lisp)/calendar/diary-loaddefs.el)
7239 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7240 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7241 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7242 instead of on update-subdirs.
7243 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7244
7245 2012-07-28 Chong Yidong <cyd@gnu.org>
7246
7247 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7248 directory if vc-deduce-backend returns nil (Bug#7350).
7249
7250 * simple.el (delete-trailing-lines): New option.
7251 (delete-trailing-whitespace): Obey it (Bug#11879).
7252
7253 2012-07-28 David Engster <deng@randomsample.de>
7254
7255 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7256 Explanation of new 'symbol-qnames feature in doc-strings.
7257 (xml-maybe-do-ns): Return expanded names as plain symbols if
7258 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7259 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7260
7261 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7262
7263 Consistent completion in inferior python with emacs -nw.
7264 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7265 binding in inferior-python-mode-map with "\t".
7266 (python-shell-completion-complete-at-point)
7267 (python-completion-complete-at-point): Remove interactive spec.
7268
7269 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7270
7271 * calc/calccomp.el (math-compose-expr): Undo previous change.
7272
7273 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7274
7275 * progmodes/python.el (python-mode-map): Add keybinding for
7276 run-python.
7277 (python-shell-make-comint): Fix pop-to-buffer call.
7278 (run-python): Autoload. New arg SHOW.
7279 (python-shell-get-or-create-process): Do not pop python process
7280 buffer.
7281
7282 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7283
7284 * notifications.el (notifications-on-action-signal)
7285 (notifications-on-closed-signal): Use also the bus address for the map.
7286 (notifications-notify, notifications-close-notification)
7287 (notifications-get-capabilities): Add optional argument BUS.
7288
7289 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7290
7291 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7292 Add support for the lstlisting and minted environments, and for the
7293 ctable macro.
7294 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7295 labels written in keyvals syntax.
7296
7297 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7298
7299 * calc/calccomp.el (math-compose-expr): Use parentheses when
7300 there is a product in the denominator of a fraction.
7301
7302 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7303
7304 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7305 ($(lisp)/calendar/diary-loaddefs.el)
7306 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7307 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7308 Fixes failures in parallel bootstrap because subdirs.el is being
7309 rewritten while the autoload files are built at the same time,
7310 which needs to load subdirs.el.
7311
7312 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7313
7314 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7315 (mouse-drag-line): Don't exit tracking when a switch-frame or
7316 switch-window event occurs (Bug#12006).
7317
7318 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7319
7320 * mouse.el (popup-menu): Fix last change.
7321
7322 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7323
7324 Autoload from Lisp with more care. Follow aliases when looking for
7325 function properties.
7326 * subr.el (autoloadp): New function.
7327 (symbol-file): Use it.
7328 (function-get): New function.
7329 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7330 autoload-do-load.
7331 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7332 (lisp-indent-function):
7333 * emacs-lisp/gv.el (gv-get):
7334 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7335 * emacs-lisp/byte-opt.el (byte-optimize-form):
7336 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7337 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7338 Use function-get.
7339 * emacs-lisp/cl.el: Don't propagate function properties any more.
7340
7341 * speedbar.el (speedbar-add-localized-speedbar-support):
7342 * emacs-lisp/disass.el (disassemble-internal):
7343 * desktop.el (desktop-load-file):
7344 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7345 (describe-function-1):
7346 * emacs-lisp/find-func.el (find-function-noselect):
7347 * emacs-lisp/elp.el (elp-instrument-function):
7348 * emacs-lisp/advice.el (ad-has-proper-definition):
7349 * apropos.el (apropos-safe-documentation, apropos-macrop):
7350 * emacs-lisp/debug.el (debug-on-entry):
7351 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7352 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7353 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7354
7355 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7356
7357 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7358 function, not an obsolete variable (Bug#12046).
7359
7360 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7361
7362 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7363
7364 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7365
7366 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7367 window only if it is still live (Bug#12034).
7368
7369 2012-07-25 Martin Rudalics <rudalics@gmx.at>
7370
7371 * subr.el (redirect-frame-focus): Add advertised calling
7372 convention (Bug#12030).
7373
7374 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7375
7376 Prefer typical American spelling for "acknowledgment".
7377 * vc/add-log.el (change-log-acknowledgment): Rename from
7378 change-log-acknowledgement, with an alias for the old name.
7379
7380 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7381
7382 * calc-alg.el (math-simplify-divide): Don't cross multiply
7383 in an equation when the lhs is a variable.
7384
7385 2012-07-24 Julien Danjou <julien@danjou.info>
7386
7387 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7388 Remove, unused.
7389
7390 2012-07-23 Eli Zaretskii <eliz@gnu.org>
7391
7392 * startup.el (command-line): Don't display an empty user name in
7393 the error message about non-existent home directory, when
7394 init-file-user was set to an empty string. See
7395 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7396 for the details and context.
7397
7398 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7399
7400 * ses.el (ses-cell-formula-aset): New macro.
7401 (ses-cell-references-aset): New macro.
7402 (ses-cell-p): New function.
7403 (ses-rename-cell): Do no longer rely on complex operations like
7404 ses-cell-set-formula or ses-set-cell to change the cell and handle
7405 the undo at the same time, but rather use lower level new macros
7406 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7407 the undo directly. Refresh the mode line.
7408
7409 2012-07-21 Leo Liu <sdl.web@gmail.com>
7410
7411 * progmodes/cc-cmds.el (c-defun-name):
7412 Use match-string-no-properties instead for consistency.
7413
7414 2012-07-20 Leo Liu <sdl.web@gmail.com>
7415
7416 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7417 (Bug#7879)
7418
7419 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7420
7421 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7422
7423 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7424 * progmodes/bug-reference.el, misearch.el: Provide themselves
7425 (bug#11915).
7426
7427 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7428 of narrowed buffer (bug#11966).
7429
7430 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7431
7432 * ses.el (ses-rename-cell): Set new name also in reference list of
7433 cells of which the renamed cell depends.
7434
7435 2012-07-20 Masatake YAMATO <yamato@redhat.com>
7436
7437 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7438 to check whether menu-bar is shown or not. If not shown,
7439 show the menu-bar as a popup menu instead of using tmm.
7440 * mouse.el (popup-menu): Accept `point' as `position' argument.
7441
7442 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7443
7444 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7445 up inside string symbol literal (bug#11923).
7446
7447 2012-07-20 Eli Zaretskii <eliz@gnu.org>
7448
7449 * startup.el (fancy-startup-text): Read the whole tutorial, not
7450 just its first 256 bytes. Prevents gibberish in display of the
7451 tutorial title.
7452
7453 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7454
7455 Drop idle buffer compaction due to an absence of the
7456 proved efficiency.
7457 * compact.el: Remove.
7458
7459 2012-07-19 Sam Steingold <sds@gnu.org>
7460
7461 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7462 vc-bzr-pull & vc-bzr-merge-branch.
7463 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7464 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7465 for consistency with compilation-error-regexp-alist.
7466 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7467 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7468 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7469 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7470
7471 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7472
7473 * emacs-lisp/chart.el: Use lexical-binding.
7474 (chart-emacs-storage): Don't hardcode the list of entries.
7475
7476 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7477
7478 Next round of tweaks caused by Fgarbage_collect changes.
7479 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7480
7481 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7482
7483 Compact buffers when idle.
7484 * compact.el: New file.
7485
7486 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7487
7488 * subr.el (eventp): Presume that if it looks vaguely like an event,
7489 it's an event (bug#10190).
7490
7491 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7492
7493 Enhancements to ppss related code (thanks Stefan).
7494 * progmodes/python.el (python-indent-context)
7495 (python-indent-calculate-indentation, python-indent-dedent-line)
7496 (python-indent-electric-colon, python-nav-forward-block)
7497 (python-mode-abbrev-table)
7498 (python-info-assignment-continuation-line-p): Simplify checks
7499 for ppss context.
7500 (python-info-continuation-line-p): Cleanup.
7501 (python-info-ppss-context): Do not catch 'quote.
7502 (python-info-ppss-context-type)
7503 (python-info-ppss-comment-or-string-p): Simplify.
7504
7505 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7506
7507 * progmodes/python.el: Enhancements to eldoc support.
7508 (python-info-current-symbol): New function.
7509 (python-eldoc-at-point): Use python-info-current-symbol.
7510 (python-info-current-defun): Fix cornercase on first defun scan.
7511 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7512 and signal error when no inferior python process is available.
7513
7514 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7515
7516 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7517 assume it's always t.
7518 (vc-git-registered): Remove caching, the function is only called
7519 once.
7520 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7521
7522 2012-07-18 Chong Yidong <cyd@gnu.org>
7523
7524 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7525
7526 * simple.el (count-words): Report on narrowing (Bug#9959).
7527
7528 * bindings.el: Bind M-= to count-words.
7529
7530 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7531
7532 2012-07-18 Masatake YAMATO <yamato@redhat.com>
7533
7534 * progmodes/sh-script.el (sh-imenu-generic-expression):
7535 Capture a function with `function' keyword and without parentheses
7536 like "function FOO" (bug#11856).
7537
7538 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7539
7540 * window.el (split-window-sensibly): Make WINDOW argument
7541 optional.
7542
7543 2012-07-18 Chong Yidong <cyd@gnu.org>
7544
7545 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7546
7547 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7548 and make C-x 8 RET exit isearch (Bug#11439).
7549
7550 * international/iso-transl.el: Move isearch-mode-map key
7551 definitions to isearch.el.
7552
7553 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7554
7555 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7556 (eieio-defclass): Use gv-define-setter when possible.
7557
7558 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7559
7560 Reflect recent changes in Fgarbage_collect.
7561 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7562 reflect new format of data returned by Fgarbage_collect.
7563
7564 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7565
7566 New utility functions + python-info-ppss-context fix (Bug#11910).
7567 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7568 (python-info-ppss-comment-or-string-p): New functions.
7569 (python-info-ppss-context): Small fix for string check.
7570
7571 2012-07-17 Juri Linkov <juri@jurta.org>
7572
7573 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7574 (dired-do-async-shell-command): Don't add `*' at the end of the
7575 command (Bug#11815).
7576 (dired-do-shell-command): Doc fix.
7577 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7578 Join the individual commands using either "&" or ";" as the
7579 separator depending on the values of these trailing characters.
7580 At the end re-add the trailing "&". (Bug#10598)
7581
7582 * simple.el (async-shell-command): Sync the interactive spec with
7583 `shell-command'. Doc fix.
7584 (shell-command): Doc fix.
7585
7586 2012-07-17 Juri Linkov <juri@jurta.org>
7587
7588 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7589
7590 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7591
7592 Final renames and doc fixes for movement commands (bug#11899).
7593 * progmodes/python.el (python-nav-beginning-of-statement):
7594 Rename from python-nav-statement-start.
7595 (python-nav-end-of-statement): Rename from
7596 python-nav-statement-end.
7597 (python-nav-beginning-of-block): Rename from
7598 python-nav-block-start.
7599 (python-nav-end-of-block): Rename from python-nav-block-end.
7600
7601 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7602
7603 * progmodes/python.el (python-shell-send-string-no-output):
7604 Allow accept-process-output to quit, keeping shell process ready for
7605 future interactions (Bug#11868).
7606
7607 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7608
7609 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7610
7611 * emacs-lisp/elint.el (elint-find-args-in-code):
7612 Use help-function-arglist, so as to handle lexical byte-code.
7613
7614 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7615 change (bug#11826).
7616
7617 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7618
7619 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7620 Avoid spuriously marking the buffer as modified because of c-is-sws.
7621
7622 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7623 as not-a-comment (bug#11946).
7624
7625 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7626 for uninterned vars.
7627
7628 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7629 Use read-event since we don't really want to read chars but bytes.
7630
7631 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7632 $$..$$ but also $..$ using regexps (bug#11953).
7633 Use tex-verbatim for \url and \path.
7634 (tex-font-lock-keywords): Define as defconst like the others.
7635 (tex-common-initialization): Don't use font-lock-syntax-table any more.
7636
7637 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
7638
7639 * international/mule-cmds.el (ucs-insert): Make it an obsolete
7640 alias for insert-char.
7641
7642 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7643
7644 * progmodes/python.el: Simplified imenu implementation.
7645 (python-nav-jump-to-defun): Remove command.
7646 (python-mode-map): Use `imenu' instead.
7647 (python-nav-list-defun-positions-cache)
7648 (python-imenu-include-defun-type, python-imenu-make-tree)
7649 (python-imenu-subtree-root-label, python-imenu-index-alist):
7650 Remove vars.
7651 (python-nav-list-defun-positions, python-nav-read-defun)
7652 (python-imenu-tree-assoc, python-imenu-make-element-tree)
7653 (python-imenu-make-tree, python-imenu-create-index):
7654 Remove functions.
7655 (python-mode): Update to interact with imenu by setting
7656 `imenu-extract-index-name-function' only.
7657
7658 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7659
7660 * progmodes/python.el: Enhancements to navigation commands.
7661 (python-nav-backward-sentence)
7662 (python-nav-forward-sentence): Remove.
7663 (python-nav-backward-statement, python-nav-forward-statement)
7664 (python-nav-statement-start, python-nav-statement-end)
7665 (python-nav-backward-block, python-nav-forward-block)
7666 (python-nav-block-start, python-nav-block-end)
7667 (python-nav-forward-sexp-function)
7668 (python-info-current-line-comment-p)
7669 (python-info-current-line-empty-p): New functions.
7670 (python-indent-context): Use `python-nav-statement-start'.
7671
7672 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
7673
7674 * eshell/em-ls.el (eshell/ls): Use `apply'.
7675
7676 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7677 multi-hops, instead of Tramp internals.
7678
7679 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7680
7681 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7682 when F1 and F2 are located on different hosts.
7683
7684 2012-07-14 Chong Yidong <cyd@gnu.org>
7685
7686 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7687 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7688 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7689 (xterm-mouse--read-event-sequence-1000)
7690 (xterm-mouse--read-event-sequence-1006): New functions. For old
7691 mouse protocol, handle M-mouse-X events correctly.
7692 (xterm-mouse-event): New arg specifying mouse protocol.
7693 (turn-on-xterm-mouse-tracking-on-terminal)
7694 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
7695 sequence to toggle extended coordinates on newer XTerms.
7696 This appears to be harmless on terminals which do not support this.
7697
7698 2012-07-14 Leo Liu <sdl.web@gmail.com>
7699
7700 Add fringe bitmap indicators for flymake. (Bug#11253)
7701 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7702 (flymake-make-overlay): New arg BITMAP.
7703 (flymake-error-bitmap, flymake-warning-bitmap)
7704 (flymake-fringe-indicator-position): New user variables.
7705
7706 * fringe.el: New bitmap exclamation-mark.
7707
7708 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7709
7710 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7711 also (Bug#7879).
7712
7713 2012-07-14 Chong Yidong <cyd@gnu.org>
7714
7715 * electric.el (electric-pair-post-self-insert-function): Fix pair
7716 insertion in empty-region case (Bug#11520).
7717
7718 2012-07-14 Chong Yidong <cyd@gnu.org>
7719
7720 * bindings.el: Consolidate ctl-x-r-map bindings.
7721 Bind copy-rectangle-as-kill to C-x r w.
7722
7723 * rect.el, register.el: Move bindings to bindings.el.
7724
7725 2012-07-14 Reuben Thomas <rrt@sc3d.org>
7726
7727 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7728
7729 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
7730
7731 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
7732
7733 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
7734
7735 * bindings.el (top): Use `mapc' instead of `mapcar'.
7736
7737 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7738
7739 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
7740
7741 * progmodes/sql.el (sql-comint): Suppress the check for program on
7742 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
7743 (Bug#11908)
7744
7745 2012-07-13 Chong Yidong <cyd@gnu.org>
7746
7747 * bindings.el: Assign a non-nil permanent-local property to
7748 per-buffer variables which lack a default value (Bug#11930).
7749
7750 * help-fns.el (describe-variable): In the "automatically becomes
7751 local" notice, take note of permanent-local variables.
7752
7753 2012-07-13 Chong Yidong <cyd@gnu.org>
7754
7755 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
7756 to allow printing the message when called from Lisp.
7757
7758 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7759 Remove toggle-read-only.
7760
7761 * bs.el (bs-toggle-readonly):
7762 * buff-menu.el (Buffer-menu-toggle-read-only):
7763 Remove with-no-warnings around toggle-read-only.
7764
7765 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7766 Remove with-no-warnings around toggle-read-only.
7767 (ffap-read-only, ffap-read-only-other-window)
7768 (ffap-read-only-other-frame): Callers changed.
7769
7770 * help-mode.el: Don't require view package.
7771 (help-mode-finish): Set buffer-read-only instead of calling
7772 toggle-read-only.
7773
7774 * bindings.el (mode-line-toggle-read-only):
7775 * dired.el (dired-toggle-read-only):
7776 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7777 with non-nil second arg.
7778
7779 * emacs-lisp/eieio-custom.el (eieio-customize-object):
7780 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7781 directly.
7782
7783 2012-07-12 Eli Zaretskii <eliz@gnu.org>
7784
7785 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7786 not incf.
7787
7788 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
7789
7790 More CL cleanups and reduction of use of cl.el.
7791 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7792 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7793 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7794 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7795 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7796 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7797 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7798 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7799 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7800 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7801 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7802 * eshell/em-cmpl.el, eshell/em-banner.el:
7803 * calendar/parse-time.el: Use cl-lib.
7804 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7805 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7806 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7807 * term/ns-win.el, term.el, shell.el, ps-samp.el:
7808 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7809 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7810 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7811 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7812 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7813 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7814 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7815 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7816 `lambda' rather than with `quote'.
7817 (eshell-do-opt): Adjust accordingly.
7818 (eshell-process-option): Simplify.
7819 * eshell/esh-var.el:
7820 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7821 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7822 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7823 to `pcase--dontcare'.
7824 * emacs-lisp/cl.el (labels): Mark obsolete.
7825 (cl--letf, letf): Move to cl-lib.
7826 (cl--letf*, letf*): Remove.
7827 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7828 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7829 (cl-progv): Rewrite.
7830 (cl--letf, cl-letf): Move from cl.el.
7831 (cl-letf*): New macro.
7832 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7833
7834 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
7835
7836 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7837
7838 2012-07-11 Chong Yidong <cyd@gnu.org>
7839
7840 * vc/log-edit.el (log-edit-vc-backend): New variable.
7841 (log-edit): Doc fix.
7842
7843 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7844 argument of log-edit to set up all local variables.
7845 (vc-start-logentry): New optional arg specifying VC backend.
7846
7847 * vc/vc.el (vc-checkin): Use it.
7848 (vc-deduce-fileset): Handle Log Edit buffers.
7849 (vc-diff): Make first argument optional too.
7850
7851 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7852
7853 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
7854
7855 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7856 command, just in case. The function is not needed anymore.
7857 (eshell-external-command): Do not call `eshell-remote-command'.
7858
7859 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
7860
7861 Reduce use of (require 'cl).
7862 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7863 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7864 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7865 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7866 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7867 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7868 * battery.el, avoid.el, abbrev.el: Use cl-lib.
7869 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
7870 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
7871 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
7872 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7873 * calculator.el, autorevert.el, apropos.el: Don't require CL.
7874 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7875 (byte-compile-unfold-bcf, byte-compile-check-variable):
7876 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7877 (byte-compile-nilconstp):
7878 * emacs-lisp/autoload.el (make-autoload): Use pcase.
7879 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7880
7881 * emacs-lisp/gv.el (cond): Make it a valid place.
7882 (if): Simplify slightly.
7883
7884 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7885 (pcase--self-quoting-p): New function.
7886 (pcase--u1): Use it.
7887
7888 2012-07-10 Glenn Morris <rgm@gnu.org>
7889
7890 * emacs-lisp/authors.el (authors-fixed-entries):
7891 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7892
7893 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
7894
7895 Rename configure.in to configure.ac (Bug#11603).
7896 * emacs-lisp/authors.el (authors-canonical-file-name):
7897 * progmodes/autoconf.el (autoconf-mode):
7898 Prefer configure.ac to configure.in.
7899
7900 2012-07-08 Chong Yidong <cyd@gnu.org>
7901
7902 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7903 Implement the mouse-1-click-follows-link handling properly.
7904
7905 * info.el (Info-link-keymap): Use follow-link mechanism for
7906 header-line links (Bug#374).
7907
7908 * simple.el (deactivate-mark): Do not set the primary selection
7909 if another program has acquired it (Bug#11772).
7910
7911 2012-07-07 Kevin Ryde <user42@zip.com.au>
7912
7913 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7914 (woman-decode-region): Replace escaped-escapes without destroying
7915 bold or underline (Bug#11552).
7916 (woman2-process-escapes): Handle nofill regions (Bug#11591).
7917
7918 2012-07-07 Chong Yidong <cyd@gnu.org>
7919
7920 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
7921 (interprogram-cut-function, interprogram-paste-function):
7922 Mention that we typically mean the clipboard.
7923
7924 2012-07-06 Glenn Morris <rgm@gnu.org>
7925
7926 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
7927
7928 * files.el (toggle-read-only): Restrict message to interactive use.
7929
7930 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
7931
7932 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
7933
7934 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
7935
7936 2012-07-06 Glenn Morris <rgm@gnu.org>
7937
7938 * Makefile.in (compile-one-process): Rename from "recompile".
7939
7940 * Makefile.in (bzr-update): "compile" is the same as "recompile
7941 autoloads", but parallelizable, so use that instead.
7942
7943 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
7944
7945 * window.el (quit-window): Always restore window height when
7946 it's saved in quit-restore parameter (Bug#11810).
7947
7948 2012-07-06 Glenn Morris <rgm@gnu.org>
7949
7950 * simple.el (kill-whole-line): Doc tweak.
7951
7952 2012-07-06 Eli Zaretskii <eliz@gnu.org>
7953
7954 * files.el (file-relative-name): Compare file names
7955 case-insensitively if on MS-Windows or MS-DOS, or if
7956 read-file-name-completion-ignore-case is non-nil. Don't use
7957 case-fold-search for this purpose. (Bug#11827)
7958
7959 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
7960
7961 * calendar/cal-dst.el (calendar-current-time-zone):
7962 Return calendar-current-time-zone-cache if non-nil.
7963
7964 2012-07-17 Masatake YAMATO <yamato@redhat.com>
7965 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7966
7967 * calendar/cal-dst.el (calendar-current-time-zone):
7968 Return calendar-current-time-zone-cache if non-nil.
7969
7970 2012-07-06 Glenn Morris <rgm@gnu.org>
7971
7972 * Makefile.in (cvs-update): Remove old alias.
7973
7974 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
7975
7976 Sync with Tramp 2.2.6-pre.
7977
7978 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7979 compatible declaration.
7980
7981 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7982 Protect `list-load-path-shadows' call.
7983
7984 * net/tramp-compat.el (top): Require packages, which aren't
7985 autoloaded anymore for XEmacs. Protect call of
7986 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7987 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
7988 it hurts at least for SXEmacs.
7989 (tramp-compat-temporary-file-directory): In XEmacs, there is no
7990 standard-value for `temporary-file-directory'.
7991
7992 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7993 Redirect stderr to /dev/null.
7994 (tramp-sh-handle-write-region): uid and gid can be floats.
7995 Reported by Russell Sim <russell.sim@gmail.com>.
7996 (tramp-sh-handle-vc-registered): Hide errors.
7997 (tramp-vc-file-name-handler): Use dummy results for `process-file'
7998 and `start-file-process'.
7999 (tramp-maybe-open-connection): Check also whether `non-essential'
8000 is bound.
8001
8002 2012-07-04 Chong Yidong <cyd@gnu.org>
8003
8004 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8005 (xml-parse-tag): Likewise, and avoid changing entity tables.
8006 (xml-syntax-table): Define from scratch, making sure not to give
8007 x2000 and other Unicode spaces whitespace syntax, since those are
8008 not spaces in XML.
8009 (xml-parse-fragment): Delete unused function.
8010 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8011 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8012 (xml-entity-ref, xml-pe-reference-re)
8013 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8014 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8015 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8016 (xml-entity-value-re): Use syntax references in regexps where
8017 possible; no need to define inside a let-binding.
8018 (xml-parse-dtd): Use xml-pe-reference-re.
8019 (xml-entity-or-char-ref-re): New defconst.
8020 (xml-parse-string, xml-substitute-special): Use it.
8021
8022 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8023
8024 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8025 (find-file--read-only): New function.
8026 (find-file-read-only, find-file-read-only-other-window)
8027 (find-file-read-only-other-frame): Use it.
8028 (insert-file-contents-literally): Don't `fset'.
8029 (get-free-disk-space): Use locate-dominating-file.
8030
8031 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8032 function is already compiled.
8033
8034 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8035
8036 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8037
8038 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8039 files on the same host.
8040
8041 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8042
8043 * help-fns.el (describe-function-1): Only call
8044 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8045
8046 2012-07-03 Chong Yidong <cyd@gnu.org>
8047
8048 * xml.el: Protect parser against XML bombs.
8049 (xml-entity-expansion-limit): New variable.
8050 (xml-parse-string, xml-substitute-special): Use it.
8051 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8052
8053 2012-07-03 Glenn Morris <rgm@gnu.org>
8054
8055 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8056 Allow linking to specific messages in debbugs reports (eg 123#5).
8057
8058 2012-07-02 Chong Yidong <cyd@gnu.org>
8059
8060 * xml.el: Fix entity and character reference expansion, allowing
8061 them to expand into markup as per XML spec.
8062 (xml-default-ns): New variable.
8063 (xml-entity-alist): Use XML spec definitions for lt and amp.
8064 (xml-parse-region): Make first two arguments optional.
8065 Discard text properties.
8066 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8067 All callers changed.
8068 (xml-parse-tag): Call xml-parse-tag-1. For backward
8069 compatibility, this function should not modify buffer contents.
8070 (xml-parse-tag-1): Fix opening-tag regexp.
8071 (xml-parse-string): Rewrite, handling entity and character
8072 references properly.
8073 (xml--entity-replacement-text): Signal an error if a parameter
8074 entity is undefined.
8075
8076 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8077
8078 * comint.el (comint-output-filter): Filter out repeated prompts.
8079
8080 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8081 and file-name-absolute-p.
8082 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8083 internal calls.
8084
8085 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8086
8087 Spelling fixes.
8088 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8089 Rename from byte-compile--refiy-function. All uses changed.
8090
8091 2012-07-01 Chong Yidong <cyd@gnu.org>
8092
8093 * xml.el (xml--parse-buffer): New function. Move most of
8094 xml-parse-region here.
8095 (xml-parse-region): Copy region into a temporary buffer, since
8096 parameter entity substitution requires changing buffer contents.
8097 Use xml--parse-buffer.
8098 (xml-parse-file): Use xml--parse-buffer.
8099 (xml-parse-dtd): Make parameter entity substitution work right.
8100 Use proper regexps for ELEMENT declarations (Bug#7172).
8101
8102 2012-06-30 Glenn Morris <rgm@gnu.org>
8103
8104 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8105
8106 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8107 Remove outdated and unnecessary dbus declarations.
8108
8109 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8110
8111 * emacs-lisp/timer.el (timer-until): Subtract results of
8112 float-time, instead of taking float-time of the result of
8113 time-subtract, since float-time signals an error for negative time
8114 arguments.
8115
8116 2012-06-30 Chong Yidong <cyd@gnu.org>
8117
8118 * xml.el (xml-*-re): Convert defvars into defconsts, and
8119 eval-and-compile them so eval-and-compile works on derivatives.
8120 (xml--entity-replacement-text): Use eval-and-comple.
8121
8122 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8123
8124 * vc/vc-git.el (vc-git-registered): Use cache property
8125 `git-registered'.
8126 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8127 `vc-git-working-revision' in order to benefit from the cache.
8128 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8129
8130 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8131
8132 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8133 removed (likely outside Emacs). (Bug#11757)
8134
8135 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8136
8137 * emacs-lisp/cl-lib.el: Require macroexp.
8138
8139 2012-06-30 Chong Yidong <cyd@gnu.org>
8140
8141 * xml.el: Implement XML parameter entities.
8142 (xml-parameter-entity-alist): New variable.
8143 (xml-parse-region, xml-parse-fragment): Preserve previous values
8144 of xml-entity-alist and xml-parameter-entity-alist, so that
8145 repeated calls on different documents do not change them.
8146 (xml-parse-tag): Fix doctype regexp.
8147 (xml--entity-replacement-text): New function.
8148 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8149 properly requires url retrieval which is unimplemented.
8150 (xml-escape-string): Doc fix.
8151
8152 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8153
8154 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8155
8156 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8157
8158 * fringe.el (fringe-mode): Doc fix.
8159
8160 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8161
8162 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8163 is non-nil.
8164 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8165 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8166
8167 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8168
8169 * calendar/cal-dst.el (calendar-current-time-zone):
8170 Return calendar-current-time-zone-cache if non-nil.
8171
8172 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8173
8174 * progmodes/which-func.el (which-func-format):
8175 Add mouse-face. (Bug#11698)
8176
8177 2012-06-29 Leo Liu <sdl.web@gmail.com>
8178
8179 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8180
8181 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8182
8183 * minibuffer.el (minibuffer-confirm-exit-commands):
8184 Add completion-at-point (bug#11725).
8185
8186 2012-06-29 Glenn Morris <rgm@gnu.org>
8187
8188 * progmodes/f90.el (f90-font-lock-keywords-2):
8189 Add some preprocessor elements. (Bug#10499)
8190
8191 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8192
8193 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8194 Use syntax-propertize (bug#11739).
8195
8196 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8197
8198 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8199
8200 2012-06-28 Julien Danjou <julien@danjou.info>
8201
8202 * term.el (term-handle-colors-array): Use a set of new faces to
8203 color the terminal. Also uses :inverse-video property.
8204 (term-default-fg-color): Set to nil by default, deprecate in favor
8205 of `term-face'.
8206 (term-default-bg-color): Set to nil by default, deprecate in favor
8207 of `term-face'.
8208 (term-current-face): Use `term-face' by default.
8209 (term-bold-attribute): Variable deleted.
8210
8211 2012-06-28 Glenn Morris <rgm@gnu.org>
8212
8213 * simple.el (completion-list-mode-finish):
8214 Don't use toggle-read-only. (Since completion-list-mode has
8215 a special mode-class, it wasn't doing anything extra anyway.)
8216
8217 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8218
8219 Make inlining of other-mode interpreted functions work (bug#11799).
8220 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8221 (byte-compile): Use it to fix compilation of lexical-binding closures.
8222 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8223 function, if needed.
8224
8225 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8226
8227 * help-mode.el (help-make-xrefs): Don't just withstand
8228 cyclic-variable-indirection but any error in documentation-property.
8229
8230 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8231 memory use.
8232 * bindings.el (bindings--define-key): New function.
8233 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8234 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8235 * bindings.el: Use it to purecopy define-key bindings.
8236
8237 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8238
8239 * emacs-lisp/cl.el (flet): Mark obsolete.
8240 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8241 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8242 * progmodes/js.el (js-c-fill-paragraph):
8243 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8244 (ebrowse-switch-member-buffer-to-derived-class):
8245 * play/5x5.el (5x5-solver): Use cl-flet.
8246
8247 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8248 (cl--symbol-function): New macro.
8249 (cl--letf, cl--letf*): Use it.
8250
8251 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8252 Strip "toggle-" if any.
8253
8254 2012-06-27 Glenn Morris <rgm@gnu.org>
8255
8256 * info.el (Info-default-directory-list): Move here from paths.el.
8257 * paths.el: Remove file, which is now empty.
8258 * loadup.el: No longer load "paths".
8259
8260 * custom.el (custom-initialize-delay): Doc fix.
8261
8262 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8263 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8264 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8265 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8266 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8267 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8268 * eshell/eshell.el (eshell-defgroup): Remove alias.
8269
8270 2012-06-27 Chong Yidong <cyd@gnu.org>
8271
8272 * help.el (help-enable-auto-load): New variable.
8273
8274 * help-fns.el (help-fns--autoloaded-p): New function.
8275 (describe-function-1): Refer to a function as "autoloaded" if it
8276 was autoloaded at any time in the past. Perform autoloading if
8277 help-enable-auto-load is non-nil.
8278
8279 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8280
8281 * makefile.w32-in (compile, compile-always): Depend on
8282 update-subdirs, not on subdirs.el. Otherwise, several different
8283 sub-targets of 'bootstrap' running in parallel could
8284 simultaneously write to subdirs.el, producing a garbled file.
8285
8286 2012-06-26 Sam Steingold <sds@gnu.org>
8287
8288 * files.el (file-name-base): New convenience function.
8289 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8290 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8291 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8292 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8293 * textmodes/ispell.el, textmodes/reftex-ref.el:
8294 * textmodes/tex-mode.el: Use it.
8295 Did not touch cedet and org because they are maintained elsewhere.
8296
8297 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8298
8299 * calendar/calendar.el (calendar-exit): Don't try to delete or
8300 iconify last frame. See:
8301 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8302
8303 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8304
8305 * server.el (server-process-filter): Remember dir in the
8306 process's `server-client-directory' properties.
8307
8308 2012-06-24 Chong Yidong <cyd@gnu.org>
8309
8310 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8311 non-tag text.
8312
8313 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8314
8315 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8316
8317 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8318
8319 * help-fns.el (describe-variable): Don't croak when doc is not found.
8320 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8321 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8322 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8323 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8324 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8325 ((lambda ..) ..).
8326 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8327
8328 2012-06-23 Chong Yidong <cyd@gnu.org>
8329
8330 * info.el (Info-mouse-follow-link): Accept symbol values of
8331 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8332 (Info-fontify-node): Use Info-link-keymap for all navigation
8333 buttons, with link-args property to perform the desired action.
8334 (Info-link-keymap): Doc fix.
8335 (Info-next-link-keymap, Info-prev-link-keymap)
8336 (Info-up-link-keymap): Delete now-unused keymaps.
8337
8338 2012-06-23 Chong Yidong <cyd@gnu.org>
8339
8340 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8341
8342 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8343 system abbrevs.
8344
8345 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8346
8347 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8348
8349 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8350 (bug#11719).
8351
8352 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8353 the requote function doesn't work properly (bug#11714).
8354
8355 2012-06-23 Glenn Morris <rgm@gnu.org>
8356
8357 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8358
8359 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8360
8361 Further GV/CL cleanups.
8362 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8363 gv-expander.
8364 (gv--defun-declaration): New function.
8365 (defun-declarations-alist): Use it.
8366 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8367 (gv-place): Autoload.
8368 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8369 original definition of dotimes and dolist.
8370 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8371 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8372 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8373 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8374 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8375 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8376 to the function's definition.
8377 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8378 * window.el:
8379 * files.el:
8380 * faces.el:
8381 * env.el: Don't use CL.
8382
8383 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8384
8385 Support higher-resolution time stamps (Bug#9000).
8386
8387 * calendar/time-date.el (with-decoded-time-value): New arg
8388 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8389 (encode-time-value): New optional arg PICO. New type 3.
8390 (time-to-seconds) [!float-time]: Support the new picoseconds
8391 component if it's used.
8392 (seconds-to-time, time-subtract, time-add):
8393 Support ps-resolution time stamps as well.
8394
8395 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8396 (timerp): Timer vectors now have length 9, not 8.
8397 (timer--time): Support new-style (4-part) time stamps.
8398 (timer-next-integral-multiple-of-time): Time stamps now have
8399 picosecond resolution, so take a bit more care about rounding.
8400 (timer-relative-time, timer-inc-time): New optional arg psecs.
8401 (timer-set-time-with-usecs): Set psecs to 0.
8402 (timer--activate): Check psecs component, too.
8403
8404 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8405
8406 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8407
8408 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8409 Move the non-essential binding to the post/pre-command-hook where it is
8410 more obviously correct.
8411
8412 * subr.el (read-passwd): Don't use a history at all.
8413 * savehist.el (savehist-save): Remove password saved accidentally
8414 because of the above bug.
8415
8416 2012-06-22 Bastien Guerry <bzg@gnu.org>
8417
8418 * files.el (toggle-read-only): Display a message telling whether
8419 the buffer is read-only or not (bug#11726).
8420
8421 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8422
8423 * emacs-lisp/gv.el: New file.
8424 * subr.el (push, pop): Extend to generalized variables.
8425 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8426 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8427 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8428 gv-define-simple-setter, and gv-define-expander.
8429 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8430 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8431 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8432 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8433 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8434 gv-letplace.
8435 (cl-defstruct): Don't define setf-method any more.
8436 * emacs-lisp/cl.el (flet): Don't autoload.
8437 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8438 (define-setf-expander, defsetf, define-modify-macro)
8439 (cl-struct-setf-expander): Move from cl-lib.el.
8440 * emacs-lisp/syntax.el:
8441 * emacs-lisp/ewoc.el:
8442 * emacs-lisp/smie.el:
8443 * emacs-lisp/cconv.el:
8444 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8445 (timer--time): Use gv-define-simple-setter.
8446 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8447 to avoid coding-system problems in subr.el. Adjust all users.
8448 (macroexp--maxsize, macroexp-small-p): New functions.
8449 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8450 * scroll-bar.el (scroll-bar-mode):
8451 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8452 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8453 * winner.el (winner-configuration, winner-make-point-alist)
8454 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8455 * files.el (locate-file-completion-table): Avoid list*.
8456
8457 2012-06-22 Chong Yidong <cyd@gnu.org>
8458
8459 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8460 (dired-create-files): Doc fix (Bug#11329).
8461 (dired-do-copy): Doc fix (Bug#11334).
8462 (dired-mark-read-string): Doc fix (Bug#11553).
8463
8464 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8465 Doc fix (Bug#11326).
8466 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8467 (dired-dwim-target): Doc fix.
8468
8469 * wdired.el (wdired-mode): Doc fix.
8470
8471 2012-06-22 Glenn Morris <rgm@gnu.org>
8472
8473 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8474 (pcmpl-rpm-cache-stamp-file): New constant.
8475 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8476 (pcmpl-rpm-packages): Optionally cache list of packages.
8477
8478 * pcmpl-rpm.el (pcmpl-rpm): New group.
8479 (pcmpl-rpm-query-options): New option.
8480 (pcmpl-rpm-packages): No need to inline it.
8481 Use pcmpl-rpm-query-options.
8482
8483 * calendar/calendar.el (calendar-in-read-only-buffer):
8484 Avoid some needless mode changes.
8485
8486 2012-06-21 Chong Yidong <cyd@gnu.org>
8487
8488 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8489 (desktop-path): Remove . from the default value (Bug#10977).
8490 (desktop-read): Use user-emacs-directory if desktop-path is nil.
8491
8492 2012-06-20 Chong Yidong <cyd@gnu.org>
8493
8494 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8495
8496 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8497
8498 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8499 (bug#11201).
8500
8501 2012-06-20 Chong Yidong <cyd@gnu.org>
8502
8503 * term.el (term-window-width): Handle the case of a missing right
8504 fringe (Bug#8837).
8505 (term-check-size): Use window-text-height (Bug#5445).
8506 (term-mode): Use define-derived-mode. Minor cleanups.
8507 Set font-lock-defaults (Bug#7692).
8508 (term-move-columns, term-insert-char, term-emulate-terminal)
8509 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
8510
8511 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
8512
8513 * net/ange-ftp.el (ange-ftp-get-passwd):
8514 Bind `enable-recursive-minibuffers'.
8515 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8516
8517 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8518
8519 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8520
8521 2012-06-19 Glenn Morris <rgm@gnu.org>
8522
8523 * progmodes/python.el (python-mode): Derive from prog-mode.
8524
8525 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8526
8527 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8528 (edt-user-menu-bar-update-buffers): New functions.
8529 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8530
8531 2012-06-19 Chong Yidong <cyd@gnu.org>
8532
8533 * subr.el (with-selected-window): Preserve the selected window's
8534 terminal's top-frame (Bug#4702).
8535
8536 * window.el (save-selected-window): Likewise.
8537
8538 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8539
8540 * progmodes/python.el (python-rx-constituents): Move backquote.
8541 (python-skeleton-define, python-define-auxiliary-skeleton):
8542 Use `declare'.
8543
8544 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
8545
8546 * minibuffer.el (read-file-name-default): Revert the patch from
8547 2012-06-17.
8548
8549 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8550
8551 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8552 (pcase--u1, pcase--q1): Don't use apply-partially.
8553
8554 2012-06-18 Glenn Morris <rgm@gnu.org>
8555
8556 * progmodes/python.el (python-proc, python-buffer)
8557 (python-send-receive, python-send-string): Fix obsolete versions.
8558
8559 2012-06-18 Martin Rudalics <rudalics@gmx.at>
8560
8561 * window.el (special-display-p): Completely remove stringp
8562 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8563
8564 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
8565
8566 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8567
8568 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8569
8570 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8571 * net/tramp-sh.el (tramp-maybe-open-connection):
8572 Throw if `non-essential' is non-nil.
8573
8574 2012-06-17 Martin Rudalics <rudalics@gmx.at>
8575
8576 * window.el (special-display-p): Signal an error if BUFFER-NAME
8577 is not a string (Bug#11713).
8578
8579 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8580
8581 * progmodes/python.el (python-info-beginning-of-backslash):
8582 Rename from python-info-beginning-of-backlash, as a spelling fix.
8583
8584 2012-06-17 Chong Yidong <cyd@gnu.org>
8585
8586 * term.el (term-emulate-terminal): If term-check-size is called,
8587 move point to the process mark without resetting point (Bug#4635).
8588
8589 2012-06-17 Glenn Morris <rgm@gnu.org>
8590
8591 * international/mule-cmds.el (mule-menu-keymap)
8592 (set-language-environment, set-locale-environment): Doc tweaks.
8593
8594 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8595
8596 * cus-face.el (custom-face-attributes): Add wave-style underline
8597 attribute.
8598 * faces.el (set-face-attribute): Update docstring to describe
8599 wave-style underline attribute.
8600
8601 2012-06-16 Chong Yidong <cyd@gnu.org>
8602
8603 * term/xterm.el (terminal-init-xterm): Discard input before
8604 querying background mode (Bug#10959).
8605
8606 2012-06-16 Stefan Merten <smerten@oekonux.de>
8607
8608 * textmodes/rst.el: Added and corrected some comments.
8609 (rst-re-alist-def): Improve symbol syntax.
8610 (rst-mode-syntax-table): Correct syntax entries.
8611 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8612 (rst-official-version, rst-official-cvs-rev): Update version
8613 information.
8614
8615 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
8616
8617 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8618 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8619
8620 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
8621
8622 * progmodes/python.el: New python.el merge.
8623 (python-guess-indent): Obsolete var.
8624 (python-indent-guess-indent-offset): New defcustom.
8625 (python-indent): Obsolete var.
8626 (python-indent-offset): New defcustom.
8627 (python-python-command, python-jython-command): Delete var.
8628 (python-shell-interpreter): New defcustom.
8629 (python-pdbtrack-do-tracking-p): Delete var.
8630 (python-pdbtrack-activate): New defcustom.
8631 (python-use-skeletons): Obsolete var.
8632 (python-skeleton-autoinsert): New defcustom.
8633 (inferior-python-filter-regexp, python-continuation-offset)
8634 (python-honour-comment-indentation, python-indent-string-contents)
8635 (python-jython-packages, python-mode-hook)
8636 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8637 (python-shell-prompt-alist)
8638 (python-source-modes): Delete defcustoms.
8639 (python-check-buffer-name, python-eldoc-setup-code)
8640 (python-eldoc-string-code, python-ffap-setup-code)
8641 (python-ffap-string-code, python-fill-comment-function)
8642 (python-fill-decorator-function, python-fill-paren-function)
8643 (python-fill-string-function, python-imenu-include-defun-type)
8644 (python-imenu-make-tree, python-imenu-subtree-root-label)
8645 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8646 (python-shell-compilation-regexp-alist)
8647 (python-shell-completion-module-string-code)
8648 (python-shell-completion-pdb-string-code)
8649 (python-shell-completion-setup-code)
8650 (python-shell-completion-string-code)
8651 (python-shell-enable-font-lock, python-shell-exec-path)
8652 (python-shell-extra-pythonpaths)
8653 (python-shell-internal-buffer-name, python-shell-interpreter-args)
8654 (python-shell-process-environment)
8655 (python-shell-prompt-block-regexp)
8656 (python-shell-prompt-output-regexp)
8657 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8658 (python-shell-send-setup-max-wait, python-shell-setup-codes)
8659 (python-shell-virtualenv-path): New defcustoms.
8660 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8661 (inferior-python-mode-syntax-table, python--prompt-regexp)
8662 (python-buffer, python-command python-python-command)
8663 (python-default-template, python-imports, python-indent-index)
8664 (python-indent-list, python-indent-list-length)
8665 (python-mode-running, python-pdbtrack-is-tracking-p)
8666 (python-preoutput-continuation, python-preoutput-leftover)
8667 (python-preoutput-result, python-preoutput-skip-next-prompt)
8668 (python-prev-dir/file, python-recursing)
8669 (python-saved-check-command, python-version-checked)
8670 (python-which-func-length-limit)
8671 (view-return-to-alist): Delete vars.
8672 (python-check-custom-command, python-dotty-syntax-table)
8673 (python-imenu-index-alist, python-indent-current-level)
8674 (python-indent-dedenters, python-indent-levels)
8675 (python-nav-beginning-of-defun-regexp)
8676 (python-nav-list-defun-positions-cache)
8677 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8678 (python-shell-internal-buffer)
8679 (python-skeleton-available): New vars.
8680 (def-python-skeleton): Delete macro.
8681 (python-skeleton-define): New macro.
8682 (python-define-auxiliary-skeleton, python-rx): New macros.
8683 (python-insert-class): Delete command.
8684 (python-skeleton-class): New command.
8685 (python-insert-def): Delete command.
8686 (python-skeleton-def): New command.
8687 (python-insert-for): Delete command.
8688 (python-skeleton-for): New command.
8689 (python-insert-if): Delete command.
8690 (python-skeleton-if): New command.
8691 (python-insert-try/except, python-insert-try/finally): Delete commands.
8692 (python-skeleton-try): New command.
8693 (python-insert-while): Delete command.
8694 (python-skeleton-while): New command.
8695 (python-backspace): Delete command.
8696 (python-indent-dedent-line-backspace): New command.
8697 (python-electric-colon): Delete command.
8698 (python-indent-electric-colon): New command.
8699 (python-guess-indent): Delete command.
8700 (python-indent-guess-indent-offset): New command.
8701 (python-shift-left): Delete command.
8702 (python-indent-shift-left): New command.
8703 (python-shift-right): Delete command.
8704 (python-indent-shift-right): New command.
8705 (python-find-function): Delete command.
8706 (python-nav-jump-to-defun): New command.
8707 (python-next-statement): Delete command.
8708 (python-nav-forward-sentence): New command.
8709 (python-previous-statement): Delete command.
8710 (python-nav-backward-sentence): New command.
8711 (python-fill-paragraph): Delete command.
8712 (python-fill-paragraph-function): New command.
8713 (python-send-buffer): Delete command.
8714 (python-shell-send-buffer): New command.
8715 (python-send-defun): Delete command.
8716 (python-shell-send-defun): New command.
8717 (python-send-region, python-send-region-and-go): Delete commands.
8718 (python-shell-send-region)
8719 (python-shell-switch-to-shell): New commands.
8720 (python-send-string): Delete command.
8721 (python-shell-send-string): New command.
8722 (python-switch-to-python): Delete command.
8723 (python-shell-switch-to-shell): New command.
8724 (python-describe-symbol): Delete command.
8725 (python-eldoc-at-point): New command.
8726 (python--set-prompt-regexp, python-args-to-list)
8727 (python-after-info-look, python-check-version)
8728 (python-check-comint-prompt, python-find-imports)
8729 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8730 (python-unload-function, python-expand-template)
8731 (python-maybe-jython, python-preoutput-filter)
8732 (python-pdbtrack-get-source-buffer)
8733 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8734 (python-pdbtrack-toggle-stack-tracking)
8735 (python-pdbtrack-track-stack-file, python-initial-text)
8736 (python-first-word, python-comment-line-p, python-send-command)
8737 (python-setup-brm, python-sentinel, python-set-proc)
8738 (python-skip-out, python-input-filter, python-outdent-p)
8739 (python-outline-level, python-backslash-continuation-line-p)
8740 (python-end-of-block, python-end-of-statement, python-mark-block)
8741 (python-beginning-of-block, python-beginning-of-statement)
8742 (python-blank-line-p, python-beginning-of-string)
8743 (python-open-block-statement-p): Delete functions.
8744 (python-indent-line, python-indent-line-1): Delete functions.
8745 (python-indent-line): New function.
8746 (python-indentation-levels): Delete function.
8747 (python-indent-calculate-levels): New function.
8748 (python-proc): Delete function.
8749 (python-shell-get-process): New function.
8750 (python-send-receive): Delete function.
8751 (python-shell-send-string-no-output): New function.
8752 (python-module-path): Delete function.
8753 (python-ffap-module-path): New function.
8754 (python-completion-at-point)
8755 (python-symbol-completions): Delete functions.
8756 (python-completion-complete-at-point): New function.
8757 (python-load-file): Delete function.
8758 (python-shell-send-file): New function.
8759 (python-calculate-indentation): Delete function.
8760 (python-indent-calculate-indentation): New function.
8761 (python-skip-comments/blanks): Delete function.
8762 (python-util-forward-comment): New function.
8763 (python-continuation-line-p): Delete function.
8764 (python-info-continuation-line-p): New function.
8765 (python-which-func, python-current-defun): Delete function.
8766 (python-info-current-defun): New function.
8767 (python-beginning-of-defun): Delete function.
8768 (python-nav-beginning-of-defun): New function.
8769 (python-close-block-statement-p)
8770 (python-block-end-p): Delete function.
8771 (python-info-closing-block): New function.
8772 (python-comint-output-filter-function)
8773 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8774 (python-fill-comment, python-fill-decorator, python-fill-paren)
8775 (python-fill-string, python-imenu-make-element-tree)
8776 (python-imenu-make-tree, python-imenu-tree-assoc)
8777 (python-indent-context, python-indent-dedent-line)
8778 (python-indent-line-function)
8779 (python-indent-post-self-insert-function)
8780 (python-indent-toggle-levels)
8781 (python-info-assignment-continuation-line-p)
8782 (python-info-beginning-of-backlash)
8783 (python-info-block-continuation-line-p)
8784 (python-info-closing-block-message)
8785 (python-info-line-ends-backslash-p)
8786 (python-info-looking-at-beginning-of-defun)
8787 (python-info-ppss-context, python-info-ppss-context-type)
8788 (python-nav-list-defun-positions, python-nav-read-defun)
8789 (python-nav-sentence-end, python-nav-sentence-start)
8790 (python-pdbtrack-comint-output-filter-function)
8791 (python-pdbtrack-set-tracked-buffer)
8792 (python-shell-calculate-exec-path)
8793 (python-shell-calculate-process-environment)
8794 (python-shell-completion--do-completion-at-point)
8795 (python-shell-completion--get-completions)
8796 (python-shell-completion-complete-at-point)
8797 (python-shell-completion-complete-or-indent)
8798 (python-shell-get-or-create-process)
8799 (python-shell-get-process-name)
8800 (python-shell-internal-get-or-create-process)
8801 (python-shell-internal-get-process-name)
8802 (python-shell-internal-send-string, python-shell-make-comint)
8803 (python-shell-parse-command, python-shell-send-setup-code)
8804 (python-skeleton-add-menu-items)
8805 (python-util-clone-local-variables, python-util-position)
8806 (run-python-internal, python-indentation-levels)
8807 (python-nav-beginning-of-defun)
8808 (python-completion-complete-at-point): New functions.
8809 (run-python): Change arguments. New API requirements.
8810
8811 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8812
8813 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8814 (bug#11649).
8815
8816 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8817 (macroexp--expand-all): Use it.
8818
8819 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8820 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8821 Use `cl-function' instead.
8822
8823 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
8824
8825 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8826 Suggested by Stefan Monnier while discussing bug#11657.
8827
8828 2012-06-14 Sam Steingold <sds@gnu.org>
8829
8830 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8831
8832 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8833
8834 * play/doctor.el (doctor-doc): Remove parameter and use
8835 doctor-sent instead of sent.
8836 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
8837
8838 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8839
8840 * files.el: Require cl-lib.
8841 (file-name-non-special): Replace case -> cl-case.
8842
8843 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8844
8845 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8846 mapping from #' to function*.
8847
8848 2012-06-13 Chong Yidong <cyd@gnu.org>
8849
8850 * mouse.el (mouse-drag-track): Do not set the mark if the user
8851 releases the mouse without selecting anything (Bug#11588).
8852
8853 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8856 as well (bug#11646).
8857
8858 * loadup.el: Count byte-code functions as well.
8859
8860 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8861 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8862
8863 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8864 (bug#11649). Add cl-defun and cl-defmacro.
8865
8866 2012-06-13 Drew Adams <drew.adams@oracle.com>
8867
8868 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8869 Fix last change.
8870
8871 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
8872
8873 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8874 Otherwise, it blocks in batch mode.
8875
8876 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
8877
8878 * help-mode.el (bookmark-make-record-default): Declare.
8879
8880 2012-06-13 Chong Yidong <cyd@gnu.org>
8881
8882 * emacs-lisp/package.el (list-packages): Compute a list of
8883 packages that are newly-available since the last list-packages
8884 invocation.
8885 (package-menu--new-package-list): New var.
8886 (package-menu--generate, package-menu--print-info)
8887 (package-menu--status-predicate, package-menu-mark-install):
8888 Handle new status label "new".
8889
8890 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8891
8892 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8893 conversion to backquotes.
8894
8895 2012-06-12 Chong Yidong <cyd@gnu.org>
8896
8897 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8898 Rename from gud-inhibit-global-bindings.
8899
8900 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8901
8902 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8903 hook from nxml-glyph-set-hook.
8904
8905 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8906 declaration.
8907
8908 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8909
8910 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8911 Convert to defcustom.
8912
8913 2012-06-12 Drew Adams <drew.adams@oracle.com>
8914
8915 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8916 New functions.
8917 (help-mode): Use them.
8918
8919 2012-06-11 Glenn Morris <rgm@gnu.org>
8920
8921 * progmodes/fortran.el (fortran-font-lock-keywords-3):
8922 Use preprocessor face for directives.
8923 (fortran-directive-re): Doc fix.
8924
8925 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8926
8927 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
8928 conversion to backquotes (bug#11652).
8929
8930 Fix compiler-expansion of CL's cXXr functions (bug#11673).
8931 * emacs-lisp/cl-lib.el (cl--defalias): New function.
8932 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
8933 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
8934 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8935 (cl-ninth, cl-tenth): Mark them as inlinable.
8936 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
8937 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
8938 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
8939 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
8940 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
8941 (cl-list*, cl-adjoin): Don't put an autoload manually.
8942 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
8943 (cl--compiler-macro-list*): Add autoload cookie.
8944 (cl--compiler-macro-cXXr): New function.
8945
8946 * help-fns.el (help-fns--compiler-macro): New function extracted from
8947 describe-function-1; follow aliases and use `compiler-macro' property.
8948 (describe-function-1): Use it.
8949
8950 2012-06-11 Chong Yidong <cyd@gnu.org>
8951
8952 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8953 is uninstalled, if imagemagick is installed.
8954
8955 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8956
8957 * emacs-lisp/cl-lib.el: Use lexical-binding.
8958 (cl-map-extents, cl-maclisp-member): Remove.
8959 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8960 (cl--set-substring, cl--block-wrapper, cl--block-throw)
8961 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8962 * emacs-lisp/cl-extra.el: Use lexical-binding.
8963 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8964 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8965 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8966 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8967 * emacs-lisp/cl-seq.el: Use lexical-binding.
8968 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8969 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8970 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8971 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8972 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8973 CL's internals.
8974
8975 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
8976
8977 Sync with Tramp 2.2.6-pre.
8978
8979 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8980 `print-length' and `print-level' to nil, in order to avoid
8981 truncation. Reported by Christopher Schmidt
8982 <christopher@ristopher.com>.
8983
8984 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8985
8986 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8987 New defmacro.
8988 (tramp-compat-copy-directory): Add optional argument
8989 COPY-CONTENTS. It is not handled yet.
8990
8991 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8992 (tramp-ftp-file-name-p): Simplify.
8993
8994 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8995 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8996 connection vector.
8997
8998 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8999 (tramp-methods): Do not use `tramp-password-end-of-line'.
9000 (tramp-completion-function-alist-putty): Handle UNIX case.
9001 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9002 (tramp-do-file-attributes-with-stat)
9003 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9004 gid as real numbers. They could run out of integer range on cygwin.
9005 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9006 (tramp-sh-handle-expand-file-name): Handle hops.
9007 (tramp-open-connection-setup-interactive-shell):
9008 Use `tramp-cleanup'. Move check for busyboxes ...
9009 (tramp-find-shell): ... here. Simplify implementation.
9010 Set "remote-shell" property also for alternative shells.
9011 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9012 If failing, a regular file would be written otherwise.
9013 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9014 (tramp-find-inline-encoding): Cache the coding commands in the
9015 process cache. Apply test command on the remote side, if defined.
9016 (tramp-find-inline-compress): Cache the compress commands in the
9017 process cache.
9018 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9019 when requested. Handle hops.
9020 (tramp-current-connection): New defvar.
9021 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9022 Throw `suppress', if there was a failed connection shortly before.
9023 Handle user interrupt. (Bug#10187)
9024 (tramp-get-inline-compress, tramp-get-inline-coding):
9025 Read connection properties from the process cache.
9026
9027 * net/tramp-smb.el (tramp-smb-server-version)
9028 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9029 New defconsts.
9030 (tramp-smb-prompt): Extend for powershell prompt.
9031 (tramp-smb-file-name-handler-alist): Add handlers for
9032 `process-file', `shell-command' and `start-file-process'.
9033 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9034 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9035 (tramp-smb-file-name-p): Simplify.
9036 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9037 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9038 (tramp-smb-shell-quote-argument): New defuns.
9039 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9040 Implement using "tar". By this, time-stamps are preserved.
9041 (tramp-smb-handle-copy-file): Handle also the case of directories.
9042 (tramp-smb-do-file-attributes-with-stat)
9043 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9044 Use `tramp-get-connection-buffer').
9045 (tramp-smb-handle-rename-file): Use "rename", when source and
9046 target are on the same share.
9047 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9048 Use `tramp-smb-server-version'.
9049 (tramp-smb-wait-for-output): Remove prompt.
9050
9051 * net/tramp.el (top): Require 'cl.
9052 (tramp-methods, tramp-rsh-end-of-line):
9053 Remove `tramp-password-end-of-line' from docstring.
9054 (tramp-save-ad-hoc-proxies): New defcustom.
9055 (tramp-completion-function-alist): Adapt docstring.
9056 (tramp-default-password-end-of-line): Remove defcustom.
9057 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9058 (tramp-user-regexp, tramp-file-name-regexp-unified)
9059 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9060 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9061 (tramp-remote-file-name-spec-regexp): New defconst.
9062 (tramp-file-name-structure): Extend structure for hops.
9063 (tramp-get-method-parameter): Move up.
9064 (tramp-file-name-p, tramp-dissect-file-name)
9065 (with-parsed-tramp-file-name): Handle hops.
9066 (tramp-file-name-hop): New defun.
9067 (tramp-make-tramp-file-name): New optional arg HOP.
9068 (tramp-message-show-progress-reporter-message): New defvar.
9069 (tramp-with-progress-reporter): Use it. We cannot use
9070 `tramp-message-show-message' here, because this suppresses also
9071 error buffers.
9072 (tramp-error-with-buffer): Suppress buffer view, if
9073 `tramp-message-show-message' is nil.
9074 Use `tramp-get-connection-buffer'.
9075 (tramp-cleanup): New defun.
9076 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9077 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9078 an error unchanged.
9079 (tramp-completion-handle-file-name-all-completions): Handle hops.
9080 Fix an error when called from ido.
9081 (tramp-completion-dissect-file-name): Use better local variable
9082 name. Add hop to the vector.
9083 (tramp-handle-insert-file-contents): Use progress-reporter for the
9084 whole scenario.
9085 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9086 to `t'.
9087 (tramp-check-for-regexp): Simplify search.
9088 (tramp-enter-password): Remove it. Move implementation ...
9089 (tramp-action-password): ... here.
9090 (tramp-mode-string-to-int, tramp-local-host-p)
9091 (tramp-make-tramp-temp-file, tramp-read-passwd)
9092 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9093 Set tramp-autoload cookie.
9094
9095 * net/trampver.el: Update release number.
9096
9097 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9098 Michael Albinus <michael.albinus@gmx.de>
9099
9100 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9101 (tramp-parse-group, tramp-parse-file)
9102 (tramp-parse-shostkeys-sknownhosts): New defuns.
9103 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9104 (tramp-parse-shosts-group, tramp-parse-sconfig)
9105 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9106 (tramp-parse-sknownhosts, tramp-parse-hosts)
9107 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9108 Use them.
9109 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9110 (tramp-parse-putty-group): Don't narrow.
9111 (tramp-parse-putty): Make a loop.
9112 (tramp-file-name-handler): Catch the `suppress' signal.
9113
9114 2012-06-11 Chong Yidong <cyd@gnu.org>
9115
9116 * image.el (imagemagick-register-types): Put the ImageMagick entry
9117 at the end of image-type-file-name-regexps.
9118
9119 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9120
9121 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9122 (pcase, pcase-let*, pcase-dolist): Use them.
9123
9124 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9125
9126 * emacs-lisp/pcase.el (pcase--let*): New function.
9127 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9128 (pcase--expand): Use macroexp-let².
9129
9130 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9131
9132 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9133 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9134 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9135 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9136 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9137 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9138
9139 2012-06-10 Glenn Morris <rgm@gnu.org>
9140
9141 * mail/rmail.el (rmail-yank-current-message): Leave point at
9142 correct position. (Bug#11660)
9143
9144 2012-06-10 Chong Yidong <cyd@gnu.org>
9145
9146 * allout-widgets.el: Fix code header.
9147
9148 2012-06-10 Chong Yidong <cyd@gnu.org>
9149
9150 * cus-edit.el (customize-changed-options-previous-release):
9151 Bump to 24.1.
9152
9153 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9154
9155 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9156
9157 2012-06-09 Chong Yidong <cyd@gnu.org>
9158
9159 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9160
9161 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9162
9163 * window.el (special-display-popup-frame): Don't use
9164 window--display-buffer (Bug#11651).
9165
9166 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9167
9168 Fix parallel builds: make sure loaddefs.el is not being written
9169 while Lisp files are compiled.
9170 (compile): Don't depend on 'mh-autoloads'.
9171 (compile-CMD, compile-SH): Depend on 'autoloads'.
9172 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9173
9174 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9175
9176 2012-06-09 Chong Yidong <cyd@gnu.org>
9177
9178 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9179 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9180 Doc fixes (Bug#11225).
9181
9182 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9183
9184 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9185 a function if there's a clear indication that it has a compiler-macro.
9186 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9187 (macro-declarations-alist): Add arglist to declaration functions.
9188 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9189 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9190 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9191 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9192 Also add autoload to find the compiler macro.
9193 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9194 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9195 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9196 (cl--compiler-macro-get): New functions, replacing calls to
9197 cl-define-compiler-macro.
9198 (cl-typep) [compiler-macro]: Use macroexp-let².
9199
9200 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9201
9202 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9203 string properly, fixes Bug#11473.
9204
9205 2012-06-08 Chong Yidong <cyd@gnu.org>
9206
9207 * faces.el (set-face-attribute): Doc fix.
9208 (modify-face): Don't use :bold and :italic.
9209 (error, warning, success): Tweak definitions.
9210
9211 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9212 (custom-modified, custom-set, custom-changed, custom-themed)
9213 (custom-saved, custom-button, custom-button-mouse)
9214 (custom-button-pressed, custom-state, custom-comment-tag)
9215 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9216 (custom-group-subtitle): Use new-style face specs.
9217 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9218 (custom-set-face, custom-changed-face, custom-saved-face)
9219 (custom-button-face, custom-button-pressed-face)
9220 (custom-documentation-face, custom-state-face)
9221 (custom-comment-face, custom-comment-tag-face)
9222 (custom-variable-tag-face, custom-variable-button-face)
9223 (custom-face-tag-face, custom-group-tag-face-1)
9224 (custom-group-tag-face): Remove obsolete face alias.
9225
9226 * epa.el (epa-validity-high, epa-validity-medium)
9227 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9228 (epa-field-name, epa-field-body):
9229 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9230 (font-lock-keyword-face, font-lock-builtin-face)
9231 (font-lock-function-name-face, font-lock-variable-name-face)
9232 (font-lock-type-face, font-lock-constant-face):
9233 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9234 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9235 * speedbar.el (speedbar-button-face, speedbar-file-face)
9236 (speedbar-directory-face, speedbar-tag-face)
9237 (speedbar-selected-face, speedbar-highlight-face)
9238 (speedbar-separator-face):
9239 * whitespace.el (whitespace-newline, whitespace-space)
9240 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9241 (whitespace-line, whitespace-space-before-tab)
9242 (whitespace-space-after-tab, whitespace-indentation)
9243 (whitespace-empty):
9244 * emulation/cua-base.el (cua-global-mark):
9245 * eshell/em-prompt.el (eshell-prompt):
9246 * net/newst-plainview.el (newsticker-new-item-face)
9247 (newsticker-old-item-face, newsticker-immortal-item-face)
9248 (newsticker-obsolete-item-face, newsticker-date-face)
9249 (newsticker-statistics-face, newsticker-default-face):
9250 * net/newst-reader.el (newsticker-feed-face)
9251 (newsticker-extra-face, newsticker-enclosure-face):
9252 * net/newst-treeview.el (newsticker-treeview-face)
9253 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9254 (newsticker-treeview-immortal-face)
9255 (newsticker-treeview-obsolete-face)
9256 (newsticker-treeview-selection-face):
9257 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9258 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9259 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9260 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9261 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9262 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9263 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9264 (mpuz-text):
9265 * progmodes/vera-mode.el (vera-font-lock-number)
9266 (vera-font-lock-function, vera-font-lock-interface):
9267 * textmodes/table.el (table-cell): Use new-style face specs, and
9268 don't use the old :bold and :italic attributes.
9269
9270 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9271 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9272 (ebrowse-member-class, ebrowse-progress): Likewise.
9273 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9274 (ebrowse-file-name-face, ebrowse-default-face)
9275 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9276 (ebrowse-progress-face): Remove obsolete faces.
9277
9278 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9279 Inherit from error and warning faces respectively.
9280
9281 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9282 Likewise.
9283 (flyspell-incorrect-face, flyspell-duplicate-face):
9284 Remove obsolete aliases.
9285
9286 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9287
9288 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9289 Avoid infloop.
9290
9291 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9292
9293 * startup.el (argv, argi): Make lexically scoped.
9294 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9295 * emacs-lisp/cl-macs.el: Use lexical-binding.
9296 Rename cl-bind-* to cl--bind-*.
9297 * files.el: Don't require `cl' since it doesn't use it.
9298 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9299
9300 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9301
9302 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9303 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9304 instead of calling external sort utility.
9305 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9306
9307 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9308
9309 * descr-text.el (describe-char): Mention how to insert the
9310 character, if the current input method doesn't support it.
9311 See the discussion in this thread for the details:
9312 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9313
9314 2012-06-08 Sam Steingold <sds@gnu.org>
9315
9316 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9317 XF86Back to previous-buffer.
9318 (minibuffer-local-map): Bind them to next-history-element and
9319 previous-history-element respectively.
9320 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9321 help-go-back respectively.
9322 * info.el (Info-mode-map): Bind them to Info-history-forward and
9323 Info-history-back respectively.
9324 These are the keys next to Up on the ThinkPad keyboard.
9325
9326 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9327
9328 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9329 * emacs-lisp/cl-macs.el: Provide itself.
9330 (cl--labels-convert-cache): New var.
9331 (cl--labels-convert): New function.
9332 (cl-flet, cl-labels): New implementation with new semantics, relying on
9333 lexical-binding.
9334 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9335 (cl-closure-vars, cl--function-convert-cache)
9336 (cl--function-convert): Move from cl-macs.el.
9337 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9338 rename by removing the "cl-" prefix.
9339 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9340
9341 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9342
9343 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9344 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9345 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9346 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9347 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9348 (cl-hash-table-count): Add old compatibility aliases.
9349
9350 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9351 Use macroexpand-all-environment instead.
9352 (cl--old-macroexpand): New var.
9353 (cl--sm-macroexpand): New function.
9354 (cl-symbol-macrolet): Use it during macro expansion.
9355 (cl--function-convert-cache): New var.
9356 (cl--function-convert): New function, extracted from
9357 cl-macroexpand-all.
9358 (cl-lexical-let): Use it.
9359
9360 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9361 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9362 (cl-member): Remove old alias.
9363
9364 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9365 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9366 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9367 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9368 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9369 (cl-macroexpand-cmacs): Remove var.
9370 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9371 Use macroexpand-all instead.
9372
9373 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9374
9375 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9376 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9377 (macroexp-copyable-p): New functions and macros.
9378 * emacs-lisp/edebug.el (edebug-unwrap):
9379 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9380 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9381 (pcase--let*): Remove.
9382 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9383 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9384 macroexp-const-p instead.
9385 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9386
9387 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9388 instead of "cl-" for internal definitions. Use macroexp-const-p.
9389 (cl-old-bc-file-form): Remove var.
9390 (cl-const-exprs-p): Remove fun.
9391 (cl-labels, cl-macrolet): Use backquote.
9392 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9393 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9394 (cl-define-setf-expander): Rename from cl-define-setf-method.
9395 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9396
9397 * international/mule-cmds.el: Don't require CL.
9398 (view-hello-file): Don't use `letf'.
9399
9400 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9401
9402 * tmm.el (tmm-prompt): Use string-prefix-p.
9403 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9404 (tmm-add-prompt): Use minibuffer-completion-help.
9405 (tmm-delete-map): Remove.
9406
9407 * subr.el (kbd): Make it its own function.
9408
9409 2012-06-07 Stefan Merten <smerten@oekonux.de>
9410
9411 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9412 Silence compiler warnings. Fix versions.
9413 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9414 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9415 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9416 (rst-package-emacs-version-alist): Correct Emacs version to
9417 represent major merge with upstream.
9418 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9419
9420 2012-06-06 Glenn Morris <rgm@gnu.org>
9421
9422 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9423 Only print environment variables if set.
9424
9425 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9426
9427 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9428 (macroexp--cons): Rename from maybe-cons.
9429 (macroexp--accumulate): Rename from macroexp-accumulate.
9430 (macroexp--all-forms): Rename from macroexpand-all-forms.
9431 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9432 (macroexp--expand-all): Rename from macroexpand-all-1.
9433
9434 2012-06-06 Sam Steingold <sds@gnu.org>
9435
9436 * calendar/calendar.el (calendar-in-read-only-buffer):
9437 Call `special-mode' to enable the standard read-only keybindings.
9438
9439 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9440
9441 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9442 with "loading" messages (bug#11635).
9443
9444 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
9445
9446 * files.el (enable-remote-dir-locals): New option.
9447 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9448
9449 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9450 Ensure, that the temp directory is local.
9451
9452 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9453 `temporary-file-directory'.
9454
9455 * progmodes/python.el (python-send-region): Ensure, that the
9456 temporary file is created also in the remote case.
9457
9458 2012-06-06 Glenn Morris <rgm@gnu.org>
9459
9460 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9461 (vc-rcs-update-changelog): Use it.
9462
9463 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9464
9465 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9466 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9467 (vc-sccs-diff): Replace use of the external vcdiff script.
9468
9469 2012-06-05 Glenn Morris <rgm@gnu.org>
9470
9471 * ledit.el: Move to obsolete/.
9472
9473 2012-06-05 Sam Steingold <sds@gnu.org>
9474
9475 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9476 patch (Bug#11140).
9477
9478 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9479
9480 * emacs-lisp/cust-print.el: Move to obsolete.
9481
9482 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9483 compiler-macro expansion.
9484
9485 Add native compiler-macro support.
9486 * emacs-lisp/macroexp.el (macroexpand-all-1):
9487 Support compiler-macros directly. Properly follow aliases and apply
9488 the compiler macros more thoroughly.
9489 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9490 macroexpand now properly follows aliases.
9491 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9492 (cl-compiler-macroexpand): Use new prop.
9493 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9494
9495 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9496
9497 2012-06-05 Martin Rudalics <rudalics@gmx.at>
9498
9499 * window.el (get-lru-window, get-mru-window, get-largest-window):
9500 New argument NOT-SELECTED to avoid picking the selected window.
9501 (window--display-buffer-1, window--display-buffer-2): Replace by
9502 new function window--display-buffer
9503 (display-buffer-same-window, display-buffer-reuse-window)
9504 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9505 Use window--display-buffer.
9506 (display-buffer-use-some-window): Remove temporary dedication
9507 hack by calling get-lru-window and get-largest-window with
9508 NOT-SELECTED argument non-nil. Call window--display-buffer.
9509
9510 2012-06-05 Glenn Morris <rgm@gnu.org>
9511
9512 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9513 Replace external vcdiff script.
9514
9515 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9516
9517 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9518
9519 2012-06-04 Chong Yidong <cyd@gnu.org>
9520
9521 * image.el (imagemagick-types-inhibit): Revert last change.
9522 Add INFO and M.
9523 (imagemagick-enabled-types): Remove CIN and EPS*.
9524
9525 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9526
9527 * emacs-lisp/cl-lib.el: Rename from cl.el.
9528 * emacs-lisp/cl.el: New compatibility file.
9529 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9530 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9531 to obey the "cl-" prefix.
9532 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9533
9534 2012-06-03 Glenn Morris <rgm@gnu.org>
9535
9536 * emacs-lisp/authors.el (authors-aliases): Addition.
9537
9538 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9539 Fix :version.
9540
9541 2012-06-03 Stefan Merten <smerten@oekonux.de>
9542
9543 * textmodes/rst.el: Add comments.
9544 (rst-transition, rst-adornment): New faces.
9545 (rst-adornment-faces-alist): Make default safe to reevaluate.
9546 Fixes
9547 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9548 Improve customization tags.
9549 (rst-define-level-faces): Clarify meaning.
9550
9551 2012-06-03 Chong Yidong <cyd@gnu.org>
9552
9553 * progmodes/compile.el (compilation-mode-line-fail)
9554 (compilation-mode-line-run, compilation-mode-line-exit):
9555 New faces.
9556 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9557
9558 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9559
9560 * progmodes/which-func.el (which-func-update-ediff-windows):
9561 New function. Use it in ediff-select-hook (Bug#11478).
9562
9563 2012-06-03 Chong Yidong <cyd@gnu.org>
9564
9565 * bindings.el: Remove explicit help text from format-mode-line.
9566 It is now supplied by mode-line-default-help-echo.
9567 (mode-line-front-space, mode-line-end-spaces)
9568 (mode-line-misc-info): New variables.
9569 (mode-line-modes, mode-line-position): Move the default value to
9570 the variable definition.
9571 (mode-line-default-help-echo): New defcustom.
9572 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9573 (mode-line-modified-help-echo): New functions.
9574 (mode-line-mule-info, mode-line-modified): Use them.
9575 (mode-line-eol-desc, propertized-buffer-identification):
9576 Consistency fixes for help text.
9577 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9578 set-buffer-file-coding-system (Bug#289).
9579 (mode-line-mule-info-help-echo): Update help text.
9580
9581 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9582
9583 * simple.el (execute-extended-command): Set real-this-command
9584 (bug#11506).
9585
9586 2012-06-02 Chong Yidong <cyd@gnu.org>
9587
9588 Remove incorrect uses of "modeline" in comments, docstrings, and
9589 function/variable names (Bug#10329).
9590
9591 * cus-edit.el (mode-line):
9592 * dframe.el (dframe-mouse-hscroll):
9593 * emacs-lisp/re-builder.el:
9594 * emacs-lisp/easy-mmode.el (define-minor-mode):
9595 * frame.el (set-frame-name):
9596 * help.el (lookup-minor-mode-from-indicator):
9597 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9598 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9599 (c-toggle-hungry-state):
9600 * progmodes/antlr-mode.el (antlr-language-alist):
9601 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9602 * progmodes/vhdl-mode.el (vhdl-mode):
9603 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9604 * term/ns-win.el (ns-face-at-pos):
9605 * term/sup-mouse.el (sup-mouse-report):
9606 * textmodes/flyspell.el (flyspell-mode-line-string):
9607 * textmodes/ispell.el (ispell-highlight-face):
9608 * textmodes/reftex-global.el:
9609 * vc/vc-arch.el (vc-arch-mode-line-string):
9610 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9611 * vc/vc-git.el (vc-git-mode-line-string):
9612 * vc/vc-hooks.el (vc-display-status)
9613 (vc-default-mode-line-string):
9614 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9615
9616 * ansi-color.el (ansi-color-faces-vector): Change default faces.
9617
9618 * dired.el (dired-sort-set-mode-line): Rename from
9619 dired-sort-set-modeline. All callers changed.
9620
9621 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9622 eshell-status-in-modeline.
9623
9624 * foldout.el (foldout-mode-line-string): Rename from
9625 foldout-modeline-string. All callers changed.
9626 (foldout-update-mode-line): Rename from foldout-update-modeline.
9627
9628 * subr.el (redraw-modeline): Make into obsolete alias.
9629
9630 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9631 timeclock-modeline-display. Make old name an alias.
9632 (timeclock-update-mode-line): Likewise. All callers changed.
9633 (timeclock-mode-line-display): No need to check before using
9634 add-hook.
9635 (timeclock-relative, timeclock-day-over-hook)
9636 (timeclock-use-elapsed, timeclock-mode-string)
9637 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9638
9639 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9640 crisp-mode-modeline-string.
9641
9642 * play/solitaire.el (solitaire-build-mode-line): Rename from
9643 solitaire-build-modeline. All callers changed.
9644
9645 * play/zone.el (zone-hiding-mode-line): Rename from
9646 zone-hiding-modeline. All callers changed.
9647 (zone): Remove unusued `modeline-hidden-level' property.
9648
9649 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9650 xscheme-modeline-initialize. All callers changed.
9651
9652 * strokes.el (strokes-lighter): Rename from
9653 strokes-modeline-string.
9654
9655 * textmodes/sgml-mode.el (html-face-tag-alist)
9656 (html-tag-face-alist): Use mode-line face instead of obsolete
9657 alias modeline.
9658
9659 2012-06-02 Stefan Merten <smerten@oekonux.de>
9660
9661 * textmodes/rst.el: Always require `cl'.
9662 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
9663
9664 2012-06-02 Chong Yidong <cyd@gnu.org>
9665
9666 * image.el (imagemagick-enabled-types): Rename from
9667 imagemagick-types-enable. Add many more types.
9668 (imagemagick-types-inhibit): Change default to nil.
9669 (imagemagick-filter-types): Caller changed.
9670
9671 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9672
9673 * emacs-lisp/cl-macs.el: Use backquotes.
9674 (cl-transform-function-property): Use eval-and-compile rather than
9675 abusing `require'.
9676 (defstruct): Use declare-function instead of with-no-warnings.
9677
9678 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9679 (byte-compile-output-docform): Re-add the print-circle bindings.
9680 (byte-compile-fix-header): Use #$ just because it's shorter.
9681 (byte-compile-output-file-form): Remove defun/defmacro.
9682
9683 2012-06-01 Martin Rudalics <rudalics@gmx.at>
9684
9685 * simple.el (choose-completion): Remove now obsolete binding for
9686 owindow.
9687
9688 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
9689
9690 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9691 in order to avoid "Stack overflow in regexp matcher".
9692
9693 2012-05-31 Glenn Morris <rgm@gnu.org>
9694
9695 * image.el: For clarity, call imagemagick-register-types at
9696 top-level, rather than relying on a custom :initialize.
9697 (imagemagick-types-enable): New option. (Bug#11557)
9698 (imagemagick-filter-types): New function. (Bug#7406)
9699 (imagemagick-register-types): Use imagemagick-filter-types.
9700 If disabling support, remove elements altogether rather
9701 than using an impossible regexp.
9702 (imagemagick-types-inhibit): Give it the default init function.
9703
9704 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9705
9706 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9707 Handle arbitrary file name lengths (Bug#11585).
9708
9709 2012-05-31 Martin Rudalics <rudalics@gmx.at>
9710
9711 * desktop.el (desktop-read): Clear previous and next buffers for
9712 all windows and bury *Messages* buffer (bug#11556).
9713
9714 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9715
9716 Add `declare' for `defun'. Align `defmacro's with it.
9717 * emacs-lisp/easy-mmode.el (define-minor-mode)
9718 (define-globalized-minor-mode): Don't autoload the var definitions.
9719 * emacs-lisp/byte-run.el: Use lexical-binding.
9720 (defun-declarations-alist, macro-declarations-alist): New vars.
9721 (defmacro, defun): Use them.
9722 (make-obsolete, define-obsolete-function-alias)
9723 (make-obsolete-variable, define-obsolete-variable-alias):
9724 Use `declare'.
9725 (macro-declaration-function): Mark obsolete.
9726 * emacs-lisp/autoload.el: Use lexical-binding.
9727 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
9728
9729 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9730
9731 * textmodes/ispell.el (ispell-with-no-warnings):
9732 Define as a macro.
9733 (ispell-kill-ispell, ispell-change-dictionary):
9734 Use `called-interactively-p' for Emacs instead of obsolete
9735 `interactive-p'.
9736
9737 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9738
9739 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9740 (macro-declaration-function): Move var from C code.
9741 (macro-declaration-function): Define function with defalias.
9742 * emacs-lisp/macroexp.el (macroexpand-all-1):
9743 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9744 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9745 defun/defmacro any more.
9746 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9747 Provide fallback for unknown arglist.
9748 (byte-compile-arglist-warn): Change calling convention.
9749 (byte-compile-output-file-form): Move print-vars binding.
9750 (byte-compile-output-docform): Simplify accordingly.
9751 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9752 (byte-compile-defmacro-declaration): Remove.
9753 (byte-compile-file-form-defmumble): Generalize to defalias.
9754 (byte-compile-output-as-comment): Return byte-positions.
9755 Simplify callers accordingly.
9756 (byte-compile-lambda): Use `assert'.
9757 (byte-compile-defun, byte-compile-defmacro): Remove.
9758 (byte-compile-file-form-defalias):
9759 Use byte-compile-file-form-defmumble.
9760 (byte-compile-defalias-warn): Remove.
9761
9762 2012-05-29 Stefan Merten <smerten@oekonux.de>
9763
9764 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
9765 possible. Fix authors. Improve comments. Improve loading of `cl'.
9766
9767 (rst-mode-abbrev-table): Merge definition.
9768 (rst-mode): Make sure `font-lock-defaults' is buffer local.
9769 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9770
9771 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
9772
9773 * calendar/icalendar.el
9774 (icalendar-export-region): Export UID properly.
9775
9776 2012-05-29 Leo Liu <sdl.web@gmail.com>
9777 * calendar/icalendar.el (icalendar-import-format):
9778 Add `icalendar-import-format-uid' (Bug#11525).
9779 (icalendar-import-format-uid): New.
9780 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9781 Export UID.
9782
9783 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9784
9785 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9786 different alternative patterns.
9787 (pcase-codegen): Be more careful to preserve identity.
9788 (pcase--u1): Don't forget to mark vars as used.
9789
9790 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9791 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9792 (byte-compile-from-buffer): ...rather than here.
9793
9794 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9795 functions from byte-compile-function-environment.
9796
9797 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
9798
9799 * window.el (window-deletable-p): Avoid deleting the root window
9800 of a frame with an active minibuffer.
9801
9802 2012-05-29 Martin Rudalics <rudalics@gmx.at>
9803
9804 * simple.el (choose-completion): Use quit-window (Bug#11567).
9805
9806 2012-05-29 Chong Yidong <cyd@gnu.org>
9807
9808 * whitespace.el (whitespace-cleanup): Fix usage of
9809 whitespace-empty-at-bob-regexp (Bug#11492).
9810
9811 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9812
9813 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9814 revert (Bug#11488).
9815
9816 2012-05-29 Juri Linkov <juri@jurta.org>
9817
9818 * isearch.el (isearch-mode-map): Bind `M-s _' to
9819 `isearch-toggle-symbol'. Bind `M-s c' to
9820 `isearch-toggle-case-fold'.
9821 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9822 (isearch-forward): Add `M-s _' to the docstring.
9823 (isearch-forward-symbol, isearch-toggle-case-fold)
9824 (isearch-symbol-regexp): New functions. (Bug#11381)
9825
9826 2012-05-29 Juri Linkov <juri@jurta.org>
9827
9828 * isearch.el (isearch-word): Add docstring. (Bug#11381)
9829 (isearch-occur, isearch-search-and-update): If `isearch-word' is
9830 a function, call it to get the regexp.
9831 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9832 property `isearch-message-prefix' instead of the string "word ".
9833 (isearch-search-fun-default): For the case of `isearch-word',
9834 return a lambda that calls re-search-forward/re-search-backward
9835 with a regexp returned by `word-search-regexp' or by the function
9836 in `isearch-word'.
9837
9838 2012-05-29 Juri Linkov <juri@jurta.org>
9839
9840 * isearch.el (isearch-search-fun-default): New function.
9841 (isearch-search-fun): Move default part to the new function
9842 `isearch-search-fun-default'.
9843 (isearch-search-fun-function): Set the default value to
9844 `isearch-search-fun-default'. (Bug#11381)
9845
9846 * comint.el (comint-history-isearch-end):
9847 Use `isearch-search-fun-default'.
9848 (comint-history-isearch-search): Use `isearch-search-fun-default'
9849 and remove spacial case for `isearch-word'.
9850 (comint-history-isearch-wrap): Remove spacial case for
9851 `isearch-word'.
9852
9853 * hexl.el (hexl-isearch-search-function):
9854 Use `isearch-search-fun-default'.
9855
9856 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9857 Use `word-search-regexp' for `isearch-word'.
9858
9859 * misearch.el (multi-isearch-search-fun):
9860 Use `isearch-search-fun-default'.
9861
9862 * simple.el (minibuffer-history-isearch-search):
9863 Use `isearch-search-fun-default' and remove spacial case for
9864 `isearch-word'.
9865 (minibuffer-history-isearch-wrap): Remove spacial case for
9866 `isearch-word'.
9867
9868 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
9869 Remove spacial case for `isearch-word'.
9870 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
9871
9872 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9873
9874 Decrease XEmacs incompatibilities.
9875 * textmodes/flyspell.el (flyspell-check-pre-word-p):
9876 Use `string-match'.
9877 (flyspell-delete-region-overlays): Use alternative definition for
9878 XEmacs.
9879 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9880 (flyspell-word): Use `process-kill-without-query' if XEmacs.
9881 (flyspell-mode-on): Use `interactive-p' if XEmacs.
9882 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9883 `define-obsolete-face-alias' under XEmacs, but old method.
9884
9885 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9886 `with-no-warnings' definition or Emacs alias.
9887 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9888 (ispell-word): Do not use `region-p' if XEmacs.
9889
9890 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9891
9892 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9893 Check for `ispell-dictionary-base-alist' instead of full
9894 `ispell-dictionary-alist'.
9895 (ispell-init-process): Show spellchecker when starting new Ispell
9896 process.
9897
9898 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9899
9900 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9901 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9902
9903 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
9904
9905 * version.el (motif-version-string, gtk-version-string)
9906 (ns-version-string): Declare.
9907
9908 2012-05-27 Juri Linkov <juri@jurta.org>
9909
9910 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9911 after the `eval-defun-1' specialcaseing
9912 like in `edebug-eval-defun' (bug#10181).
9913
9914 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9915 like in `eval-defun-1'.
9916
9917 2012-05-27 Eli Zaretskii <eliz@gnu.org>
9918
9919 * mail/sendmail.el (mail-yank-region):
9920 Recognize rmail-yank-current-message in addition to insert-buffer.
9921 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
9922 a *mail* buffer created through rmail-start-mail with sendmail as
9923 mail-user-agent.
9924
9925 2012-05-27 Chong Yidong <cyd@gnu.org>
9926
9927 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
9928 Default to 256 (Bug#11267).
9929
9930 * help.el (describe-mode): Doc fix.
9931
9932 2012-05-26 Glenn Morris <rgm@gnu.org>
9933
9934 * w32-fns.el (w32-init-info): Remove.
9935 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
9936
9937 * info.el (info-initialize): For self-contained NS builds, put the
9938 included info/ directory at the front. (Bug#2791)
9939
9940 * paths.el (Info-default-directory-list): Make it a defcustom,
9941 mainly so that we can use custom-initialize-delay.
9942
9943 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9944
9945 * subr.el (buffer-has-markers-at): Mark obsolete.
9946
9947 * subr.el (lambda): Use declare.
9948
9949 * emacs-lisp/lisp-mode.el (lambda):
9950 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9951
9952 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9953
9954 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
9955
9956 2012-05-26 Glenn Morris <rgm@gnu.org>
9957
9958 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9959
9960 2012-05-25 Glenn Morris <rgm@gnu.org>
9961
9962 * paths.el: Remove no-byte-compile.
9963 * loadup.el: No need to load paths.el uncompiled.
9964
9965 * image.el (imagemagick-types-inhibit): Doc fix.
9966
9967 * version.el: Remove no-byte-compile and associated formatting.
9968 * loadup.el: No need to load version.el uncompiled. AFAICS, this
9969 is ancient code from when there was an "inc-vers.el".
9970
9971 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9972
9973 * progmodes/gdb-mi.el: Minor style changes.
9974 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9975 Turn into minor modes.
9976 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9977 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9978 (gdb-shell): Remove unneeded let-binding.
9979 (gdb-get-many-fields): Eliminate O(n²) behavior.
9980
9981 2012-05-25 Eli Zaretskii <eliz@gnu.org>
9982
9983 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9984 platforms that don't link in fontset.c.
9985
9986 2012-05-25 Juri Linkov <juri@jurta.org>
9987
9988 Use the same diff color scheme as in modern VCSes (bug#10181).
9989
9990 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9991 to avoid confusion with `diff-added' that now uses green colors.
9992 (diff-removed): Use shades of red.
9993 (diff-added): Use shades of green.
9994 (diff-changed): Leave just the yellow color.
9995 (diff-use-changed-face): New variable.
9996 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9997 how to highlight context diff changes.
9998 (diff-refine-change): Use shades of yellow.
9999 (diff-refine-removed): New face that uses shades of red.
10000 (diff-refine-added): New face that uses shades of green.
10001 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10002 `diff-refine-removed' in the call to `smerge-refine-subst'
10003 depending on the value of `diff-use-changed-face'.
10004
10005 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10006 (smerge-other): Use shades of green.
10007 (smerge-base): Use shades of yellow.
10008 (smerge-refined-change): Empty face.
10009 (smerge-refined-removed): New face that uses shades of red.
10010 (smerge-refined-added): New face that uses shades of green.
10011 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10012 args `props-r' and `props-a', and use them. Doc fix.
10013 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10014 on its value use different faces `smerge-refined-change',
10015 `smerge-refined-removed', `smerge-refined-added' in the call to
10016 `smerge-refine-subst'.
10017
10018 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10019 Add face condition `min-colors 88' with shades of red.
10020 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10021 `min-colors 88' with shades of green.
10022 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10023 `min-colors 88' with shades of yellow.
10024
10025 2012-05-24 Glenn Morris <rgm@gnu.org>
10026
10027 * paths.el (prune-directory-list, remote-shell-program): Move to...
10028 * files.el (prune-directory-list, remote-shell-program): ...here.
10029 For the latter, delay initialization, prefer ssh, just search PATH.
10030
10031 * paths.el (term-file-prefix): Move to faces.el (the only user).
10032 * faces.el (term-file-prefix): Move here, make it a defcustom.
10033
10034 * paths.el (news-directory, news-path, news-inews-program):
10035 Move to gnus/nnspool.el.
10036
10037 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10038
10039 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10040 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10041 Make the latter a defcustom, with a delayed initialization.
10042
10043 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10044 These were deleted from Gnus itself late 2010.
10045
10046 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10047
10048 * progmodes/which-func.el (which-func-ff-hook):
10049 Check against user-error, not error.
10050
10051 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10052 cl-specs.el, which no longer exists.
10053
10054 2012-05-22 Glenn Morris <rgm@gnu.org>
10055
10056 * info.el (info-emacs-bug): New command.
10057 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10058 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10059
10060 2012-05-21 Glenn Morris <rgm@gnu.org>
10061
10062 * makefile.w32-in (update-subdirs-SH):
10063 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10064
10065 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10066
10067 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10068
10069 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10070 Simplify Maven regexp, and make sure the file can't start with a space
10071 (bug#11517).
10072
10073 2012-05-21 Glenn Morris <rgm@gnu.org>
10074
10075 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10076 Scrap superfluous subshells.
10077
10078 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10079
10080 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10081 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10082
10083 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10084
10085 * calc/calc.el (calc-ensure-consistent-units): New variable.
10086
10087 * calc/calc-units.el (math-consistent-units-p)
10088 (math-check-unit-consistency): New functions.
10089 (calc-quick-units, calc-convert-units):
10090 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10091 is non-nil.
10092 (calc-extract-units): Fix typo.
10093
10094 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10095
10096 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10097
10098 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10099 (flyspell-default-deplacement-commands): Don't spell check after
10100 repeated window/frame switches (e.g. triggered by mouse-movement).
10101 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10102 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10103 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10104 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10105 Remove unused vars.
10106 (flyspell-get-casechars, flyspell-get-not-casechars):
10107 Simplify; Don't bother removing a ] just to add it back.
10108 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10109
10110 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10111
10112 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10113 New functions.
10114 (math-function-table): Add support for more C functions.
10115
10116 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10117
10118 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10119 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10120 Protect delay handling for otherchars against empty otherchars.
10121
10122 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10123
10124 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10125 their respective macro declarations.
10126 * skeleton.el (define-skeleton):
10127 * progmodes/compile.el (define-compilation-mode):
10128 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10129 (define-ibuffer-filter):
10130 * emacs-lisp/generic.el (define-generic-mode):
10131 * emacs-lisp/easy-mmode.el (define-minor-mode)
10132 (define-globalized-minor-mode):
10133 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10134 * emacs-lisp/byte-run.el (defsubst):
10135 * custom.el (deftheme): Add doc-string metadata.
10136
10137 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10138
10139 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10140
10141 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10142
10143 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10144
10145 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10146 * emacs-lisp/cl-macs.el: Idem.
10147 * emacs-lisp/cl-specs.el: Remove.
10148
10149 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10150
10151 Minor renaming of internal CL functions and variables.
10152 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10153 (cl--position): Rename from cl-position.
10154 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10155 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10156 (cl--random-state): Rename from *random-state*.
10157
10158 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10159
10160 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10161 parens around the arg list (bug#11499).
10162
10163 2012-05-17 Juri Linkov <juri@jurta.org>
10164
10165 * isearch.el (word-search-regexp, word-search-backward)
10166 (word-search-forward, word-search-backward-lax)
10167 (word-search-forward-lax): Move functions from search.c
10168 (bug#10145, bug#11381).
10169
10170 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10171
10172 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10173 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10174 Delay for otherchars as for normal word components.
10175
10176 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10177
10178 * minibuffer.el (completion--sifn-requote): Fix last change.
10179 (minibuffer-local-must-match-filename-map):
10180 Move define-obsolete-variable-alias before its var.
10181
10182 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10183
10184 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10185
10186 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10187 behavior.
10188 (completion--string-equal-p): New function.
10189 (completion--twq-all): Use it to get better assertion failure data.
10190
10191 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10192 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10193 (shell--requote-argument): New functions.
10194 (shell-completion-vars): Use them.
10195 (shell--parse-pcomplete-arguments): Rename from
10196 shell-parse-pcomplete-arguments.
10197 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10198 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10199 Obey comint-file-name-quote-list.
10200
10201 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10202 (smie-indent-keyword): Use it.
10203
10204 2012-05-14 Stefan Merten <smerten@oekonux.de>
10205
10206 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10207
10208 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10209
10210 * net/rlogin.el (rlogin-mode-map): Fix last change.
10211
10212 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10213
10214 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10215 the following \r\n using a single `process-send-string', since the
10216 Lotus SMTP server refuses to accept any commands if they are sent
10217 with two `process-send-string's (Bug#11444).
10218
10219 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10220
10221 * shell.el (shell-parse-pcomplete-arguments):
10222 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10223
10224 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10225
10226 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10227 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10228 (image-transform-width, image-transform-fit-width): New functions.
10229 (image-transform-properties): Use them.
10230 (image-transform-check-size): New function.
10231 (image-toggle-display-image): Use it (for testing).
10232 (image-transform-set-rotation): Reduce angle mod 360.
10233 Delete obsolete comment.
10234
10235 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10236
10237 * image-mode.el: Fix scaling (bug#11399).
10238 (image-transform-resize): Doc fix.
10239 (image-transform-properties): Default scale is 1 and height should
10240 be an integer.
10241
10242 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10243
10244 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10245 than hard-coding `car', to fix misbehavior when moving forward.
10246
10247 2012-05-13 Chong Yidong <cyd@gnu.org>
10248
10249 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10250 (tabulated-list-entries, tabulated-list-padding)
10251 (tabulated-list-sort-key): Make permanent-local.
10252
10253 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10254 (electric-buffer-list): Put electric buffer menu
10255 command descriptions in this docstring, instead of the docstring
10256 of electric-buffer-menu-mode. Code cleanups.
10257 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10258 Electric-buffer-menu-mode.
10259 (electric-buffer-update-highlight): Minor code cleanup.
10260
10261 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10262
10263 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10264 (Bug#11447)
10265
10266 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10267
10268 Move define-obsolete-variable-alias before the var's definition.
10269 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10270 * tooltip.el (tooltip-hook):
10271 * textmodes/reftex-toc.el (reftex-toc-map):
10272 * textmodes/reftex-sel.el (reftex-select-label-map)
10273 (reftex-select-bib-map):
10274 * textmodes/reftex-index.el (reftex-index-map)
10275 (reftex-index-phrases-map):
10276 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10277 * progmodes/meta-mode.el (meta-mode-map):
10278 * novice.el (disabled-command-hook):
10279 * loadhist.el (unload-hook-features-list):
10280 * frame.el (blink-cursor):
10281 * files.el (find-file-not-found-hooks, write-file-hooks)
10282 (write-contents-hooks):
10283 * emulation/tpu-edt.el (GOLD-map):
10284 * emacs-lock.el (emacs-lock-from-exiting):
10285 * emacs-lisp/generic.el (generic-font-lock-defaults):
10286 * emacs-lisp/chart.el (chart-map):
10287 * dos-fns.el (register-name-alist):
10288 * dired-x.el (dired-omit-files-p):
10289 * desktop.el (desktop-enable):
10290 * cus-edit.el (custom-mode-hook):
10291 * buff-menu.el (buffer-menu-mode-hook):
10292 * bookmark.el (bookmark-read-annotation-text-func)
10293 (bookmark-exit-hooks):
10294 * allout.el (allout-mode-deactivate-hook)
10295 (allout-exposure-change-hook, allout-structure-added-hook)
10296 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10297 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10298 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10299 comes before the corresponding variable's definition.
10300
10301 2012-05-12 Chong Yidong <cyd@gnu.org>
10302
10303 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10304 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10305 (Buffer-menu-mode-map): Bind it.
10306 (Buffer-menu--pretty-name): Add a mouse-face property.
10307
10308 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10309
10310 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10311 (prolog-upper-case-string, prolog-lower-case-string)
10312 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10313 (prolog-use-smie, prolog-smie-grammar): New vars.
10314 (prolog-smie-forward-token, prolog-smie-backward-token)
10315 (prolog-smie-rules): New funs.
10316 (prolog-comment-indent): Remove.
10317 (prolog-mode-variables): Use default comment indentation instead.
10318 Setup SMIE.
10319 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10320 (prolog-mode): Don't call them any more.
10321 (prolog-electric-colon, prolog-electric-dash)
10322 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10323
10324 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10325
10326 * minibuffer.el (completion--twq-all): Again, allow case differences.
10327
10328 * term.el: Move keymap initialization code to be more idiomatic.
10329 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10330 (term-terminal-menu): Move initialization into declaration.
10331 (term-escape-char): Let the user set it in her .emacs.
10332
10333 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10334 Provide SMIE-based indentation (not enabled by default yet).
10335 (sh-mode-map): Don't bind electric keys.
10336 Use electric-pair-mode instead of skeleton-pair.
10337 (sh-assignment-regexp): Fit within 80 columns.
10338 (sh-indent-supported): Specify actual shell name instead of boolean.
10339 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10340 (sh-maybe-here-document): Use it. Make obsolete.
10341 (sh-electric-here-document-mode) New minor mode.
10342 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10343 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10344 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10345 (sh-smie-rc-grammar, sh-use-smie): New vars.
10346 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10347 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10348 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10349 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10350 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10351 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10352 (sh-set-shell): Use smie-setup if requested.
10353
10354 * term.el (term-set-escape-char): Properly set term-escape-char.
10355 See http://stackoverflow.com/questions/10524656.
10356
10357 2012-05-10 Chong Yidong <cyd@gnu.org>
10358
10359 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10360 Use url-generic-parse-url, and handle host names and Windows
10361 filenames properly.
10362 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10363 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10364 URL schemes to work on.
10365 (ffap--toggle-read-only): New function.
10366 (ffap-read-only, ffap-read-only-other-window)
10367 (ffap-read-only-other-frame): Use it.
10368 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10369 necessary for ffap-url-unwrap-remote.
10370
10371 2012-05-10 Dave Abrahams <dave@boostpro.com>
10372
10373 * cus-start.el (create-lockfiles): Add it.
10374
10375 2012-05-09 Chong Yidong <cyd@gnu.org>
10376
10377 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10378 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10379
10380 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10381
10382 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10383
10384 2012-05-09 Chong Yidong <cyd@gnu.org>
10385
10386 * ansi-color.el (ansi-color-process-output): Check for validity of
10387 comint-last-output-start before using it. This avoids a bad
10388 interaction with gdb-mi's input/output buffer.
10389
10390 2012-05-09 Glenn Morris <rgm@gnu.org>
10391
10392 * files.el (dir-locals-read-from-file):
10393 Mention dir-locals in any error message.
10394
10395 2012-05-09 Chong Yidong <cyd@gnu.org>
10396
10397 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10398 package (Bug#11410).
10399
10400 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10401 variables into description.
10402
10403 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10404
10405 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10406 shell-delimiter-argument-list (bug#11348).
10407 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10408
10409 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
10410
10411 * textmodes/rst.el: Silence byte-compiler warnings.
10412 (rst-re-alist, rst-reset-section-caches): Move around.
10413 (rst-re): Use `characterp', not `char-valid-p'.
10414 (font-lock-beg, font-lock-end): Declare.
10415
10416 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10417 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10418
10419 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10420
10421 2012-05-08 Glenn Morris <rgm@gnu.org>
10422
10423 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10424
10425 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10426
10427 * vc/log-edit.el: Add GNU coding standards highlighting.
10428 (log-edit-font-lock-gnu-style)
10429 (log-edit-font-lock-gnu-keywords): New vars.
10430 (log-edit-font-lock-keywords): New fun.
10431 (log-edit-mode): Don't fold case in font-lock.
10432 (log-edit-font-lock-keywords): Do not assume case-folding.
10433
10434 * imenu.el: Misc cleanup. Make docstrings out of comments.
10435 Use lexical-binding.
10436 (imenu--index-alist, imenu--last-menubar-index-alist)
10437 (imenu-menubar-modified-tick): Use defvar-local.
10438 (imenu--split-menu): Remove unused var.
10439 (imenu--cleanup-seen): Declare as global.
10440 (imenu--cleanup): Use dolist.
10441
10442 * subr.el (defvar-local): Add debug spec and doc-string position.
10443
10444 2012-05-08 Glenn Morris <rgm@gnu.org>
10445
10446 * language/burmese.el, language/cham.el, language/czech.el:
10447 * language/english.el, language/georgian.el, language/greek.el:
10448 * language/japanese.el, language/khmer.el, language/korean.el:
10449 * language/lao.el, language/misc-lang.el, language/romanian.el:
10450 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10451 * language/thai.el, language/utf-8-lang.el:
10452 Remove no-byte-compile setting.
10453
10454 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10455
10456 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10457
10458 * progmodes/make-mode.el (makefile-browse):
10459 Remove unnecessary interactive. (Bug#11324)
10460
10461 2012-05-07 Glenn Morris <rgm@gnu.org>
10462
10463 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10464
10465 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10466
10467 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10468
10469 * loadup.el: Preload newcomment.el.
10470 * newcomment.el: Move autoload-only code to toplevel.
10471
10472 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10473 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10474 Handle new :right-align column property.
10475 (tabulated-list-print-col): Idem, plus use `display' text-property to
10476 try and preserve alignment for variable pitch fonts.
10477
10478 2012-05-07 Chong Yidong <cyd@gnu.org>
10479
10480 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10481 (tabulated-list-use-header-line): New var.
10482 (tabulated-list-init-header): Use it.
10483 (tabulated-list-print-fake-header): New function.
10484 (tabulated-list-print): Use it.
10485 (tabulated-list-sort-button-map): Add non-header-line commands.
10486 (tabulated-list-init-header): Add column name property to basic
10487 labels as well.
10488 (tabulated-list-col-sort): Handle non-header-line button case.
10489 (tabulated-list--sort-by-column-name): Fix a corner case.
10490
10491 * buff-menu.el (list-buffers--refresh):
10492 Handle Buffer-menu-use-header-line.
10493
10494 2012-05-06 Chong Yidong <cyd@gnu.org>
10495
10496 * buff-menu.el: Convert to Tabulated List mode.
10497 (Buffer-menu-buffer+size-width): Make obsolete.
10498 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10499 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10500 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10501 documentation into docstring of buffer-menu.
10502 (Buffer-menu-toggle-files-only): Add an informative message.
10503 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10504 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10505 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10506 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10507 (Buffer-menu-execute, Buffer-menu-select)
10508 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10509 (Buffer-menu-bury): Use Tabulated List machinery.
10510 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10511 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
10512 Delete.
10513 (list-buffers--refresh): New function.
10514 (list-buffers-noselect): Use it.
10515 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10516 (Buffer-menu--pretty-file-name): New helper functions.
10517
10518 * loadup.el: Preload tabulated-list.
10519
10520 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10521 tabulated-list-sort-column.
10522 (tabulated-list-init-header): Add the initial aligning space even
10523 if tabulated-list-padding is zero.
10524
10525 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10526
10527 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10528 whose cdr is not a cons cell correctly (bug#11038).
10529
10530 2012-05-06 Chong Yidong <cyd@gnu.org>
10531
10532 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10533 Accept additional plist in column descriptors.
10534 (tabulated-list-init-header): Obey it.
10535 (tabulated-list-get-entry): New function.
10536 (tabulated-list-put-tag): Use it. Use string-width instead of
10537 length.
10538 (tabulated-list--column-number): New function.
10539 (tabulated-list-print): Use it.
10540 (tabulated-list-print-col): New function.
10541 Set `tabulated-list-column-name' property on each column's text.
10542 (tabulated-list-print-entry): Use it.
10543 (tabulated-list-delete-entry, tabulated-list-set-col):
10544 New functions.
10545 (tabulated-list-sort-column): New command (Bug#11337).
10546
10547 * buff-menu.el (list-buffers): Move C-x C-b binding from
10548 buff-menu.el to bindings.el.
10549
10550 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10551 :advertised-binding feature.
10552
10553 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10554
10555 * progmodes/compile.el (compilation-internal-error-properties):
10556 Calculate start position correctly when end-col is set but
10557 end-line is not (Bug#11382).
10558
10559 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10560
10561 * man.el (Man-unindent): Use text-property-default-nonsticky to
10562 prevent untabify from inheriting face properties (Bug#11408).
10563
10564 2012-05-05 Stefan Merten <smerten@oekonux.de>
10565
10566 * textmodes/rst.el: Major merge with upstream development up to
10567 Docutils SVN r7399 / rst.el V1.2.1.
10568
10569 Clarify maintainership and authors.
10570
10571 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10572 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10573 (rst-official-version, rst-official-cvs-rev, rst-version)
10574 (rst-package-emacs-version-alist): New functions and variables
10575 for version information.
10576
10577 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10578 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10579 (rst-mode-syntax-table, rst-mode): New and corrected functions
10580 and variables representing reStructuredText features.
10581
10582 (rst-re): New function for reStructuredText regexes. Use in
10583 many places.
10584
10585 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10586 (rst-mode-map): Rebind keys.
10587
10588 (rst-mode-lazy, rst-font-lock-keywords)
10589 (rst-font-lock-extend-region)
10590 (rst-font-lock-extend-region-internal)
10591 (rst-font-lock-extend-region-extend)
10592 (rst-font-lock-find-unindented-line-limit)
10593 (rst-font-lock-find-unindented-line-match)
10594 (rst-adornment-level, rst-font-lock-adornment-level)
10595 (rst-font-lock-adornment-match)
10596 (rst-font-lock-handle-adornment-pre-match-form)
10597 (rst-font-lock-handle-adornment-matcher): Major revision of
10598 font-locking. Integrate with other code. Use `jit-lock-mode'.
10599
10600 (rst-preferred-adornments, rst-adjust-hook)
10601 (rst-new-adornment-down, rst-preferred-bullets)
10602 (rst-preferred-bullets, rst-indent, rst-indent-width)
10603 (rst-indent-field, rst-indent-literal-normal)
10604 (rst-indent-literal-minimized, rst-indent-comment): Change,
10605 extend and improve customization.
10606
10607 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10608 (rst-normalize-cursor-position, rst-get-decoration)
10609 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10610 (rst-rstrip, rst-toc-insert-find-delete-contents)
10611 (rst-shift-fill-region, rst-compute-bullet-tabs)
10612 (rst-debug-print-tabs, rst-debug-mark-found)
10613 (rst-shift-region-guts, rst-shift-region-right)
10614 (rst-shift-region-left, rst-use-char-classes)
10615 (rst-font-lock-keywords-function)
10616 (rst-font-lock-indentation-point)
10617 (rst-font-lock-find-unindented-line-begin)
10618 (rst-font-lock-find-unindented-line-end)
10619 (rst-font-lock-find-unindented-line)
10620 (rst-font-lock-adornment-point, rst-font-lock-level)
10621 (rst-adornment-level-alist): Remove functions and variables.
10622
10623 (rst-compare-adornments, rst-get-adornment-match)
10624 (rst-suggest-new-adornment, rst-get-adornments-around)
10625 (rst-adornment-complete-p, rst-get-next-adornment)
10626 (rst-adjust-adornment, rst-display-adornments-hierarchy)
10627 (rst-straighten-adornments): Standardize function names to
10628 use "adornment" instead of "decoration". Correct callers.
10629 Similar standardizing in many places.
10630
10631 (rst-update-section, rst-adjust, rst-promote-region)
10632 (rst-enumerate-region, rst-bullet-list-region)
10633 (rst-repeat-last-character): Correct use of `interactive'.
10634
10635 (rst-classify-adornment, rst-find-all-adornments)
10636 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10637 (rst-find-leftmost-column, rst-repeat-last-character):
10638 Refactor functions.
10639
10640 (rst-find-title-line, rst-reset-section-caches)
10641 (rst-get-adornments-around, rst-adjust-adornment-work)
10642 (rst-arabic-to-roman, rst-roman-to-arabic)
10643 (rst-insert-list-pos, rst-insert-list-new-item)
10644 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10645 New functions.
10646
10647 (rst-all-sections, rst-section-hierarchy)
10648 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10649 New variables.
10650
10651 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10652 configuration instead of only buffer. Change where necessary.
10653
10654 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10655 (rst-shift-region, rst-adaptive-fill): New functions for
10656 indentation and filling.
10657
10658 (rst-comment-line-break, rst-comment-indent)
10659 (rst-comment-insert-comment, rst-comment-region)
10660 (rst-uncomment-region): New functions for handling comments.
10661
10662 (rst-compile): Quote shell arguments.
10663
10664 (rst-compile-pdf-preview, rst-compile-slides-preview):
10665 Delete temporary files after use.
10666
10667 2012-05-05 Glenn Morris <rgm@gnu.org>
10668
10669 * calendar/cal-html.el: Optionally include holidays in the output.
10670 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10671 (cal-html-holidays): New option.
10672 (cal-html-css-default): Add holiday entry.
10673 (holiday-in-range): Autoload it.
10674 (cal-html-htmlify-entry): Add optional class argument.
10675 (cal-html-htmlify-list): Add optional holidays argument.
10676 (cal-html-insert-agenda-days): Include holidays in the output.
10677 (cal-html-one-month): Maybe include holidays.
10678
10679 * calendar/holidays.el (holiday-in-range):
10680 Move here from cal-tex-list-holidays.
10681 * calendar/cal-tex.el (cal-tex-list-holidays):
10682 Make it an obsolete alias for holiday-in-range. Update all callers.
10683
10684 2012-05-05 Chong Yidong <cyd@gnu.org>
10685
10686 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10687 Nextstep.
10688
10689 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10690
10691 * files.el (file-auto-mode-skip): New var.
10692 (set-auto-mode-1): Use it.
10693
10694 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10695
10696 * repeat.el: Use lexical-binding.
10697 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10698 (repeat-undo-count): Remove.
10699 (repeat):
10700 * progmodes/octave-mod.el (octave-abbrev-start):
10701 * progmodes/f90.el (f90-abbrev-start):
10702 * face-remap.el (text-scale-adjust):
10703 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10704
10705 * emacs-lisp/pcase.el (pcase--let*): New function.
10706 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10707 a bit more.
10708 (pcase--split-pred): Be more clever about ruling out overlap between
10709 a predicate and some constant pattern.
10710 (pcase--q1): Use `null' instead of (eq foo nil).
10711
10712 * subr.el (setq-local, defvar-local): New macros.
10713 (kbd): Redefine as an alias.
10714 (with-selected-window): Leave unrelated frames alone.
10715 (set-temporary-overlay-map): New function.
10716
10717 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10718
10719 * subr.el (user-error): New function.
10720 * window.el (switch-to-buffer):
10721 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10722 (smerge-match-conflict):
10723 * simple.el (previous-matching-history-element)
10724 (next-matching-history-element, goto-history-element, undo-more)
10725 (undo-start):
10726 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10727 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10728 (next-file, tags-loop-scan, list-tags, complete-tag):
10729 * progmodes/compile.el (compilation-loop):
10730 * mouse.el (mouse-minibuffer-check):
10731 * man.el (Man-bgproc-sentinel, Man-goto-page):
10732 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10733 (Info-history-forward, Info-follow-reference, Info-menu)
10734 (Info-extract-menu-item, Info-extract-menu-counting)
10735 (Info-forward-node, Info-backward-node, Info-next-menu-item)
10736 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10737 (Info-next-reference, Info-prev-reference, Info-index)
10738 (Info-index-next, Info-follow-nearest-node)
10739 (Info-copy-current-node-name):
10740 * imenu.el (imenu--make-index-alist)
10741 (imenu-default-create-index-function, imenu-add-to-menubar):
10742 * files.el (basic-save-buffer, recover-file):
10743 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10744 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10745 (checkdoc-message-text, checkdoc-defun):
10746 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10747 * cus-edit.el (customize-changed-options, customize-rogue)
10748 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10749 (custom-variable-mark-to-reset-standard)
10750 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10751 (custom-file):
10752 * completion.el (check-completion-length):
10753 * comint.el (comint-search-arg)
10754 (comint-previous-matching-input-string-position)
10755 (comint-previous-matching-input)
10756 (comint-replace-by-expanded-history-before-point, comint-send-input)
10757 (comint-copy-old-input, comint-backward-matching-input)
10758 (comint-goto-process-mark, comint-set-process-mark):
10759 * calendar/calendar.el (calendar-cursor-to-date): Use it.
10760 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10761
10762 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10763
10764 * dabbrev.el (dabbrev--ignore-case-p): New function.
10765 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10766 Use it.
10767
10768 * files.el (automount-dir-prefix): Mark as obsolete.
10769
10770 2012-05-04 Glenn Morris <rgm@gnu.org>
10771
10772 * patcomp.el, play/bruce.el: Move to obsolete/.
10773
10774 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
10775
10776 Fix minor Y10k bugs.
10777 * arc-mode.el (archive-unixdate):
10778 * autoinsert.el (auto-insert-alist):
10779 * calc/calc-forms.el (math-this-year):
10780 * emacs-lisp/copyright.el (copyright-current-year)
10781 (copyright-update-year, copyright):
10782 * tar-mode.el (tar-clip-time-string):
10783 * time.el (display-time-update):
10784 Don't assume years have 4 digits.
10785
10786 2012-05-04 Chong Yidong <cyd@gnu.org>
10787
10788 * dos-w32.el (file-name-buffer-file-type-alist)
10789 (direct-print-region-use-command-dot-com):
10790 * ffap.el (ffap-menu-regexp):
10791 * find-file.el (ff-special-constructs):
10792 * follow.el (follow-debug):
10793 * forms.el (forms--debug):
10794 * iswitchb.el (iswitchb-all-frames):
10795 * ido.el (ido-all-frames):
10796 * emacs-lisp/timer.el (timer-max-repeats):
10797 * mail/feedmail.el (feedmail-mail-send-hook)
10798 (feedmail-mail-send-hook-queued):
10799 * mail/footnote.el (footnote-signature-separator):
10800 * mail/mailabbrev.el (mail-alias-separator-string)
10801 (mail-abbrev-mode-regexp):
10802 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10803 * progmodes/idlwave.el (idlwave-libinfo-file)
10804 (idlwave-default-completion-case-is-down)
10805 (idlwave-library-routines): Convert defvars to defcustoms.
10806
10807 * mail/rmail.el (rmail-decode-mime-charset):
10808 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10809 (idlwave-shell-fix-inserted-breaks)
10810 (idlwave-shell-activate-alt-keybindings)
10811 (idlwave-shell-use-breakpoint-glyph):
10812 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10813
10814 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10815
10816 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10817
10818 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10819
10820 * progmodes/verilog-mode.el (font-lock-keywords):
10821 Fix mis-highligting auto. Reported by Craig Barner.
10822 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
10823 defines from global name space. Reported by Dan Dever.
10824 (verilog-auto-reset, verilog-auto-reset-widths)
10825 (verilog-auto-tieoff): Support using unbased numbers for
10826 AUTORESET and AUTOTIEOFF.
10827 (verilog-submit-bug-report): Update variable list.
10828 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
10829 parenthesis from not matching. Reported by Michael Rytting.
10830 (verilog-auto-template-lint): Fix hash error when linting modules
10831 with no used templates.
10832 (verilog-warn, verilog-warn-error)
10833 (verilog-warn-fatal): When non-interactive report multiple
10834 warnings before exiting. Suggested by Brad Dobbie.
10835 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10836 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10837 to report unused template errors. Reported by Brad Dobbie.
10838 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
10839 nets, bug438. Reported by Vns Blore.
10840 (verilog-auto-inout-module, verilog-auto-reg)
10841 (verilog-read-decls, verilog-read-sub-decls-sig)
10842 (verilog-signals-edit-wire-reg, verilog-signals-with):
10843 Fix passing of Verilog data types in ANSI input/output ports
10844 such as "output logic" into the AUTOs. Special case "wire" and
10845 "reg" for backwards compatibility presuming Verilog 2001.
10846 (verilog-auto-ascii-enum): Add "auto enum" as alias.
10847 (verilog-preprocess): Fix replication of preprocess output.
10848 Reported by Brad Dobbie.
10849 (verilog-auto-inst-interfaced-ports):
10850 Create verilog-auto-inst-interfaced-ports, bug429.
10851 Reported by Julian Gorfajn.
10852 (verilog-after-save-font-hook)
10853 (verilog-before-save-font-hook): New variable.
10854 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10855 (verilog-save-font-mods): Wrap disabling fontification, reported
10856 by David Rogoff.
10857 (verilog-do-indent, verilog-pretty-declarations-auto)
10858 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10859 Reported by Pierre-David Pfister.
10860 (verilog-set-auto-endcomments): Fix endtask auto comments outside
10861 of class declarations, bug292. Reported by Kevin Heilman.
10862 (verilog-read-decls): Fix 'parameter type' not appearing in
10863 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
10864 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
10865 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
10866 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10867 Reported by David Kravitz.
10868
10869 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
10870
10871 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
10872 assignment with tests in ifs and for loops.
10873 (verilog-extended-complete-re, verilog-complete-reg): Change so
10874 that DPI inport functions don't look like fuction declarations.
10875 (verilog-pretty-expr): Don't line up assignment
10876 operations to the test and increment in if and for loops
10877 (verilog-extended-complete-re, verilog-complete-reg): Change so
10878 that DPI inport functions don't look like fuction declarations.
10879
10880 2012-05-03 Kenichi Handa <handa@m17n.org>
10881
10882 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
10883 decoding, and show a warning message without signaling an error
10884 (Bug#11282).
10885
10886 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10887
10888 * emacs-lisp/bytecomp.el
10889 (byte-compile-file-form-custom-declare-variable): Compile all elements,
10890 since cconv.el might have introduced :fun-body, internal-make-closure,
10891 and friends for bytecomp to handle (bug#11391).
10892 * custom.el (defcustom): Avoid ((λ ..) ..).
10893
10894 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10895
10896 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10897
10898 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
10899
10900 * notifications.el (dbus-debug):
10901 * term/linux.el (gpm-mouse-enable):
10902 * term/screen.el (xterm-register-default-colors): Declare.
10903
10904 2012-05-02 Chong Yidong <cyd@gnu.org>
10905
10906 * cus-start.el (gc-cons-percentage, exec-suffixes)
10907 (dos-display-scancodes, dos-hyper-key, dos-super-key)
10908 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10909 (make-cursor-line-fully-visible, void-text-area-pointer)
10910 (font-list-limit): Add customization data.
10911
10912 * allout.el (allout-exposure-change-functions)
10913 (allout-structure-added-functions)
10914 (allout-structure-deleted-functions)
10915 (allout-structure-shifted-functions): Rename abnormal hooks from
10916 *-hook, and convert to defcustoms.
10917 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
10918 Convert to defcustoms.
10919 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
10920
10921 * allout-widgets.el: Hook callers changed.
10922
10923 2012-05-02 Eli Zaretskii <eliz@gnu.org>
10924
10925 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
10926 the yanked message in preference to the default value of
10927 buffer-file-coding-system.
10928
10929 2012-05-02 Martin Rudalics <rudalics@gmx.at>
10930
10931 * window.el (display-buffer--action-function-custom-type):
10932 Fix entry.
10933
10934 2012-05-02 Alan Mackenzie <acm@muc.de>
10935
10936 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
10937
10938 2012-05-01 Glenn Morris <rgm@gnu.org>
10939
10940 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
10941
10942 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
10943
10944 * cus-edit.el (custom-variable-documentation): Simplify with format.
10945
10946 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10947 Stefan Monnier <monnier@iro.umontreal.ca>
10948
10949 * simple.el (suggest-key-bindings, execute-extended-command):
10950 Move from keyboard.c.
10951
10952 2012-05-01 Chong Yidong <cyd@gnu.org>
10953
10954 * follow.el: Eliminate advice.
10955 (set-process-filter, process-filter, sit-for): Advice deleted.
10956 (follow-mode-off-hook): Obsolete hook removed.
10957 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10958 Vars deleted.
10959 (follow-auto): Use a :set function.
10960 (follow-mode): Rewritten. Don't advise process filters.
10961 (follow-switch-to-current-buffer-all, follow-scroll-up)
10962 (follow-scroll-down): Assume follow-mode is bound.
10963 (follow-comint-scroll-to-bottom)
10964 (follow-align-compilation-windows): New functions.
10965 (follow--window-sorter): New function.
10966 (follow-all-followers): Use it to explicitly sort windows by their
10967 positions; don't make assumptions about next-window order.
10968 (follow-windows-start-end, follow-delete-other-windows-and-split)
10969 (follow-calc-win-start): Doc fix.
10970 (follow-windows-aligned-p, follow-select-if-visible): Don't call
10971 vertical-motion unnecessarily.
10972 (follow-adjust-window): New function.
10973 (follow-post-command-hook): Use it.
10974 (follow-call-set-process-filter, follow-call-process-filter)
10975 (follow-intercept-process-output, follow-tidy-process-filter-alist)
10976 (follow-stop-intercept-process-output, follow-generic-filter):
10977 Functions deleted.
10978 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
10979 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10980 New functions, replacing advice on scroll-bar-* commands.
10981 (follow-mwheel-scroll): New function (Bug#4112).
10982
10983 * comint.el (comint-adjust-point): New function.
10984 (comint-postoutput-scroll-to-bottom): Use it.
10985 Call follow-comint-scroll-to-bottom for Follow mode buffers.
10986
10987 2012-05-01 Glenn Morris <rgm@gnu.org>
10988
10989 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10990 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10991 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10992 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10993 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10994 Remove no-byte-compile setting.
10995
10996 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10997
10998 * minibuffer.el (completion-table-with-quoting): Fix compatibility
10999 all-completions code to not return a number in the last cdr.
11000
11001 2012-04-30 Leo Liu <sdl.web@gmail.com>
11002
11003 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11004 read-only error.
11005
11006 2012-04-29 Chong Yidong <cyd@gnu.org>
11007
11008 * follow.el (follow-calc-win-end): Rewrite to handle partial
11009 screen lines correctly (Bug#8390).
11010 (follow-avoid-tail-recenter): Minor cleanup.
11011
11012 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11013
11014 Avoid the obsolete `assoc' package.
11015 * speedbar.el (speedbar-refresh): Avoid adelete.
11016 (speedbar-file-lists): Simplify and avoid aput.
11017 * man.el (Man--sections, Man--refpages): New vars, replacing
11018 Man-sections-alist and Man-refpages-alist.
11019 (Man-build-section-alist, Man-build-references-alist):
11020 Use them; avoid aput.
11021 (Man--last-section, Man--last-refpage): New vars.
11022 (Man-follow-manual-reference): Use them.
11023 Use the `default' arg of completing-read.
11024 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11025
11026 2012-04-27 Chong Yidong <cyd@gnu.org>
11027
11028 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11029
11030 * startup.el (x-apply-session-resources): New function.
11031
11032 * term/ns-win.el (ns-initialize-window-system):
11033 * term/w32-win.el (w32-initialize-window-system):
11034 * term/x-win.el (x-initialize-window-system): Use it to properly
11035 set menu-bar-mode and other vars from X resources, even if the
11036 initial frame is not a window-system frame (Bug#2299).
11037
11038 * subr.el (read-key): Avoid running filter function when setting
11039 up temporary tool bar entries (Bug#9922).
11040
11041 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11042
11043 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11044 (Bug#11344)
11045
11046 2012-04-27 Chong Yidong <cyd@gnu.org>
11047
11048 * select.el (xselect--encode-string): New function, split from
11049 xselect-convert-to-string.
11050 (xselect-convert-to-string): Use it.
11051 (xselect-convert-to-filename, xselect-convert-to-os)
11052 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11053 returned strings are properly encoded (Bug#11315).
11054
11055 2012-04-27 Chong Yidong <cyd@gnu.org>
11056
11057 * simple.el (delete-active-region): Move to killing custom group.
11058
11059 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11060
11061 * progmodes/which-func.el (which-func-current): Quote %
11062 characters for mode-line processing.
11063
11064 2012-04-27 Chong Yidong <cyd@gnu.org>
11065
11066 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11067 reaching eob (Bug#11286).
11068
11069 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11070
11071 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11072 (gdb): Make it buffer-local and init to zero.
11073 (gdb-control-commands-regexp): New variable.
11074 (gdb-send): Don't wrap in "-interpreter-exec console" if
11075 gdb-control-level is positive. Increment gdb-control-level
11076 whenever the command matches gdb-control-commands-regexp, and
11077 decrement it each time the command is "end". (Bug#11279)
11078
11079 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11080
11081 * window.el (adjust-window-trailing-edge, enlarge-window)
11082 (shrink-window, window-resize):
11083 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11084 windows (Bug#11276).
11085
11086 2012-04-27 Chong Yidong <cyd@gnu.org>
11087
11088 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11089 fix "missing prefix" warning. All callers changed.
11090
11091 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11092
11093 * emacs-lisp/assoc.el: Move to obsolete/.
11094
11095 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11096
11097 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11098
11099 * term/ns-win.el (ns-define-service):
11100 * progmodes/pascal.el (pascal-goto-defun):
11101 * progmodes/js.el (js--read-tab):
11102 * progmodes/etags.el (tags-lazy-completion-table):
11103 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11104 * emacs-lisp/ewoc.el (ewoc--wrap):
11105 * emacs-lisp/assoc.el (aput, adelete, amake):
11106 * doc-view.el (doc-view-convert-current-doc):
11107 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11108
11109 2012-04-26 Chong Yidong <cyd@gnu.org>
11110
11111 * image.el (image-type-from-buffer): Only return supported image
11112 type (Bug#9045).
11113
11114 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11115 value, for symmetry with diff-end-of-hunk.
11116 (diff-split-hunk, diff-find-source-location)
11117 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11118 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11119 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11120 compute the relevant hunk or file properly (Bug#6005).
11121 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11122
11123 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11124
11125 * vc/vc-mtn.el:
11126 * vc/vc-hg.el:
11127 * vc/vc-git.el:
11128 * vc/vc-dir.el:
11129 * vc/vc-cvs.el:
11130 * vc/vc-bzr.el:
11131 * vc/vc-arch.el:
11132 * vc/vc.el: Replace lexical-let by lexical-binding.
11133 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11134 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11135 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11136
11137 2012-04-26 Chong Yidong <cyd@gnu.org>
11138
11139 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11140 (diff-mode-shared-map): Bind it to / and [remap undo].
11141
11142 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11143 (ediff-window-setup-function): Use it as the default, to set up
11144 windows based on whether the current frame is graphical (Bug#2138).
11145 (ediff-choose-window-setup-function-automatically): Make obsolete.
11146
11147 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11148
11149 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11150
11151 * ffap.el: Remove old code for obsolete package.
11152 (ffap-complete-as-file-p): Remove.
11153
11154 Use completion-table-with-quoting for comint and pcomplete.
11155 * comint.el (comint--unquote&requote-argument)
11156 (comint--unquote-argument, comint--requote-argument): New functions.
11157 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11158 (comint-quote-filename): Use regexp-opt-charset.
11159 (comint--common-suffix, comint--common-quoted-suffix)
11160 (comint--table-subvert): Remove.
11161 (comint-unquote-function, comint-requote-function): New vars.
11162 (comint--complete-file-name-data): Use them with
11163 completion-table-with-quoting.
11164 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11165 * pcomplete.el (pcomplete-arg-quote-list)
11166 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11167 (pcomplete-unquote-argument-function): Default to non-nil.
11168 (pcomplete-unquote-argument): Simplify.
11169 (pcomplete--common-quoted-suffix): Remove.
11170 (pcomplete-requote-argument-function): New var.
11171 (pcomplete--common-suffix): New function.
11172 (pcomplete-completions-at-point): Use completion-table-with-quoting
11173 and completion-table-subvert.
11174
11175 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11176 (minibuffer--double-dollars): Preserve properties.
11177 (completion--sifn-requote): New function.
11178 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11179
11180 * minibuffer.el: Add support for completion of quoted/escaped data.
11181 (completion-table-with-quoting, completion-table-subvert): New funs.
11182 (completion--twq-try, completion--twq-all): New functions.
11183 (completion--nth-completion): New function.
11184 (completion-try-completion, completion-all-completions): Use it.
11185
11186 2012-04-25 Leo Liu <sdl.web@gmail.com>
11187
11188 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11189 Use compilation-message if available to find real filename.
11190
11191 2012-04-25 Chong Yidong <cyd@gnu.org>
11192
11193 * vc/diff-mode.el (diff-setup-whitespace): New function.
11194 (diff-mode): Use it.
11195
11196 * vc/diff.el (diff-sentinel):
11197 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11198 Whitespace mode variables based on diff style (Bug#8612).
11199
11200 2012-04-25 Leo Liu <sdl.web@gmail.com>
11201
11202 * progmodes/python.el (python-send-region): Add suffix .py to the
11203 temp file.
11204
11205 * files.el (auto-mode-alist): Use javascript-mode instead.
11206
11207 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11208
11209 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11210
11211 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11212 (soap-resolve-references-for-array-type): Hack to prevent self
11213 references, see Bug#9.
11214 (soap-parse-envelope): Report the contents of the 'detail' node
11215 when receiving a fault reply.
11216 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11217
11218 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11219 (soap-inspect-simple-type): New function.
11220
11221 * net/soap-client.el (soap-simple-type): New struct.
11222 (soap-default-xsd-types, soap-default-soapenc-types)
11223 (soap-decode-basic-type, soap-encode-basic-type):
11224 support unsignedInt and double basic types.
11225 (soap-resolve-references-for-simple-type)
11226 (soap-parse-simple-type, soap-encode-simple-type): New function.
11227 (soap-parse-schema): Parse xsd:simpleType declarations.
11228
11229 * net/soap-client.el (soap-default-xsd-types)
11230 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11231 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11232 the local name of "soapenc:Array".
11233 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11234 decoding integer, byte and anyURI xsd types.
11235
11236 2012-04-25 Chong Yidong <cyd@gnu.org>
11237
11238 * cus-edit.el (custom-buffer-create-internal): Update header text.
11239
11240 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11241
11242 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11243 settings on 'system-type', not on 'window-system'. On MS-Windows,
11244 set interactive-mode on in GDB.
11245
11246 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11247
11248 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11249 (ruby-syntax-propertize-regexp): Remove.
11250 (ruby-syntax-propertize-function): Split regexp into chunks.
11251 Match following code directly.
11252
11253 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11254
11255 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11256 (ruby-syntax-propertize-regexp): New function.
11257 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11258 by a special keyword.
11259
11260 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11261 (ruby-syntax-general-delimiters-goto-beg)
11262 (ruby-syntax-propertize-general-delimiters): New functions.
11263 (ruby-syntax-propertize-function): Use them to handle GDL.
11264 (ruby-font-lock-keywords): Move old handling of GDL...
11265 (ruby-font-lock-syntactic-keywords): .. to here.
11266 (ruby-calculate-indent): Adjust indentation for GDL.
11267
11268 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11269
11270 * notifications.el (top): Remove unneeded declarations.
11271 (notifications-specification-version): Change to "1.2".
11272 (notifications-interface, notifications-notify-method)
11273 (notifications-close-notification-method): Fix docstring.
11274 (notifications-get-capabilities-method): New defconst.
11275 (notifications-notify): Add :action-items, :resident and
11276 :transient hints. Change "image_data" to "image-data" and
11277 "image_path" to "image-path".
11278 (notifications-get-capabilities): New defun.
11279
11280 2012-04-24 Leo Liu <sdl.web@gmail.com>
11281
11282 * progmodes/python.el: Move hideshow setup to the end.
11283
11284 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11285
11286 * window.el (handle-select-window): Clear echo area since this is
11287 no more done by read_char (Bug#11304).
11288
11289 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11290
11291 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11292 and `/ M' to filter-derived-mode.
11293 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11294 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11295 (ibuffer-mark-by-mode): Use default rather than initial-input.
11296 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11297
11298 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11299
11300 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11301 (ibuffer-filter-by-derived-mode): New filter.
11302 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11303
11304 2012-04-23 Andreas Politz <politza@fh-trier.de>
11305
11306 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11307
11308 2012-04-23 Chong Yidong <cyd@gnu.org>
11309
11310 * cus-edit.el (customize-apropos, customize-apropos-options):
11311 Disable matching of non-option variables (Bug#11176).
11312 (customize-option, customize-option-other-window)
11313 (customize-changed-options): Doc fix.
11314 (customize-apropos-options, customize-apropos-faces)
11315 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11316
11317 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11318 Fix word list splitting (Bug#11132).
11319 (apropos-symbol, apropos-keybinding, apropos-label)
11320 (apropos-property, apropos-function-button)
11321 (apropos-variable-button, apropos-misc-button): New faces.
11322 (apropos-symbol-face, apropos-keybinding-face)
11323 (apropos-label-face, apropos-property-face, apropos-match-face):
11324 Variables removed (Bug#8396).
11325 (apropos-library-button, apropos-format-plist, apropos-print)
11326 (apropos-print-doc, apropos-describe-plist): Callers changed.
11327
11328 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11329
11330 * net/xesam.el (xesam-mode-map): Use let-bound map in
11331 initialization. (Bug#11292)
11332
11333 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11334
11335 Preserve ispell session localwords when switching back to
11336 original buffer.
11337
11338 * textmodes/ispell.el (ispell-buffer-session-localwords):
11339 New buffer-local variable to hold buffer session localwords.
11340 (ispell-kill-ispell): Add option 'clear to delete session
11341 localwords.
11342 (ispell-command-loop, ispell-change-dictionary)
11343 (ispell-buffer-local-words): Preserve session localwords when
11344 needed.
11345
11346 * textmodes/flyspell.el (flyspell-process-localwords)
11347 (flyspell-do-correct): Preserve session localwords when needed.
11348
11349 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11350
11351 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11352 using obsolete `translation-table-for-input'.
11353 (ispell-word, ispell-process-line, ispell-complete-word):
11354 Use plain `insert' instead of removed `ispell-insert-word'.
11355
11356 2012-04-22 Chong Yidong <cyd@gnu.org>
11357
11358 * cus-edit.el (custom-variable-menu)
11359 (custom-variable-reset-saved, custom-face-menu)
11360 (custom-face-reset-saved): If there is no saved value, make the
11361 "reset-saved" operation bring back the default (Bug#9509).
11362 (custom-face-state): Properly detect themed faces.
11363
11364 * faces.el (face-spec-set): Stop supporting deprecated form of
11365 third arg.
11366
11367 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
11368
11369 Move functions from C to Lisp. Make non-blocking method calls
11370 the default. Implement further D-Bus standard interfaces.
11371
11372 * net/dbus.el (dbus-message-internal): Declare function.
11373 Remove unneeded function declarations.
11374 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11375 (dbus-message-type-method-return, dbus-message-type-error)
11376 (dbus-message-type-signal): Declare variables. Remove local
11377 definitions.
11378 (dbus-interface-dbus, dbus-interface-peer)
11379 (dbus-interface-introspectable, dbus-interface-properties)
11380 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11381 Adapt docstring.
11382 (dbus-interface-objectmanager): New defconst.
11383 (dbus-call-method, dbus-call-method-asynchronously)
11384 (dbus-send-signal, dbus-method-return-internal)
11385 (dbus-method-error-internal, dbus-register-service)
11386 (dbus-register-signal, dbus-register-method): New defuns, moved
11387 from dbusbind.c
11388 (dbus-call-method-handler, dbus-setenv)
11389 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11390 New defuns.
11391 (dbus-call-method-non-blocking): Make it an obsolete function.
11392 (dbus-unregister-object, dbus-unregister-service)
11393 (dbus-handle-event, dbus-register-property)
11394 (dbus-property-handler): Obey the new structure of
11395 `bus-registered-objects'.
11396 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11397 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11398 Use `dbus-call-method'.
11399
11400 2012-04-22 Chong Yidong <cyd@gnu.org>
11401
11402 * cus-edit.el (custom-commands, custom-reset-menu)
11403 (Custom-reset-standard): Tweak labels.
11404 (custom-reset-button-menu): Change default to t.
11405 (custom-buffer-create-internal): For the custom-reset-button-menu
11406 case, put the revert button first.
11407 (custom-group-subtitle): New face.
11408 (custom-group-value-create): Align docstring to a specific column.
11409
11410 * wid-edit.el (widget-documentation-link-add): Don't handle
11411 indentation in this function.
11412 (widget-documentation-string-indent-to): New function.
11413 (widget-documentation-string-value-create): Use it.
11414
11415 * autorevert.el (auto-revert):
11416 * epg-config.el (epg):
11417 * ibuffer.el (ibuffer):
11418 * mpc.el (mpc):
11419 * ses.el (ses):
11420 * eshell/eshell.el (eshell):
11421 * net/ange-ftp.el (ange-ftp):
11422 * progmodes/ebnf2ps.el (postscript):
11423 * progmodes/flymake.el (flymake):
11424 * progmodes/prolog.el (prolog):
11425 * progmodes/verilog-mode.el (verilog-mode):
11426 * progmodes/which-func.el (which-func):
11427 * term/xterm.el (xterm):
11428 * textmodes/picture.el (picture):
11429 * textmodes/tildify.el (tildify):
11430 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11431 customization buffers.
11432
11433 2012-04-22 Alan Mackenzie <acm@muc.de>
11434
11435 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11436 Adding a ) can hide the resulting (..) from searches. Fix it.
11437 Bound the backward search to the position of the existing (.
11438
11439 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
11440
11441 * progmodes/verilog-mode.el (verilog-mode): Check whether
11442 which-func-modes is t before adding verilog-mode.
11443 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11444
11445 2012-04-21 Leo Liu <sdl.web@gmail.com>
11446
11447 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11448
11449 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11450
11451 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11452 filling of the last column of a table (Bug#5635).
11453 (woman-find-next-control-line): New arg, specifying an additional
11454 regexp component for the control line.
11455 (woman2-roff-buffer): Use it.
11456 (woman-break-table): New function.
11457 (woman2-TS): Use it.
11458
11459 2012-04-21 Chong Yidong <cyd@gnu.org>
11460
11461 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11462 (woman-horizontal-escapes, woman-negative-vertical-space)
11463 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11464 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11465
11466 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11467
11468 * minibuffer.el (completion-file-name-table): Complete user names.
11469
11470 2012-04-20 Leo Liu <sdl.web@gmail.com>
11471
11472 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11473 and pcase-let*.
11474
11475 2012-04-20 Chong Yidong <cyd@gnu.org>
11476
11477 * server.el (server-execute): Respect initial-buffer-choice if it
11478 is a string and there are no files to open (Bug#2825).
11479 (server-create-window-system-frame, server-create-tty-frame):
11480 Don't switch buffers here.
11481 (server-process-filter): Only try to open a window system frame if
11482 compiled with graphical support (Bug#8314).
11483
11484 2012-04-20 Dan Nicolaescu <dann@gnu.org>
11485
11486 * battery.el (battery-echo-area-format): Display remaining time
11487 for sysfs backend too (Bug#11269).
11488 (battery-linux-sysfs): Fix conditional for the charge.
11489
11490 2012-04-20 Chong Yidong <cyd@gnu.org>
11491
11492 * progmodes/gdb-mi.el (gdb): Revert previous change.
11493 (gdb-inferior-io--init-proc): New function.
11494 (gdb-init-1): Use it.
11495 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11496 responsible for allocating a new pty and hooking it to gdb when
11497 the old pty gets an EIO due to process exit.
11498 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11499 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11500 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11501
11502 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11503
11504 * window.el (window-min-size, window-sizable, window-min-delta)
11505 (window-max-delta, window--resizable, window-resizable)
11506 (window-total-size, window-full-height-p, window-full-width-p)
11507 (window-in-direction, window--resize-mini-window, window-resize)
11508 (window--resize-child-windows-normal)
11509 (window--resize-child-windows, window--resize-siblings)
11510 (window--resize-this-window, adjust-window-trailing-edge)
11511 (enlarge-window, shrink-window): Doc fixes.
11512
11513 2012-04-20 Chong Yidong <cyd@gnu.org>
11514
11515 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11516 New function to call delete-process on the gdb-inferior buffer's pty.
11517 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11518 pty process (Bug#11273).
11519 (gdb-update): New arg to suppress talking to the gdb process.
11520 (gdb-done-or-error): Use it.
11521 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11522 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11523 sentinel not being called.
11524
11525 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11526
11527 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11528
11529 2012-04-20 Glenn Morris <rgm@gnu.org>
11530
11531 * net/network-stream.el (open-network-stream): Doc fix.
11532
11533 2012-04-20 Chong Yidong <cyd@gnu.org>
11534
11535 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11536
11537 2012-04-20 Alan Mackenzie <acm@muc.de>
11538
11539 Ensure searching for keywords is case sensitive.
11540
11541 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11542 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11543 (c-defun-name, c-mark-function, c-cpp-define-name)
11544 (c-comment-indent, c-scan-conditionals, c-indent-defun)
11545 (c-context-line-break): Bind case-fold-search to nil.
11546
11547 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11548 Bind case-fold-search to nil.
11549
11550 2012-04-20 Chong Yidong <cyd@gnu.org>
11551
11552 * mail/sendmail.el (mail-bury): Call return action with the right
11553 Rmail buffer (Bug#11242).
11554
11555 * server.el (server-process-filter): Handle corner case where both
11556 tty and nowait options are present (Bug#11102).
11557
11558 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11559
11560 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
11561 (top level): Put into the executable the ident-style '$Id:' tag on
11562 windows-nt as well.
11563
11564 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11565
11566 * electric.el (electric-indent-post-self-insert-function): Check that
11567 electric-indent-mode is enabled in current buffer.
11568
11569 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11570
11571 * imenu.el (imenu-progress-message): Restore; it is "used" in
11572 erc/erc-imenu.el and net/snmp-mode.el.
11573
11574 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11575
11576 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11577 (mouse-avoidance-nudge-mouse): Remove unused binding.
11578
11579 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11580
11581 * descr-text.el (describe-char):
11582 * progmodes/python.el (python-describe-symbol):
11583 Don't call `toggle-read-only', set `buffer-read-only'.
11584
11585 * imenu.el (imenu-default-goto-function): Mark unused args.
11586 (imenu-progress-message): Remove obsolete macro; all callers changed.
11587
11588 * subr.el (keymap-canonicalize): Remove unused binding.
11589 (read-passwd): Mark unused arg.
11590
11591 * tutorial.el (tutorial--display-changes): Remove unused binding.
11592 (tutorial--save-tutorial-to): Remove unused variable.
11593
11594 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11595 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11596 (package-generate-autoloads, package-menu--generate)
11597 (package-menu--find-upgrades): Remove unused bindings.
11598
11599 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11600 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11601 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11602 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11603 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11604 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11605 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11606 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11607 (cua-delete-char-rectangle): Mark unused args.
11608 (cua-align-rectangle): Remove unused binding.
11609
11610 * mail/rmail.el (compilation--message->loc)
11611 (epa--find-coding-system-for-mime-charset): Declare.
11612
11613 * net/dbus.el (dbus-register-service): Declare.
11614 (dbus-name-owner-changed-handler): Remove unused binding.
11615
11616 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11617 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11618 (nxml-scan-backward-within): Mark unused arg.
11619 (nxml-dynamic-markup-word): Remove unused binding.
11620
11621 * mouse.el (mouse-menu-major-mode-map):
11622 * emacs-lisp/authors.el (authors-scan-change-log)
11623 (authors-add-to-author-list):
11624 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11625 * emacs-lisp/smie.el (smie-auto-fill):
11626 * mail/sendmail.el (mail-bury):
11627 * mail/unrmail.el (unrmail):
11628 * net/tls.el (open-tls-stream):
11629 * textmodes/picture.el (picture-mouse-set-point):
11630 Remove unused bindings.
11631
11632 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
11633
11634 * net/tramp.el (tramp-action-password): Let-bind
11635 `enable-recursive-minibuffers' to t.
11636
11637 2012-04-18 Sam Steingold <sds@gnu.org>
11638
11639 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11640 instead of 'string to accommodate values like [f11].
11641 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11642 * progmodes/gdb-mi.el: Likewise.
11643
11644 2012-04-18 Leo Liu <sdl.web@gmail.com>
11645
11646 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11647 current buffer.
11648 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11649 LOCAL is nil.
11650
11651 2012-04-18 Chong Yidong <cyd@gnu.org>
11652
11653 * simple.el (line-move): Use forward-line if in batch mode
11654 (Bug#11053).
11655
11656 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
11657
11658 * files.el (after-find-file): Do not try to add a final newline if
11659 the buffer is read-only (Bug#11156).
11660
11661 2012-04-17 Richard Stallman <rms@gnu.org>
11662
11663 * mail/rmail.el (rmail-start-mail):
11664 Pass (rmail-mail-return...) for the return-action.
11665 Pass (rmail-yank-current-message...) for the yank-action.
11666 (rmail-yank-current-message): New function.
11667 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11668 (rmail-reply): Likewise.
11669 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11670
11671 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
11672 buffer, not the last. Reject temp buffers. Use the rmail-mode
11673 buffer, not newbuf.
11674
11675 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
11676
11677 * server.el (server-ensure-safe-dir): Simplify.
11678
11679 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11680
11681 * emacs-lisp/smie.el: Provide smarter auto-filling.
11682 (smie-auto-fill): New function.
11683 (smie-setup): Use it.
11684
11685 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11686
11687 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
11688
11689 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11690 (comment-indent): Use it.
11691
11692 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
11693
11694 * ses.el: The overall change is to add cell renaming, that is
11695 setting fancy names for cell symbols other than name matching
11696 "\\`[A-Z]+[0-9]+\\'" regexp .
11697 (ses-localvars): Add ses--renamed-cell-symb-list.
11698 (ses-create-cell-variable): New defun.
11699 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
11700 (ses-relocate-formula): Relocate formulas only for cells the
11701 symbols of which are not renamed, i.e. symbols whose names do not
11702 match regexp "\\`[A-Z]+[0-9]+\\'".
11703 (ses-relocate-all): Relocate values only for cells the symbols of
11704 which are not renamed.
11705 (ses-load): Create cells variables as the (ses-cell ...) are read,
11706 in order to check row col consistency with cell symbol name only
11707 for cells that are not renamed.
11708 (ses-replace-name-in-formula): New defun.
11709 (ses-rename-cell): New defun.
11710
11711 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11712
11713 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11714 New option (bug#11118).
11715 (perl-calculate-indent): Respect it.
11716
11717 2012-04-17 Glenn Morris <rgm@gnu.org>
11718
11719 * dired-aux.el (dired-mark-read-string): Doc fix.
11720
11721 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11722
11723 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11724 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11725
11726 2012-04-17 Glenn Morris <rgm@gnu.org>
11727
11728 * mouse.el (mouse-drag-track):
11729 * speedbar.el (speedbar-frame-mode):
11730 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11731
11732 2012-04-16 Leo Liu <sdl.web@gmail.com>
11733
11734 * progmodes/python.el: Trivial cleanup.
11735
11736 2012-04-16 Glenn Morris <rgm@gnu.org>
11737
11738 * vc/vc.el (vc-string-prefix-p):
11739 * vc/pcvs-util.el (cvs-string-prefix-p):
11740 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11741 * mpc.el (mpc-string-prefix-p):
11742 Make all of these into obsolete aliases for string-prefix-p.
11743 Update callers.
11744 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11745
11746 * textmodes/two-column.el: Move custom options to the start.
11747 (frame-width): Remove compat definition.
11748 (2C-associate-buffer, 2C-dissociate):
11749 Use with-current-buffer rather than save-excursion.
11750 (2C-dissociate): Force a mode-line update.
11751 (2C-autoscroll): Use ignore-errors.
11752
11753 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11754 Autoload trivia.
11755
11756 * emacs-lisp/cl-extra.el (*random-state*):
11757 Remove unnecessary declaration.
11758
11759 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11760
11761 * play/cookie1.el (cookie-snarf):
11762 Give an explicit error if input file cannot be read.
11763
11764 * play/yow.el (yow-file): Use expand-file-name rather than concat.
11765
11766 * progmodes/perl-mode.el (c-macro-expand):
11767 Remove unnecessary autoload (it is in loaddefs.el).
11768
11769 * textmodes/picture.el (picture-desired-column)
11770 (picture-update-desired-column): Convert comments to doc-strings.
11771 (picture-substitute): Remove function.
11772 (picture-mode-map): Initialize in the defvar.
11773
11774 * woman.el: Remove eval-after-load for tar-mode.
11775 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11776 (woman-tar-extract-file): Autoload it.
11777
11778 * frame.el (automatic-hscrolling): Make this alias obsolete.
11779
11780 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11781
11782 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
11783 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
11784 (ispell-dictionary-base-alist): Revert to original XEmacs
11785 friendly version for default. [:alpha:] will be added in
11786 `ispell-set-spellchecker-params' if needed.
11787
11788 2012-04-16 Chong Yidong <cyd@gnu.org>
11789
11790 * image.el (imagemagick--file-regexp): New variable.
11791 (imagemagick-register-types): Use it.
11792 (imagemagick-types-inhibit): Add :set function. Allow new value
11793 of t to inhibit all types.
11794
11795 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11796 so we can preload it.
11797
11798 * loadup.el (fboundp): Preload regexp-opt, needed by
11799 imagemagick-register-types.
11800
11801 2012-04-15 Chong Yidong <cyd@gnu.org>
11802
11803 * frame.el (scrolling): Remove nearly unused customization group.
11804
11805 * scroll-all.el (scroll-all-mode): Move to windows group.
11806
11807 2012-04-15 Chong Yidong <cyd@gnu.org>
11808
11809 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11810
11811 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11812
11813 Avoid the use of ((lambda ...) ...) in lexical-binding code.
11814 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
11815
11816 2012-04-15 Glenn Morris <rgm@gnu.org>
11817
11818 * simple.el (process-file-side-effects): Doc fix.
11819
11820 2012-04-15 Glenn Morris <rgm@gnu.org>
11821
11822 * international/mule-cmds.el (set-language-environment): Doc fix.
11823
11824 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
11825
11826 * server.el (server-auth-key, server-generate-key): Doc fixes.
11827 (server-get-auth-key): Doc fix. Use `string-match-p'.
11828 (server-start): Reflow docstring.
11829
11830 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11831
11832 * server.el (server-generate-key): `called-interactively-p'
11833 requires a parameter.
11834
11835 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
11836
11837 * server.el (server-auth-key): New variable.
11838 (server-generate-key, server-get-auth-key): New function.
11839 (server-start): Use the new variable and functions to allow
11840 setting a permanent server key (bug#9423).
11841
11842 2012-04-14 Leo Liu <sdl.web@gmail.com>
11843
11844 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11845
11846 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
11847
11848 Spelling fixes.
11849 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11850 Emacs uses American spelling.
11851
11852 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
11853
11854 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11855 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
11856 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11857 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
11858
11859 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11860
11861 * progmodes/which-func.el (which-func-modes): Change default.
11862
11863 2012-04-14 Kim F. Storm <storm@cua.dk>
11864
11865 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11866 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11867
11868 2012-04-14 Chong Yidong <cyd@gnu.org>
11869
11870 * custom.el (custom-theme-set-variables): Doc fix.
11871
11872 2012-04-14 Glenn Morris <rgm@gnu.org>
11873
11874 * international/mule.el (set-auto-coding-for-load): Doc fix.
11875
11876 2012-04-14 Alan Mackenzie <acm@muc.de>
11877
11878 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11879 imenu work again for Objective C Mode. Correct the *-index values,
11880 these having been disturbed by a previous change in 2011-08.
11881
11882 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11883 Correct two search limits.
11884
11885 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11886
11887 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11888
11889 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
11890
11891 * international/characters.el: Fix sorting.
11892
11893 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11894
11895 * international/characters.el: Add more missing Latin case pairs.
11896
11897 2012-04-14 Glenn Morris <rgm@gnu.org>
11898
11899 * files.el (dir-locals-set-class-variables): Doc fix.
11900
11901 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11902
11903 * international/characters.el: Add set-case-syntax-pair call for
11904 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11905 counterpart. (Bug#11209)
11906
11907 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
11908
11909 2012-04-14 Glenn Morris <rgm@gnu.org>
11910
11911 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11912
11913 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11914
11915 * textmodes/ispell.el (ispell-dictionary-base-alist):
11916 Add data for Hebrew.
11917
11918 2012-04-14 Chong Yidong <cyd@gnu.org>
11919
11920 * net/rcirc.el (rcirc-cmd-quit):
11921 Revert 2012-03-18 change (Bug#11192).
11922
11923 2012-04-14 Glenn Morris <rgm@gnu.org>
11924
11925 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
11926
11927 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11928
11929 * minibuffer.el (completion-in-region-mode-map):
11930 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
11931
11932 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
11933
11934 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
11935
11936 2012-04-13 Masatake YAMATO <yamato@redhat.com>
11937
11938 * minibuffer.el (minibuffer-local-filename-syntax): New variable
11939 to allow `C-M-f' and `C-M-b' to move to the nearest path
11940 separator (bug#9511).
11941
11942 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
11943
11944 * avoid.el: Require cl when compiling. And also move the
11945 `provide' to the end.
11946
11947 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11948
11949 * avoid.el (mouse-avoidance-banish-position): New variable.
11950 (mouse-avoidance-banish-destination): Use it (bug#10165).
11951
11952 2012-04-13 Leo Liu <sdl.web@gmail.com>
11953
11954 * progmodes/which-func.el (which-func-modes): Add objc-mode.
11955
11956 2012-04-13 Ken Brown <kbrown@cornell.edu>
11957
11958 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
11959 this is no longer needed now that cygstart understands file:// URLs.
11960 (browse-url-filename-alist): For the same reason, don't modify
11961 file:// URLs on Cygwin.
11962
11963 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11964
11965 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11966 the region on shift if the binding is already shifted (bug#11221).
11967
11968 2012-04-12 Glenn Morris <rgm@gnu.org>
11969
11970 * mail/mailpost.el: Move to obsolete/.
11971
11972 2012-04-12 Drew Adams <drew.adams@oracle.com>
11973
11974 * imenu.el (imenu--generic-function): Ignore invisible definitions
11975 (bug#10123).
11976
11977 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
11978
11979 * hexl.el (hexl-bits): New variable.
11980 (hexl-options): Mention the variable in the doc string.
11981 (hexl-rulerise, hexl-line-displen): New functions.
11982 (hexl-mode): Mention the new variable.
11983 (hexl-mode, hexl-current-address, hexl-current-address):
11984 Use the displen.
11985 (hexl-ascii-start-column): New function.
11986 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11987 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11988
11989 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11990
11991 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11992 '("-i" ENCODING), in 2 separate command-line arguments, to specify
11993 the encoding, as expected by hunspell.
11994
11995 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11996
11997 * battery.el (battery--linux-sysfs-regexp): New const.
11998 (battery-status-function): Use it. Remove yeeloong special case.
11999 (battery-yeeloong-sysfs): Remove.
12000 (battery-echo-area-format): Remove yeeloong special case.
12001
12002 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12003
12004 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12005 Reported by Noah Friedman.
12006
12007 * subr.el (read-passwd): Use read-string.
12008
12009 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12010
12011 * vcursor.el (vcursor-move): Increase the priority of the overlay
12012 (bug#9663).
12013
12014 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12015
12016 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12017 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12018
12019 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12020
12021 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12022 define-minor-mode (bug#10760).
12023
12024 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12025
12026 * progmodes/grep.el (rgrep): Tweak the find command line so
12027 that directories matching `grep-find-ignored-files' won't be
12028 pruned (bug#10351).
12029
12030 2012-04-11 Chong Yidong <cyd@gnu.org>
12031
12032 * startup.el (command-line): Remove support for long-obsolete
12033 variable font-lock-face-attributes.
12034
12035 2012-04-11 Glenn Morris <rgm@gnu.org>
12036
12037 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12038
12039 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12040
12041 * window.el (window--state-get-1): Obey window-point-insertion-type.
12042
12043 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12044
12045 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12046 to previous function when point is on the first character of a
12047 function. Take care of that in `narrow-to-defun' (bug#6157).
12048
12049 2012-04-11 Glenn Morris <rgm@gnu.org>
12050
12051 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12052 not just file-errors.
12053
12054 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12055 (vc-bzr-sha1): Use internal sha1.
12056
12057 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12058
12059 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12060
12061 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12062
12063 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12064 that start in the middle of the line (bug#10496).
12065
12066 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12067
12068 * battery.el (battery-linux-proc-acpi): Only one battery is
12069 discharged at a time, but that seems to confuse battery.el when
12070 computing `rate-type' for the battery not being discharged
12071 (bug#10332).
12072
12073 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12074
12075 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12076
12077 * international/quail.el: Use dolist and simplify.
12078 (quail-define-package, quail-update-keyboard-layout)
12079 (quail-define-rules): Use dolist.
12080 (quail-insert-kbd-layout, quail-get-translation): CSE.
12081
12082 * tmm.el: Use dolist, remove left over hook.
12083 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12084 Use dolist.
12085 (calendar-load-hook): Don't mess with it.
12086
12087 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12088 Use derived-mode-p. Run the diff asynchronously.
12089
12090 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12091
12092 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12093
12094 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12095
12096 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12097 (list-dynamic-libraries--loaded): New function.
12098 (list-dynamic-libraries--refresh): Use it.
12099
12100 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12101
12102 * progmodes/python.el (python-fill-paragraph):
12103 Make python-fill-region in a multiline string work when font-lock is
12104 disabled (bug#7018).
12105
12106 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12107
12108 * language/european.el (cp775): Add oem/legacy (en)coding on
12109 DOS/MS Windows for the Baltic languages. There are still plenty
12110 of texts written in this encoding/codepage (bug#6519).
12111
12112 2012-04-10 Glenn Morris <rgm@gnu.org>
12113
12114 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12115 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12116
12117 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12118
12119 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12120 next-line "n" and previous-line "p" in order to make recentf more
12121 consistent with ibuffer, dired or org-mode (bug#9387).
12122
12123 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12124
12125 * image.el (put-image): Return the overlay created instead of the
12126 optional input string (bug#7834). Note that this may break code
12127 that is (for some reason or other) depending on `put-image'
12128 returning the string.
12129
12130 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12131
12132 * simple.el (zap-to-char): Allow zapping using input methods
12133 (bug#1580).
12134
12135 * textmodes/fill.el (fill-region): Leave point and mark where they
12136 were before filling (bug#5399).
12137
12138 2012-04-09 Glenn Morris <rgm@gnu.org>
12139
12140 * version.el (emacs-bzr-get-version):
12141 Handle lightweight checkouts of local branches.
12142
12143 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12144
12145 * international/characters.el: Recover lost case pairs. (Bug#11209)
12146
12147 2012-04-09 Chong Yidong <cyd@gnu.org>
12148
12149 * custom.el (custom-variable-p): Return nil for non-symbol
12150 arguments instead of signaling an error.
12151 (user-variable-p): Obsolete alias for custom-variable-p.
12152
12153 * apropos.el (apropos-variable):
12154 * files-x.el (read-file-local-variable):
12155 * simple.el (set-variable):
12156 * woman.el (woman-mini-help):
12157 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12158
12159 2012-04-09 Glenn Morris <rgm@gnu.org>
12160
12161 * startup.el (normal-top-level): Don't look for leim-list.el
12162 in places where it will not be found. (Bug#910)
12163
12164 * international/mule-cmds.el (set-default-coding-systems):
12165 * files.el (normal-mode):
12166 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12167 This function was removed with ucs-tables.el in 2008.
12168
12169 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12170
12171 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12172 ispell-encoding8-command to "-i", without a trailing space.
12173 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12174 separate command-line arguments, to specify the encoding, since
12175 that's how hunspell expects it.
12176
12177 2012-04-08 Glenn Morris <rgm@gnu.org>
12178
12179 * loadup.el: Load bindings before cus-start.
12180 This reduces somewhat the number of "rogue" settings in emacs -Q.
12181
12182 2012-04-07 Glenn Morris <rgm@gnu.org>
12183
12184 * version.el (emacs-bzr-get-version): New function.
12185 (emacs-bzr-version): New variable.
12186 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12187 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12188
12189 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12190
12191 * international/uni-bidi.el, international/uni-category.el:
12192 * international/uni-combining.el, international/uni-decimal.el:
12193 * international/uni-decomposition.el, international/uni-digit.el:
12194 * international/uni-lowercase.el, international/uni-mirrored.el:
12195 * international/uni-name.el, international/uni-numeric.el:
12196 * international/uni-titlecase.el, international/uni-uppercase.el:
12197 Update for Unicode 6.1.
12198
12199 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12200
12201 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12202
12203 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12204
12205 * window.el (shrink-window): Mention the `window-min-height'
12206 variable in the doc string.
12207
12208 2012-04-05 Bastien Guerry <bzg@altern.org>
12209
12210 * color.el (color-lighten-name): Fix typo.
12211
12212 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12213
12214 * server.el (server--on-display-p): New function.
12215 (server--on-display-p): Use it.
12216
12217 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12218
12219 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12220 (bug#11145).
12221
12222 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12223
12224 * comint.el (comint--common-quoted-suffix): Check string boundary
12225 before comparing (bug#11158).
12226 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12227
12228 2012-04-04 Chong Yidong <cyd@gnu.org>
12229
12230 * minibuffer.el (completion-extra-properties): Doc fix.
12231
12232 * subr.el (delayed-warnings-hook): Doc fix.
12233
12234 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12235
12236 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12237 selection (Bug#11159).
12238 (epa-insert-keys): Inform that the default public key will be
12239 exported if no key is selected.
12240
12241 2012-04-04 Richard Stallman <rms@gnu.org>
12242
12243 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12244
12245 2012-04-03 Chong Yidong <cyd@gnu.org>
12246
12247 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12248 mail-insert-file, not its obsolete alias mail-attach-file.
12249
12250 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12251
12252 * notifications.el (notifications-notify): Fix docstring.
12253
12254 2012-04-02 Glenn Morris <rgm@gnu.org>
12255
12256 * emacs-lisp/authors.el (authors-aliases): Another addition.
12257
12258 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12259
12260 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12261 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12262 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12263
12264 2012-04-01 Chong Yidong <cyd@gnu.org>
12265
12266 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12267 Handle root directory properly.
12268 (copy-directory): Caller changed.
12269
12270 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12271 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12272
12273 2012-03-31 Glenn Morris <rgm@gnu.org>
12274
12275 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12276
12277 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12278
12279 * calendar/calendar.el (calendar-window-list)
12280 (calendar-hide-window): Restore. (Bug#11140)
12281 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12282
12283 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12284
12285 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12286
12287 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12288 Check if file is a symlink (Bug#10489).
12289
12290 * files.el (copy-directory): Likewise.
12291
12292 2012-03-30 Chong Yidong <cyd@gnu.org>
12293
12294 * image.el (imagemagick-types-inhibit)
12295 (imagemagick-register-types): Doc fix.
12296
12297 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12298
12299 * textmodes/ispell.el (ispell-get-extended-character-mode):
12300 Disable extended-char-mode for hunspell. hunspell does not support it
12301 and treats ~word as ordinary words in pipe mode.
12302
12303 2012-03-30 Glenn Morris <rgm@gnu.org>
12304
12305 * tutorial.el (help-with-tutorial): Ensure local variables don't
12306 happen to make the buffer read-only. (Bug#11127)
12307
12308 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12309
12310 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12311 (perl-calculate-indent): Return `noindent' in strings.
12312
12313 2012-03-28 Sam Steingold <sds@gnu.org>
12314
12315 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12316 instead of the broken adhockery which does not prevent calendar
12317 buffers from being displayed at random after exit.
12318 (calendar-window-list, calendar-hide-window): Remove the broken
12319 adhockery.
12320
12321 2012-03-28 Glenn Morris <rgm@gnu.org>
12322
12323 * replace.el (query-replace-map): Doc fix.
12324
12325 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12326
12327 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12328 contents. (Bug#11109)
12329
12330 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12331
12332 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12333 (bug#11077).
12334 (avl-tree--check, avl-tree--check-node): New funs.
12335
12336 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12337
12338 * window.el (switch-to-visible-buffer): New option.
12339 (switch-to-prev-buffer, switch-to-next-buffer):
12340 Observe switch-to-visible-buffer. Make sure that checking for a window
12341 showing a buffer already is done on the same frame.
12342
12343 2012-03-27 Glenn Morris <rgm@gnu.org>
12344
12345 * startup.el (mail-host-address): Doc fix.
12346
12347 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12348
12349 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12350 than 197 variables.
12351
12352 2012-03-26 Ami Fischman <ami@fischman.org>
12353
12354 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12355
12356 2012-03-26 Glenn Morris <rgm@gnu.org>
12357
12358 * files.el (save-buffers-kill-emacs): Doc fix.
12359
12360 * startup.el (normal-top-level, command-line, command-line-1):
12361 Give them doc strings.
12362
12363 2012-03-25 Eli Zaretskii <eliz@gnu.org>
12364
12365 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12366 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12367
12368 2012-03-25 Chong Yidong <cyd@gnu.org>
12369
12370 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12371 theme if it was previously enabled before (Bug#11031).
12372
12373 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12374 spec with custom-face-get-current-spec if its :shown-value is not
12375 determined yet (Bug#9337).
12376 (customize-create-theme, custom-theme-revert): Doc fixes.
12377
12378 * button.el (button-at): Minor addition to docstring.
12379
12380 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
12381
12382 * vc/vc.el (vc-merge): Fix a prompt.
12383
12384 2012-03-24 Chong Yidong <cyd@gnu.org>
12385
12386 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12387 point (Bug#9623).
12388
12389 * button.el (button-at): Minor addition to docstring.
12390
12391 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12392
12393 * newcomment.el (comment-choose-indent): No space after BOL.
12394
12395 2012-03-22 Sam Steingold <sds@gnu.org>
12396
12397 * window.el (switch-to-prev-buffer): Revert last patch because the
12398 bug turned out to be an advertised feature (Elisp manual 28.14).
12399
12400 2012-03-22 Glenn Morris <rgm@gnu.org>
12401
12402 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12403 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12404
12405 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12406
12407 * net/network-stream.el (network-stream-open-starttls): Make error
12408 message under Windows be less misleading.
12409
12410 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12411
12412 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12413 understands (bug#9942).
12414
12415 2012-03-22 Chong Yidong <cyd@gnu.org>
12416
12417 * simple.el (end-of-visible-line): Handle return value of
12418 next-single-property-change properly (Bug#9371).
12419
12420 2012-03-22 Kenichi Handa <handa@m17n.org>
12421
12422 * international/quail.el (quail-insert-kbd-layout): Fix previous
12423 change. To avoid unwanted bidi reordering, use
12424 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12425
12426 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12427
12428 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12429 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12430 (ruby-beginning-of-indent): Be more careful with the difference
12431 between word-boundary and symbol boundary.
12432 (ruby-mode-syntax-table): Make : a symbol constituent.
12433
12434 2012-03-21 Andreas Politz <politza@fh-trier.de>
12435
12436 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12437
12438 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12439
12440 * progmodes/etags.el (tags-completion-at-point-function):
12441 Improve last fix.
12442
12443 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12444
12445 2012-03-21 Sam Steingold <sds@gnu.org>
12446
12447 * progmodes/etags.el (tags-completion-at-point-function):
12448 Avoid the error when point is inside the pattern.
12449
12450 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12451
12452 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12453 line (Bug#10855).
12454
12455 2012-03-21 Drew Adams <drew.adams@oracle.com>
12456
12457 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12458
12459 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12460
12461 * ido.el (ido-set-current-directory, ido-read-internal)
12462 (ido-choose-completion-string, ido-completion-help): Handle nil
12463 value of ido-completion-buffer (Bug#11008).
12464
12465 2012-03-21 Sam Steingold <sds@gnu.org>
12466
12467 * window.el (switch-to-prev-buffer): Do not switch to a visible
12468 window previous buffer, just like with the frame previous buffers.
12469
12470 2012-03-21 Chong Yidong <cyd@gnu.org>
12471
12472 * faces.el (make-face, make-empty-face, copy-face):
12473 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12474 Doc fixes.
12475
12476 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12477
12478 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12479 (widget-complete): Remove broken use of it.
12480
12481 2012-03-20 Chong Yidong <cyd@gnu.org>
12482
12483 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12484 Use string-width and truncate-string-width to handle arbitrary
12485 characters.
12486
12487 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12488
12489 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12490 to draw rectangles, not squares. (Regression introduced by revno
12491 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12492
12493 2012-03-18 Chong Yidong <cyd@gnu.org>
12494
12495 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12496 it is not yet defined (for temacs).
12497
12498 2012-03-18 Leo Liu <sdl.web@gmail.com>
12499
12500 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12501 prefix.
12502
12503 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12504
12505 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12506 (ispell-choices-win-default-height, ispell-silently-savep)
12507 (ispell-dictionary-alist, ispell-encoding8-command)
12508 (ispell-check-version, ispell-aspell-find-dictionary)
12509 (ispell-valid-dictionary-list, ispell-words-keyword)
12510 (ispell-get-word, ispell-internal-change-dictionary)
12511 (ispell-region, ispell-skip-region-list)
12512 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12513 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12514 (ispell-message-text-end, ispell-message)
12515 (ispell-buffer-local-parsing): Doc fix.
12516
12517 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
12518
12519 * htmlfontify.el: Add support for code block fontification for ODT
12520 export (Bug #9914).
12521 (hfy-optimisations): Define new option
12522 `body-text-only'
12523 (hfy-fontify-buffer): Honor above setting.
12524 (hfy-begin-span, hfy-end-span): New routines factored out form
12525 `hfy-fontify-buffer'.
12526 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12527 that permit insertion of custom tags.
12528 (hfy-fontify-buffer): Use above handlers.
12529 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12530 (hfy-face-to-css): Re-defined to be a variable.
12531 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
12532 over multiple runs. This is made possible by having the caller let
12533 bind a special variable `hfy-user-sheet-assoc'.
12534 (htmlfontify-string): New defun.
12535 (hfy-compile-face-map): Make sure that the last char in the
12536 buffer is correctly fontified.
12537 (hfy-face-resolve-face): Whitespace only change.
12538
12539 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12540
12541 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12542 message more clear.
12543
12544 2012-03-16 Leo Liu <sdl.web@gmail.com>
12545
12546 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12547
12548 2012-03-16 Alan Mackenzie <acm@muc.de>
12549
12550 Further optimize the handling of large macros.
12551
12552 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12553 limit to a call of `c-literal-limits'.
12554 (c-determine-+ve-limit): New function.
12555 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12556 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
12557 In CASE 5B, restrict a search limit to 500.
12558 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12559
12560 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12561 Restrict macro bounds to +-500 from after-change's BEG END.
12562
12563 2012-03-16 Leo Liu <sdl.web@gmail.com>
12564
12565 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12566
12567 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12568
12569 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
12570 `special-mode' setting of `buffer-read-only'. (Bug#11010)
12571
12572 2012-03-16 Glenn Morris <rgm@gnu.org>
12573
12574 * view.el (view-buffer, view-buffer-other-window)
12575 (view-buffer-other-frame): Doc fixes re special mode-class.
12576
12577 * subr.el (eval-after-load): If named feature is provided not from
12578 a file, run after-load forms. (Bug#10946)
12579
12580 * calendar/calendar.el (calendar-insert-at-column):
12581 Handle non-unit-width characters a bit better. (Bug#10978)
12582
12583 2012-03-15 Chong Yidong <cyd@gnu.org>
12584
12585 * emacs-lisp/ring.el (ring-extend): New function.
12586 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12587
12588 * comint.el (comint-read-input-ring)
12589 (comint-add-to-input-history): Grow comint-input-ring lazily.
12590
12591 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12592
12593 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12594 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12595
12596 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12597 (imenu-add-to-menubar): Don't add a redundant index.
12598 (imenu-update-menubar): Handle a dynamically composed keymap.
12599
12600 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12601
12602 * mail/sendmail.el (mail-encode-header):
12603 Bind rfc2047-encode-encoded-words to nil.
12604
12605 2012-03-13 Glenn Morris <rgm@gnu.org>
12606
12607 * calendar/calendar.el (calendar-string-spread):
12608 Handle non-unit-width characters a bit better. (Bug#10978)
12609
12610 2012-03-13 Leo Liu <sdl.web@gmail.com>
12611
12612 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12613 directory and file as argument (Bug#10822).
12614
12615 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12616
12617 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12618 For dynamically generated code, follow $PC.
12619 (gdb-disassembly-handler-custom): Handle no function name case.
12620
12621 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
12622
12623 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12624 * emulation/ws-mode.el (ws-query-replace):
12625 * sort.el (sort-regexp-fields):
12626 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
12627
12628 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12629
12630 * dabbrev.el: Fix cycle completion order (bug#10963).
12631 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12632 (dabbrev-completion): Don't use an obarray; provide
12633 a cycle-sort-function.
12634
12635 2012-03-12 Leo Liu <sdl.web@gmail.com>
12636
12637 * simple.el (kill-new): Use equal-including-properties for comparison.
12638 (kill-do-not-save-duplicates): Doc fix.
12639
12640 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12641
12642 * dabbrev.el: Fix cycle completion (bug#10963).
12643 Use lexical binding and wrap to 80 columns.
12644 (dabbrev-completion): Delay computing the list of completions.
12645
12646 2012-03-12 Kenichi Handa <handa@m17n.org>
12647
12648 * international/quail.el (quail-insert-kbd-layout): Surround each
12649 row by LRO and PDF instead of inserting many LRMs. Pad the left
12650 and right of each non-spacing marks. Insert invisible space
12651 between lower and upper characters to prevent composition.
12652
12653 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12654
12655 * minibuffer.el (minibuffer-complete): Don't get confused when the
12656 function is run twice via different commands (bug#10958).
12657 (complete-with-action): Fix docstring.
12658
12659 2012-03-12 Chong Yidong <cyd@gnu.org>
12660
12661 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12662 (nxml-completion-at-point-function): New function.
12663 (nxml-mode): Use it.
12664 (nxml-bind-meta-tab-to-complete-flag): Default to t.
12665
12666 * emacs-lisp/package.el (package-unpack, package-unpack-single):
12667 Load generated autoloads file before byte compiling (Bug#10970).
12668 (package--make-autoloads-and-compile): New helper fun.
12669
12670 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12671
12672 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12673
12674 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
12675
12676 * autorevert.el (auto-revert-handler): Ensure, that
12677 file-readable-p is applied only for local files or in
12678 auto-revert-tail-mode.
12679
12680 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12681
12682 * server.el (server-eval-at): Handle non-tcp connections.
12683 Decode result string.
12684
12685 * server.el (server-msg-size): New constant.
12686 (server-reply-print): New function.
12687 (server-eval-and-print): Use it.
12688 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12689 Handle -print-nonl.
12690
12691 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12692
12693 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12694 (Bug#10987).
12695
12696 2012-03-11 Chong Yidong <cyd@gnu.org>
12697
12698 * simple.el (goto-line): Doc fix (Bug#9938).
12699
12700 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12701
12702 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12703 when finished (Bug#10963).
12704
12705 2012-03-11 Martin Rudalics <rudalics@gmx.at>
12706
12707 * window.el (split-window-below): Fix bug in case where
12708 split-window-keep-point is nil (Bug#10971).
12709
12710 2012-03-11 Juri Linkov <juri@jurta.org>
12711
12712 * replace.el (replace-highlight): Set isearch-word to nil
12713 unconditionally. (Bug#10887)
12714
12715 2012-03-10 Eli Zaretskii <eliz@gnu.org>
12716
12717 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12718 mairix-replace-illegal-chars; all callers changed. Don't remove
12719 ^, ~, and = characters: they are meaningful in mairix search specs.
12720 (mairix-widget-create-query): Add usage information about mairix
12721 search forms: negating words, searching for substrings, etc.
12722
12723 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12724
12725 * international/fontset.el (font-encoding-alist): Add an entry for
12726 ksx1001 (Bug#5667).
12727
12728 2012-03-10 Richard Stallman <rms@gnu.org>
12729
12730 * mail/sendmail.el (mail-encode-header):
12731 Set rfc2047-encode-encoded-words.
12732
12733 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12734
12735 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12736 view buffer means not swapped.
12737 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12738 (rmail-write-region-annotate): Error if real text has disappeared.
12739
12740 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12741
12742 2012-03-10 Chong Yidong <cyd@gnu.org>
12743
12744 * emulation/cua-rect.el (cua--init-rectangles):
12745 * emulation/cua-base.el (cua--init-keymaps):
12746 Add delete-forward-char to remappings (Bug#9666).
12747
12748 2012-03-10 Martin Rudalics <rudalics@gmx.at>
12749
12750 * speedbar.el (speedbar-unhighlight-one-tag-line):
12751 Avoid unhighlighting due to frame switching (Bug#10275).
12752
12753 2012-03-10 Chong Yidong <cyd@gnu.org>
12754
12755 * minibuffer.el (completion-in-region, completion-help-at-point):
12756 Give the completion field overlay a high priority (Bug#6830).
12757
12758 * dired.el (dired-goto-file): Recognize absolute file name
12759 listings (Bug#7126).
12760 (dired-goto-file-1): New helper function.
12761 (dired-toggle-read-only): Inhibit warnings.
12762
12763 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
12764
12765 * net/dbus.el (dbus-property-handler): Return empty array if
12766 there are no properties.
12767
12768 2012-03-09 Leo Liu <sdl.web@gmail.com>
12769
12770 * savehist.el (savehist-printable): Stricter check for string
12771 value (Bug#10937).
12772
12773 2012-03-09 Eli Zaretskii <eliz@gnu.org>
12774
12775 * mail/smtpmail.el (smtpmail-send-it):
12776 Bind coding-system-for-write to *-unix, so that FCC files are kept in
12777 valid mbox format.
12778
12779 2012-03-09 Glenn Morris <rgm@gnu.org>
12780
12781 * files.el (dir-locals-find-file):
12782 Don't check result is regular, readable.
12783 (dir-locals-read-from-file): Demote errors.
12784
12785 2012-03-08 Eli Zaretskii <eliz@gnu.org>
12786
12787 * international/quail.el (quail-insert-kbd-layout):
12788 Insert invisible LRM characters before each character in a keyboard
12789 layout cell, to prevent their reordering by bidi display engine.
12790 For details, see the discussion in
12791 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12792
12793 2012-03-08 Alan Mackenzie <acm@muc.de>
12794
12795 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12796 the starting position; make it extend the marked region when
12797 invoked repeatedly - all under appropriate circumstances.
12798 Fixes bugs #5525, #10906.
12799
12800 2012-03-08 Glenn Morris <rgm@gnu.org>
12801
12802 * files.el (locate-dominating-file, dir-locals-find-file):
12803 Undo 2012-03-06 change.
12804
12805 2012-03-07 Eli Zaretskii <eliz@gnu.org>
12806
12807 * international/quail.el (quail-help):
12808 Force bidi-paragraph-direction be left-to-right. See discussion in
12809 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12810 for the reason.
12811
12812 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
12813
12814 Avoid superfluous registering of signals. (Bug#10807)
12815
12816 * notifications.el (notifications-on-action-object)
12817 (notifications-on-close-object): New defvars.
12818 (notifications-on-action-signal, notifications-on-closed-signal):
12819 Unregister the signal if not needed any longer.
12820 (notifications-notify): Register `notifications-action-signal' or
12821 `notifications-closed-signal', if :on-action or :on-close has been
12822 passed as argument.
12823
12824 2012-03-07 Chong Yidong <cyd@gnu.org>
12825
12826 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12827 non-X platforms.
12828
12829 2012-03-06 Glenn Morris <rgm@gnu.org>
12830
12831 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12832 (x-disown-selection-internal, x-get-selection-internal):
12833 Doc fix (add arglist signatures). (Bug#10783)
12834
12835 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12836
12837 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12838 Handle breakpoints with no "type".
12839
12840 2012-03-06 Glenn Morris <rgm@gnu.org>
12841
12842 * files.el (locate-dominating-file): Add optional predicate argument.
12843 (dir-locals-find-file): Make use of above change.
12844
12845 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
12846
12847 * info.el (Info-insert-dir): Also try "dir.gz".
12848
12849 2012-03-06 Glenn Morris <rgm@gnu.org>
12850
12851 * files.el (dir-locals-find-file):
12852 Ignore non-readable or non-regular files. (Bug#10928)
12853
12854 * files.el (locate-dominating-file): Doc fix.
12855
12856 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
12857
12858 * calendar/calendar.el (calendar-set-mode-line):
12859 `getenv' returns a string. (Bug#10951)
12860
12861 2012-03-05 Leo Liu <sdl.web@gmail.com>
12862
12863 * simple.el (backward-delete-char-untabify): Constrain point to
12864 field (Bug#10939).
12865
12866 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12867
12868 2012-03-05 Chong Yidong <cyd@gnu.org>
12869
12870 * simple.el (count-words): If called from Lisp, return the word
12871 count, for symmetry with `count-lines'. Arglist changed.
12872 (count-words--message): Args changed. Consolidate counting code
12873 from count-words and count-words-region.
12874 (count-words-region): Caller changed.
12875 (count-lines-region): Make it an obsolete alias.
12876
12877 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
12878
12879 * saveplace.el (save-place-to-alist)
12880 (save-place-ignore-files-regexp): Allow value nil to disable this
12881 feature.
12882
12883 2012-03-04 Chong Yidong <cyd@gnu.org>
12884
12885 * faces.el (face-spec-reset-face): For the default face, reset the
12886 attributes to default values (Bug#10748).
12887
12888 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12889
12890 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12891 previous patch: Check `message-send-mail-function', and not the
12892 default function (bug#10897).
12893
12894 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
12895
12896 * notifications.el (notifications-on-action-signal)
12897 (notifications-on-closed-signal): Check for unique service name of
12898 incoming event. Fix error in removing entry.
12899 (top): Register for signals with wildcard service name.
12900 (notifications-notify): Use daemon unique service name for map entries.
12901
12902 2012-03-04 Chong Yidong <cyd@gnu.org>
12903
12904 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
12905
12906 2012-03-04 Glenn Morris <rgm@gnu.org>
12907
12908 * abbrev.el (copy-abbrev-table, abbrev-table-p)
12909 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12910 (expand-abbrev, define-abbrev-table): Doc fixes.
12911
12912 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12913
12914 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12915 `message-default-send-mail-function' and not `send-mail-function'
12916 when doing the prompting for `sendmail-query-once' before sending
12917 in Message buffers (bug#10897).
12918
12919 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
12920 This is inconsistent with all the other stream functions, which leave
12921 the setting up to the higher levels (if so wanted) (bug#10931).
12922
12923 2012-03-02 Alan Mackenzie <acm@muc.de>
12924
12925 Depessimize the handling of very large macros.
12926
12927 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
12928 (c-macro-cache-syntactic): New variables to implement a one
12929 element macro cache.
12930 (c-invalidate-macro-cache): New function.
12931 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
12932 Adapt to use the new cache.
12933 (c-state-safe-place): Use better the cache of safe positions.
12934 (c-state-semi-nonlit-pos-cache)
12935 (c-state-semi-nonlit-pos-cache-limit):
12936 New variables for...
12937 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
12938 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
12939 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
12940 Use c-state-semi-safe-place.
12941
12942 * progmodes/cc-langs.el (c-get-state-before-change-functions):
12943 Add c-invalidate-macro-cache to the C, C++, Obj entries.
12944
12945 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
12946
12947 * jka-compr.el (jka-compr-call-process):
12948 Apply `file-accessible-directory-p' only when the default directory is
12949 not remote.
12950
12951 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
12952
12953 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
12954 access of FILE2, if FILE1 does not exist.
12955
12956 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12957 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12958
12959 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12960 Add "PAGER=" to `process-environment'.
12961
12962 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
12963
12964 * progmodes/sql.el: Bug fix
12965 (sql-get-login-ext): Save login values in globals.
12966 (sql-get-login): Use new version of `sql-get-login-ext'.
12967 (sql-interactive-mode): Set global `sql-connection' to nil.
12968 (sql-connect): Set global values for connection.
12969 (sql-product-interactive): Save global values as buffer local.
12970
12971 2012-02-29 Leo Liu <sdl.web@gmail.com>
12972
12973 * abbrev.el (define-abbrevs): Reset sys to nil.
12974
12975 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12976
12977 * files.el (file-equal-p): Rename from `files-equal-p'.
12978 Return nil when one or both files don't exist.
12979 (file-subdir-of-p): Now only top directory must exists,
12980 return nil if it doesn't.
12981 (copy-directory): No need to test with `file-subdir-of-p' after
12982 creating dir.
12983 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12984 to `file-equal-p'.
12985
12986 2012-02-28 Glenn Morris <rgm@gnu.org>
12987
12988 * shell.el (shell-mode):
12989 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12990 * play/landmark.el (landmark-font-lock-face-O):
12991 * play/handwrite.el (handwrite):
12992 * play/gomoku.el (gomoku-O):
12993 * net/browse-url.el (browse-url-browser-display):
12994 * international/mule.el (define-charset):
12995 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12996 * filesets.el (filesets-find-file-delay):
12997 * eshell/em-xtra.el (eshell-xtra):
12998 * eshell/em-unix.el (eshell-grep):
12999 * emulation/viper.el (viper-mode):
13000 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13001 * emacs-lisp/easymenu.el (easy-menu-define):
13002 * calendar/timeclock.el (timeclock-use-display-time):
13003 * bs.el (bs-mode):
13004 * bookmark.el (bookmark-save-flag):
13005 Doc fix (standardize possessive apostrophe usage).
13006
13007 2012-02-27 Chong Yidong <cyd@gnu.org>
13008
13009 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13010 Fix key-binding lookup for ESC key (Bug#9146).
13011
13012 * font-lock.el (font-lock-specified-p): Rename from
13013 font-lock-spec-present. Callers changed.
13014
13015 2012-02-27 Daniel Hackney <dan@haxney.org>
13016
13017 * emacs-lisp/package.el (package-compute-transaction):
13018 Handle holding a package version to t in package-load-list.
13019
13020 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13021
13022 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13023 (tramp-get-inode, tramp-get-device): Use cached values.
13024
13025 2012-02-26 Alan Mackenzie <acm@muc.de>
13026
13027 Check there is a font-lock specification before doing initial
13028 fontification.
13029
13030 * font-core.el (font-lock-mode): Move the conditional from
13031 :after-hook to font-lock-initial-fontify.
13032 (font-lock-default-function): Move the check for a specification
13033 to font-lock-spec-present.
13034
13035 * font-lock.el (font-lock-initial-fontify): Call ...
13036 (font-lock-spec-present): New function.
13037
13038 2012-02-26 Jim Blandy <jimb@red-bean.com>
13039
13040 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13041 (gdb-send): Apply it to the operand of the '-interpreter-exec
13042 console' command, so that we can pass arguments with (say) quotes
13043 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13044
13045 2012-02-26 Chong Yidong <cyd@gnu.org>
13046
13047 * help-fns.el (describe-function-1): Clarify description of
13048 remapping (Bug#10844).
13049
13050 * files.el (files-equal-p): Doc fix.
13051 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13052 and quit the loop once a mismatch is found.
13053
13054 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13055
13056 * bs.el (bs--show-with-configuration): Don't throw an error
13057 if the window cannot be split; otherwise, subsequent calls to
13058 bs-show fail, restoring a stale window config. (Bug#10882)
13059
13060 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13061
13062 * term/ns-win.el (global-map): Bind ns-drag-file to
13063 ns-find-file (Bug#5855, Bug#10050).
13064
13065 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13066
13067 * calendar/parse-time.el (parse-time-string): Allow extractor to
13068 return nil.
13069
13070 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13071
13072 * net/tramp.el (tramp-file-name-for-operation):
13073 Add `files-equal-p' and `file-subdir-of-p'.
13074
13075 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13076 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13077 Add COPY-CONTENTS argument.
13078
13079 2012-02-25 Chong Yidong <cyd@gnu.org>
13080
13081 Add custom groups for VC backends, for consistency with vc-bzr.
13082
13083 * vc/vc-arch.el (vc-arch):
13084 * vc/vc-cvs.el (vc-cvs):
13085 * vc/vc-git.el (vc-git):
13086 * vc/vc-hg.el (vc-hg):
13087 * vc/vc-mtn.el (vc-mtn):
13088 * vc/vc-rcs.el (vc-rcs):
13089 * vc/vc-sccs.el (vc-sccs):
13090 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13091 All relevant defcustoms reassigned.
13092
13093 2012-02-25 Chong Yidong <cyd@gnu.org>
13094
13095 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13096
13097 * term/x-win.el (x-initialize-window-system): Reduce default for
13098 x-selection-timeout to 5 seconds (Bug#8869).
13099
13100 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13101
13102 * files.el (files-equal-p, file-subdir-of-p): New functions.
13103 (copy-directory): Error when trying to copy a directory on itself.
13104 Add missing copy-contents arg to tramp handler.
13105 * dired-aux.el (dired-copy-file-recursive): Same.
13106 (dired-create-files): Modify destination when source is equal to
13107 dest when copying files.
13108 Return also when dest is a subdir of source. (Bug#10489)
13109
13110 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13111
13112 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13113 (Bug#10874)
13114
13115 2012-02-23 Alan Mackenzie <acm@muc.de>
13116
13117 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13118 parameter "after-hook:" to allow the expansion to run code after
13119 the execution of the mode hooks.
13120
13121 * font-lock.el (font-lock-initial-fontify): New function extracted
13122 from font-lock-mode-internal.
13123
13124 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13125 :after-hook.
13126
13127 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13128
13129 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13130 (completion--cache-all-sorted-completions): New function.
13131 (completion-all-sorted-completions): Use it.
13132 (completion--do-completion, minibuffer-force-complete):
13133 Use it to re-instate the flush hook.
13134
13135 * icomplete.el (icomplete-completions): Replace last fix with a better
13136 one (bug#10850).
13137
13138 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13139
13140 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13141 when it might call us back infinitely (bug#10797).
13142
13143 2012-02-23 Glenn Morris <rgm@gnu.org>
13144
13145 * minibuffer.el (completion-category-overrides): Doc fix.
13146
13147 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13148
13149 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13150 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13151
13152 2012-02-23 Glenn Morris <rgm@gnu.org>
13153
13154 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13155 (authors-obsolete-files-regexps, authors-ignored-files)
13156 (authors-ambiguous-files, authors-renamed-files-alist):
13157 Add more entries.
13158
13159 2012-02-23 Juri Linkov <juri@jurta.org>
13160
13161 * isearch.el (isearch-occur): Sync interactive spec with occur's
13162 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13163
13164 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13165
13166 2012-02-22 Juri Linkov <juri@jurta.org>
13167
13168 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13169 (ucs-insert): Doc fix. Check for hex digits in the string.
13170 Don't display `nil' in the error message. (Bug#10857)
13171
13172 2012-02-22 Alan Mackenzie <acm@muc.de>
13173
13174 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13175
13176 2012-02-22 Glenn Morris <rgm@gnu.org>
13177
13178 * ffap.el (ffap-c-path):
13179 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13180
13181 2012-02-22 Chong Yidong <cyd@gnu.org>
13182
13183 * custom.el (load-theme): Doc fix.
13184
13185 2012-02-22 Glenn Morris <rgm@gnu.org>
13186
13187 * dired-x.el (dired-guess-shell-alist-default):
13188 Remove escape sequences from nroff output. (Bug#172)
13189
13190 2012-02-21 Glenn Morris <rgm@gnu.org>
13191
13192 * vc/emerge.el (emerge-defvar-local):
13193 Set `permanent-local' property rather than unused `preserved'.
13194
13195 * textmodes/picture.el (picture-delete-char): New alias.
13196 (picture-mode-map): Use it. (Bug#10860)
13197 (picture-mode): Doc fix.
13198
13199 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13200
13201 * newcomment.el (uncomment-region-default): Remove unused binding.
13202
13203 2012-02-21 Glenn Morris <rgm@gnu.org>
13204
13205 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13206 (picture-self-insert, picture-tab-chars): Doc fix.
13207 (picture-mode-map): Fix C-a, C-e.
13208
13209 2012-02-20 Glenn Morris <rgm@gnu.org>
13210
13211 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13212
13213 2012-02-20 Leo Liu <sdl.web@gmail.com>
13214
13215 * icomplete.el (icomplete-completions): Check FROM arg before
13216 passing to substring (Bug#10850).
13217
13218 2012-02-19 Chong Yidong <cyd@gnu.org>
13219
13220 * comint.el: Require ansi-color.
13221 (comint-output-filter-functions): Add ansi-color-process-output.
13222
13223 * ansi-color.el: Don't set comint-output-filter-functions; it is
13224 now in the initial value defined in comint.el.
13225 (ansi-color-apply-face-function): New variable.
13226 (ansi-color-apply-on-region): Use it.
13227 (ansi-color-apply-overlay-face): New function.
13228
13229 * shell.el (shell): No need to require ansi-color.
13230 (shell-mode): Use ansi-color-apply-face-function to highlight
13231 color escapes using font-lock-face property (Bug#10835).
13232
13233 2012-02-19 Chong Yidong <cyd@gnu.org>
13234
13235 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13236 mode-line formats (Bug#10839).
13237
13238 2012-02-18 Glenn Morris <rgm@gnu.org>
13239
13240 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13241
13242 * mail/undigest.el (unforward-rmail-message): Doc fix.
13243
13244 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13245
13246 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13247
13248 * international/characters.el (script-list): Sync with the latest
13249 Unicode Character Database.
13250
13251 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13252
13253 * international/titdic-cnv.el: Remove duplicate coding tag.
13254 * language/cham.el: Likewise.
13255 * language/tai-viet.el: Likewise.
13256
13257 2012-02-18 Glenn Morris <rgm@gnu.org>
13258
13259 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13260 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13261 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13262 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13263 * calendar/holidays.el (holiday-bahai-holidays)
13264 (calendar-holidays, list-holidays):
13265 Use utf-8 Bahá'í in doc-strings, menus, etc.
13266
13267 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13268
13269 * saveplace.el (save-place-ignore-files-regexp): New variable
13270 allowing for excluding files from saving their location of point.
13271 The default value matches the temporary commit message editing
13272 files from Git, SVN, Bazaar, and Mercurial.
13273 (save-place-to-alist): Use it.
13274
13275 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13276 Stefan Monnier <monnier@iro.umontreal.ca>
13277
13278 * newcomment.el (uncomment-region-default): Don't leave extra space
13279 when an arg is provided (bug#8150).
13280
13281 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13282
13283 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13284
13285 2012-02-17 Glenn Morris <rgm@gnu.org>
13286
13287 * net/socks.el: Require network-stream. (Bug#10599)
13288
13289 2012-02-17 Kenichi Handa <handa@m17n.org>
13290
13291 * international/charprop.el:
13292 * international/uni-name.el:
13293 * international/uni-old-name.el:
13294 * international/uni-comment.el: Regenerate.
13295
13296 2012-02-16 Glenn Morris <rgm@gnu.org>
13297
13298 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13299 Interactively in calendar buffer, give an error if not on a date.
13300
13301 2012-02-15 Glenn Morris <rgm@gnu.org>
13302
13303 * shell.el (shell-delimiter-argument-list):
13304 Revert 2011-02-17 change. (Bug#8027)
13305
13306 2012-02-15 Chong Yidong <cyd@gnu.org>
13307
13308 * minibuffer.el (completion-at-point-functions): Doc fix.
13309
13310 * custom.el (defcustom): Doc fix; note use of defvar.
13311
13312 2012-02-15 Glenn Morris <rgm@gnu.org>
13313
13314 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13315 Doc fixes.
13316
13317 2012-02-14 Glenn Morris <rgm@gnu.org>
13318
13319 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13320
13321 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13322
13323 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13324 way the ports list is computed.
13325 (smtpmail-query-smtp-server): Prompt the user for a port number if
13326 we can't connect to any of the standard ports (bug#10810).
13327
13328 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13329
13330 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13331
13332 2012-02-13 Glenn Morris <rgm@gnu.org>
13333
13334 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13335
13336 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13337
13338 * net/gnutls.el (gnutls-trustfiles): New variable.
13339 (gnutls-negotiate): Use it.
13340
13341 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13342
13343 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13344 does its stuff if Gnus is running.
13345
13346 2012-02-13 Alan Mackenzie <acm@muc.de>
13347
13348 Fix a loop in c-set-fl-decl-start.
13349
13350 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13351 c-backward-syntactic-ws actually moves backwards.
13352
13353 2012-02-13 Leo Liu <sdl.web@gmail.com>
13354
13355 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13356 beginning so that all \C-o chars are removed.
13357
13358 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13359
13360 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13361
13362 2012-02-12 Alan Mackenzie <acm@muc.de>
13363
13364 Fix infinite loop with long macros.
13365 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13366
13367 2012-02-12 Chong Yidong <cyd@gnu.org>
13368
13369 * window.el (display-buffer): Doc fix (Bug#10785).
13370
13371 2012-02-12 Glenn Morris <rgm@gnu.org>
13372
13373 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13374 (x-disown-selection-internal, x-get-selection-internal):
13375 Sync docs with the xselect.c versions.
13376
13377 * allout-widgets.el: Add missing license notice.
13378
13379 2012-02-11 Glenn Morris <rgm@gnu.org>
13380
13381 * select.el (x-get-selection-internal, x-own-selection-internal)
13382 (x-disown-selection-internal):
13383 * x-dnd.el (x-get-selection-internal): Update declarations.
13384
13385 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13386
13387 * window.el (window-sides-slots):
13388 * tool-bar.el (tool-bar-position):
13389 * term/xterm.el (xterm-extra-capabilities):
13390 * ses.el (ses-self-reference-early-detection):
13391 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13392 (verilog-auto-wire-type)
13393 (verilog-auto-delete-trailing-whitespace)
13394 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13395 (verilog-auto-tieoff-declaration):
13396 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13397 (sql-oracle-statement-starters, sql-oracle-scan-on):
13398 * progmodes/prolog.el (prolog-align-comments-flag)
13399 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13400 (prolog-left-indent-regexp, prolog-paren-indent-p)
13401 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13402 (prolog-types, prolog-mode-specificators)
13403 (prolog-determinism-specificators, prolog-directives)
13404 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13405 (prolog-electric-dot-flag)
13406 (prolog-electric-dot-full-predicate-template)
13407 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13408 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13409 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13410 (prolog-program-switches, prolog-prompt-regexp)
13411 (prolog-debug-on-string, prolog-debug-off-string)
13412 (prolog-trace-on-string, prolog-trace-off-string)
13413 (prolog-zip-on-string, prolog-zip-off-string)
13414 (prolog-use-standard-consult-compile-method-flag)
13415 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13416 (prolog-imenu-max-lines, prolog-info-predicate-index)
13417 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13418 (prolog-char-quote-workaround):
13419 * progmodes/cc-vars.el (c-defun-tactic):
13420 * net/tramp.el (tramp-encoding-command-interactive)
13421 (tramp-local-end-of-line):
13422 * net/soap-client.el (soap-client):
13423 * net/netrc.el (netrc-file):
13424 * net/gnutls.el (gnutls):
13425 * minibuffer.el (completion-category-overrides)
13426 (completion-cycle-threshold)
13427 (completion-pcm-complete-word-inserts-delimiters):
13428 * man.el (Man-name-local-regexp):
13429 * mail/feedmail.el (feedmail-display-full-frame):
13430 * international/characters.el (glyphless-char-display-control):
13431 * eshell/em-ls.el (eshell-ls-date-format):
13432 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13433 (lisp-lambda-list-keyword-parameter-indentation)
13434 (lisp-lambda-list-keyword-parameter-alignment):
13435 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13436 * dired-x.el (dired-omit-verbose):
13437 * cus-theme.el (custom-theme-allow-multiple-selections):
13438 * calc/calc.el (calc-highlight-selections-with-faces)
13439 (calc-lu-field-reference, calc-lu-power-reference)
13440 (calc-note-threshold):
13441 * battery.el (battery-mode-line-limit):
13442 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13443 (archive-7z-update):
13444 * allout.el (allout-prefixed-keybindings)
13445 (allout-unprefixed-keybindings)
13446 (allout-inhibit-auto-fill-on-headline)
13447 (allout-flattened-numbering-abbreviation):
13448 * allout-widgets.el (allout-widgets-auto-activation)
13449 (allout-widgets-icons-dark-subdir)
13450 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13451 (allout-widgets-theme-dark-background)
13452 (allout-widgets-theme-light-background)
13453 (allout-widgets-item-image-properties-emacs)
13454 (allout-widgets-item-image-properties-xemacs)
13455 (allout-widgets-run-unit-tests-on-load)
13456 (allout-widgets-time-decoration-activity)
13457 (allout-widgets-hook-error-post-time)
13458 (allout-widgets-track-decoration):
13459 Add missing :version tags to new defcustoms and defgroups.
13460
13461 * progmodes/sql.el (sql-ansi-statement-starters)
13462 (sql-oracle-statement-starters): Add custom type.
13463
13464 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13465 (prolog-system-version): Give it a type.
13466
13467 2012-02-11 Eli Zaretskii <eliz@gnu.org>
13468
13469 * term/pc-win.el (x-select-text, x-selection-owner-p)
13470 (x-own-selection-internal, x-disown-selection-internal)
13471 (x-get-selection-internal): Sync doc strings and argument lists
13472 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13473
13474 2012-02-11 Leo Liu <sdl.web@gmail.com>
13475
13476 * progmodes/python.el (python-end-of-statement): Fix infinite
13477 loop. (Bug#10788)
13478
13479 2012-02-10 Glenn Morris <rgm@gnu.org>
13480
13481 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13482 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13483
13484 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13485
13486 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13487 about SMTP before checking the From header.
13488
13489 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13490 into own function for reuse by emacsbug.el.
13491
13492 2012-02-10 Leo Liu <sdl.web@gmail.com>
13493
13494 * subr.el (condition-case-unless-debug): Rename from
13495 condition-case-no-debug. All callers changed.
13496 (with-demoted-errors): Fix caller.
13497
13498 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13499 * nxml/rng-valid.el (rng-do-some-validation):
13500 * emacs-lisp/package.el (package-refresh-contents)
13501 (package-menu-execute):
13502 * desktop.el (desktop-create-buffer):
13503 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
13504
13505 2012-02-10 Glenn Morris <rgm@gnu.org>
13506
13507 * textmodes/bibtex.el:
13508 Add missing :version tags for new/changed defcustoms.
13509
13510 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13511
13512 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
13513
13514 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13515 (smtpmail-via-smtp): Use it, or fall back on the From address.
13516 (smtpmail-send-it): Ditto.
13517
13518 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13519
13520 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13521 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13522 (byte-compile-tmp-var): New const.
13523 (byte-compile-defvar): Use it to minimize .elc size.
13524 Just use `defvar' rather than simulate it (bug#10761).
13525
13526 2012-02-09 Glenn Morris <rgm@gnu.org>
13527
13528 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13529
13530 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13531 Add :version tags.
13532
13533 * progmodes/compile.el (compilation-error-screen-columns)
13534 (compilation-first-column, compilation-filter-start): Doc fixes.
13535
13536 * vc/log-view.el (log-view-toggle-entry-display):
13537 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13538
13539 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13540 (report-emacs-bug-can-use-xdg-email):
13541 (report-emacs-bug-insert-to-mailer): Doc fixes.
13542 (report-emacs-bug): Message fix.
13543
13544 * net/browse-url.el (browse-url-can-use-xdg-open)
13545 (browse-url-xdg-open): Doc fixes.
13546
13547 * electric.el (electric-indent-mode, electric-pair-mode)
13548 (electric-layout-rules, electric-layout-mode): Doc fixes.
13549 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13550
13551 2012-02-08 Martin Rudalics <rudalics@gmx.at>
13552
13553 * server.el (server-unselect-display): Don't inadvertently kill
13554 the current buffer. (Bug#10729)
13555
13556 2012-02-08 Glenn Morris <rgm@gnu.org>
13557
13558 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13559 (sql-list-table): Doc fixes.
13560
13561 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13562 Comment out (does nothing).
13563
13564 * completion.el (dynamic-completion-mode):
13565 * dirtrack.el (dirtrack-debug-mode):
13566 * electric.el (electric-layout-mode):
13567 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13568 * face-remap.el (text-scale-mode, buffer-face-mode):
13569 * iimage.el (iimage-mode):
13570 * image-mode.el (image-transform-mode):
13571 * minibuffer.el (completion-in-region-mode):
13572 * scroll-lock.el (scroll-lock-mode):
13573 * simple.el (next-error-follow-minor-mode):
13574 * tar-mode.el (tar-subfile-mode):
13575 * tooltip.el (tooltip-mode):
13576 * vcursor.el (vcursor-use-vcursor-map):
13577 * wid-browse.el (widget-minor-mode):
13578 * emulation/tpu-edt.el (tpu-edt-mode):
13579 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13580 * international/iso-ascii.el (iso-ascii-mode):
13581 * language/thai-util.el (thai-word-mode):
13582 * mail/supercite.el (sc-minor-mode):
13583 * net/goto-addr.el (goto-address-mode):
13584 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13585 * progmodes/cwarn.el (cwarn-mode):
13586 * progmodes/flymake.el (flymake-mode):
13587 * progmodes/glasses.el (glasses-mode):
13588 * progmodes/hideshow.el (hs-minor-mode):
13589 * progmodes/pascal.el (pascal-outline-mode):
13590 * textmodes/enriched.el (enriched-mode):
13591 * vc/smerge-mode.el (smerge-mode):
13592 Doc fixes (minor mode argument).
13593
13594 2012-02-07 Eli Zaretskii <eliz@gnu.org>
13595
13596 * ls-lisp.el (ls-lisp-sanitize): New function.
13597 (ls-lisp-insert-directory): Use it to fix or remove any elements
13598 in file-alist with missing attributes. (Bug#4673)
13599
13600 2012-02-07 Alan Mackenzie <acm@muc.de>
13601
13602 Fix spurious recognition of c-in-knr-argdecl.
13603
13604 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13605 putative K&R region.
13606
13607 2012-02-07 Alan Mackenzie <acm@muc.de>
13608
13609 * progmodes/cc-engine.el (c-forward-objc-directive):
13610 Prevent looping in "#pragma mark @implementation".
13611
13612 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
13613
13614 * notifications.el (notifications-on-closed-signal): Make `reason'
13615 optional. (Bug#10744)
13616
13617 2012-02-07 Glenn Morris <rgm@gnu.org>
13618
13619 * emacs-lisp/easy-mmode.el (define-minor-mode):
13620 Doc fixes for the macro and the mode it defines.
13621
13622 * image.el (imagemagick-types-inhibit): Doc fix.
13623
13624 * cus-start.el (imagemagick-render-type): Add it.
13625
13626 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
13627
13628 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13629 Set the default at load time, too, so that `font-lock-fontify-buffer'
13630 can be called without setting up the entire mode first. This fixes
13631 a bug in `mm-inline-text' with C MIME parts.
13632
13633 2012-02-06 Chong Yidong <cyd@gnu.org>
13634
13635 * simple.el (list-processes--refresh): Delete exited processes
13636 (Bug#8094).
13637
13638 * comint.el (comint-next-prompt): next-single-char-property-change
13639 and prev-single-char-property-change never return nil (Bug#8657).
13640
13641 * custom.el (defcustom): Doc fix (Bug#9711).
13642
13643 2012-02-05 Chong Yidong <cyd@gnu.org>
13644
13645 * cus-edit.el (custom-variable-reset-backup): Quote the value
13646 before storing it in the customized-value property (Bug#6712).
13647 (custom-display): Add a customization type tag.
13648 (custom-buffer-create-internal): Improve tooltip message.
13649
13650 * wid-edit.el (widget-field-value-get): New optional arg to
13651 suppress trailing whitespace truncation.
13652 (character): Use it (Bug#2689).
13653
13654 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
13655
13656 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13657 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13658
13659 2012-02-05 Chong Yidong <cyd@gnu.org>
13660
13661 * cus-edit.el (custom-variable-value-create): For mismatched
13662 types, show the current value (Bug#7600).
13663
13664 * custom.el (defcustom): Doc fix.
13665
13666 2012-02-05 Glenn Morris <rgm@gnu.org>
13667
13668 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13669
13670 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
13671
13672 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13673 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13674 (pp-last-sexp): Use `looking-at-p'.
13675
13676 2012-02-04 Glenn Morris <rgm@gnu.org>
13677
13678 * files.el (revert-buffer):
13679 Doc fix (mention revert-buffer-in-progress-p).
13680
13681 * emacs-lisp/ert-x.el (ert-simulate-command):
13682 Check deferred-action-list (which is obsolete) is bound.
13683
13684 * subr.el (with-wrapper-hook): Doc fixes.
13685
13686 * simple.el (filter-buffer-substring-functions)
13687 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13688
13689 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13690
13691 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13692 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13693
13694 2012-02-04 Leo Liu <sdl.web@gmail.com>
13695
13696 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13697
13698 2012-02-04 Glenn Morris <rgm@gnu.org>
13699
13700 * image.el (image-extension-data): Add obsolete alias.
13701
13702 * isearch.el (isearch-update): Doc fix.
13703
13704 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13705
13706 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13707
13708 2012-02-03 Glenn Morris <rgm@gnu.org>
13709
13710 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13711 (image-animate-timeout): Doc fix.
13712
13713 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13714
13715 2012-02-02 Glenn Morris <rgm@gnu.org>
13716
13717 * server.el (server-auth-dir): Doc fix.
13718 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13719
13720 * subr.el (run-mode-hooks): Doc fix.
13721
13722 2012-02-02 Juri Linkov <juri@jurta.org>
13723
13724 * image-mode.el (image-toggle-display-image): Remove tautological
13725 `major-mode' from the `derived-mode-p' test.
13726
13727 2012-02-02 Kenichi Handa <handa@m17n.org>
13728
13729 * composite.el (compose-region): Cancel previous change.
13730
13731 2012-02-02 Kenichi Handa <handa@m17n.org>
13732
13733 * composite.el (compose-region, compose-string): Signal error for
13734 a null string component (Bug#6988).
13735
13736 2012-02-01 Chong Yidong <cyd@gnu.org>
13737
13738 * view.el (view-buffer-other-window, view-buffer-other-frame):
13739 Handle special modes like view-buffer (Bug#10650).
13740 (view-buffer): Simplify.
13741
13742 * frame.el (set-frame-font): Tweak meaning of third argument.
13743
13744 * dynamic-setting.el (font-setting-change-default-font):
13745 Use set-frame-font (Bug#9982).
13746
13747 2012-02-01 Glenn Morris <rgm@gnu.org>
13748
13749 * progmodes/compile.el (compilation-internal-error-properties):
13750 Respect compilation-first-column in the "*compilation*" buffer.
13751
13752 * emacs-lisp/easy-mmode.el (define-minor-mode):
13753 Relax :variable's test for a named function.
13754
13755 2012-01-31 Alan Mackenzie <acm@muc.de>
13756
13757 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13758 off by one error.
13759
13760 2012-01-31 Chong Yidong <cyd@gnu.org>
13761
13762 * frame.el (set-frame-font): New arg ALL-FRAMES.
13763
13764 * menu-bar.el (menu-set-font): Use set-frame-font.
13765
13766 * faces.el (face-spec-reset-face): Don't apply unspecified
13767 attribute values to the default face.
13768
13769 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
13770
13771 * progmodes/cwarn.el (cwarn): Remove dead link.
13772 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13773 Remove * from defcustom docstrings.
13774 (turn-on-cwarn-mode): Make obsolete.
13775 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13776 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13777
13778 2012-01-31 Glenn Morris <rgm@gnu.org>
13779
13780 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
13781 Fix :variable handling of mode a symbol not equal to modefun.
13782 Allow named functions to be used as the cdr of :variable.
13783
13784 2012-01-30 Glenn Morris <rgm@gnu.org>
13785
13786 * emacs-lisp/authors.el (authors-fixed-entries):
13787 Remove reference to deleted file rnewspost.el.
13788
13789 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
13790
13791 * window.el (window-with-parameter): Remove unused variable `windows'.
13792 (window--side-check): Remove unused variable `code'.
13793 (window--resize-siblings): Remove unused variable `first'.
13794 (adjust-window-trailing-edge): Remove unused variable `failed'.
13795 (window-deletable-p, window--delete): Remove unused variable `buffer'.
13796 Use `let', not `let*'.
13797 (balance-windows-2): Remove unused variable `found'.
13798 (window--state-put-2): Remove unused variable `splits'.
13799 (window-state-put): Remove unused variable `selected'.
13800 (same-window-p): Use `string-match-p'.
13801 (display-buffer-assq-regexp): Remove unused variable `value'.
13802 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13803 Mark argument ALIST as ignored.
13804 (pop-to-buffer): Remove unused variable `old-window'.
13805
13806 2012-01-29 Eli Zaretskii <eliz@gnu.org>
13807
13808 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13809 and .lzma compressed files.
13810
13811 2012-01-29 Chong Yidong <cyd@gnu.org>
13812
13813 * frame.el (window-system-default-frame-alist): Doc fix.
13814
13815 * dynamic-setting.el (font-setting-change-default-font): Don't
13816 change the default face if SET-FONT argument is non-nil (Bug#9982).
13817
13818 2012-01-29 Samuel Bronson <naesten@gmail.com>
13819
13820 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13821
13822 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
13823
13824 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13825 breakpoints in files outside current directory (Bug#6098).
13826
13827 2012-01-29 Chong Yidong <cyd@gnu.org>
13828
13829 * progmodes/python.el: Require ansi-color at top-level.
13830
13831 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13832 Define and use in Emacs Lisp mode (Bug#9360).
13833 (lisp-mode-abbrev-table): Add doc.
13834 (lisp-mode-variables): Don't set local-abbrev-table.
13835 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13836
13837 2012-01-28 Roland Winkler <winkler@gnu.org>
13838
13839 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13840
13841 2012-01-28 Roland Winkler <winkler@gnu.org>
13842
13843 * textmodes/bibtex.el (bibtex-entry-alist): New function.
13844 (bibtex-set-dialect): Use it. Either set global values of
13845 dialect-dependent variables or bind these variables buffer-locally
13846 (Bug#10254).
13847 (bibtex-mode): Call bibtex-set-dialect via
13848 hack-local-variables-hook.
13849 (bibtex-dialect): Update docstring.
13850 Add safe-local-variable predicate.
13851 (bibtex-entry-alist, bibtex-field-alist): Initialize via
13852 bibtex-set-dialect.
13853 (bibtex-mode-map): Define menu for each dialect.
13854 (bibtex-entry): Fix docstring.
13855
13856 2012-01-28 Chong Yidong <cyd@gnu.org>
13857
13858 * eshell/esh-arg.el (eshell-quote-argument): New function.
13859
13860 * eshell/esh-ext.el (eshell-invoke-batch-file):
13861 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13862 first arg to eshell-parse-command (Bug#10523).
13863
13864 2012-01-28 Drew Adams <drew.adams@oracle.com>
13865
13866 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13867 `default-directory' is non-nil.
13868
13869 2012-01-28 Eli Zaretskii <eliz@gnu.org>
13870
13871 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
13872 line that displays system-configuration-options. (Bug#9924)
13873
13874 2012-01-28 Drew Adams <drew.adams@oracle.com>
13875
13876 * descr-text.el (describe-char): Show information about POS, in
13877 addition to information about the character at POS. Improve and
13878 update the doc string. Change "code point" to "code point in
13879 charset", to avoid confusion with the character's Unicode code
13880 point shown above that. (Bug#10129)
13881
13882 2012-01-28 Eli Zaretskii <eliz@gnu.org>
13883
13884 * descr-text.el (describe-char): Show the raw character, not only
13885 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
13886 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13887 for the reasons.
13888
13889 2012-01-28 Phil Hagelberg <phil@hagelb.org>
13890
13891 * emacs-lisp/package.el (package-install):
13892 Run package-refresh-contents if there is no archive yet (Bug#9798).
13893
13894 2012-01-28 Chong Yidong <cyd@gnu.org>
13895
13896 * emacs-lisp/package.el (package-maybe-load-descriptor):
13897 New function, split from package-maybe-load-descriptor.
13898 (package-maybe-load-descriptor): Use it.
13899 (package-download-transaction): Fully load required packages
13900 inside the loop, so that `require' calls work (Bug#10593).
13901 (package-install): No need to call package-initialize now.
13902
13903 2012-01-28 Chong Yidong <cyd@gnu.org>
13904
13905 * simple.el (deactivate-mark): Doc fix (Bug#8614).
13906
13907 * tooltip.el (tooltip-mode): Doc fix.
13908 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13909
13910 * frame.el (set-cursor-color): Doc fix (Bug#352).
13911
13912 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13913 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13914
13915 * cus-edit.el (custom-buffer-create-internal): Fix search button
13916 action (Bug#10542).
13917 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
13918
13919 2012-01-27 Eduard Wiebe <usenet@pusto.de>
13920
13921 * dired.el (dired-mark-files-regexp):
13922 Include any subdirectory components. (Bug#10445)
13923
13924 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
13925
13926 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
13927 Handle [host]:port syntax. (Bug#10533)
13928
13929 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
13930
13931 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
13932
13933 2012-01-26 Glenn Morris <rgm@gnu.org>
13934
13935 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
13936 * term.el (term-raw-escape-map): Use Control-X-prefix.
13937 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
13938
13939 2012-01-25 Martin Rudalics <rudalics@gmx.at>
13940
13941 * window.el (window-state-get, window--state-get-1): Don't deal
13942 with fixed-sizeness of windows. Simplify code.
13943
13944 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
13945
13946 * window.el (window--state-get-1, window--state-put-2):
13947 Don't save and restore the mark.
13948
13949 2012-01-25 Chong Yidong <cyd@gnu.org>
13950
13951 * custom.el (custom-variable-p): Doc fix.
13952
13953 2012-01-25 Glenn Morris <rgm@gnu.org>
13954
13955 * dired.el (dired-goto-file): Handle some of the more common
13956 characters that `ls -b' escapes. (Bug#10596)
13957
13958 * progmodes/compile.el (compilation-next-error-function):
13959 Respect compilation-first-column in the "*compilation*" buffer.
13960 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
13961
13962 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
13963
13964 2012-01-24 Glenn Morris <rgm@gnu.org>
13965
13966 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
13967
13968 2012-01-24 Julien Danjou <julien@danjou.info>
13969
13970 * color.el (color-rgb-to-hsl): Fix value computing.
13971 (color-hue-to-rgb): New function.
13972 (color-hsl-to-rgb): New function.
13973 (color-clamp, color-saturate-hsl, color-saturate-name)
13974 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13975 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13976
13977 2012-01-24 Glenn Morris <rgm@gnu.org>
13978
13979 * vc/vc-rcs.el (vc-rcs-create-tag):
13980 * vc/vc-sccs.el (vc-sccs-create-tag):
13981 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
13982
13983 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
13984
13985 * eshell/esh-util.el (eshell-read-hosts-file):
13986 Skip comment lines. (Bug#10549)
13987
13988 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
13989
13990 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
13991
13992 * subr.el (display-delayed-warnings): Doc fix.
13993 (collapse-delayed-warnings): New function to collapse identical
13994 adjacent warnings.
13995 (delayed-warnings-hook): Add it.
13996
13997 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
13998
13999 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14000
14001 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14002 (tramp-default-user-alist): Don't add "pscp".
14003 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14004 property "login-as", if set. (Bug#10530)
14005
14006 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14007
14008 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14009 "plink1" and "psftp". (Bug#10530)
14010
14011 2012-01-21 Kenichi Handa <handa@m17n.org>
14012
14013 * international/mule-cmds.el (prefer-coding-system): Show a
14014 warning message if the default value of file-name-coding-system
14015 was not changed.
14016
14017 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14018
14019 * windmove.el (windmove-reference-loc):
14020 Fix windmove-reference-loc miscalculation.
14021
14022 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14023
14024 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14025 default unit.
14026
14027 2012-01-21 Glenn Morris <rgm@gnu.org>
14028
14029 * international/mule.el (auto-coding-alist): Add .tbz.
14030
14031 * files.el (local-enable-local-variables): Doc fix.
14032 (inhibit-local-variables-regexps): Rename from
14033 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14034 Doc fix. Add some extensions from auto-coding-alist.
14035 (inhibit-local-variables-suffixes):
14036 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14037 (inhibit-local-variables-p):
14038 New function, extracted from set-auto-mode-1.
14039 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14040 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14041 (hack-local-variables): Doc fix. Make the mode-only case
14042 respect enable-local-variables and friends.
14043 Respect inhibit-local-variables-regexps for file-locals, but
14044 not for directory-locals.
14045 (set-visited-file-name):
14046 Take account of inhibit-local-variables-regexps.
14047 Whether it applies may change as the file name is changed.
14048 * jka-cmpr-hook.el (jka-compr-install):
14049 * jka-compr.el (jka-compr-uninstall):
14050 Update for inhibit-first-line-modes-suffixes name change.
14051
14052 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14053
14054 * help-macro.el (make-help-screen): Temporarily restore original
14055 binding for minor-mode-map-alist (Bug#10454).
14056
14057 2012-01-19 Julien Danjou <julien@danjou.info>
14058
14059 * color.el (color-name-to-rgb): Use the white color to find the max
14060 color component value and return correctly computed values.
14061 (color-name-to-rgb): Add missing float conversion for max value.
14062
14063 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14064
14065 * window.el (window--state-get-1, window-state-get): Do not use
14066 special state value for window-persistent-parameters.
14067 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14068 (window--state-put-2): Reset all window parameters to nil before
14069 assigning values of persistent parameters.
14070
14071 2012-01-18 Alan Mackenzie <acm@muc.de>
14072
14073 Eliminate sluggishness and hangs in fontification of "semicolon
14074 deserts".
14075
14076 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14077 Change value 10000 -> 3000.
14078 (c-state-safe-place): Reformulate so it doesn't stack up an
14079 infinite number of wrong entries in c-state-nonlit-pos-cache.
14080 (c-determine-limit-get-base, c-determine-limit): New functions to
14081 determine backward search limits disregarding literals.
14082 (c-find-decl-spots): Amend commenting.
14083 (c-cheap-inside-bracelist-p): New function which detects "={".
14084
14085 * progmodes/cc-fonts.el
14086 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14087 backward search.
14088 (c-font-lock-declarations): Fix an occurrence of point being
14089 undefined. Check additionally for point being in a bracelist or
14090 near a macro invocation without a semicolon so as to avoid a
14091 fruitless time consuming search for a declarator. Give a more
14092 precise search limit for declarators using the new
14093 c-determine-limit.
14094
14095 2012-01-18 Glenn Morris <rgm@gnu.org>
14096
14097 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14098 (set-auto-mode): Doc fixes.
14099
14100 2012-01-17 Glenn Morris <rgm@gnu.org>
14101
14102 * isearch.el (search-nonincremental-instead): Fix doc typo.
14103
14104 * dired.el (dired-insert-directory): Handle newlines in directory name.
14105 (dired-build-subdir-alist): Unescape newlines in directory name.
14106
14107 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14108
14109 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14110 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14111 (tramp-action-terminal): Use it. (Bug#10530)
14112
14113 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14114
14115 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14116
14117 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14118
14119 * window.el (window-state-ignored-parameters): Remove variable.
14120 (window--state-get-1): Rename argument MARKERS to IGNORE.
14121 Handle persistent window parameters. Make copy of clone-of
14122 parameter only if requested. (Bug#10348)
14123 (window--state-put-2): Install a window parameter only if it has
14124 a non-nil value or an existing parameter shall be overwritten.
14125
14126 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14127
14128 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14129
14130 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14131
14132 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14133 don't pass the (nil) value of `upnode' to string-match.
14134
14135 2012-01-14 Chong Yidong <cyd@gnu.org>
14136
14137 * startup.el (command-line): Fix X resource class for cursorColor.
14138 Fix values recognized by the cursorBlink resource.
14139
14140 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14141
14142 * epg.el (epg--make-temp-file): Avoid permission race condition
14143 when running on old Emacs versions (bug#10403).
14144
14145 2012-01-14 Glenn Morris <rgm@gnu.org>
14146
14147 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14148
14149 2012-01-13 Alan Mackenzie <acm@muc.de>
14150
14151 Fix filling for when filladapt mode is enabled.
14152
14153 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14154 c-mask-paragraph, pass in `fill-paragraph' rather than
14155 `fill-region-as-paragraph'. (This is a reversion of a previous
14156 change.)
14157 * progmodes/cc-mode.el (c-basic-common-init):
14158 Make fill-paragraph-handle-comment buffer local and set it to nil.
14159
14160 2012-01-13 Glenn Morris <rgm@gnu.org>
14161
14162 * dired.el (dired-switches-escape-p): New function.
14163 (dired-insert-directory): Use dired-switches-escape-p.
14164 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14165
14166 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14167
14168 2012-01-12 Glenn Morris <rgm@gnu.org>
14169
14170 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14171 changes in adaptive-fill-regexp. (Bug#10276)
14172
14173 2012-01-11 Alan Mackenzie <acm@muc.de>
14174
14175 Fix Emacs bug #10463 - put `widen's around the critical spots.
14176
14177 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14178 widen around each invocation of c-state-pp-to-literal. Remove an
14179 unused let variable.
14180
14181 2012-01-11 Glenn Morris <rgm@gnu.org>
14182
14183 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14184 Doc fix.
14185
14186 2012-01-10 Chong Yidong <cyd@gnu.org>
14187
14188 * net/network-stream.el (network-stream-open-starttls):
14189 Avoid emitting a confusing error message when the server gives a bad
14190 response to the capability command.
14191
14192 2012-01-10 Glenn Morris <rgm@gnu.org>
14193
14194 * mail/unrmail.el (unrmail): Tweak previous change.
14195
14196 2012-01-09 Chong Yidong <cyd@gnu.org>
14197
14198 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14199
14200 2012-01-08 Alan Mackenzie <acm@muc.de>
14201
14202 Optimize font locking in long enum definitions.
14203
14204 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14205 arm to a cond form to handle enums.
14206 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14207 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14208
14209 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14210
14211 * files.el (move-file-to-trash): Preserve default file modes on error.
14212 (Bug#10401)
14213
14214 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14215
14216 * faces.el (set-face-attribute): Clarify the meaning of the nil
14217 frame (bug#10294).
14218
14219 * subr.el (with-selected-frame): Mention that the selected frame
14220 is restored (bug#9980).
14221
14222 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14223 (bug#9759).
14224
14225 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14226 (password-read): Don't autoload unused function.
14227
14228 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14229
14230 * progmodes/which-func.el (which-func-mode): Turn into a
14231 non-interactive function and mark as obsolete (bug#10428).
14232
14233 2012-01-06 Chong Yidong <cyd@gnu.org>
14234
14235 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14236 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14237 functions, along with 1 and -1.
14238
14239 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14240
14241 * time.el (display-time-load-average)
14242 (display-time-default-load-average): Doc fixes. See the thread
14243 starting at
14244 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14245 for the details.
14246
14247 2012-01-06 Glenn Morris <rgm@gnu.org>
14248
14249 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14250 has no messages. (Bug#10377)
14251
14252 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14253 than Info-edit. (Bug#10385)
14254
14255 * time.el (display-time-load-average, display-time-next-load-average):
14256 Doc fixes.
14257
14258 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14259 local setting of buffer-read-only to the input buffer. (Bug#10419)
14260
14261 * calendar/calendar.el (calendar-mode):
14262 Locally set scroll-margin to 0. (Bug#10379)
14263
14264 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14265
14266 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14267
14268 2012-01-05 Glenn Morris <rgm@gnu.org>
14269
14270 * eshell/em-unix.el (diff-no-select): Autoload it.
14271 (eshell/diff): Use diff-no-select. (Bug#10420)
14272
14273 2012-01-05 Chong Yidong <cyd@gnu.org>
14274
14275 * shell.el (shell-dynamic-complete-functions): Revert last change.
14276 (shell-command-completion-function): New function.
14277 (shell-completion-vars): Use it to implement
14278 shell-completion-execonly (Bug#10417).
14279
14280 * custom.el (enable-theme): Don't set custom-safe-themes.
14281
14282 * cus-theme.el (custom-theme-merge-theme):
14283 Ignore custom-enabled-themes and custom-safe-themes.
14284
14285 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14286
14287 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14288 first prompt in `sql-interacive-mode'.
14289 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14290 keywords.
14291 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14292 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14293 context of original buffer. Invoke `sql-login-hook'.
14294
14295 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14296
14297 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14298 letters in cite-prefix.
14299
14300 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14301
14302 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14303
14304 2012-01-03 Chong Yidong <cyd@gnu.org>
14305
14306 * shell.el (shell-dynamic-complete-functions):
14307 Put pcomplete-completions-at-point, so as to try
14308 comint-filename-completion first (Bug#10417).
14309
14310 2012-01-02 Richard Stallman <rms@gnu.org>
14311
14312 * battery.el (battery-status-function):
14313 Detect when to use battery-yeeloong-sysfs.
14314 (battery-echo-area-format): Add string for Yeeloong.
14315 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14316 (battery-yeeloong-sysfs): New function.
14317
14318 2012-01-02 Chong Yidong <cyd@gnu.org>
14319
14320 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14321 (dirtrack): Merge code for handling relative filenames in prompt
14322 from shell-dir-cookie-watcher.
14323 (dirtrack-debug-message): New arg to avoid excess format calls.
14324
14325 * shell.el (shell-dir-cookie-re): Variable deleted.
14326 (shell-dir-cookie-watcher): Function deleted.
14327 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14328 with dirtrack-mode.
14329
14330 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14331
14332 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14333 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14334 libgnutls-26.dll.
14335
14336 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14337
14338 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14339
14340 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14341
14342 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14343 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14344
14345 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
14346
14347 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14348 also for alternative shells.
14349 (tramp-open-connection-setup-interactive-shell): Check, whether
14350 the shell is a busybox.
14351 (tramp-send-command): Don't suppress multiple prompts for
14352 busyboxes, it hurts.
14353
14354 2011-12-28 Chong Yidong <cyd@gnu.org>
14355
14356 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14357 (gdb-get-source-file): Move mode line update to
14358 gdb-get-source-file (Bug#10087).
14359
14360 2011-12-25 Chong Yidong <cyd@gnu.org>
14361
14362 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14363 gud-gdb-marker-filter without taking it as an argument.
14364 (gud-gdb-run-command-fetch-lines): Caller changed.
14365 (gud-gdb-completion-function): New variable.
14366 (gud-gdb-completion-at-point): Use it.
14367 (gud-gdb-completions-1): Split from gud-gdb-completions.
14368
14369 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14370 function as separate arguments.
14371 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14372 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14373 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14374 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14375 (gdb-stopped, def-gdb-auto-update-trigger)
14376 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14377 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14378 Callers changed.
14379 (gud-gdbmi-completions): New function.
14380 (gdb): Use it for generating the completion table.
14381
14382 2011-12-24 Alan Mackenzie <acm@muc.de>
14383
14384 Introduce a mechanism to widen the region used in context font
14385 locking. Use this to protect declarations from losing their contexts.
14386
14387 * progmodes/cc-langs.el (c-before-font-lock-functions):
14388 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14389 (c-before-context-fontification-functions): New defvar, a list of
14390 functions to be run just before context (etc.) font locking.
14391
14392 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14393 New, functionality extracted from
14394 c-neutralize-syntax-in-and-mark-CPP.
14395 (c-in-after-change-fontification): New variable.
14396 (c-after-change): Set c-in-after-change-fontification.
14397 (c-set-fl-decl-start): Rejig its interface, so it can be called
14398 from both after-change and context fontifying.
14399 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14400 New functions.
14401 (c-standard-font-lock-fontify-region-function): New variable.
14402 (c-font-lock-fontify-region): New function.
14403
14404 2011-12-24 Juri Linkov <juri@jurta.org>
14405
14406 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14407 (Bug#10348)
14408
14409 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
14410
14411 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14412 existence of source file. (Bug#10325)
14413
14414 2011-12-23 Alan Mackenzie <acm@muc.de>
14415
14416 Fix unstable fontification inside templates.
14417
14418 * progmodes/cc-langs.el (c-before-font-lock-functions):
14419 Newly created from the singular version. The (c c++ objc) entry now
14420 additionally has c-set-fl-decl-start. The other languages (apart
14421 from AWK) have that as a single entry.
14422
14423 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14424 The functionality for "local" declarations has been extracted to
14425 c-set-fl-decl-start.
14426
14427 * progmodes/cc-mode.el (c-common-init, c-after-change):
14428 Changes due to pluralisation of c-before-font-lock-functions.
14429 (c-set-fl-decl-start): New function, extracted from
14430 c-font-lock-enclosing-decls and enhanced.
14431
14432 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
14433
14434 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14435
14436 2011-12-22 Juri Linkov <juri@jurta.org>
14437
14438 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14439
14440 2011-12-22 Chong Yidong <cyd@gnu.org>
14441
14442 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14443
14444 2011-12-21 Drew Adams <drew.adams@oracle.com>
14445
14446 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14447
14448 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14449
14450 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14451
14452 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14453
14454 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14455 highlighting and support. Fix up comments for capitalization.
14456 (cfengine-mode-debug): New var.
14457 (cfengine3-mode): Change the modeline indicator to "CFE3".
14458 (cfengine3-font-lock-keywords): Improve defun highlighting.
14459 (cfengine2-actions): Rename from `cfengine-actions'.
14460 (cfengine2-font-lock-keywords): Rename from
14461 `cfengine-font-lock-keywords'.
14462 (cfengine2-imenu-expression): Rename from
14463 `cfengine-imenu-expression'.
14464 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14465 (cfengine2-beginning-of-defun): Rename from
14466 `cfengine-beginning-of-defun'.
14467 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14468 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14469 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14470 modeline indicator to "CFE2".
14471 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14472 (cfengine-mode-abbrevs): Mark obsolete.
14473
14474 2011-12-21 Chong Yidong <cyd@gnu.org>
14475
14476 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14477 filename argument.
14478
14479 2011-12-20 Martin Rudalics <rudalics@gmx.at>
14480
14481 * window.el (window-normalize-buffer-to-display): Remove.
14482 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14483
14484 2011-12-19 Chong Yidong <cyd@gnu.org>
14485
14486 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14487 Don't signal an error in a predicate function; return non-nil.
14488 (vc-dir-mark-file): Move the error here.
14489 (vc-dir-mark-unmark): If acting on the region, keep going if one
14490 of the entries cannot be marked/unmarked.
14491 (vc-dir-mark-all-files): If current entry is a directory, mark
14492 only child files, as documented.
14493
14494 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14495
14496 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14497 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14498 addition.
14499
14500 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14501
14502 * term/ns-win.el (ns-get-selection-internal)
14503 (ns-store-selection-internal): Declare.
14504 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14505 Declare as obsolete.
14506 (ns-get-pasteboard, ns-paste-secondary):
14507 Use ns-get-selection-internal.
14508 (ns-set-pasteboard, ns-copy-including-secondary):
14509 Use ns-store-selection-internal.
14510
14511 2011-12-17 Chong Yidong <cyd@gnu.org>
14512
14513 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
14514 (vc-deduce-fileset): Doc fix.
14515
14516 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14517
14518 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14519
14520 2011-12-13 Sam Steingold <sds@gnu.org>
14521
14522 * man.el (Man-getpage-in-background): When running under a
14523 window-system, ignore $MANWIDTH and $COLUMNS.
14524
14525 2011-12-15 Kenichi Handa <handa@m17n.org>
14526
14527 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14528 (setup-ethiopic-environment-internal): Comment out key-binding for
14529 ethio-toggle-punctuation.
14530
14531 2011-12-13 Alan Mackenzie <acm@muc.de>
14532
14533 Add the switch statement to AWK Mode.
14534
14535 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
14536 "default" to the keywords regexp.
14537
14538 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
14539 expression as the rest.
14540 (c-nonlabel-token-key): Allow string literals for AWK.
14541 Refactor for the other modes.
14542
14543 Large brace-block initialisation makes CC Mode slow: Fix.
14544 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
14545 routines. Limit backward searching in c-font-lock-enclosing.decl.
14546
14547 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14548 pp-state and literal type in addition to the limits.
14549 (c-state-safe-place): New defun, extracted from c-state-literal-at.
14550 (c-state-literal-at): Use the above new defun.
14551 (c-slow-in-literal, c-fast-in-literal): Remove.
14552 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
14553
14554 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14555 being in a literal. Add a limit for backward searching.
14556
14557 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14558 c-slow-in-literal.
14559
14560 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14561
14562 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14563
14564 2011-12-13 Martin Rudalics <rudalics@gmx.at>
14565
14566 * window.el (delete-other-windows): Use correct frame in call to
14567 window-with-parameter.
14568
14569 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14570
14571 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14572 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14573 (makefile-gmake-statements, makefile-makepp-statements):
14574 Use it and add new makepp keywords.
14575 (makefile-makepp-font-lock-keywords): Add new patterns.
14576 (makefile-match-function-end): Match new [...] and [[...]].
14577
14578 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
14579
14580 * ses.el (ses-call-printer-return, ses-cell-property-get)
14581 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14582 (ses-create-cell-variable, ses-reset-header-string)
14583 (ses-cell-set-formula, ses-repair-cell-reference-all)
14584 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14585 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14586 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14587 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14588 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14589 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14590 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14591 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14592 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14593 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14594 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14595 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14596
14597 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14598
14599 * ses.el: The overall change is to add cell renaming, that is
14600 setting fancy names for cell symbols other than name matching
14601 "\\`[A-Z]+[0-9]+\\'" regexp .
14602 (ses-create-cell-variable): New defun.
14603 (ses-relocate-formula): Relocate formulas only for cells the
14604 symbols of which are not renamed, i.e. symbols whose names do not
14605 match regexp "\\`[A-Z]+[0-9]+\\'".
14606 (ses-relocate-all): Relocate values only for cells the symbols of
14607 which are not renamed.
14608 (ses-load): Create cells variables as the (ses-cell ...) are read,
14609 in order to check row col consistency with cell symbol name only
14610 for cells that are not renamed.
14611 (ses-replace-name-in-formula): New defun.
14612 (ses-rename-cell): New defun.
14613
14614 2011-12-11 Chong Yidong <cyd@gnu.org>
14615
14616 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14617 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14618
14619 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
14620
14621 * window.el (other-window): Fix docstring.
14622
14623 2011-12-10 Eli Zaretskii <eliz@gnu.org>
14624
14625 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
14626 `from' or `to' address before taking its substring.
14627 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
14628 encoded name is chopped in the middle of the encoded string, and
14629 thus displayed encoded.
14630
14631 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
14632
14633 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14634
14635 2011-12-10 Eli Zaretskii <eliz@gnu.org>
14636
14637 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
14638 to use texinfo-update-node and commands that call it if the
14639 Texinfo file uses @node lines without next/prev/up pointers.
14640 Correct outdated description about texinfo-master-menu.
14641 (texinfo-all-menus-update, texinfo-master-menu)
14642 (texinfo-update-node, texinfo-every-node-update)
14643 (texinfo-multiple-files-update): Doc fix. Warn against updating
14644 all the @node lines.
14645 (texinfo-master-menu): Only call texinfo-update-node if the prefix
14646 argument is numeric. Explain better in the doc string what the
14647 function really does.
14648 (texinfo-insert-master-menu-list): Improve the error message
14649 displayed if there's no menu in the Top node.
14650 (Bug#2975) See also this thread:
14651 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14652
14653 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
14654
14655 * speedbar.el (speedbar-supported-extension-expressions):
14656 Add .adb and .ads, commonly used for Ada source code (bug#10256).
14657
14658 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
14659
14660 * printing.el (pr-mode-alist):
14661 * simple.el (filter-buffer-substring-functions)
14662 (completion-list-insert-choice-function):
14663 * window.el (window-with-parameter, window-atom-root)
14664 (window-sides-slots, window-size-fixed, window-min-delta)
14665 (window-max-delta, window--resize-mini-window)
14666 (window--resize-child-windows-normal, window-tree)
14667 (delete-other-windows, quit-window, split-window)
14668 (display-buffer-record-window, special-display-buffer-names)
14669 (special-display-regexps, special-display-popup-frame)
14670 (same-window-p, split-window-sensibly)
14671 (display-buffer-overriding-action, display-buffer-alist)
14672 (display-buffer-base-action, display-buffer, switch-to-buffer)
14673 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14674 (fit-window-to-buffer, recenter-positions)
14675 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14676 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14677 and remove unneeded backslashes in docstrings.
14678
14679 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14680
14681 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14682
14683 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14684 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14685 end in ".mk".
14686 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14687 when reading the makefile (bug#10116).
14688
14689 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14690
14691 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14692 (bug#10116).
14693
14694 2011-12-06 Glenn Morris <rgm@gnu.org>
14695
14696 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14697
14698 2011-12-06 Chong Yidong <cyd@gnu.org>
14699
14700 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14701
14702 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
14703
14704 * textmodes/table.el (table-shorten-cell): Fix typo.
14705
14706 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14707
14708 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14709
14710 2011-12-05 Eli Zaretskii <eliz@gnu.org>
14711
14712 * descr-text.el (describe-char): Fix display of strong
14713 right-to-left characters and directional embeddings and overrides.
14714
14715 * simple.el (what-cursor-position): Fix display of codepoints of
14716 strong right-to-left characters.
14717
14718 2011-12-05 Chong Yidong <cyd@gnu.org>
14719
14720 * faces.el (read-color): Doc fix.
14721
14722 2011-12-05 Glenn Morris <rgm@gnu.org>
14723
14724 * align.el (align--set-marker): Add doc-string.
14725 Don't try to move something that is not a marker. (Bug#10216)
14726
14727 2011-12-04 Glenn Morris <rgm@gnu.org>
14728
14729 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14730 overly zealous deletion of trailing whitespace.
14731
14732 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
14733
14734 * server.el (server-delete-client): On Windows, do not try to delete
14735 the only terminal.
14736 (server-process-filter): On Windows, treat requests for a tty frame as
14737 if they were for a GUI frame if the running server is in GUI mode.
14738
14739 2011-12-03 Glenn Morris <rgm@gnu.org>
14740
14741 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
14742
14743 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14744
14745 * electric.el: Streamline electric-indent's hook.
14746 (electric-indent-chars): Revert to simple list.
14747 (electric-indent-functions): New var.
14748 (electric-indent-post-self-insert-function): Use it.
14749
14750 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14751 there's no inferior buffer (bug#10196).
14752 (prolog-consult-compile): Don't use toggle-read-only.
14753
14754 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
14755
14756 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14757 interrupt. (Bug#10187)
14758
14759 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14760
14761 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14762 (bug#9160).
14763
14764 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14765 (bug#10191).
14766
14767 2011-12-02 Juri Linkov <juri@jurta.org>
14768
14769 * info.el (Info-search): Display "end of manual" when Isearch
14770 reaches the end of single-file Info manual. (Bug#9918)
14771
14772 2011-12-02 Eli Zaretskii <eliz@gnu.org>
14773
14774 * isearch.el (isearch-message-prefix): Run the input method part
14775 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
14776
14777 2011-12-02 Juri Linkov <juri@jurta.org>
14778
14779 * isearch.el (isearch-occur): Use `word-search-regexp' for
14780 `isearch-word'.
14781 (isearch-search-and-update): Add condition for `isearch-word' and
14782 call `word-search-regexp'. (Bug#10145)
14783
14784 2011-12-01 Glenn Morris <rgm@gnu.org>
14785
14786 * eshell/em-hist.el (eshell-hist-initialize):
14787 Handle eshell-history-size nil and HISTSIZE set or unset.
14788 (eshell-history-file-name, eshell-history-size): Fix custom type.
14789
14790 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14791
14792 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14793
14794 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
14795
14796 * progmodes/verilog-mode.el (verilog-pretty-expr):
14797 Rework verilog-pretty-expr to handle new assignment operators in system
14798 verilog, such as += *= and the like.
14799 (verilog-assignment-operator-re): Regular expression to find the
14800 assigment operator in a verilog assignment.
14801 (verilog-assignment-operation-re): Regular expression to find an
14802 assignment statement for pretty-expr.
14803 (verilog-in-attribute-p): Query returns true if point is in an
14804 attribute context; used to skip these for expression line up from
14805 pretty-expr.
14806 (verilog-in-parameter-p): Query returns true if point is in an
14807 parameter definition context; used to skip these for expression
14808 line up from pretty-expr.
14809 (verilog-in-parenthesis-p): Query returns true if point is in a
14810 parenthetical expression, specifically ( ) but not [ ] or { };
14811 used by pretty-expr.
14812 (verilog-just-one-space): If there is no space, don't add one.
14813 (verilog-get-lineup-indent-2): Specifically skip just attribute
14814 contexts for expression lineup, rather than skipping all
14815 parenthetical expressions.
14816 (verilog-calculate-indent): Fix comment, and fix indent.
14817 (verilog-do-indent): Indent declarations in lists (suggested by
14818 Joachim Lechner).
14819 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14820 skeleton items.
14821 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14822 by Alain Mellan).
14823
14824 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
14825
14826 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14827 parameters with embedded comments. Reported by Ray Stevens.
14828 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14829 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14830 Reported by Tim Holt.
14831 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14832 instantiated by upper module causing wrong expansion until AUTOed a
14833 second time. Reported by K C Buckenmaier.
14834 (verilog-diff-auto): Fix showing .* as a difference when
14835 `verilog-auto-star-save' off. Reported by Dan Dever.
14836 (verilog-auto-reset, verilog-read-always-signals)
14837 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14838 temporary signals in reset list if
14839 verilog-auto-reset-blocking-in-non is nil, and match assignment
14840 style to each signal's assignment type, bug381.
14841 Reported by Thomas Esposito.
14842 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14843 (verilog-uvm-statement-re): Support UVM indentation and
14844 highlighting, with old OVM keywords only.
14845 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
14846 Support AUTOTIEOFF creating non-wire data types.
14847 Suggested by Jonathan Greenlaw.
14848 (verilog-auto-insert-lisp, verilog-delete-to-paren)
14849 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14850 (verilog-inject-sense, verilog-read-inst-pins)
14851 (verilog-read-sub-decls, verilog-read-sub-decls-line):
14852 Fix mismatching parenthesis inside commented out code when deleting
14853 AUTOINST, bug383. Reported by Jonathan Greenlaw.
14854 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14855 non-numeric vector width. Reported by Alex Reed.
14856 (verilog-auto-ascii-enum): Add "onehot" option to work around not
14857 detecting signals with parameter widths. Reported by Alex Reed.
14858 (verilog-auto-delete-trailing-whitespace):
14859 With `verilog-auto-delete-trailing-whitespace' remove trailing
14860 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
14861 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14862 Fix verilog-scan-cache corruption when running user AUTO expansion
14863 hooks that call indentation routines.
14864 (verilog-simplify-range-expression): Fix typo ignoring lower case
14865 identifiers.
14866 (verilog-delete-auto): Fix delete-autos to also remove user created
14867 automatics, as long as they start with AUTO.
14868 (verilog-batch-diff-auto, verilog-diff-auto)
14869 (verilog-diff-function): Add `verilog-diff-auto' and bind to
14870 "C-c?" to report differences in AUTO expansion, ignoring spaces.
14871 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
14872 (verilog-in-paren-quick, verilog-re-search-backward-quick)
14873 (verilog-re-search-forward-quick, verilog-syntax-ppss):
14874 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
14875 is disabled and its cache will get corrupt, causing AUTOS not to
14876 expand. Instead use only -quick functions.
14877 (verilog-scan-region): Fix scanning over escaped quotes.
14878 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14879 (verilog-re-search-backward-quick)
14880 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14881 related functions now ignore strings, to fix misparsing of strings
14882 with magic comments embedded in them.
14883 (verilog-read-auto-template):
14884 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14885 Reported by Brad Dobbie.
14886 (verilog-read-auto-template):
14887 Fix 'verilog-auto-inst-template-numbers' with comments.
14888 Reported by Brad Dobbie.
14889 (verilog-auto-inst, verilog-auto-inst-param)
14890 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14891 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
14892 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
14893 debugging templates without merge conflicts, bug357.
14894 Reported by Brad Dobbie.
14895 (verilog-read-auto-template):
14896 Fix verilog-auto-inst-template-numbers with multiple templates.
14897 Reported by Brad Dobbie.
14898 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14899 abbrevs so user won't be asked to save.
14900 (verilog-read-auto-lisp-present): Fix to start at beginning of
14901 buffer in case called outside of verilog-auto.
14902 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14903 to "X-2". Reported by Matthew Myers.
14904 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14905 all inputs from module templates. Reported by Leith Johnson.
14906 (verilog-module-inside-filename-p): Fix locating programs as with
14907 modules.
14908 (verilog-auto-inst-port): Fix vl-width expressions when using
14909 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
14910 (verilog-decls-get-regs, verilog-decls-get-signals,
14911 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14912 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14913 verilog-read-decls): Combine reg and wire structures into one var
14914 structure to represent SystemVerilog concepts.
14915 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14916 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
14917 (verilog-auto-wire-type, verilog-insert-definition):
14918 Add verilog-auto-wire-type and AUTOLOGIC to support using
14919 SystemVerilog "logic" keyword instead of "wire"/"reg".
14920 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
14921 to declares outputs that also have assignments (presumably in an
14922 ifdef or generate if so there's not a driver conflict).
14923 Reported by Matthew Myers.
14924 (verilog-auto-declare-nettype, verilog-insert-definition):
14925 Add verilog-auto-declare-nettype to fix declarations using
14926 `default_nettype none. Reported by Julian Gorfajn.
14927 (verilog-read-always-signals-recurse, verilog-read-decls)
14928 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
14929 malformed end statement, bug325. Reported by Joshua Wise and
14930 Andrew Drake.
14931 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
14932 (verilog-inst-comment-re): Fix not deleting Interfaced comment
14933 when expanding .* in interfaces, bug320.
14934 Reported by Pierre-David Pfister.
14935 (verilog-read-module-name): Fix import statements between module
14936 name and open parenthesis, bug317.
14937 Reported by Pierre-David Pfister.
14938 (verilog-simplify-range-expression): Fix simplification of
14939 multiplications inside AUTOWIRE connections, bug303.
14940 (verilog-auto-inst-port): Support parameter expansion in
14941 multidimensional arrays.
14942 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
14943 after "assert property". Reported by Julian Gorfajn.
14944 (verilog-simplify-range-expression): Fix "couldn't merge" errors
14945 with multiplication, bug303.
14946 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14947 Reported by Jan Frode Lonnum.
14948
14949 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
14950
14951 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14952 (hfy-shell-file-name, hfy-shell):
14953 * international/fontset.el (x-decompose-font-name): Fix typos.
14954
14955 2011-11-29 Ken Brown <kbrown@cornell.edu>
14956
14957 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14958 (gdb-version): Remove defvar.
14959 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14960 (gdb-gud-context-command, gdb-non-stop-handler)
14961 (gdb-current-context-command, gdb-stopped): Use it.
14962 (gdb-init-1): Enable pretty printing here.
14963 (gdb-non-stop-handler): Don't enable pretty-printing here.
14964 Check to see if the target supports non-stop mode; if not, turn off
14965 non-stop mode. Use the following.
14966 (gdb-check-target-async): New defun.
14967 (gud-watch, gdb-stopped): Fix whitespace.
14968 (gdb-get-source-file): Don't try to display the source file if
14969 `gdb-main-file' is nil.
14970
14971 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14972
14973 * align.el: Try to generate fewer markers (bug#10047).
14974 (align--set-marker): New macro.
14975 (align-region): Use it.
14976
14977 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14978
14979 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14980
14981 2011-11-29 Chong Yidong <cyd@gnu.org>
14982
14983 * indent.el (indent-for-tab-command, indent-according-to-mode):
14984 Doc fix.
14985 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
14986
14987 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
14988
14989 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14990 aware of remote file names. (Bug#10124)
14991
14992 2011-11-29 Chong Yidong <cyd@gnu.org>
14993
14994 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14995
14996 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14997
14998 * files.el (find-file): Don't use force-same-window (bug#10144).
14999 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15000 use pop-to-buffer if the selected window can't be used.
15001 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15002
15003 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15004
15005 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15006 special-mode-map.
15007
15008 2011-11-28 Chong Yidong <cyd@gnu.org>
15009
15010 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15011
15012 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15013
15014 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15015 gdb-get-source-file-list on gdb-create-source-file-list.
15016
15017 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15018
15019 * whitespace.el (whitespace-newline): Use a different foreground
15020 color for 16-color light-background displays.
15021
15022 2011-11-24 Chong Yidong <cyd@gnu.org>
15023
15024 * window.el (display-buffer--special-action): Doc fix.
15025
15026 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15027
15028 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15029 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15030 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15031 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15032 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15033 (avl-tree-stack-first):
15034 * emacs-lisp/cconv.el (cconv--analyse-use):
15035 * net/gnutls.el (gnutls-negotiate): Fix typos.
15036
15037 2011-11-24 Glenn Morris <rgm@gnu.org>
15038
15039 * lpr.el (lpr-windows-system, lpr-lp-system):
15040 * mail/binhex.el (binhex-begin-line):
15041 * progmodes/grep.el (grep-history, grep-find-history):
15042 * textmodes/flyspell.el:
15043 * vc/pcvs-defs.el (cvs-global-menu):
15044 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15045 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15046 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15047
15048 * net/tls.el: Fix case of "GnuTLS".
15049
15050 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15051
15052 * version.el (emacs-build-system): Give it a doc-string.
15053
15054 2011-11-24 Juri Linkov <juri@jurta.org>
15055
15056 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15057
15058 2011-11-24 Glenn Morris <rgm@gnu.org>
15059
15060 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15061 if called on a non-mime message just toggle the headers. (Bug#8006)
15062
15063 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15064
15065 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15066 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15067 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15068 (allout-rebullet-heading, allout-open-sibtopic)
15069 (allout-toggle-current-subtree-encryption)
15070 (allout-toggle-subtree-encryption, allout-encrypt-string)
15071 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15072 (allout-distinctive-bullets-string, allout-auto-activation):
15073 * window.el (window-normalize-buffer-to-display):
15074 * progmodes/verilog-mode.el (verilog-batch-indent):
15075 * textmodes/bibtex.el (bibtex-field-braces-opt)
15076 (bibtex-field-strings-opt):
15077 * vc/cvs-status.el (cvs-tree-merge):
15078 Fix typos.
15079
15080 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15081
15082 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15083 `non-essential' to t, in order to avoid remote connections.
15084
15085 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15086
15087 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15088 On MS-DOS and MS-Windows, compare with loaddefs.el
15089 case-insensitively.
15090
15091 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15092
15093 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15094
15095 2011-11-23 Glenn Morris <rgm@gnu.org>
15096
15097 * paths.el (rmail-file-name): Reformat the doc-string so that it
15098 is picked up.
15099
15100 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15101 (rmail-auto-file): Ignore case in the "special" field names,
15102 as mail-fetch-field does for all others.
15103
15104 * mail/rmail.el (rmail-forward):
15105 * mail/rmailkwd.el (rmail-set-label):
15106 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15107 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15108
15109 * mail/rmail.el (rmail-current-message): Doc fix.
15110
15111 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15112
15113 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15114
15115 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15116
15117 2011-11-22 Glenn Morris <rgm@gnu.org>
15118
15119 * mail/rmailmm.el (test-rmail-mime-handler)
15120 (test-rmail-mime-bulk-handler)
15121 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15122
15123 2011-11-21 Juri Linkov <juri@jurta.org>
15124
15125 * calc/calc.el (calc-read-key-sequence):
15126 Let-bind `input-method-function' to nil. (Bug#10018)
15127
15128 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15129
15130 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15131 Tell the caller that the next line needs recomputation, even
15132 though it doesn't start a sexp (bug#10094).
15133
15134 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15135
15136 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15137
15138 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15139
15140 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15141 Use force-same-window.
15142
15143 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15144
15145 * descr-text.el (describe-char-unicode-data):
15146 * json.el (json-string-escape):
15147 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15148 (Footnote-unicode, Footnote-style-p):
15149 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15150
15151 2011-11-20 Chong Yidong <cyd@gnu.org>
15152
15153 * window.el (replace-buffer-in-windows): Restore interactive spec.
15154
15155 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15156
15157 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15158
15159 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15160 (byte-compile-global-not-obsolete-vars): New var.
15161 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15162 Use it.
15163 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15164
15165 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15166
15167 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15168 * progmodes/pascal.el (electric-pascal-equal):
15169 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15170 * xml.el (xml-substitute-special): Fix typos.
15171
15172 2011-11-20 Glenn Morris <rgm@gnu.org>
15173
15174 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15175 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15176 Doc fixes.
15177 (rmail-decode-mime-charset): Mark as obsolete.
15178
15179 * mail/rmailsum.el (rmail-message-regexp-p-1):
15180 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15181 Before using mime functions, check they are set. (Bug#10077)
15182
15183 2011-11-19 Juri Linkov <juri@jurta.org>
15184
15185 * info.el (Info-finder-find-node): Use `package--builtins' instead
15186 of `package-alist'. Use node names formed by the pattern "Keyword "
15187 and the keyword name.
15188
15189 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15190
15191 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15192
15193 2011-11-19 Juri Linkov <juri@jurta.org>
15194
15195 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15196 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15197 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15198 `old-history', `old-history-forward'. Add let-binding
15199 `window-selected'. Remove calls to `kill-buffer',
15200 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15201 before calling `Info-find-node', so `Info-find-node-2' will reread
15202 the Info file. Restore window positions only when `window-selected'
15203 is non-nil.
15204
15205 2011-11-19 Juri Linkov <juri@jurta.org>
15206
15207 * isearch.el (isearch-lazy-highlight-new-loop):
15208 Remove condition `(not isearch-error)'. (Bug#9918)
15209
15210 * misearch.el (multi-isearch-search-fun): Add condition
15211 `(not bound)' to ignore lazy-highlighting search.
15212 Add the search-failed message "end of multi" when the end of
15213 multi-sequence is reached. Uncapitalize the search-failed
15214 message "Repeat for next buffer".
15215
15216 * info.el (Info-search): Add the search-failed message
15217 "end of the manual" when the end of the manual is reached
15218 in Isearch mode.
15219
15220 2011-11-19 Juri Linkov <juri@jurta.org>
15221
15222 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15223 Use non-destructive `remove' instead of `delete' because
15224 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15225 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15226
15227 2011-11-19 Juri Linkov <juri@jurta.org>
15228
15229 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15230 to nil instead of binding `search-ring' and `regexp-search-ring'.
15231 (Bug#9185)
15232
15233 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15234
15235 * simple.el (line-move): Force movement by logical lines for any
15236 hscrolled window, not only when auto-hscroll-mode is on.
15237 (line-move-visual): Update doc string to that effect. (Bug#10076)
15238
15239 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15240
15241 * language/european.el (macintosh): Define as alias for mac-roman.
15242
15243 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15244
15245 * mail/rmailmm.el (rmail-mime-display-header)
15246 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15247 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15248 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15249 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15250 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15251 of a raw aref.
15252 (rmail-mime-entity-segment): To get past the tagline, move forward
15253 2 more lines, to account for the 2 empty lines that precede and
15254 follow the line with the buttons.
15255 (rmail-mime-update-tagline): Move one more line, to get past the
15256 empty line that follows the buttons in the tagline. (Bug#9520)
15257
15258 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15259
15260 * window.el (window-max-delta-1, window-min-delta-1)
15261 (window-min-size-1, window-state-get-1, window-state-put-1)
15262 (window-state-put-2): Use "window--" prefix.
15263
15264 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15265
15266 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15267 (smie-warning-count): New var.
15268 (smie-set-prec2tab): Use it.
15269 (smie-bnf->prec2): Improve warnings. Add docstring.
15270 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15271 (smie-bnf--set-class): New function.
15272 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15273 corner case.
15274
15275 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15276 (compilation-error-properties, compilation-move-to-column):
15277 Handle compilation-first-column while in the target buffer.
15278
15279 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15280 Don't hardcode point-min==1.
15281
15282 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15283 (eshell-rewrite-for-command): Remove workaround.
15284 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15285 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15286 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15287
15288 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15289
15290 2011-11-17 Glenn Morris <rgm@gnu.org>
15291
15292 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15293 Ignore buffer-local generated-autoload-file if it is the same
15294 as the global value. (Bug#10049)
15295
15296 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15297
15298 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15299 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15300 (reftex-toc-previous-heading, reftex-toc-max-level)
15301 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15302 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15303 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15304 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15305 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15306 (reftex-toc-rename-label, reftex-toc-visit-location)
15307 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15308 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15309 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15310 leaving "*toc*" only for references to the buffer.
15311
15312 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15313
15314 * window.el (window-resize, delete-window, split-window):
15315 Replace window-splits by window-combination-resize.
15316 * cus-start.el (window-splits): Replace by window-combination-resize.
15317
15318 2011-11-17 Glenn Morris <rgm@gnu.org>
15319
15320 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15321 Make bash entry derive from sh entry, not shell entry.
15322
15323 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15324
15325 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15326 local file name.
15327
15328 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15329
15330 * menu-bar.el (menu-bar-file-menu):
15331 * printing.el (pr-ps-utility):
15332 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15333 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15334 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15335 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15336 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15337 (icalendar--convert-cyclic-to-ical)
15338 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15339 (icalendar--convert-ical-to-diary)
15340 (icalendar--convert-recurring-to-diary)
15341 (icalendar--convert-non-recurring-all-day-to-diary)
15342 (icalendar-import-format-sample):
15343 * progmodes/idlw-shell.el (idlwave-shell-mode):
15344 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15345 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15346 (vhdl-ps-print-init): Fix typos.
15347
15348 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15349
15350 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15351 FSF and collapse date sequence, obscure author/maintainer email address
15352 better, remove extra version line, track relocation of author's webpage.
15353
15354 * progmodes/python.el (python-pdbtrack-input-prompt)
15355 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15356 regular python pdb prompts. Adjustments shamelessly taken exactly as
15357 suggested in EmacsWiki page (tiny change):
15358 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15359
15360 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15361
15362 * expand.el (expand-pos, expand-index, expand-point):
15363 Remove redundant info from docstring.
15364 (expand-add-abbrevs): Doc fix.
15365 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15366 (expand-sample-perl-mode-expand-list): Fix typos.
15367
15368 * net/dbus.el (dbus-event-member-name):
15369 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15370 * term/pc-win.el (msdos-create-frame-with-faces):
15371 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15372
15373 2011-11-16 Martin Rudalics <rudalics@gmx.at>
15374
15375 * window.el (split-window, window-state-get-1)
15376 (window-state-put-1, window-state-put-2): Rename occurrences of
15377 window-nest to window-combination-limit.
15378 * cus-start.el (window-nest): Rename to window-combination-limit.
15379
15380 2011-11-16 Chong Yidong <cyd@gnu.org>
15381
15382 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15383 regexp (Bug#10033).
15384
15385 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15386
15387 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15388 `completing-read' will remove *Completions* and will preserve
15389 current-buffer for us.
15390 (tmm-add-prompt): Users of *Completions* will always (re)set its
15391 major mode.
15392 (tmm-old-comp-map): Remove.
15393
15394 2011-11-16 Glenn Morris <rgm@gnu.org>
15395
15396 * mail/rmailedit.el: Require rmailmm when compiling.
15397 (rmail-old-mime-state): New declaration.
15398 (rmail-edit-current-message): If editing a mime message,
15399 edit the "raw" message from the mbox buffer.
15400 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15401
15402 2011-11-15 Glenn Morris <rgm@gnu.org>
15403
15404 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15405 which wasn't being used. Add optional arg to force given state.
15406 (rmail-mime): Add optional arg to force given state.
15407
15408 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15409
15410 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15411 * frame.el (display-mm-dimensions-alist):
15412 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15413 (outline-move-subtree-down):
15414 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15415 (newsticker--treeview-do-get-node):
15416 * net/quickurl.el (quickurl-list-buffer-name):
15417 * progmodes/dcl-mode.el (dcl-mode):
15418 * progmodes/gdb-mi.el (gdb-mapcar*):
15419 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15420
15421 2011-11-15 Glenn Morris <rgm@gnu.org>
15422
15423 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15424 in a boolean sense, so just make it a boolean, and fix the doc.
15425 (rmail-show-mime-function, rmail-mime-feature)
15426 (rmail-require-mime-maybe): Doc fixes.
15427 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15428
15429 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15430
15431 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15432
15433 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15434 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15435 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15436 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15437
15438 2011-11-15 Glenn Morris <rgm@gnu.org>
15439
15440 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15441 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15442 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15443 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15444 (rmail-mime, rmail-show-mime): Doc fixes.
15445
15446 * term/ns-win.el (mode-line-frame-identification):
15447 Leave it alone. (Bug#10051)
15448
15449 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15450
15451 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15452 Handle empty buffers. (Bug#9978)
15453
15454 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
15455
15456 * international/mule.el (define-charset):
15457 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15458 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15459 * progmodes/verilog-mode.el (verilog-backward-token):
15460 * textmodes/ispell.el (lookup-words):
15461 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15462
15463 2011-11-14 Glenn Morris <rgm@gnu.org>
15464
15465 * progmodes/executable.el
15466 (executable-make-buffer-file-executable-if-script-p):
15467 Handle file-modes returning nil.
15468
15469 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15470 message - not necessary, and causes problems. (Bug#9831)
15471
15472 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15473
15474 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15475
15476 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15477 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15478 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15479
15480 2011-11-12 Martin Rudalics <rudalics@gmx.at>
15481
15482 * window.el (window-resize, delete-window): Use window-splits
15483 variable instead of function.
15484 (window-state-get-1, window-state-put-2, window-state-put):
15485 Don't deal with windows' splits status.
15486
15487 2011-11-12 Glenn Morris <rgm@gnu.org>
15488
15489 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15490 (apropos-documentation): Doc fixes.
15491
15492 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
15493
15494 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15495 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15496
15497 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15498
15499 * electric.el (electric-indent-post-self-insert-function): Make it
15500 possible for a char to only indent in some circumstances.
15501 (electric-indent-mode): Simplify.
15502
15503 2011-11-11 Martin Rudalics <rudalics@gmx.at>
15504
15505 * window.el (windows-with-parameter): Remove unused function.
15506 (windows-at-side): Rename to window-at-side-list.
15507 (window-check, window-atom-check, window-atom-check-1)
15508 (window-side-check, window-size-ignore, window-size-fixed-1)
15509 (window-in-direction-2): Prefix with "window--".
15510 (window-tree-1): Rename to window--subtree, fix doc-string.
15511
15512 2011-11-11 Glenn Morris <rgm@gnu.org>
15513
15514 * subr.el (eval-after-load): If FILE is already loaded,
15515 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15516
15517 2011-11-10 Glenn Morris <rgm@gnu.org>
15518
15519 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15520 Call svn via vc-svn-command rather than vc-do-command.
15521 (vc-svn-command): Add --non-interactive. (Bug#9993)
15522 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15523
15524 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15525 Add toggle-read-only. (Bug#7292)
15526 * files.el (toggle-read-only): Mention that it should only
15527 be used interactively. (Bug#10006)
15528
15529 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15530
15531 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15532 Adjust regexp for OCaml warnings.
15533
15534 * electric.el (electric-pair-post-self-insert-function): Let user
15535 turn it off buffer-locally (bug#9932).
15536
15537 * progmodes/python.el (python-beginning-of-statement):
15538 Rewrite (bug#2703).
15539
15540 * progmodes/compile.el: Better handle TABs (bug#9749).
15541 (compilation-internal-error-properties)
15542 (compilation-next-error-function): Obey the target buffer's
15543 compilation-error-screen-columns.
15544
15545 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
15546
15547 * progmodes/meta-mode.el: Remove obsolete comments.
15548 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15549 Fix typos in docstrings.
15550
15551 2011-11-09 Martin Rudalics <rudalics@gmx.at>
15552
15553 * window.el (window-size-fixed-p): Rewrite doc-string.
15554 (window-resizable-p): Rename to window--resizable-p. Update callers.
15555 (window--resizable): New function. Make all callers of
15556 window-resizable call window--resizable instead.
15557 (window-resizable): Rewrite in terms of window--resizable.
15558
15559 2011-11-08 Glenn Morris <rgm@gnu.org>
15560
15561 * progmodes/delphi.el (delphi-mode-syntax-table):
15562 Let define-derived-mode define a proper syntax table. (Bug#9994)
15563
15564 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15565
15566 * window.el: Stay away from defsubst.
15567 (window-list-no-nils): Remove.
15568 (window-state-get-1, window-state-get): Use backquote instead.
15569
15570 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15571
15572 * emacs-lisp/find-func.el (find-function-read):
15573 Fix incorrect use of default argument in `completing-read'.
15574
15575 2011-11-08 Martin Rudalics <rudalics@gmx.at>
15576
15577 * window.el (display-buffer-function, special-display-function):
15578 Mention display-buffer-record-window but do not mention
15579 help-setup parameter in doc-strings.
15580 (window-min-delta): Fix doc-string typo.
15581
15582 2011-11-08 Chong Yidong <cyd@gnu.org>
15583
15584 * window.el (window-total-height, window-total-width): Doc fix.
15585 (window-body-size): Move from C.
15586 (window-body-height, window-body-width): Move to C.
15587
15588 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15589
15590 * window.el: Make special-display like display-buffer-alist (bug#9532).
15591 (display-buffer--special-action): New function, morphed
15592 from display-buffer--special.
15593 (display-buffer): Use it to handle special-display-buffers at higher
15594 priority (just after display-buffer-alist).
15595 (display-buffer-fallback-action, display-buffer--other-frame-action)
15596 (pop-to-buffer-same-window): Remove display-buffer--special.
15597
15598 2011-11-07 Glenn Morris <rgm@gnu.org>
15599
15600 * calendar/cal-menu.el (cal-menu-set-date-title):
15601 Do nothing if not in a calendar. (Bug#9976)
15602
15603 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15604
15605 * files.el (find-file): Always use selected-window.
15606
15607 2011-11-07 Martin Rudalics <rudalics@gmx.at>
15608
15609 * window.el (window-combinations): Make WINDOW argument
15610 mandatory. Rewrite doc-string.
15611 (walk-window-subtree, window-atom-check, window-min-delta)
15612 (window-max-delta, window--resize-this-window)
15613 (window--resize-root-window-vertically, window-tree)
15614 (balance-windows, window-state-put): Rewrite doc-strings as to
15615 not mention the term "subwindow".
15616 (window--resize-subwindows-skip-p): Rename to
15617 window--resize-child-windows-skip-p.
15618 (window--resize-subwindows-normal): Rename to
15619 window--resize-child-windows-normal.
15620 (window--resize-subwindows): Rename to
15621 window--resize-child-windows.
15622 (window-or-subwindow-p): Rename to window--in-subtree-p.
15623
15624 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15625
15626 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15627 Ensure that mbox format messages end in two newlines (Bug#9974).
15628
15629 2011-11-06 Chong Yidong <cyd@gnu.org>
15630
15631 * window.el (window-combination-p): Function deleted; its
15632 side-effect is not used in any existing code.
15633 (window-combinations, window-combined-p): Call window-*-child
15634 directly.
15635
15636 2011-11-05 Chong Yidong <cyd@gnu.org>
15637
15638 * window.el (window-valid-p): Rename from window-any-p.
15639 (window-size-ignore, window-state-get): Callers changed.
15640 (window-normalize-window): Rename from window-normalize-any-window.
15641 New arg LIVE-ONLY, replacing window-normalize-live-window.
15642 (window-normalize-live-window): Delete.
15643 (window-combination-p, window-combined-p, window-combinations)
15644 (walk-window-subtree, window-atom-root, window-min-size)
15645 (window-sizable, window-sizable-p, window-size-fixed-p)
15646 (window-min-delta, window-max-delta, window-resizable)
15647 (window-resizable-p, window-full-height-p, window-full-width-p)
15648 (window-current-scroll-bars, window-point-1, set-window-point-1)
15649 (window-at-side-p, window-in-direction, window-resize)
15650 (adjust-window-trailing-edge, maximize-window, minimize-window)
15651 (window-deletable-p, delete-window, delete-other-windows)
15652 (record-window-buffer, unrecord-window-buffer)
15653 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15654 (quit-window, split-window, window-state-put)
15655 (set-window-text-height, fit-window-to-buffer)
15656 (shrink-window-if-larger-than-buffer): Callers changed.
15657
15658 2011-11-04 Eli Zaretskii <eliz@gnu.org>
15659
15660 * mail/rmail.el (rmail-simplified-subject): Decode subject with
15661 rfc2047-decode-string.
15662 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15663 warnings.
15664
15665 * window.el (window-body-height, window-body-width): Mention in
15666 the doc string that the return values are in frame's canonical
15667 units. (Bug#9949)
15668
15669 2011-11-03 Alan Mackenzie <acm@muc.de>
15670
15671 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15672 change in cc-engine.el.
15673
15674 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15675
15676 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15677
15678 2011-11-02 Martin Rudalics <rudalics@gmx.at>
15679
15680 * window.el (quit-window): Call unrecord-window-buffer after
15681 showing another buffer in the window. (Bug#9937)
15682 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
15683
15684 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
15685
15686 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15687 Accept status with more than 9 shelves. (Bug#9935)
15688 Reported by Colin D Bennett <colin@gibibit.com>.
15689
15690 2011-11-01 Martin Rudalics <rudalics@gmx.at>
15691
15692 * help.el (with-help-window): Don't reference
15693 temp-buffer-show-specifiers in doc-string.
15694
15695 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15696
15697 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15698 menu-item.
15699
15700 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15701
15702 * whitespace.el: New version 13.2.2.
15703 (whitespace-newline-mode): Disable properly. Reported by Sarah
15704 <EmacsWiki>.
15705
15706 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
15707
15708 * net/newst-treeview.el: Remove "Time-stamp".
15709 (newsticker--group-manage-orphan-feeds): Do not call
15710 newsticker--treeview-tree-update.
15711 (newsticker-treeview-update, newsticker-treeview):
15712 Call newsticker--treeview-tree-update if necessary.
15713
15714 2011-10-30 Martin Rudalics <rudalics@gmx.at>
15715
15716 * window.el (window-iso-combination-p, window-iso-combined-p)
15717 (window-iso-combinations): Remove "iso-" infix.
15718 Suggested by Chong Yidong.
15719 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15720 (window-max-delta-1, window-resize, window--resize-siblings)
15721 (window--resize-this-window, adjust-window-trailing-edge)
15722 (split-window, balance-windows-1)
15723 (shrink-window-if-larger-than-buffer):
15724 * calendar/calendar.el (calendar-generate-window):
15725 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
15726
15727 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15728
15729 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15730 in place (bug#9907).
15731 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15732 (eshell-rewrite-if-command, eshell-rewrite-for-command)
15733 (eshell-structure-basic-command, eshell-rewrite-while-command)
15734 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15735 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15736 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15737 (eshell-do-pipelines-synchronously, eshell-eval-command):
15738 Use backquotes and prefer setq to set.
15739 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15740 (eshell-macrop): Use functionp.
15741 (eshell-do-eval): Handle multiple expressions in `while' body.
15742
15743 2011-10-30 Chong Yidong <cyd@gnu.org>
15744
15745 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15746 instead of set-mark (Bug#9810).
15747
15748 2011-10-30 Chong Yidong <cyd@gnu.org>
15749
15750 * window.el (split-window-below, split-window-right): Rename from
15751 split-window-above-each-other and split-window-side-by-side
15752 respectively. All callers changed.
15753 (split-window-sensibly, split-window-sensibly): Use them.
15754 (split-window-keep-point): Doc fix.
15755
15756 * isearch.el: Add isearch-scroll property to split-window-below
15757 and split-window-right.
15758
15759 * follow.el (follow-mode):
15760 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15761 * progmodes/ada-xref.el (ada-gdb-application):
15762 * emulation/vip.el (vip-buffer-in-two-windows):
15763 * image-dired.el (image-dired-dired-with-window-configuration):
15764 * dired-x.el (dired-do-find-marked-files):
15765 * dired.el (dired-pop-to-buffer):
15766 * bs.el (bs--show-with-configuration):
15767 * vc/emerge.el (emerge-setup-windows):
15768 * textmodes/two-column.el (2C-two-columns):
15769 * textmodes/reftex-toc.el (reftex-toc):
15770 * progmodes/gdb-mi.el (gdb-setup-windows):
15771 * progmodes/fortran.el (fortran-window-create):
15772 * net/newst-treeview.el (newsticker--treeview-window-init):
15773 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15774 * emulation/tpu-edt.el (tpu-gold-map):
15775 * emulation/crisp.el (crisp-mode-map):
15776 * calendar/calendar.el (calendar-basic-setup): Callers changed.
15777
15778 2011-10-29 Chong Yidong <cyd@gnu.org>
15779
15780 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15781
15782 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15783
15784 * textmodes/flyspell.el (flyspell-word): Fix char offset for
15785 forged Ispell output (Bug#7904).
15786
15787 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15788
15789 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15790
15791 * doc-view.el: Avoid ugly errors about not finding nil.
15792 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15793 (doc-view-dvipdf-program, doc-view-unoconv-program)
15794 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15795 Avoid nil or absolute file name as default value.
15796 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15797
15798 2011-10-28 Alan Mackenzie <acm@muc.de>
15799
15800 * progmodes/cc-defs.el (c-version): -> 5.32.2.
15801
15802 2011-10-28 Alan Mackenzie <acm@muc.de>
15803
15804 Amend the handling of c-beginning/end-of-defun in nested declaration
15805 scopes.
15806
15807 * progmodes/cc-vars.el (c-defun-tactic): Move here from
15808 cc-langs.el. Change it to a defcustom.
15809
15810 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15811 cc-vars.el.
15812
15813 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15814 Prevent "class foo : bar" being spuriously recognized as a label.
15815
15816 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
15817 Add parameter `inclusive' (to include enclosing braces in the region).
15818 (c-widen-to-enclosing-decl-scope): New function.
15819 (c-while-widening-to-decl-block): New macro.
15820 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15821 outward for defun boundaries, and correspondingly change symbol
15822 `respect-enclosure' to `go-outward'.
15823 (c-declaration-limits): Change algorithm to report only the "innermost"
15824 defun's boundaries.
15825
15826 2011-10-28 Deniz Dogan <deniz@dogan.se>
15827
15828 * net/rcirc.el (rcirc-mode): Use hard newlines.
15829
15830 2011-10-28 Alan Mackenzie <acm@muc.de>
15831
15832 Amend to indent and fontify macros "which include their own semicolon"
15833 correctly, using the "virtual semicolon" mechanism.
15834
15835 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
15836
15837 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
15838 Recode to scan one line at a time rather than having \n and \r
15839 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
15840 (c-forward-label): Amend for virtual semicolons.
15841 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
15842
15843 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15844 of the new C macros.
15845
15846 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
15847 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15848 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
15849 (c-opt-cpp-macro-define): Make into a full language variable.
15850 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15851 AWK Mode (including \n, \r) removed, no longer needed.
15852
15853 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15854 Invoke c-make-macro-with-semi-re.
15855
15856 * progmodes/cc-vars.el (c-macro-with-semi-re):
15857 (c-macro-names-with-semicolon): New variables.
15858 (c-make-macro-with-semi-re): New function.
15859
15860 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15861
15862 * vc/log-edit.el: Fill empty field rather than adding new one.
15863 (log-edit-add-field): New function.
15864 (log-edit-insert-changelog): Use it.
15865
15866 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15867
15868 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
15869
15870 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15871
15872 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15873 (gdb--check-interpreter): New function.
15874 (gdb): Use it.
15875
15876 2011-10-27 Glenn Morris <rgm@gnu.org>
15877
15878 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15879 (least-positive-float, least-negative-float)
15880 (least-positive-normalized-float, least-negative-normalized-float)
15881 (float-epsilon, float-negative-epsilon):
15882 Remove unnecessary declarations.
15883
15884 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15885 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15886 (least-positive-float, least-negative-float)
15887 (least-positive-normalized-float, least-negative-normalized-float)
15888 (float-epsilon, float-negative-epsilon): Add doc-strings,
15889 based on those in cl.texi.
15890
15891 * files.el (set-visited-file-name): If the major-mode changed,
15892 reload the local variables. (Bug#9796)
15893
15894 2011-10-27 Chong Yidong <cyd@gnu.org>
15895
15896 * subr.el (change-major-mode-after-body-hook): New hook.
15897 (run-mode-hooks): Run it.
15898
15899 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15900 Use change-major-mode-before-body-hook.
15901
15902 * simple.el (fundamental-mode):
15903 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15904 change introducing fundamental-mode-hook.
15905
15906 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
15907
15908 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
15909
15910 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
15911
15912 * ido.el (ido-file-name-all-completions-1): Do not require
15913 tramp.el explicitly. (Bug#7583)
15914
15915 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15916
15917 * progmodes/octave-mod.el:
15918 * progmodes/octave-inf.el: Update maintainer.
15919
15920 2011-10-26 Chong Yidong <cyd@gnu.org>
15921
15922 * subr.el (with-wrapper-hook): Rewrite doc.
15923
15924 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
15925
15926 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
15927 filenames "/method:foo:". (Bug#9793)
15928
15929 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15930
15931 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
15932 (bug#9865).
15933
15934 2011-10-24 Glenn Morris <rgm@gnu.org>
15935
15936 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
15937
15938 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
15939
15940 * notifications.el: Add the requirement of a running D-Bus session
15941 bus to the Commentary.
15942
15943 2011-10-24 Juri Linkov <juri@jurta.org>
15944
15945 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15946 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15947 (Bug#9364)
15948
15949 2011-10-24 Juri Linkov <juri@jurta.org>
15950
15951 * info.el (Info-following-node-name-re): Add newline to the list
15952 of allowed characters for leading space. (Bug#9824)
15953
15954 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15955
15956 * progmodes/octave-inf.el (inferior-octave-mode-map):
15957 Fix C-c C-h binding.
15958 * progmodes/octave-mod.el (octave-help): Remove.
15959
15960 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
15961
15962 Sync with Tramp 2.2.3.
15963
15964 * net/tramp-cache.el (top): Pacify byte-compiler using
15965 `init-file-user' and `site-run-file'.
15966
15967 * net/trampver.el: Update release number.
15968
15969 2011-10-23 Chong Yidong <cyd@gnu.org>
15970
15971 * files.el (toggle-read-only): Remove obsolete comment about
15972 version control.
15973
15974 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15975 for toggle-read-only. Note that this hasn't called vc-next-action
15976 since 2008-05-02, though it wasn't documented at the time.
15977
15978 * vc/ediff-init.el (ediff-toggle-read-only-function):
15979 Use toggle-read-only.
15980
15981 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
15982
15983 Fix bug #9560, sporadic wrong indentation; improve instrumentation
15984 of c-parse-state.
15985
15986 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15987 correct faulty logical expression.
15988 (c-parse-state-state, c-record-parse-state-state):
15989 (c-replay-parse-state-state): New defvar/defuns.
15990 (c-debug-parse-state): Use new functions.
15991
15992 2011-10-22 Martin Rudalics <rudalics@gmx.at>
15993
15994 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
15995 last fix. Use window-in-direction correctly.
15996
15997 2011-10-21 Chong Yidong <cyd@gnu.org>
15998
15999 * progmodes/idlwave.el (idlwave-mode):
16000 * progmodes/vera-mode.el (vera-mode): No need to set
16001 require-final-newline; that's done in prog-mode.
16002 Suggested by Stefan Monnier.
16003
16004 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16005
16006 * mouse.el (mouse-drag-window-above)
16007 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16008 (mouse-drag-mode-line-1, mouse-drag-header-line)
16009 (mouse-drag-vertical-line-rightward-window): Remove.
16010 (mouse-drag-line): New function.
16011 (mouse-drag-mode-line, mouse-drag-header-line)
16012 (mouse-drag-vertical-line): Call mouse-drag-line.
16013 * window.el (window-at-side-p, windows-at-side): New functions.
16014
16015 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16016
16017 * tar-mode.el (tar-grind-file-mode):
16018 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16019
16020 2011-10-21 Chong Yidong <cyd@gnu.org>
16021
16022 * progmodes/idlwave.el (idlwave-mode):
16023 * progmodes/vera-mode.el (vera-mode):
16024 Use mode-require-final-newline.
16025
16026 2011-10-20 Glenn Morris <rgm@gnu.org>
16027
16028 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16029
16030 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16031
16032 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16033
16034 2011-10-20 Chong Yidong <cyd@gnu.org>
16035
16036 * emulation/cua-base.el (cua-mode):
16037 * mail/footnote.el (footnote-mode):
16038 * mail/mailabbrev.el (mail-abbrevs-mode):
16039 * net/xesam.el (xesam-minor-mode):
16040 * progmodes/bug-reference.el (bug-reference-mode):
16041 * progmodes/cap-words.el (capitalized-words-mode):
16042 * progmodes/compile.el (compilation-minor-mode)
16043 (compilation-shell-minor-mode):
16044 * progmodes/gud.el (gud-tooltip-mode):
16045 * progmodes/hideif.el (hide-ifdef-mode):
16046 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16047 * progmodes/subword.el (subword-mode):
16048 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16049 * progmodes/which-func.el (which-function-mode):
16050 * term/tvi970.el (tvi970-set-keypad-mode):
16051 * term/vt100.el (vt100-wide-mode):
16052 * textmodes/flyspell.el (flyspell-mode):
16053 * textmodes/ispell.el (ispell-minor-mode):
16054 * textmodes/nroff-mode.el (nroff-electric-mode):
16055 * textmodes/paragraphs.el (use-hard-newlines):
16056 * textmodes/refill.el (refill-mode):
16057 * textmodes/reftex.el (reftex-mode):
16058 * textmodes/rst.el (rst-minor-mode):
16059 * textmodes/sgml-mode.el (html-autoview-mode)
16060 (sgml-electric-tag-pair-mode):
16061 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16062 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16063 * emulation/crisp.el (crisp-mode):
16064 * emacs-lisp/eldoc.el (eldoc-mode):
16065 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16066 minor mode behavior.
16067
16068 2011-10-19 Juri Linkov <juri@jurta.org>
16069
16070 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16071 the list of hard-coded chars with escape-glyph face.
16072
16073 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16074
16075 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16076
16077 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16078
16079 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16080 running process.
16081
16082 2011-10-19 Glenn Morris <rgm@gnu.org>
16083
16084 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16085 Ignore ignored files. (Bug#9726)
16086
16087 2011-10-19 Chong Yidong <cyd@gnu.org>
16088
16089 Doc fix for minor modes, stating that an omitted argument enables
16090 the mode unconditionally when called from Lisp.
16091
16092 * abbrev.el (abbrev-mode):
16093 * allout.el (allout-mode):
16094 * autoinsert.el (auto-insert-mode):
16095 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16096 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16097 (global-auto-revert-mode):
16098 * battery.el (display-battery-mode):
16099 * composite.el (global-auto-composition-mode)
16100 (auto-composition-mode):
16101 * delsel.el (delete-selection-mode):
16102 * desktop.el (desktop-save-mode):
16103 * dired-x.el (dired-omit-mode):
16104 * dirtrack.el (dirtrack-mode):
16105 * doc-view.el (doc-view-minor-mode):
16106 * double.el (double-mode):
16107 * electric.el (electric-indent-mode, electric-pair-mode):
16108 * emacs-lock.el (emacs-lock-mode):
16109 * epa-hook.el (auto-encryption-mode):
16110 * follow.el (follow-mode):
16111 * font-core.el (font-lock-mode):
16112 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16113 * help.el (temp-buffer-resize-mode):
16114 * hilit-chg.el (highlight-changes-mode)
16115 (highlight-changes-visible-mode):
16116 * hi-lock.el (hi-lock-mode):
16117 * hl-line.el (hl-line-mode, global-hl-line-mode):
16118 * icomplete.el (icomplete-mode):
16119 * ido.el (ido-everywhere):
16120 * image-file.el (auto-image-file-mode):
16121 * image-mode.el (image-minor-mode):
16122 * iswitchb.el (iswitchb-mode):
16123 * jka-cmpr-hook.el (auto-compression-mode):
16124 * linum.el (linum-mode):
16125 * longlines.el (longlines-mode):
16126 * master.el (master-mode):
16127 * mb-depth.el (minibuffer-depth-indicate-mode):
16128 * menu-bar.el (menu-bar-mode):
16129 * minibuf-eldef.el (minibuffer-electric-default-mode):
16130 * mouse-sel.el (mouse-sel-mode):
16131 * msb.el (msb-mode):
16132 * mwheel.el (mouse-wheel-mode):
16133 * outline.el (outline-minor-mode):
16134 * paren.el (show-paren-mode):
16135 * recentf.el (recentf-mode):
16136 * reveal.el (reveal-mode, global-reveal-mode):
16137 * rfn-eshadow.el (file-name-shadow-mode):
16138 * ruler-mode.el (ruler-mode):
16139 * savehist.el (savehist-mode):
16140 * scroll-all.el (scroll-all-mode):
16141 * scroll-bar.el (scroll-bar-mode):
16142 * server.el (server-mode):
16143 * shell.el (shell-dirtrack-mode):
16144 * simple.el (auto-fill-mode, transient-mark-mode)
16145 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16146 (line-number-mode, column-number-mode, size-indication-mode)
16147 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16148 * strokes.el (strokes-mode):
16149 * time.el (display-time-mode):
16150 * t-mouse.el (gpm-mouse-mode):
16151 * tool-bar.el (tool-bar-mode):
16152 * tooltip.el (tooltip-mode):
16153 * type-break.el (type-break-mode-line-message-mode)
16154 (type-break-query-mode):
16155 * view.el (view-mode):
16156 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16157 (global-whitespace-mode, global-whitespace-newline-mode):
16158 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16159
16160 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16161 Fix autogenerated docstring.
16162
16163 2011-10-19 Juri Linkov <juri@jurta.org>
16164
16165 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16166 by checking environment variables "DESKTOP_SESSION" and
16167 "XDG_CURRENT_DESKTOP". (Bug#9779)
16168
16169 2011-10-19 Juri Linkov <juri@jurta.org>
16170
16171 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16172 (browse-url-chromium-program, browse-url-chromium-arguments):
16173 New defcustoms.
16174 (browse-url-default-browser): Check for `browse-url-chromium' and
16175 call `browse-url-chromium-program'.
16176 (browse-url-chromium): New command. (Bug#9779)
16177
16178 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16179
16180 * facemenu.el (list-colors-duplicates): On Windows, detect more
16181 duplicates by assuming that only colors matching "^System" are
16182 special "system colors". (Bug#9722)
16183
16184 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16185
16186 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16187 to distinguish the author from the committer.
16188
16189 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16190
16191 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16192
16193 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16194
16195 * international/mule.el (sgml-html-meta-auto-coding-function):
16196 Add support for detecting encoding in HTML5 specified only as
16197 <meta charset="UTF-8">. Implementation just makes http-equiv and
16198 content-type parts from HTML4 encoding string optional. (Bug#9716)
16199
16200 2011-10-18 Glenn Morris <rgm@gnu.org>
16201
16202 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16203
16204 2011-10-18 Chong Yidong <cyd@gnu.org>
16205
16206 * faces.el (cursor): Doc fix.
16207
16208 2011-10-17 Chong Yidong <cyd@gnu.org>
16209
16210 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16211
16212 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16213
16214 * dirtrack.el (dirtrack): Support shell buffers with path
16215 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16216
16217 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16218
16219 * json.el: Bump version to 1.3 and note change in History.
16220 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16221
16222 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16223
16224 * comint.el (comint-insert-input, comint-send-input)
16225 (comint-get-old-input-default, comint-backward-matching-input)
16226 (comint-next-prompt): Use nil instead of `input' for field property of
16227 past user input (bug#114).
16228
16229 * minibuffer.el (completion--replace): Inherit surrounding properties
16230 (bug#114).
16231 (minibuffer-complete-and-exit): Use it.
16232
16233 * comint.el (comint--table-subvert): Quote the all-completions output
16234 (bug#9160).
16235
16236 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16237
16238 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16239
16240 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16241 window on right of selected. (Bug#9350) Reword other window
16242 entries and separate them from frame entries.
16243
16244 2011-10-15 Glenn Morris <rgm@gnu.org>
16245
16246 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16247 Doc fixes.
16248
16249 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16250
16251 * net/network-stream.el (network-stream-open-starttls):
16252 Improve detection of failure due to lack of TLS support.
16253
16254 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16255 putting the input text in front and in bold.
16256
16257 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16258
16259 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16260
16261 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16262 empty buffer.
16263
16264 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16265 unread-command-events rather than pushing yet-another event.
16266
16267 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16268
16269 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16270 the explanation of the possible choices. Make the options passed
16271 to completing-read shorter.
16272
16273 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16274
16275 * textmodes/flyspell.el (flyspell-large-region): Make sure
16276 extended character mode is used if defined (Bug#1339).
16277
16278 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16279
16280 * simple.el (what-cursor-position): Fix the display of the
16281 character info for LRE, LRO, RLE, and RLO characters by appending
16282 an invisible PDF.
16283
16284 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16285
16286 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16287 even in case of error; add debug spec; simplify data flow.
16288 (with-timeout-handler): Remove.
16289
16290 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16291
16292 Fix Bug#6019, Bug#9315.
16293
16294 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16295 complete `buffer-file-name', the local file name part could look
16296 remotely (for example on VMS).
16297
16298 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16299 `tramp-run-real-handler'.
16300 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16301 already quoted by '"'.
16302
16303 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16304 Let `file-name-handler-alist' be nil, the local file name part
16305 could look remotely (for example on VMS).
16306
16307 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16308
16309 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16310 from here...
16311 (flyspell-post-command-hook): ...to here.
16312
16313 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16314
16315 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16316 if not needed.
16317 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16318 using completion. Protect against "slow" callers.
16319 Remove the "message hack".
16320
16321 2011-10-11 Juri Linkov <juri@jurta.org>
16322
16323 * isearch.el (isearch-lazy-highlight-word): New variable.
16324 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16325 Use it. (Bug#9727)
16326
16327 2011-10-11 Glenn Morris <rgm@gnu.org>
16328
16329 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16330 like f90-previous-statement does.
16331
16332 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16333
16334 * eshell/eshell.el (eshell-command): History should be saved
16335 only in interactive use, to avoid error.
16336
16337 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16338
16339 * minibuffer.el (completion-file-name-table): Fix last change,
16340 i.e. ignore normal errors but not the other ones.
16341
16342 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16343
16344 * window.el (special-display-buffer-names)
16345 (special-display-regexps): Remove some remnants of earlier
16346 changes from doc-strings.
16347 (quit-windows-on): New function.
16348
16349 * vc/vc.el (vc-revert, vc-rollback):
16350 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16351 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
16352 (Bug#6183) (Bug#7074) (Bug#7447)
16353
16354 2011-10-09 Martin Rudalics <rudalics@gmx.at>
16355
16356 * window.el (frame-auto-hide-function): Add version tag.
16357 (Bug#9699)
16358
16359 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
16360
16361 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16362 condition.
16363
16364 2011-10-09 Leo Liu <sdl.web@gmail.com>
16365
16366 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16367 (Bug#9701)
16368
16369 2011-10-08 Glenn Morris <rgm@gnu.org>
16370
16371 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16372 before the first code statement zero indent. (Bug#9690)
16373
16374 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
16375
16376 * simple.el (count-words-region): Always count in the region.
16377 Report the number of lines and characters too.
16378 (count-words): New command, which counts in the buffer if the
16379 region is inactive, as count-words-region used to.
16380 (count-words--message): New function. Handle plurals.
16381 (count-lines-region): Make it an alias for count-words-region.
16382
16383 * bindings.el (esc-map): Replace count-lines-region with
16384 count-words-region.
16385
16386 2011-10-08 Martin Rudalics <rudalics@gmx.at>
16387
16388 * window.el (window--delete): Delete dedicated frame
16389 unconditionally when argument KILL is non-nil. (Bug#9699)
16390 (switch-to-buffer): Fix doc-string typo.
16391
16392 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16393
16394 * eshell/eshell.el (eshell-command): Avoid using hooks.
16395
16396 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
16397
16398 * bindings.el ([M-left],[M-right]): Bind to left-word and
16399 right-word respectively.
16400
16401 2011-10-07 Glenn Morris <rgm@gnu.org>
16402
16403 * cus-start.el (debug-on-quit): Fix custom type.
16404
16405 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16406
16407 * subr.el (define-key-after): Clarify that the function is not
16408 useful for non-menu keymaps.
16409
16410 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16411
16412 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16413
16414 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16415 in current minibuffer (Fix bug with recursive minibuffers).
16416
16417 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
16418
16419 * progmodes/gdb-mi.el (gdb): Doc fix.
16420
16421 2011-10-05 Martin Rudalics <rudalics@gmx.at>
16422
16423 * window.el (frame-auto-hide-function): New option replacing
16424 frame-auto-delete. Suggested by Stefan Monnier.
16425 (window--delete): Call frame-auto-hide-function instead of
16426 investigating frame-auto-delete.
16427 (window-point-1, set-window-point-1): New functions.
16428 (window-in-direction, record-window-buffer, window-state-get-1)
16429 (display-buffer-record-window): Use window-point-1 instead of
16430 window-point.
16431 (set-window-buffer-start-and-point): Use set-window-point-1.
16432
16433 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16434
16435 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16436
16437 2011-10-05 Glenn Morris <rgm@gnu.org>
16438
16439 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16440 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16441
16442 2011-10-05 Leo Liu <sdl.web@gmail.com>
16443
16444 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16445 works with buffer object.
16446
16447 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16448
16449 * mpc.el (mpc-tool-bar-map): Add labels.
16450
16451 2011-10-04 Glenn Morris <rgm@gnu.org>
16452
16453 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16454
16455 2011-10-04 Martin Rudalics <rudalics@gmx.at>
16456
16457 * window.el (window--delete): New function.
16458 (frame-auto-delete): Resuscitate option.
16459 (bury-buffer, replace-buffer-in-windows)
16460 (quit-window): Rewrite using window--delete.
16461 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16462 Pass display-buffer-mark-dedicated to window--display-buffer-2
16463 (Bug#9639).
16464
16465 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16466
16467 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16468 returns a list (bug#9554). Add remote file name completion.
16469 * comint.el (comint--table-subvert): Curry and get quote&unquote
16470 functions as arguments.
16471 (comint--complete-file-name-data): Adjust call accordingly.
16472 * pcomplete.el (pcomplete--table-subvert): Remove.
16473 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16474
16475 * minibuffer.el (completion-table-case-fold): Use currying.
16476 (completion--styles-type, completion--cycling-threshold-type):
16477 New constants.
16478 (completion-styles, completion-category-overrides)
16479 (completion-cycle-threshold): Use them.
16480 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16481 completion-table-case-fold.
16482
16483 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
16484
16485 * minibuffer.el (completion-category-overrides): Fix type of styles
16486 and add more user friendly tags (bug#9660).
16487
16488 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16489
16490 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16491 (mule-input-method-string): New widget.
16492 (default-input-method, language-info-custom-alist): Use it.
16493
16494 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16495
16496 * pcomplete.el: Require comint.
16497 (pcomplete--common-suffix): Remove.
16498 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16499 (pcomplete--table-subvert): Sync with comint--table-subvert.
16500 (pcomplete--entries): Use comint-completion-file-name-table.
16501 * comint.el (comint-unquote-filename): Simplify.
16502 (comint-completion-file-name-table): New function (bug#9616).
16503 (comint--complete-file-name-data): Use it.
16504
16505 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16506 (pcmpl-gnu-tar-buffer): Remove.
16507 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
16508 around. Make sure pcomplete-suffix-list is only changed temporarily.
16509 Don't look inside the tar's file if it's too large.
16510
16511 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
16512
16513 * cus-edit.el (custom-mode-map):
16514 * epa.el (epa-key-list-mode-map):
16515 * man.el (Man-mode-map):
16516 * startup.el (splash-screen-keymap):
16517 * simple.el (special-mode-map): Use scroll-up-command and
16518 scroll-down-command.
16519
16520 * progmodes/idlw-help.el (idlwave-help-mode-map):
16521 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16522 * net/newst-plainview.el (newsticker-mode-map):
16523 * emulation/ws-mode.el (wordstar-mode-map):
16524 * emulation/vi.el (vi-com-map):
16525 * calc/calc-graph.el (calc-graph-show-dumb):
16526 * term/sun.el (terminal-init-sun):
16527 * term/ns-win.el (global-map):
16528 * progmodes/grep.el (grep-mode-map):
16529 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16530 * mail/rmail.el (rmail-mode-map):
16531 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16532
16533 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16534 custom-safe-themes as special.
16535
16536 2011-10-01 Julien Danjou <julien@danjou.info>
16537
16538 * notifications.el (notifications-notify): Fix docstring.
16539
16540 2011-10-01 Per Starbäck <per@starback.se>
16541
16542 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16543
16544 2011-09-30 Martin Rudalics <rudalics@gmx.at>
16545
16546 * startup.el (command-line-1): Fix last fix by inserting
16547 initial-scratch-message into *scratch* before displaying it.
16548 (Bug#9605) and (Bug#9636)
16549
16550 2011-09-29 Eli Zaretskii <eliz@gnu.org>
16551
16552 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16553 window is hscrolled, move by logical lines. (Bug#9607)
16554 (line-move-visual): Update the doc string to the above effect.
16555
16556 2011-09-29 Martin Rudalics <rudalics@gmx.at>
16557
16558 * window.el (display-buffer-record-window): When WINDOW is the
16559 selected window use `point' instead of `window-point'. (Bug#9626)
16560
16561 * startup.el (command-line-1): Use insert-before-markers when
16562 inserting initial-scratch-message. (Bug#9605)
16563
16564 * help.el (help-window): Remove variable.
16565
16566 2011-09-29 Glenn Morris <rgm@gnu.org>
16567
16568 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16569
16570 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
16571
16572 * descr-text.el (describe-char-categories): Accept category
16573 descriptions more than one line long.
16574
16575 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16576
16577 * simple.el (delete-trailing-whitespace): Fix last change.
16578
16579 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16580 Don't confuse "y => 3" as the beginning of a `y' operation.
16581
16582 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16583 object has more than 4 slots (bug#9613).
16584
16585 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
16586
16587 * subr.el (with-output-to-temp-buffer):
16588 * net/quickurl.el (quickurl, quickurl-browse-url):
16589 Fix typos in docstrings.
16590
16591 2011-09-27 Eli Zaretskii <eliz@gnu.org>
16592
16593 * minibuffer.el (completion-styles)
16594 (completion-category-overrides): Cross reference each other in doc
16595 strings.
16596
16597 2011-09-27 Glenn Morris <rgm@gnu.org>
16598
16599 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16600 to split-string. (Bug#9606)
16601
16602 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16603
16604 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16605 (bug#9615).
16606
16607 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
16608
16609 * emacs-lisp/package.el (list-packages): Fix echo area message.
16610
16611 2011-09-27 Leo Liu <sdl.web@gmail.com>
16612
16613 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16614
16615 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
16616
16617 * net/dbus.el (dbus-unregister-object): Don't release services for
16618 registered signals. (Bug#9581)
16619
16620 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
16621
16622 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16623 function that picks between cfengine 2 and 3 support
16624 automatically. Update docs accordingly.
16625
16626 2011-09-22 Kenichi Handa <handa@m17n.org>
16627
16628 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16629 ZERO.
16630 (indian-itrans-v5-table-for-tamil): New variable.
16631 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16632
16633 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
16634
16635 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16636 that's true if the current command involved collapsing of text.
16637 It's reset to false at the beginning of the next command.
16638 (allout-post-command-business): Move the cursor to the beginning
16639 of entry if the cursor is hidden and collapsing activity just
16640 happened.
16641
16642 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
16643
16644 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16645 tracking (Bug#9541).
16646
16647 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
16648
16649 * net/newst-reader.el (newsticker-html-renderer)
16650 (newsticker-show-news): Automatically load html rendering package
16651 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
16652 because w3m-fill-column is let-bound" and the error "Symbol's value
16653 as variable is void: w3m-fill-column".
16654
16655 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
16656
16657 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16658 Release services only if they are defined. (Bug#9581)
16659
16660 2011-09-23 Richard Stallman <rms@gnu.org>
16661
16662 * textmodes/paragraphs.el (forward-sentence): For backwards case,
16663 distinguish start of paragraph from start of its text.
16664
16665 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16666
16667 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16668 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16669 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16670
16671 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16672
16673 * international/mule-diag.el (mule-diag): Insert a newline after
16674 each fontset description.
16675
16676 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16677
16678 * simple.el (delete-trailing-whitespace):
16679 Document last change; simplify.
16680
16681 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16682
16683 * simple.el (delete-trailing-whitespace): Also delete
16684 extra newlines at the end of the buffer.
16685
16686 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16687 (picture-newline): Use forward-line so as to ignore fields.
16688
16689 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16690
16691 * subr.el (with-wrapper-hook): Fix edebug spec.
16692
16693 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16694
16695 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16696 (bug#4538).
16697
16698 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
16699
16700 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16701 Fix nasty bug using wrong cached values.
16702
16703 2011-09-23 Alan Mackenzie <acm@muc.de>
16704
16705 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16706
16707 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
16708
16709 * window.el (pop-to-buffer): Ensure right window is selected if we
16710 chose another frame.
16711
16712 2011-09-22 Eli Zaretskii <eliz@gnu.org>
16713
16714 * simple.el (what-cursor-position): Use get-char-property-change
16715 and next-single-char-property-change, to be able to show display
16716 properties that come from overlays as well as text properties.
16717
16718 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
16719
16720 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16721
16722 * cmuscheme.el (run-scheme, switch-to-scheme):
16723 * cus-edit.el (customize-group, custom-buffer-create)
16724 (customize-browse):
16725 * info.el (info):
16726 * shell.el (shell):
16727 * mail/sendmail.el (mail):
16728 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16729
16730 2011-09-22 Richard Stallman <rms@gnu.org>
16731
16732 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16733 move back only to line beg, don't move back over blank lines.
16734
16735 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
16736
16737 * files.el (copy-directory): Set directory attributes only in case
16738 they could be retrieved from the source directory. (Bug#9565)
16739
16740 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
16741
16742 * progmodes/hideshow.el (hs-looking-at-block-start-p)
16743 (hs-find-block-beginning, hs-hide-level-recursive):
16744 Ignore strings as well as comments. (Bug#9502)
16745
16746 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
16747
16748 * progmodes/sql.el (sql-comint-postgres):
16749 Convert port number to a string. (Bug#9566)
16750
16751 2011-09-22 Martin Rudalics <rudalics@gmx.at>
16752
16753 * window.el (quit-window): Undedicate window when switching to
16754 previous buffer. Reported by Thierry Volpiatto
16755 <thierry.volpiatto@gmail.com>.
16756 (special-display-popup-frame): When popping up a new frame reset
16757 its previous buffers to nil. Simplify code.
16758
16759 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
16760
16761 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16762 and process filter, as done also in `shell-command'.
16763
16764 2011-09-21 Martin Rudalics <rudalics@gmx.at>
16765
16766 * window.el (set-window-buffer-start-and-point):
16767 Call set-window-start with NOFORCE argument t.
16768 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16769 (quit-window): Reword doc-string. Handle new format of
16770 quit-restore parameter. Don't delete window if it has a
16771 previous buffer we can show instead of the present one.
16772 (display-buffer-record-window): Rewrite using a new format for
16773 the quit-restore window parameter
16774 (special-display-popup-frame, display-buffer-same-window)
16775 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16776 (display-buffer-pop-up-window, display-buffer-use-some-window):
16777 Adapt symbol passed to display-buffer-record-window.
16778 * help.el (help-window-setup): Handle new format of quit-restore
16779 parameter.
16780
16781 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16782
16783 * faces.el (face-list): Fix docstring (bug#9564).
16784
16785 * window.el (display-buffer--action-function-custom-type):
16786 Don't include internal functions in the Custom interface.
16787
16788 2011-09-20 Juri Linkov <juri@jurta.org>
16789
16790 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16791 (Info-forward-node, Info-backward-node, Info-next-preorder)
16792 (Info-last-preorder): Use it. (Bug#9528)
16793
16794 2011-09-20 Juri Linkov <juri@jurta.org>
16795
16796 * info.el (Info-last-preorder): Visit last menu item only when
16797 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16798
16799 2011-09-20 Julien Danjou <julien@danjou.info>
16800
16801 * password-cache.el (password-cache-remove): Remove entries even if the
16802 value is nil, so that password with a nil value (negative caching) is
16803 possible to invalidate.
16804
16805 2011-09-20 Lawrence Mitchell <wence@gmx.li>
16806
16807 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16808 all whitespace around breakpoint. (Bug#9553)
16809 (f90-find-breakpoint): Only break at whitespace inside a comment.
16810
16811 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16812
16813 * minibuffer.el (completion-file-name-table): Keep track of errors.
16814 (completion-table-with-predicate): Handle the case where pred1 is nil.
16815 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16816
16817 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16818
16819 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16820 (debugger-return-value): Signal an error if the debugging context does
16821 not await any return value.
16822
16823 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16824 * image-mode.el (image-toggle-display-text)
16825 (image-toggle-display-image): Stay away from evil `intangible'.
16826
16827 2011-09-19 Leo Liu <sdl.web@gmail.com>
16828
16829 * replace.el (occur-revert-arguments): Make it permanent-local.
16830 (occur-mode): Don't call font-lock-defontify.
16831
16832 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
16833
16834 * net/ldap.el (ldap-search-internal): Don't push empty search
16835 result (Bug#9508).
16836
16837 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16838
16839 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16840
16841 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
16842
16843 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16844 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16845
16846 2011-09-18 Juri Linkov <juri@jurta.org>
16847
16848 * buff-menu.el (Buffer-menu-mode-map):
16849 * dired.el (dired-mode-map):
16850 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16851 (lisp-interaction-mode-map):
16852 * emacs-lisp/package.el (package-menu-mode-map):
16853 * epa.el (epa-key-list-mode-map):
16854 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16855 (menu-bar-options-menu):
16856 * outline.el (outline-mode-menu-bar-map):
16857 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16858 * vc/vc-dir.el (vc-dir-menu-map):
16859 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16860 Capitalize non-function content words in menu item strings.
16861
16862 * dired.el (dired-mode-map): Add menu item for
16863 `image-dired-dired-toggle-marked-thumbs'.
16864
16865 2011-09-18 Juri Linkov <juri@jurta.org>
16866
16867 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16868 to `isearch-case-fold-search' and restore its original value
16869 after the `isearch-mode' call.
16870
16871 2011-09-18 Juri Linkov <juri@jurta.org>
16872
16873 * progmodes/grep.el (grep-process-setup): Don't check code for 1
16874 because `zgrep' returns 1 for successful matches (bug#9226).
16875
16876 2011-09-18 Juri Linkov <juri@jurta.org>
16877
16878 * info.el (Info-extract-menu-node-name): Check the second match
16879 for empty string (second test-case of bug#9528).
16880 (Info-last-preorder): Let-bind `Info-history' to nil to not add
16881 intermediate nodes to the history (first test-case of bug#9528).
16882
16883 2011-09-18 Juri Linkov <juri@jurta.org>
16884
16885 * info.el (Info-mode-syntax-table): New variable.
16886 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
16887
16888 2011-09-18 Juri Linkov <juri@jurta.org>
16889
16890 * info.el (Info-file-supports-index-cookies):
16891 Increment line-beginning-position's arg from 3 to 4 because makeinfo
16892 outputs one more line for long file names (bug#4142).
16893
16894 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
16895
16896 * newcomment.el (comment-normalize-vars): If prompting for
16897 comment-start, set comment-start-skip too (Bug#8424).
16898
16899 2011-09-18 Johan Bockgård <bojohan@gnu.org>
16900
16901 * icomplete.el: Fix previous fix of Bug#5849.
16902 (icomplete-mode): Don't set completion-show-inline-help.
16903 (icomplete-minibuffer-setup): Set completion-show-inline-help
16904 locally during icompletion.
16905
16906 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
16907
16908 * woman.el (woman2-process-escapes): Don't delete unrecognized
16909 escapes (Bug#7843).
16910
16911 * files.el (inhibit-first-line-modes-regexps): Add image files.
16912 (hack-local-variables-prop-line): Return nil for malformed
16913 prop-lines (Bug#9044).
16914
16915 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
16916
16917 * net/tramp.el (top): Don't require 'shell.
16918 (tramp-methods): Fix docstring.
16919 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
16920 Return complete remote file name. Handle "smb" case.
16921 Use `tramp-tmpdir', if defined for the respective method.
16922 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
16923
16924 * net/tramp-compat.el (top): Require 'shell.
16925
16926 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16927 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
16928 `tramp-current-host'.
16929 (tramp-get-remote-tmpdir): Remove.
16930
16931 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
16932 `tramp-tmpdir' entries.
16933 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
16934 (tramp-smb-handle-file-attributes): Ignore errors.
16935 (tramp-smb-wait-for-output): Check also for process end.
16936
16937 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
16938
16939 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
16940 when sending QUIT (bug#9312).
16941
16942 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
16943
16944 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16945 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16946 occur-mode-display-occurrence.
16947 (occur-edit-mode): Add usage message.
16948 (occur-cease-edit): New command.
16949 (occur-after-change-function): Use text properties to find the
16950 position of the prefix text.
16951 (occur-engine): Set stickiness of prefix text properties.
16952
16953 2011-09-17 Glenn Morris <rgm@gnu.org>
16954
16955 * progmodes/etags.el (complete-tag):
16956 Fix call to completion-in-region. (Bug#9526)
16957
16958 2011-09-17 Juri Linkov <juri@jurta.org>
16959
16960 * textmodes/ispell.el (ispell-word): Add to the error message
16961 the word, ispell program name and current dictionary (bug#9121).
16962 (ispell-tex-arg-end): Capitalize "error" in the error message.
16963
16964 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
16965
16966 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16967 check. (Bug#4251)
16968
16969 2011-09-17 Juri Linkov <juri@jurta.org>
16970
16971 * window.el (window-safe-min-height, window-safe-min-width):
16972 Fix typos (followup to bug#9522).
16973
16974 2011-09-17 Sven Joachim <svenjoac@gmx.de>
16975
16976 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16977
16978 2011-09-16 Eli Zaretskii <eliz@gnu.org>
16979
16980 * simple.el (line-move): If goal-column is set, move by logical
16981 lines, not by display lines. (Bug#971)
16982 (next-line, previous-line, goal-column, line-move-visual): Doc fix
16983 to reflect the above change.
16984
16985 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16986
16987 * image.el (imagemagick-register-types): Use regexp-opt.
16988
16989 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
16990
16991 * window.el (display-buffer-base-action): Rename from
16992 display-buffer-default-action. Make default value empty.
16993 (display-buffer-overriding-action): Convert to defvar.
16994 (display-buffer-fallback-action): New var.
16995
16996 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
16997
16998 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16999 declaration.
17000 (package--add-to-archive-contents): If there is a duplicate entry
17001 with an older version, remove it.
17002 (package-menu-mark-delete, package-menu-mark-install)
17003 (package-menu-mark-unmark): Make unused args optional.
17004 (package-menu-mark-obsolete-for-deletion):
17005 Use package-menu-get-status instead of a regexp search.
17006 (package-menu-get-status): Use tabulated-list-entry.
17007 (package-menu-mark-upgrades): New command.
17008 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17009 (package-menu-execute): Do installation before deletion.
17010 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17011 instead of checking major-mode.
17012 (package-menu--find-upgrades): New function.
17013
17014 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17015
17016 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17017 passwords in the log buffer.
17018 (smtpmail-process-filter): Update the process marker so that the
17019 "broken by peer" status message is inserted in the right place.
17020
17021 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17022
17023 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17024 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17025 bibtex-completion-at-point-function.
17026 (bibtex-completion-at-point-function): Use them.
17027
17028 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17029
17030 * mpc.el (mpc-constraints-tag-lookup): New function.
17031 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17032 also to browser "album|playlist".
17033
17034 2011-09-14 Juri Linkov <juri@jurta.org>
17035
17036 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17037 (isearch-edit-string): Use length of `isearch-string' when
17038 `isearch-fail-pos' returns nil.
17039 (isearch-message): Remove duplicate code and call
17040 `isearch-fail-pos' with arg `t'.
17041
17042 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17043
17044 * replace.el (occur-mode-goto-occurrence): Don't force using other
17045 window (Bug#9499).
17046
17047 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17048
17049 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17050
17051 * window.el (display-buffer-window): Remove.
17052 (display-buffer-record-window): Use help-setup window parameter
17053 instead of variable display-buffer-window.
17054 (display-buffer-function, special-display-buffer-names)
17055 (special-display-function): Mention help-setup parameter instead
17056 of display-buffer-window in doc-string.
17057 * help.el (help-window-setup): New argument help-window.
17058 Use help-window-setup parameter instead of display-buffer-window.
17059 Reword some messages.
17060 (with-help-window): Pass window used for displaying the buffer
17061 to help-window-setup. Don't set display-buffer-window.
17062
17063 2011-09-13 Glenn Morris <rgm@gnu.org>
17064
17065 * emacs-lisp/debug.el (debugger-make-xrefs):
17066 Preserve point. (Bug#9462)
17067
17068 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17069
17070 * window.el (window-deletable-p): Use next-frame.
17071
17072 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17073
17074 * window.el (window-auto-delete): Remove.
17075 (window-deletable-p): Remove argument FORCE. Don't deal with
17076 dedication and previous buffers.
17077 (switch-to-prev-buffer): Don't delete window.
17078 (delete-windows-on): Delete a window's frame if and only if the
17079 window is dedicated.
17080 (replace-buffer-in-windows): Delete buffer's window or frame if
17081 and only if window is dedicated.
17082 (quit-window): Handle quit-restore as before last change.
17083 (bury-buffer): Delete window only if window-deletable-p returns t.
17084
17085 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17086
17087 * window.el (window-deletable-p): Never delete the last frame on a
17088 given terminal.
17089
17090 2011-09-13 Glenn Morris <rgm@gnu.org>
17091
17092 * help.el (describe-key-briefly): Copy previous standard-output change.
17093
17094 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17095
17096 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17097
17098 2011-09-13 Glenn Morris <rgm@gnu.org>
17099
17100 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17101 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17102
17103 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17104
17105 * dired-aux.el (dired-mark-read-string): Don't return default
17106 value on empty input (Bug#9361).
17107 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17108 Omit initial minibuffer contents.
17109 (dired-do-chmod): Signal an error on empty input.
17110 (dired-mark-read-string): Don't return default on empty input.
17111
17112 * files.el (file-modes-symbolic-to-number): Doc fix.
17113
17114 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17115
17116 * international/mule-cmds.el (ucs-completions): Remove.
17117 (read-char-by-name): Use complete-with-action instead; add metadata.
17118
17119 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17120
17121 * window.el (display-buffer--action-function-custom-type)
17122 (display-buffer--action-custom-type): New vars.
17123 (display-buffer-alist, display-buffer-default-action)
17124 (display-buffer-overriding-action): Add defcustom types.
17125
17126 * frame.el (delete-other-frames): Doc fix (Bug#276).
17127
17128 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17129
17130 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17131
17132 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17133
17134 Change modes that used same-window-* vars to use switch-to-buffer.
17135
17136 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17137 Use switch-to-buffer.
17138
17139 * cus-edit.el (customize-group, custom-buffer-create)
17140 (customize-browse, custom-buffer-create-other-window):
17141 Use switch-to-buffer or switch-to-buffer-other-window.
17142
17143 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17144 (Info-prev, Info-up, Info-speedbar-goto-node)
17145 (info-display-manual): Use switch-to-buffer.
17146 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17147
17148 * mail/sendmail.el (mail): Use switch-to-buffer.
17149 (mail-recover): Use switch-to-buffer-other-window.
17150
17151 * cmuscheme.el (run-scheme, switch-to-scheme):
17152 * ielm.el (ielm):
17153 * shell.el (shell):
17154 * net/rlogin.el (rlogin):
17155 * net/telnet.el (telnet, rsh):
17156 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17157
17158 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17159
17160 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17161
17162 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17163
17164 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17165 so don't mention it (bug#9301).
17166 (dired-sort-toggle-or-edit): Clarify string further.
17167
17168 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17169 match `x', `w32' and `ns', like the manual says (bug#9029).
17170
17171 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17172 (process-kill-buffer-query-function): Mention the buffer name in
17173 the query.
17174
17175 * image-mode.el (image-next-line): The line parameter is mandatory
17176 (bug#9258).
17177
17178 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17179 which can be useful (bug#9301).
17180
17181 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17182
17183 * subr.el (match-string): Mention that the current buffer should
17184 be the same as the search was done in (bug#9282).
17185
17186 * facemenu.el: Disable the remove-* commands if the mark isn't
17187 active (bug#9162).
17188
17189 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17190
17191 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17192 of display-buffer.
17193 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17194
17195 * replace.el (occur-mode-goto-occurrence)
17196 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17197 and display-buffer.
17198
17199 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17200 display-buffer.
17201
17202 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17203 special-display and same-window variables.
17204 (mail-other-window): Use switch-to-buffer-other-window.
17205 (mail-other-frame): USe switch-to-buffer-other-frame.
17206
17207 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17208 Use display-buffer-other-frame.
17209 (gdb-display-gdb-buffer): Use pop-to-buffer.
17210
17211 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17212
17213 * progmodes/python.el: Don't set same-window-buffer-names.
17214
17215 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17216
17217 * window.el (display-buffer-alist): Add *Python*.
17218
17219 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17220
17221 * window.el (display-buffer-alist): Add entry for buffers
17222 previously handled same-window-*.
17223 (display-buffer-alist, display-buffer-default-action)
17224 (display-buffer-overriding-action): Mark as risky.
17225 (display-buffer-alist): Document action function changes.
17226 (display-buffer--same-window-action)
17227 (display-buffer--other-frame-action): New variables.
17228 (switch-to-buffer, display-buffer-other-frame): Use them.
17229 (display-buffer): Rename reuse-frame entry to reusable-frames.
17230 (display-buffer-reuse-selected-window): Function deleted.
17231 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17232 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17233 (display-buffer-special): New function.
17234 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17235 display-buffer-reuse-or-pop-window. Split off special-display
17236 part into display-buffer-special.
17237 (display-buffer-use-some-window): Don't perform any special
17238 pop-up-frames handling.
17239 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17240 (display-buffer--maybe-same-window): Rename from
17241 display-buffer-maybe-same-window.
17242
17243 * info.el: Don't set same-window-regexps.
17244 (info-setup): New function.
17245 (info-other-window, info): Call it.
17246
17247 * cus-edit.el: Don't set same-window-regexps.
17248 (customize-group): New argument.
17249 (customize-group-other-window): Use it.
17250 (customize-face, customize-face-other-window): Likewise.
17251 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17252
17253 * net/rlogin.el:
17254 * net/telnet.el:
17255 * progmodes/gud.el: Don't set same-window-regexps.
17256
17257 * cmuscheme.el:
17258 * ielm.el:
17259 * shell.el:
17260 * mail/sendmail.el:
17261 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17262
17263 2011-09-10 Juri Linkov <juri@jurta.org>
17264
17265 * isearch.el (isearch-edit-string): Remove obsolete mention of
17266 `C-w' (`isearch-yank-word-or-char') from docstring.
17267 (isearch-query-replace): Fix typo in docstring (bug#9466).
17268
17269 2011-09-10 Juri Linkov <juri@jurta.org>
17270
17271 * paren.el (show-paren-function): Don't show escaped parens.
17272 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17273
17274 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17275
17276 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17277 (mm-default-file-encoding): Remove autoload forms, they are
17278 replaced with autoload cookies in mml.el and mm-encode.el.
17279 (mail-add-attachment): New command.
17280 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17281 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17282 the doc string.
17283 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17284
17285 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17286
17287 * simple.el (count-words-region): Use buffer if there's no region
17288 (bug#9429).
17289
17290 2011-09-09 Juri Linkov <juri@jurta.org>
17291
17292 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17293 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17294 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17295
17296 2011-09-09 Alan Mackenzie <acm@muc.de>
17297
17298 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17299 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17300
17301 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17302
17303 Fix for Savannah bug#9392.
17304 * simple.el (mail-encode-mml): New defvar.
17305
17306 * mail/rmail.el (mail-encode-mml): Add a defvar.
17307 (rmail-enable-mime-composing): Default to t.
17308 (rmail-forward): Use MIME method of forwarding only if both
17309 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17310 Set mail-encode-mml non-nil if the MIME method was used.
17311
17312 * mail/sendmail.el (mml-to-mime): Add autoload form.
17313 (mail-encode-mml): Add a defvar.
17314 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17315 to nil.
17316 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17317 message through mml-to-mime, and reset mail-encode-mml to nil.
17318
17319 2011-09-09 Glenn Morris <rgm@gnu.org>
17320
17321 * woman.el (woman-if-body): When processing an .el block,
17322 do not delete the next .el block as well. (Bug#9447)
17323 (woman-special-characters): Add oq, cq, and hy characters.
17324
17325 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17326
17327 * window.el (window-deletable-p): Make sure window is live before
17328 invoking window-prev-buffers.
17329
17330 2011-09-08 Leo Liu <sdl.web@gmail.com>
17331
17332 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17333
17334 2011-09-08 Juri Linkov <juri@jurta.org>
17335
17336 * progmodes/compile.el (compilation-environment): Make it
17337 a defcustom (bug#8340).
17338
17339 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17340
17341 * window.el (frame-auto-delete): Rename to window-auto-delete.
17342 Make it control auto-deletion of windows and/or frames.
17343 (window-deletable-p): New argument FORCE. Rewrite conditions
17344 for deleting window/frame. (Bug#9419)
17345 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17346 Rewrite handling of case when window/frame can be deleted.
17347 (delete-windows-on): Call window-deletable-p with new FORCE
17348 argument t. (Bug#9456)
17349
17350 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
17351
17352 * help-mode.el (help-mode): Restore autoload.
17353
17354 2011-09-07 Juri Linkov <juri@jurta.org>
17355
17356 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17357 `compilation-environment'. Set buffer-local
17358 `compilation-environment' to `thisenv' later after (funcall mode).
17359 (Bug#8340)
17360
17361 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17362 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17363 instead of replacing its value. (Bug#8340)
17364
17365 2011-09-07 Juri Linkov <juri@jurta.org>
17366
17367 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17368 based on text properties put by `grep-filter' instead of matching
17369 escape sequences.
17370 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17371 to the value of `grep-error-screen-columns' (bug#9438).
17372
17373 2011-09-07 Juri Linkov <juri@jurta.org>
17374
17375 * simple.el (next-error-highlight, next-error-highlight-no-select):
17376 Doc fix (bug#9432).
17377
17378 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17379
17380 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17381 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17382
17383 2011-09-07 Leo Liu <sdl.web@gmail.com>
17384
17385 * net/rcirc.el (rcirc-mode): Conditionally initialize
17386 rcirc-input-ring.
17387
17388 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17389
17390 * emacs-lisp/find-func.el (find-function-C-source): Only set
17391 find-function-C-source-directory after checking that we found a source
17392 file there (bug#9440).
17393
17394 2011-09-06 Alan Mackenzie <acm@muc.de>
17395
17396 * isearch.el (isearch-other-meta-char): Wherever a key list is
17397 unread, "unread" the prefix arg, too. This fixes bug #8901.
17398
17399 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17400
17401 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17402
17403 2011-09-05 Juri Linkov <juri@jurta.org>
17404
17405 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17406
17407 2011-09-05 Juri Linkov <juri@jurta.org>
17408
17409 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17410 keeping point where processing of grep matches begins, and
17411 continue to delete remaining escape sequences from the same point.
17412 (grep-filter): Make leading zero optional in "0?1;31m" because
17413 git-grep emits "\033[1;31m" escape sequences unlike expected
17414 "\033[01;31m" as GNU Grep does (bug#9408).
17415 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17416
17417 2011-09-05 Juri Linkov <juri@jurta.org>
17418
17419 * subr.el (y-or-n-p): Capitalize "yes".
17420
17421 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
17422
17423 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17424 `tramp-cache-unload-hook' where appropriate.
17425 (tramp-methods): Rename `tramp-remote-sh' to
17426 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17427 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17428
17429 * net/tramp-sh.el (top): Don't require 'shell.
17430 (tramp-methods): Add `tramp-remote-shell' and
17431 `tramp-remote-shell-args' entries.
17432 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17433 (tramp-sh-handle-shell-command): Remove.
17434 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17435 Use `tramp-remote-shell'.
17436
17437 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
17438
17439 * mail/sendmail.el (sendmail-query-once-function): Delete.
17440 (sendmail-query-once): Save directly to send-mail-function.
17441 Update message-send-mail-function too.
17442
17443 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17444
17445 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17446
17447 * progmodes/python.el (python-mode-map): Use correct function to
17448 start python interpreter from menu-bar (as reported by Geert
17449 Kloosterman).
17450 (inferior-python-mode-map): Fix typo.
17451 (python-shell-map): Remove.
17452
17453 2011-09-03 Deniz Dogan <deniz@dogan.se>
17454
17455 * net/rcirc.el (rcirc-print): Simplify code for
17456 rcirc-scroll-show-maximum-output. There is no need to walk
17457 through all windows to find the right one.
17458
17459 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17460
17461 * help.el (help-return-method): Doc fix.
17462
17463 2011-09-03 Martin Rudalics <rudalics@gmx.at>
17464
17465 * window.el (window-deletable-p): Don't return a non-nil value
17466 when there's a buffer that was shown in the window before.
17467 (Bug#9419)
17468 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17469 Set window's previous buffers to nil.
17470
17471 2011-09-03 Eli Zaretskii <eliz@gnu.org>
17472
17473 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17474 newline before and after the tag line, so it doesn't interfere
17475 with determining the paragraph direction of bidirectional text.
17476
17477 2011-09-03 Leo Liu <sdl.web@gmail.com>
17478
17479 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17480
17481 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17482
17483 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17484 (pop-to-buffer): Change interactive spec. Pass second argument
17485 directly to display-buffer.
17486 (display-buffer): Fix interactive spec. Use functionp to
17487 distinguish between a function and a list of functions.
17488
17489 * abbrev.el (edit-abbrevs):
17490 * arc-mode.el (archive-extract):
17491 * autoinsert.el (auto-insert):
17492 * bookmark.el (bookmark-bmenu-list):
17493 * files.el (find-file):
17494 * view.el (view-buffer):
17495 * progmodes/compile.el (compilation-goto-locus):
17496 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17497
17498 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17499
17500 * window.el (display-buffer-alist): Doc fix.
17501 (display-buffer): Add docstring. Don't treat
17502 display-buffer-default specially.
17503 (display-buffer-reuse-selected-window)
17504 (display-buffer-same-window, display-buffer-maybe-same-window)
17505 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17506 (display-buffer-pop-up-window)
17507 (display-buffer-reuse-or-pop-window)
17508 (display-buffer-use-some-window): New functions.
17509 (display-buffer-default-action): Use them.
17510 (display-buffer-default): Delete.
17511 (pop-to-buffer-1): Fix choice of actions.
17512
17513 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17514
17515 * minibuffer.el (completion--insert-strings): Don't get confused by
17516 completion entries that end with an LF char.
17517
17518 2011-09-01 Eli Zaretskii <eliz@gnu.org>
17519
17520 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17521
17522 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
17523
17524 * window.el (display-buffer): Restore interactive spec.
17525 (display-buffer-same-window, display-buffer-other-window):
17526 New functions.
17527 (pop-to-buffer-1): New function. Use the above.
17528 (pop-to-buffer, pop-to-buffer-same-window): Use it.
17529 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
17530
17531 * view.el (view-buffer-other-window, view-buffer-other-frame):
17532 Just use pop-to-buffer.
17533
17534 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17535
17536 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17537
17538 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17539
17540 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17541
17542 2011-08-31 Richard Stallman <rms@gnu.org>
17543
17544 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17545 of the separation of rmail-view-buffer from rmail-buffer.
17546 If you say no to "replace original", the decrypt is in the
17547 view buffer. If you say yes, the decrypt goes into the
17548 rmail buffer also.
17549
17550 2011-08-31 Martin Rudalics <rudalics@gmx.at>
17551
17552 * window.el (display-buffer-window): Rewrite doc-string.
17553 (display-buffer-record-window): New function.
17554 (display-buffer-macro-specifiers)
17555 (display-buffer-even-window-sizes, display-buffer-set-height)
17556 (display-buffer-set-width, display-buffer-in-window)
17557 (display-buffer-reuse-window, display-buffer-split-specifiers)
17558 (display-buffer-side-specifiers, display-buffer-split-window-1)
17559 (display-buffer-split-window, display-buffer-split-atom-window)
17560 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17561 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17562 (display-buffer-other-window-means-other-frame)
17563 (display-buffer-normalize-special)
17564 (display-buffer-normalize-default)
17565 (display-buffer-normalize-argument)
17566 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17567 (display-buffer-normalize-specifiers, display-buffer-frame)
17568 (display-buffer-same-window, display-buffer-same-frame)
17569 (display-buffer-other-window)
17570 (display-buffer-same-frame-other-window)
17571 (display-buffer-other-frame, pop-to-buffer-same-window)
17572 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17573 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17574 (switch-to-buffer-same-frame)
17575 (switch-to-buffer-other-window-same-frame)
17576 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17577 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17578 (display-buffer-alist-set): Remove.
17579 (display-buffer-function, special-display-buffer-names)
17580 (special-display-regexps, special-display-function):
17581 In doc-string refer to display-buffer-window and quit-restore
17582 parameter.
17583 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17584 (special-display-frame-alist, special-display-popup-frame)
17585 (same-window-buffer-names, same-window-regexps, same-window-p)
17586 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17587 (split-window-preferred-function, split-height-threshold)
17588 (split-width-threshold, window-splittable-p)
17589 (split-window-sensibly, window--try-to-split-window)
17590 (window--frame-usable-p, even-window-heights)
17591 (window--even-window-heights, window--display-buffer-1)
17592 (window--display-buffer-2, display-buffer-other-frame):
17593 Restore old Emacs 23 code, order and doc-strings where applicable.
17594 (display-buffer-default, display-buffer-assq-regexp): New functions.
17595 (display-buffer-alist): Rewrite doc-string.
17596 (display-buffer-default-action)
17597 (display-buffer-overriding-action): New variables.
17598 (display-buffer, switch-to-buffer): Rewrite.
17599 (pop-to-buffer): Restore Emacs 23 behavior but use
17600 window-normalize-buffer-to-display.
17601 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17602 Restore Emacs 23 behavior but use
17603 window-normalize-buffer-to-switch-to.
17604 (pop-to-buffer-same-window): Rewrite.
17605 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17606 Rewrite using Emacs 23 options.
17607
17608 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
17609
17610 * net/tramp.el (tramp-root-regexp): Remove.
17611 (tramp-completion-file-name-regexp-unified)
17612 (tramp-completion-file-name-regexp-separate)
17613 (tramp-completion-file-name-regexp-url): Don't use leading volume
17614 letter on w32 systems. (Bug#5303, Bug#9311)
17615 (tramp-drop-volume-letter): Simplify definition.
17616 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
17617
17618 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17619
17620 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17621 (bug#9356).
17622
17623 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
17624
17625 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
17626
17627 2011-08-29 Juri Linkov <juri@jurta.org>
17628
17629 * isearch.el (isearch-done): Don't display message "Mark saved"
17630 when arg `edit' is non-nil to prevent its flicker in the echo area.
17631
17632 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
17633
17634 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17635 obsolete packages for deletion.
17636
17637 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
17638
17639 * help-mode.el (help-mode-map): Add special-mode-map to parent.
17640 (help-mode): Derive help-mode from special-mode. Don't invoke
17641 view-mode from help-mode.
17642 (help-xref-override-view-map): Remove.
17643 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17644 view-mode is not used anymore.
17645
17646 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
17647
17648 * server.el (server-port): Doc fix.
17649
17650 * cus-theme.el (custom-theme-choose-mode): Inherit from
17651 special-mode (Bug#9124).
17652 (custom-theme-choose-mode-map): Add special-mode to parent.
17653
17654 2011-08-28 Alan Mackenzie <acm@muc.de>
17655
17656 * progmodes/cc-fonts.el
17657 (c-make-font-lock-BO-decl-search-function): New function.
17658 (c-basic-matchers-after - "Fontify the clauses after various
17659 keywords"): Extract the three keyword lists for the 3 erroneous
17660 constructs from the list of four, and use the new function above
17661 in place of an old one.
17662
17663 2011-08-28 Deniz Dogan <deniz@dogan.se>
17664
17665 * net/rcirc.el (rcirc-insert-prev-input)
17666 (rcirc-insert-next-input): Remove unused argument.
17667
17668 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17669
17670 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17671
17672 2011-08-27 Alan Mackenzie <acm@muc.de>
17673
17674 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17675 handle function pointer parameters properly.
17676
17677 2011-08-27 Martin Rudalics <rudalics@gmx.at>
17678
17679 * window.el (display-buffer-reuse-window): Fix case where
17680 selected window was reused with non-nil OTHER-WINDOW argument.
17681 (Bug#9381)
17682
17683 2011-08-27 Deniz Dogan <deniz@dogan.se>
17684
17685 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17686 oftc's NickServ messages.
17687
17688 2011-08-27 Glenn Morris <rgm@gnu.org>
17689
17690 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17691
17692 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
17693
17694 * emacs-lisp/package.el (package-install): Call package-initialize
17695 if called interactively.
17696
17697 2011-08-26 Leo Liu <sdl.web@gmail.com>
17698
17699 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17700
17701 2011-08-25 Juri Linkov <juri@jurta.org>
17702
17703 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17704 `search-whitespace-regexp' (bug#9364).
17705
17706 2011-08-25 Juri Linkov <juri@jurta.org>
17707
17708 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17709 `regexp-search-ring' to their global values to protect from
17710 updating by `read-from-minibuffer' (bug#9185).
17711
17712 2011-08-25 Juri Linkov <juri@jurta.org>
17713
17714 * textmodes/ispell.el (ispell-command-loop): Add newline
17715 at the end of the "Use option `i'..." line.
17716
17717 2011-08-25 Juri Linkov <juri@jurta.org>
17718
17719 * battery.el (display-battery-mode): If `battery-status-function'
17720 or `battery-mode-line-format' is nil, display the message and set
17721 `display-battery-mode' to nil (bug#9363).
17722
17723 2011-08-25 Eli Zaretskii <eliz@gnu.org>
17724
17725 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17726 bidi-string-mark-left-to-right; they are unnecessary now.
17727
17728 2011-08-25 Deniz Dogan <deniz@dogan.se>
17729
17730 * net/quickurl.el: Documentation typo fixes.
17731
17732 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
17733
17734 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17735
17736 2011-08-25 Glenn Morris <rgm@gnu.org>
17737
17738 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17739
17740 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17741 (smtpmail-via-smtp): Handle nil response from smtp.
17742
17743 2011-08-24 Juri Linkov <juri@jurta.org>
17744
17745 * proced.el (proced-marked): Inherit from `error' instead of
17746 `font-lock-warning-face'.
17747
17748 * ibuffer.el (ibuffer-marked-face): Change default face from
17749 `font-lock-warning-face' to `warning'.
17750 (ibuffer-deletion-face): Change default face from
17751 `font-lock-type-face' to `error'.
17752
17753 * battery.el (battery-update): Use the face `error' instead of
17754 `font-lock-warning-face' (bug#6117).
17755
17756 2011-08-24 Juri Linkov <juri@jurta.org>
17757
17758 * faces.el (success): Change face color from "Green3" to
17759 "ForestGreen" on light background (bug#9353).
17760
17761 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
17762
17763 * window.el (quit-window): Rename from quit-restore-window.
17764 Use same arglist as old quit-window.
17765 (frame-auto-delete): Doc fix.
17766
17767 * view.el (view-mode-exit): Use quit-window.
17768
17769 2011-08-24 Juri Linkov <juri@jurta.org>
17770
17771 * isearch.el (isearch-ring-adjust1): Start visiting previous
17772 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17773 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17774 for empty search string (when the last search string is reused
17775 automatically) to adjust the isearch ring to the last element and
17776 prepare the correct index for further M-p commands (bug#9185).
17777
17778 2011-08-24 Kenichi Handa <handa@m17n.org>
17779
17780 * international/ucs-normalize.el: If decomposition property of
17781 CHAR is the default one (i.e. a list of CHAR itself), treat it as
17782 nil.
17783 (nfd, nfkd): Likewise.
17784
17785 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17786
17787 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17788 from process filters aren't reliably transmitted to the surrounding
17789 accept-process-output.
17790 (mpc-proc-check): New function.
17791 (mpc-proc-sync): Use it (bug#8293)
17792
17793 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17794
17795 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17796 Add compatibility functions (bug#9313).
17797
17798 2011-08-23 Eli Zaretskii <eliz@gnu.org>
17799
17800 * cus-start.el (all): Add entry for bidi-paragraph-direction.
17801
17802 * international/uni-bidi.el: Regenerate.
17803
17804 2011-08-23 Kenichi Handa <handa@m17n.org>
17805
17806 * international/charprop.el:
17807 * international/uni-bidi.el:
17808 * international/uni-category.el:
17809 * international/uni-combining.el:
17810 * international/uni-comment.el:
17811 * international/uni-decimal.el:
17812 * international/uni-decomposition.el:
17813 * international/uni-digit.el:
17814 * international/uni-lowercase.el:
17815 * international/uni-mirrored.el:
17816 * international/uni-name.el:
17817 * international/uni-numeric.el:
17818 * international/uni-old-name.el:
17819 * international/uni-titlecase.el:
17820 * international/uni-uppercase.el: Regenerate.
17821
17822 2011-08-23 Martin Rudalics <rudalics@gmx.at>
17823
17824 * help.el (help-window-setup): Fix message displayed when other
17825 window is reused. (Bug#9341)
17826
17827 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17828
17829 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17830 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17831
17832 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17833 Mark obsolete.
17834 * shell.el (shell-parse-pcomplete-arguments): New function.
17835 (shell-completion-vars): Use it instead (bug#9160).
17836
17837 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17838
17839 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17840 strings and comments (bug#9333).
17841
17842 * emacs-lisp/debug.el (debug-arglist): New function.
17843 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
17844 (debug-on-entry-1): Handle interpreted closures (bug#9120).
17845
17846 2011-08-22 Juri Linkov <juri@jurta.org>
17847
17848 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17849 Revert regexp that highlights output switches to its old
17850 pre-2010-10-28 value and remove one `?' from it (bug#9319).
17851
17852 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17853 to check for empty output (bug#9226).
17854
17855 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
17856
17857 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17858 symbol-constituent as the default, as that stops font-lock from
17859 working properly (Bug#8843).
17860
17861 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17862
17863 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17864 `coding-system-for-*' around the process open call to avoid
17865 auth-source side effects.
17866 (smtpmail-try-auth-methods): Expand the secret password.
17867 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17868 probe hangs.
17869
17870 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
17871
17872 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17873
17874 * emacs-lisp/find-func.el (find-function-noselect): New arg
17875 lisp-only.
17876
17877 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17878 signal an error for built-in functions (Bug#6664).
17879
17880 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17881
17882 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17883 (smtpmail-try-auth-methods): Use it.
17884
17885 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
17886
17887 * font-lock.el (font-lock-fontify-region)
17888 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17889 (font-lock-default-unfontify-buffer)
17890 (font-lock-default-fontify-region)
17891 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17892
17893 * progmodes/compile.el (compilation-error-properties):
17894 Fix confusion between file struct and message struct (Bug#9319).
17895 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17896 `ant' regexp.
17897
17898 * net/browse-url.el (browse-url-firefox): Don't call
17899 browse-url-firefox-sentinel unless using -remote (Bug#9328).
17900
17901 2011-08-20 Glenn Morris <rgm@gnu.org>
17902
17903 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17904
17905 * tutorial.el (tutorial--default-keys): Update some default bindings.
17906
17907 * files.el (hack-local-variables): Fully ignore case for "mode:".
17908
17909 2011-08-20 Alan Mackenzie <acm@muc.de>
17910
17911 Resolve invalid use of a regexp in regexp-opt.
17912
17913 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17914 detection for a java annotation.
17915
17916 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
17917 detection for a java annotation.
17918
17919 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
17920 handling for java.
17921 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
17922
17923 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
17924
17925 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
17926 (Bug#9274).
17927
17928 2011-08-20 Alan Mackenzie <acm@muc.de>
17929
17930 Fontify CPP expressions correctly when starting in the middle of
17931 such a construct. Mainly for when jit-lock etc. starts a chunk
17932 here.
17933
17934 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
17935 variable.
17936 (c-make-font-lock-search-form): New function, extracted from
17937 c-make-font-lock-search-function.
17938 (c-make-font-lock-search-function): Use the above function.
17939 (c-make-font-lock-context-search-function): New function.
17940 (c-cpp-matchers): Enhance the preprocessor expression case with
17941 the above function
17942 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
17943 which takes an expression.
17944
17945 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17946
17947 2011-08-20 Martin Rudalics <rudalics@gmx.at>
17948
17949 * window.el (display-buffer-reuse-window)
17950 (display-buffer-pop-up-window): Don't reuse or split a side
17951 window.
17952
17953 2011-08-19 Glenn Morris <rgm@gnu.org>
17954
17955 * files.el (hack-local-variables-prop-line, hack-local-variables):
17956 Downcase "Mode:". (Bug#9331)
17957
17958 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
17959
17960 * international/characters.el: Add L and R categories.
17961
17962 * subr.el (bidi-string-mark-left-to-right): Rename from
17963 string-mark-left-to-right. Use category search.
17964
17965 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17966
17967 2011-08-18 Juri Linkov <juri@jurta.org>
17968
17969 * faces.el (error, warning, success): New faces with definitions
17970 copied from old default values of `font-lock-warning-face',
17971 `compilation-warning', `compilation-info' (bug#6117).
17972
17973 * font-lock.el (font-lock-warning-face): Inherit from `error'.
17974
17975 * progmodes/compile.el (compilation-error): Inherit from `error'.
17976 (compilation-warning): Inherit from `warning'.
17977 (compilation-info): Inherit from `success'.
17978
17979 * dired.el (dired-marked): Inherit from `warning'.
17980 (dired-flagged): Inherit from `error'.
17981
17982 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17983
17984 * mail/smtpmail.el (auth-source): Require to avoid problems with
17985 binding variables (bug#9298). Also clean up some unused
17986 autoloads.
17987
17988 * net/network-stream.el (network-stream-open-starttls):
17989 Support using starttls.el without using gnutls-cli.
17990
17991 2011-08-17 Juri Linkov <juri@jurta.org>
17992
17993 * progmodes/grep.el (rgrep): Handle the case when
17994 `grep-find-command' is a cons cell (bug#9278).
17995
17996 2011-08-17 Martin Rudalics <rudalics@gmx.at>
17997
17998 * window.el (display-buffer-pop-up-frame): Run frame creation
17999 function with BUFFER current (as special-display-popup-frame
18000 does). Reported by Drew Adams.
18001
18002 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18003
18004 * epa-mail.el: Simplify GnuPG group expansion using
18005 epg-expand-group.
18006 (epa-mail-group-alist, epa-mail-group-modtime)
18007 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18008 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18009 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18010 Remove.
18011
18012 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18013
18014 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18015
18016 2011-08-16 Alan Mackenzie <acm@muc.de>
18017
18018 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18019 Correct, to avoid the inside of macros.
18020
18021 2011-08-16 Richard Stallman <rms@gnu.org>
18022
18023 * epa-mail.el: Handle GnuPG group definitions.
18024 (epa-mail-group-alist, epa-mail-group-modtime)
18025 (epa-mail-gnupg-conf-file): New variables.
18026 (epa-mail-parse-groups, epa-mail-sync-groups)
18027 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18028 (epa-mail-expand-recipients): New functions.
18029 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18030
18031 * mail/rmail.el (rmail-epa-decrypt): New command.
18032
18033 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18034 Don't bind buffer-read-only, just inhibit-read-only.
18035 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18036 (epa-decrypt-armor-in-region): Make error message clearer.
18037
18038 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18039
18040 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18041 and "a2b" to "ab" for `prefix'.
18042
18043 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18044
18045 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18046 filter groups.
18047 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18048 Fourquet (Bug#8804).
18049
18050 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18051
18052 * startup.el (argi): Declare as global variable (bug#9275).
18053
18054 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18055
18056 * subr.el (string-mark-left-to-right): Search the entire string
18057 for RTL script, not just the terminating character. Doc fix.
18058
18059 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18060
18061 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18062 New function.
18063 (js--regexp-literal, js-syntax-propertize-function): Remove.
18064 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18065 (js-mode-map): Don't rebind electric keys.
18066 (js-insert-and-indent): Remove.
18067 (js-mode): Setup electric-layout and electric-indent instead.
18068
18069 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18070
18071 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18072
18073 * epa.el (epa-progress-callback-function): Fix the logic of
18074 displaying progress.
18075 * epa-file.el (epa-file-insert-file-contents): Make progress
18076 display more user-friendly.
18077 (epa-file-write-region): Ditto.
18078
18079 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18080
18081 * subr.el (string-mark-left-to-right): New function.
18082
18083 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18084 Use string-mark-left-to-right.
18085 (list-buffers-noselect): Caller changed.
18086
18087 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18088 Use string-mark-left-to-right.
18089 (tabulated-list-print): Recenter after moving point.
18090
18091 2011-08-10 Juri Linkov <juri@jurta.org>
18092
18093 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18094 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18095 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18096
18097 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18098
18099 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18100 (Bug#7554).
18101
18102 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18103
18104 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18105 character. (Bug#6594)
18106
18107 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18108
18109 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18110 (image-dired--with-db-file): New macro.
18111 (image-dired-write-tags, image-dired-remove-tag)
18112 (image-dired-create-gallery-lists, image-dired-write-comments)
18113 (image-dired-get-comment, image-dired-mark-tagged-files)
18114 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18115 (image-dired-gallery-generate): Use insert-file-contents.
18116
18117 * time.el (display-time-world-list, display-time-world-display):
18118 * time-stamp.el (time-stamp-string):
18119 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18120 set-time-zone-rule (Bug#7337).
18121
18122 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18123
18124 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18125 (epg-error-to-string, epg-errors-to-string): New function.
18126 (epg-wait-for-completion): Reverse errors list.
18127 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18128 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18129 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18130 (epg-sign-keys, epg-generate-key-from-file)
18131 (epg-generate-key-from-string): Format errors by using
18132 epg-errors-to-string (bug#9255).
18133 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18134
18135 2011-08-07 Juri Linkov <juri@jurta.org>
18136
18137 * faces.el (list-faces-display): Remove extra angle bracket
18138 from `help-mode-map'.
18139
18140 * info.el (Info-history-toc-nodes): Doc fix.
18141
18142 * longlines.el (longlines-mode): Doc fix.
18143
18144 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18145
18146 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18147 of statements and in a few more cases (bug#9183).
18148
18149 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18150 New functions.
18151 (cl-transform-lambda): Use them (bug#9239).
18152
18153 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18154
18155 * window.el (display-buffer-same-window)
18156 (display-buffer-same-frame, display-buffer-other-window)
18157 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18158 (pop-to-buffer-other-window)
18159 (pop-to-buffer-same-frame-other-window)
18160 (pop-to-buffer-other-frame): Make them defuns.
18161 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18162
18163 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18164
18165 * subr.el (make-composed-keymap): Move from C. Change calling
18166 convention, and improve docstring to bring attention to a subtle point.
18167 * minibuffer.el (completing-read-default): Adjust accordingly.
18168
18169 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18170
18171 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18172 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18173
18174 * net/trampver.el: Update release number.
18175
18176 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18177
18178 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18179 "in" (bug#9190).
18180
18181 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18182
18183 * mail/sendmail.el (sendmail-query-once): Restore the current
18184 buffer after querying (bug#9074).
18185
18186 * dired.el (dired-flagged): Use different faces for marked and
18187 flagged files (bug#6117).
18188
18189 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18190 (bug#4433).
18191
18192 * ido.el (ido-mode): Switch off the message if called
18193 non-interactively.
18194
18195 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18196 before 587, since it appears that that's more likely to work for
18197 more people.
18198
18199 * cus-edit.el (custom-file): When running under emacs -q, always
18200 refuse to save the customizations, even if the .emacs file doesn't
18201 exist.
18202
18203 * info.el: Remove the `Info-beginning-of-buffer' function
18204 (bug#8325).
18205
18206 * net/network-stream.el (network-stream-open-starttls):
18207 Use `starttls-available-p' to see whether starttls.el can be used.
18208
18209 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18210
18211 * window.el (display-buffer-in-window): Don't set dedicated status
18212 of window here (Bug#9215).
18213 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18214 (display-buffer-pop-up-side-window)
18215 (display-buffer-in-side-window): Set dedicated status of window here.
18216
18217 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18218
18219 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18220 before binding generated-autoload-file.
18221
18222 2011-08-01 Deniz Dogan <deniz@dogan.se>
18223
18224 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18225
18226 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18227
18228 Sync with Tramp 2.2.2.
18229
18230 * net/trampver.el: Update release number.
18231
18232 2011-07-30 Juri Linkov <juri@jurta.org>
18233
18234 * dired-aux.el (dired-touch-initial): Remove function.
18235 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18236 current time, and `default' to the last modification time of the
18237 current marked file (bug#6887).
18238
18239 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18240
18241 * simple.el (goto-line): Use string-to-number to provide a
18242 numeric argument to read-number (bug#9163).
18243
18244 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18245
18246 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18247 connection process, it could be nil.
18248
18249 2011-07-27 Leo Liu <sdl.web@gmail.com>
18250
18251 Simplify url handling in rcirc-mode.
18252
18253 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18254 (rcirc-browse-url-at-mouse): Remove.
18255 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18256
18257 2011-07-26 Alan Mackenzie <acm@muc.de>
18258
18259 Fontify bitfield declarations properly.
18260
18261 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18262 (c-symbol-chars): Now exported as a lang variable.
18263 (c-not-primitive-type-keywords): New lang variable.
18264
18265 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18266 QT keyword "more" to prevent "more slots: ...." being spuriously
18267 parsed as a bitfield declaration.
18268
18269 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18270 Refactor and enhance to handle bitfield declarations.
18271 (c-punctuation-in): New function.
18272 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18273 declarations properly.
18274
18275 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18276
18277 * calendar/icalendar.el (icalendar--all-events): Take care of
18278 multiple vcalendars in a single file.
18279 (icalendar--convert-float-to-ical): Checkdoc fixes.
18280
18281 2011-07-25 Deniz Dogan <deniz@dogan.se>
18282
18283 * image.el (insert-image): Clarifying docstring.
18284
18285 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18286
18287 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18288 `tramp-send-command-and-check' if there is no error.
18289 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18290
18291 2011-07-22 Alan Mackenzie <acm@muc.de>
18292
18293 Prevent cc-langs.elc being loaded at run time.
18294
18295 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18296 cc-langs.
18297
18298 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18299 "(require 'cc-langs)". Quote a form so it will evaluate at
18300 (cc-mode's) compilation time.
18301
18302 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18303
18304 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18305 loading. (Bug#9114)
18306
18307 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18308
18309 * window.el (display-buffer-pop-up-window)
18310 (display-buffer-pop-up-side-window)
18311 (display-buffer-in-side-window): Call display-buffer-set-height
18312 and display-buffer-set-width after setting the new window's
18313 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18314
18315 2011-07-20 Sam Steingold <sds@gnu.org>
18316
18317 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18318 (etags-tags-included-tables): Call `convert-standard-filename' on
18319 the file names contained in TAGS so that windows Emacs can handle
18320 TAGS files created by cygwin ctags.
18321
18322 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18323
18324 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18325 which apparently didn't work.
18326
18327 2011-07-19 Roland Winkler <winkler@gnu.org>
18328
18329 * proced.el (proced-send-signal): For *Marked Processes* buffer
18330 put point at beginning of buffer.
18331
18332 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18333
18334 * proced.el (proced-format): Make header lines align with the text
18335 (bug#1779).
18336
18337 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18338
18339 * view.el (view-buffer): Allow running in `special' modes if we're
18340 visiting a file (bug#8615).
18341
18342 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18343
18344 * window.el (display-buffer-alist-of-strings-p)
18345 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18346 New functions.
18347 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18348 more accurately.
18349
18350 2011-07-18 Alan Mackenzie <acm@muc.de>
18351
18352 Fontify declarators properly when, e.g., a jit-lock chunk begins
18353 inside a declaration.
18354
18355 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18356
18357 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18358 New function.
18359 (c-complex-decl-matchers): Insert reference to
18360 c-font-lock-enclosing-decls.
18361
18362 * progmodes/cc-engine.el (c-backward-single-comment):
18363 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18364 to nil around calls to (forward-comment -1).
18365
18366 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18367
18368 * image.el (put-image): Doc typo fix.
18369
18370 * progmodes/etags.el (tags-search): Doc typo fix.
18371
18372 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18373 password if we get errors 550 to 554.
18374
18375 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18376
18377 * net/gnutls.el (gnutls-log-level): Remove.
18378
18379 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18380 indentation character (bug#6380).
18381
18382 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18383
18384 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18385 to clarify what the problem is (bug#4291).
18386
18387 * simple.el (current-kill): Clarify what
18388 `interprogram-paste-function' does (bug#7500).
18389 (auto-fill-mode): Document `auto-fill-function' in relation to
18390 `auto-fill-mode' (bug#2470).
18391
18392 2011-07-16 Lawrence Mitchell <wence@gmx.li>
18393
18394 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18395 method if slot is read-only (bug#9035).
18396
18397 2011-07-16 Martin Rudalics <rudalics@gmx.at>
18398
18399 * frame.el (select-frame-set-input-focus): New argument NORECORD.
18400 * window.el (pop-to-buffer): Select window used even if it was
18401 selected before, see discussion of (Bug#8615), (Bug#6954).
18402 Pass argument NORECORD on to select-frame-set-input-focus.
18403
18404 2011-07-15 Glenn Morris <rgm@gnu.org>
18405
18406 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
18407 Respect help-form.
18408
18409 2011-07-09 Lawrence Mitchell <wence@gmx.li>
18410
18411 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18412 (gnutls-negotiate): Use it.
18413
18414 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18415
18416 * net/gnutls.el (gnutls-negotiate):
18417 Upcase `gnutls-algorithm-priority'.
18418
18419 2011-07-15 Glenn Morris <rgm@gnu.org>
18420
18421 * jka-compr.el (jka-compr-verbose): Move from here...
18422 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18423 Add missing :version tag.
18424 * info.el: No need to require jka-compr when compiling.
18425
18426 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18427
18428 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18429 (gnutls-negotiate): Use it.
18430
18431 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18432
18433 * info.el (Info-beginning-of-buffer): New command.
18434 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18435 announcing `b' as the key (bug#8325).
18436 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18437
18438 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18439
18440 * international/mule-cmds.el
18441 (describe-specified-language-support): Make the error message
18442 clearer (bug#8905).
18443
18444 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18445
18446 * isearch.el (isearch-barrier): Add a doc string, since it's
18447 mentioned in a function doc string (bug#8678).
18448
18449 2011-07-15 Martin Rudalics <rudalics@gmx.at>
18450
18451 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18452 buffer argument (Bug#9083) and self-identifying label argument.
18453
18454 2011-07-15 Glenn Morris <rgm@gnu.org>
18455
18456 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18457
18458 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18459
18460 * man.el (Man-fontify-manpage): Fix message when formatting the
18461 man page (bug#7929).
18462
18463 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18464
18465 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18466 argument LRM; if non-nil, append an invisible LRM character to the
18467 buffer name.
18468 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18469 last argument non-nil, when formatting buffer names.
18470 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18471 paragraph direction.
18472
18473 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18474
18475 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18476 the man page name (bug#7929).
18477
18478 * image.el (put-image): Mention the `put-image' overlay property
18479 (bug#7834).
18480
18481 * scroll-bar.el (set-scroll-bar-mode): Mention that
18482 `scroll-bar-mode' lists the values (bug#7772).
18483
18484 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18485 command (bug#7729).
18486
18487 * rect.el (apply-on-rectangle): Return the point after the last
18488 operation.
18489 (string-rectangle): Go to the point after the last operation
18490 (bug#7522).
18491
18492 * printing.el (pr-toggle-region): Clarify the documentation
18493 slightly (bug#7493).
18494
18495 * time.el (display-time-update):
18496 Allow `display-time-mail-function' to return nil (bug#7158).
18497 Fix suggested by Detlev Zundel.
18498
18499 * vc/diff.el (diff): Clarify the order the file names are read
18500 (bug#7111).
18501
18502 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18503 the doc string (bug#7015).
18504
18505 * font-lock.el (font-lock-maximum-decoration): Mention what
18506 numeric levels mean (bug#6935).
18507
18508 * startup.el (initial-buffer-choice): Don't mention the `none'
18509 selection, which is against policy.
18510
18511 2011-07-14 Martin Rudalics <rudalics@gmx.at>
18512
18513 * window.el (display-buffer-normalize-special):
18514 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
18515
18516 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18517
18518 * subr.el (version<, version<=, version=): Mention "-CVS" and
18519 "-12345" alpha version numbers.
18520
18521 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18522
18523 * bindings.el: Add advertised binding for set-mark-command
18524 (Bug#5772).
18525
18526 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18527
18528 * bindings.el (mode-line-other-buffer):
18529 * bookmark.el (bookmark-bmenu-2-window):
18530 * bs.el (bs-cycle-next, bs-cycle-previous):
18531 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18532 switch-to-buffer.
18533
18534 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18535 Delete.
18536
18537 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
18538
18539 * follow.el (follow-debug-message, follow-redisplay):
18540 * jka-cmpr-hook.el (with-auto-compression-mode):
18541 Fix typos in docstrings.
18542
18543 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18544
18545 * subr.el (with-silent-modifications): Clarify somewhat what the
18546 macro inhibits (bug#6525).
18547
18548 * simple.el (eval-expression): Note what it does if called
18549 interactively (bug#6495).
18550
18551 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18552
18553 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18554 Use pop-to-buffer buffer-or-name if it is nil.
18555
18556 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18557 Remove switch-to-buffer.
18558
18559 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18560
18561 * files.el (make-directory): Clarify that an error will be raised
18562 if there's an error (bug#6397).
18563
18564 * startup.el (initial-buffer-choice): Add `none' as a choice
18565 (bug#6234).
18566
18567 * subr.el (add-hook): Clarify section about buffer-local hooks
18568 (bug#6218).
18569
18570 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18571
18572 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18573
18574 * tabify.el (untabify): Preserve the current column so that point
18575 doesn't move (bug#6032).
18576
18577 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18578
18579 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18580 Rewrite to avoid awkward possessive "s" (bug#5986).
18581
18582 2011-07-13 Glenn Morris <rgm@gnu.org>
18583
18584 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18585 (dired-insert-directory): Give a message the first time
18586 if ls is found not to support --dired.
18587
18588 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18589
18590 * simple.el (toggle-truncate-lines): Clarify what is toggled
18591 (bug#5580). Text by Drew Adams.
18592
18593 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18594
18595 * simple.el (blink-matching-open): Make the error message from the
18596 last change less verbose.
18597
18598 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18599
18600 * font-lock.el (font-lock-comment-face): Use the high contrast
18601 "yellow" color for font-lock-comment-face on low color terminals
18602 using a dark background color (bug#4221).
18603
18604 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18605
18606 * dired.el (dired-insert-set-properties): Make the doc string
18607 reflect what it does now (bug#5325).
18608
18609 * simple.el (blink-matching-open): Say that we were unable to find
18610 the match within the limit, if we're limited (bug#5122).
18611
18612 * international/mule-cmds.el (prefer-coding-system): Add an
18613 example (bug#4869).
18614
18615 * progmodes/etags.el (tags-search): Document `file-list-form'
18616 (bug#4731).
18617
18618 2011-07-13 Lawrence Mitchell <wence@gmx.li>
18619
18620 * net/browse-url.el (browse-url-default-browser)
18621 (browse-url-browser-function): Make the default browser choice a
18622 bit more logical (bug#4300). Also clean up the doc string.
18623
18624 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18625
18626 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18627 binary endings (bug#4440).
18628
18629 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18630
18631 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18632 which can be pretty annoying (bug#8971).
18633
18634 * jka-compr.el (jka-compr-verbose): New variable, and use
18635 throughout (bug#8971).
18636
18637 * info.el (Info-find-file): Fall back on the installation
18638 directory if we can't find the info node anywhere else.
18639
18640 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
18641
18642 * vc/vc.el (vc-revert-file):
18643 Don't set file time-stamp in the past. (Bug#5181)
18644
18645 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18646
18647 * files.el (after-find-file): Give a better error message when
18648 trying to find a symlink that points to a file that doesn't exist
18649 (bug#4398).
18650
18651 * progmodes/cc-vars.el: Remove (probably) misleading comment
18652 (bug#4396).
18653
18654 2011-07-12 Johan Bockgård <bojohan@gnu.org>
18655
18656 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18657
18658 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
18659
18660 * mouse-sel.el: Hack restoring functionality, while keeping
18661 compatibility with 2010-07-03 changes to mouse selection.
18662 (mouse-sel-primary-overlay): New var.
18663 (mouse-sel-selection-alist): Use it.
18664 (mouse-sel-mode): Doc fix; remove points that are default features
18665 of mouse.el.
18666
18667 2011-07-12 Johan Bockgård <bojohan@gnu.org>
18668
18669 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18670 Fix previous fix (bug#2490).
18671
18672 2011-07-12 Roland Winkler <winkler@gnu.org>
18673
18674 * textmodes/bibtex.el (bibtex-initialize):
18675 Use pop-to-buffer-same-window.
18676 (bibtex-search-entries): Fix interactive call.
18677
18678 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18679
18680 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18681 Fontise bytecomp Error lines more correctly (bug#2490).
18682 Fix suggested by Johan Bockgård.
18683
18684 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18685
18686 * dired-x.el (dired-guess-default): Use `delete-dups'.
18687
18688 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
18689
18690 * dired.el (dired-mark-prompt):
18691 * dired-aux.el (dired-read-shell-command): Doc fix.
18692
18693 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18694
18695 * mail/sendmail.el (sendmail-query-once):
18696 Use `customize-save-variable' unconditionally, now that it works under
18697 emacs -Q.
18698
18699 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18700
18701 * cus-edit.el (custom-file): Take an optional no-error variable.
18702 (customize-save-variable): Set the variable, and give a warning if
18703 running under "emacs -q".
18704
18705 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
18706
18707 * loadhist.el (unload-feature-special-hooks):
18708 Add `auto-coding-functions', `fill-nobreak-predicate' and
18709 `find-directory-functions' (bug#5327).
18710
18711 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18712
18713 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18714
18715 * cus-edit.el (custom-guess-name-alist): -alist variables should
18716 use the `alist' type (bug#3120). Suggested by Drew Adams.
18717
18718 * printing.el: Add documentation to all the `pr-toggle-' commands.
18719
18720 2011-07-11 Leo Liu <sdl.web@gmail.com>
18721
18722 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18723 backends where it makes sense (bug#2623).
18724
18725 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18726
18727 * dired-x.el (dired-guess-default): Remove duplicate shell command
18728 entries (bug#2028).
18729 (dired-guess-default): Fix grammar in doc string (bug#2028).
18730 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
18731
18732 * subr.el (remove-duplicates): New conveniency function.
18733
18734 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
18735
18736 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18737 (bug#1526).
18738
18739 2011-07-10 Martin Rudalics <rudalics@gmx.at>
18740
18741 * window.el (display-buffer-normalize-default): Don't invert
18742 meaning of even-window-heights. Reported by Eli Zaretskii
18743 <eliz@gnu.org>.
18744
18745 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
18746
18747 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18748
18749 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
18750
18751 * window.el (display-buffer): Fix arguments to
18752 display-buffer-reuse-window in last change.
18753
18754 * faces.el (link): Use a less saturated blue on light backgrounds.
18755
18756 * startup.el (fancy-startup-text, fancy-about-text)
18757 (fancy-startup-tail): Use font-lock faces, for background safety.
18758
18759 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
18760
18761 * emulation/viper-cmd.el (viper-change-state-to-vi):
18762 Limit triggering of abbrev expansion (Bug#9038).
18763
18764 2011-07-09 Martin Rudalics <rudalics@gmx.at>
18765
18766 * window.el (display-buffer-default-specifiers): Remove.
18767 (display-buffer-macro-specifiers): Remove default specifiers.
18768 (display-buffer-alist): Default to nil.
18769 (display-buffer-reuse-window): New optional argument other-window.
18770 (display-buffer-pop-up-window): Allow splitting internal
18771 windows. Check whether a live window was created.
18772 (display-buffer-other-window-means-other-frame)
18773 (display-buffer-normalize-arguments): Rename to
18774 display-buffer-normalize-argument and rewrite. Set the
18775 other-window specifier.
18776 (display-buffer-normalize-special): New function.
18777 (display-buffer-normalize-options): Rename to
18778 display-buffer-normalize-default and rewrite.
18779 (display-buffer-normalize-options-inhibit): Remove.
18780 (display-buffer-normalize-specifiers): Rewrite.
18781 (display-buffer): Process other-window specifier and call
18782 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
18783 more faithfully.
18784 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
18785 (display-buffer-alist-set): Don't handle 'unset default values.
18786 (display-buffer-in-window, display-buffer-alist-set):
18787 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
18788 <tassilo@member.fsf.org>.
18789
18790 2011-07-09 Leo Liu <sdl.web@gmail.com>
18791
18792 * register.el (insert-register): Restore accidental change on
18793 2011-06-26. (Bug#9028)
18794
18795 2011-07-09 Glenn Morris <rgm@gnu.org>
18796
18797 * subr.el (remq): Handle the empty list. (Bug#9024)
18798
18799 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
18800
18801 * mail/sendmail.el (send-mail-function): No longer delay custom
18802 initialization.
18803 * custom.el (custom-initialize-delay): Doc fix.
18804
18805 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18806
18807 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18808
18809 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
18810
18811 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18812 human-friendly prompt.
18813
18814 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18815
18816 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18817 provided by a particular plugin.
18818
18819 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18820
18821 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18822 save customizations (with "emacs -Q"), just set the variable
18823 instead of erroring out.
18824
18825 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18826
18827 2011-07-08 Juri Linkov <juri@jurta.org>
18828
18829 * arc-mode.el (archive-zip-expunge, archive-zip-update)
18830 (archive-zip-update-case): Use 7z if found by `executable-find'.
18831 The order of searching the available programs is the same as in
18832 `archive-zip-extract' (bug#8968).
18833
18834 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18835
18836 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18837 (menu-bar-options-menu): Tweak descriptions.
18838
18839 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18840
18841 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18842 menu items into verb phrases (bug#1421). Also refill to fit under
18843 80 columns.
18844
18845 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18846
18847 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18848 (Info-read-node-name): Doc fix (Bug#1084).
18849
18850 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18851 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18852 (end-of-sexp, beginning-of-sexp)
18853 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18854 (forward-symbol, forward-same-syntax, word-at-point)
18855 (sentence-at-point): Doc fix (Bug#1144).
18856
18857 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18858
18859 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18860 should cover it (bug#1281).
18861
18862 * cus-edit.el (custom-show): Mark as obsolete.
18863
18864 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
18865 negotiation fails, then possibly try again with a non-encrypted
18866 connection (bug#9017).
18867
18868 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
18869 be used.
18870
18871 2011-07-07 Richard Stallman <rms@gnu.org>
18872
18873 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18874 property, and handle its changed format.
18875 Look for the correct line number.
18876 Use file's line contents (but not past first =) to find
18877 correct line in message.
18878
18879 2011-07-07 Kenichi Handa <handa@m17n.org>
18880
18881 * international/characters.el (build-unicode-category-table):
18882 Delete it.
18883 (unicode-category-table): Set it by unicode-property-table-internal.
18884
18885 * international/mule-cmds.el (char-code-property-alist): Move to
18886 to src/chartab.c.
18887 (get-char-code-property): Call unicode-property-table-internal to
18888 load a file. Call get-unicode-property-internal where necessary.
18889 (put-char-code-property): Call unicode-property-table-internal to
18890 load a file. Call put-unicode-property-internal where necessary.
18891 put-unicode-property-internal where necessary.
18892 (char-code-property-description):
18893 Call unicode-property-table-internal to load a file.
18894
18895 * international/charprop.el:
18896 * international/uni-bidi.el:
18897 * international/uni-category.el:
18898 * international/uni-combining.el:
18899 * international/uni-comment.el:
18900 * international/uni-decimal.el:
18901 * international/uni-decomposition.el:
18902 * international/uni-digit.el:
18903 * international/uni-lowercase.el:
18904 * international/uni-mirrored.el:
18905 * international/uni-name.el:
18906 * international/uni-numeric.el:
18907 * international/uni-old-name.el:
18908 * international/uni-titlecase.el:
18909 * international/uni-uppercase.el: Regenerate.
18910
18911 * loadup.el: Load international/charprop.el before
18912 international/characters.
18913
18914 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18915
18916 * window.el (next-buffer, previous-buffer): Signal an error if
18917 called from a minibuffer window.
18918
18919 * bindings.el: Revert 2011-07-04 change.
18920
18921 2011-07-06 Richard Stallman <rms@gnu.org>
18922
18923 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
18924 (rmail-mime-insert-bulk, rmail-mime-insert-text):
18925 Treat markers like ints.
18926 (rmail-mime-entity): Doc fix.
18927
18928 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18929
18930 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
18931 defcustom again for backwards compatibility.
18932
18933 * simple.el (shell-command-on-region): Fill.
18934
18935 * dired-aux.el (dired-kill-line): Add a doc string.
18936
18937 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
18938 to "\\sw\\|\\s_" (bug#358).
18939
18940 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
18941 (dired-unmark-backward): Ditto.
18942 (dired-flag-backup-files): Ditto.
18943
18944 * dired-x.el (dired-mark-sexp): Ditto.
18945
18946 2011-07-06 Richard Stallman <rms@gnu.org>
18947
18948 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18949 (rmail-mime-entity): New arg TRUNCATED.
18950 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18951 New functions.
18952 (rmail-mime-save): Warn if entity is truncated.
18953 (rmail-mime-toggle-hidden): Likewise, for showing.
18954 (rmail-mime-process-multipart): Record when an entity is truncated.
18955
18956 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18957 if ENTITY is a string.
18958
18959 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18960
18961 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
18962 of faces when `M-C-x'-ing their definitions (bug#8378).
18963 Also clean up the code slightly.
18964
18965 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
18966 because that makes the colors go away.
18967
18968 * mail/sendmail.el (send-mail-function): Change the default to
18969 `sendmail-query-once'.
18970 (sendmail-query-once): Add an autoload cookie.
18971
18972 * net/network-stream.el (network-stream-open-starttls): Try using
18973 a plain connection even if the server offered STARTTLS, and we
18974 kinda wanted to use it, if Emacs doesn't have any STARTTLS
18975 capability. This should make smtpmail.el work in slightly more
18976 configurations.
18977
18978 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
18979
18980 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18981 New defun.
18982 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18983
18984 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
18985
18986 * progmodes/sql.el: Version 3.0
18987 (sql-product-alist): Add product :completion-object,
18988 :completion-column, and :statement attributes.
18989 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
18990 (sql-mode-syntax-table): Mark all punctuation.
18991 (sql-font-lock-keywords-builder): Temporarily remove fallback on
18992 ansi keywords.
18993 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
18994 (sql-mode-oracle-font-lock-keywords): Improve.
18995 (sql-oracle-show-reserved-words): New function for development.
18996 (sql-product-font-lock): Simplify for source code buffers.
18997 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18998 New functions.
18999 (sql-highlight-product): Set product specific syntax table.
19000 (sql-mode-map): Add statement movement functions.
19001 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19002 New variable.
19003 (sql-statement-regexp, sql-beginning-of-statement)
19004 (sql-end-of-statement, sql-signum): New functions.
19005 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19006 (sql-show-sqli-buffer): Bug fix.
19007 (sql-interactive-mode): Store connection data as buffer local.
19008 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19009 with sql-interactive-mode.
19010 (sql-save-connection): Save buffer local settings.
19011 (sql-connection-menu-filter): Change menu entry name.
19012 (sql-product-interactive): Bug fix.
19013 (sql-preoutput-hold): New variable.
19014 (sql-interactive-remove-continuation-prompt): Bug fixes.
19015 (sql-debug-redirect): New variable.
19016 (sql-str-literal): New function.
19017 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19018 Redesign.
19019 (sql-oracle-save-settings, sql-oracle-restore-settings)
19020 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19021 (sql-completion-object, sql-completion-column)
19022 (sql-completion-sqlbuf): New variables.
19023 (sql-build-completions-1, sql-build-completions)
19024 (sql-try-completion): New functions.
19025 (sql-read-table-name): Use them.
19026 (sql-contains-names): New buffer local variable.
19027 (sql-list-all, sql-list-table): Use it.
19028 (sql-oracle-completion-types): New variable.
19029 (sql-oracle-completion-object, sql-sqlite-completion-object)
19030 (sql-postgres-completion-object): New functions.
19031
19032 2011-07-06 Glenn Morris <rgm@gnu.org>
19033
19034 * window.el (pop-to-buffer): Doc fix.
19035
19036 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19037
19038 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19039
19040 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19041
19042 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19043
19044 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19045
19046 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19047
19048 * button.el (button): Inherit from link face. Suggested by Dan
19049 Nicolaescu.
19050
19051 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19052
19053 * progmodes/gdb-mi.el: Fit in 80 columns.
19054 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19055 switch-to-buffer.
19056
19057 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19058 if imenu is simply not configured (bug#8941).
19059
19060 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19061
19062 * allout.el (allout-post-undo-hook): New allout outline-change
19063 event hook to signal undo activity.
19064 (allout-post-command-business): Run allout-post-undo-hook if an
19065 undo just occurred.
19066 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19067 * allout-widgets.el (allout-widgets-after-undo-function):
19068 Ensure the integrity of the current item's decoration after it has been
19069 in the vicinity of an undo.
19070 (allout-widgets-mode): Include allout-widgets-after-undo-function
19071 on the new allout-post-undo-hook.
19072
19073 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19074
19075 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19076 Let define-derived-mode define it.
19077 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19078 cycles of abbrev-table inheritance (bug#8998).
19079
19080 2011-07-05 Roland Winkler <winkler@gnu.org>
19081
19082 * textmodes/bibtex.el: Add support for biblatex.
19083 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19084 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19085 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19086 (bibtex-entry-alist, bibtex-field-alist): New variables.
19087 (bibtex-entry-field-alist): Obsolete alias for
19088 bibtex-BibTeX-entry-alist.
19089 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19090 (bibtex-set-dialect): New command.
19091 (bibtex-entry-type, bibtex-entry-head)
19092 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19093 Bind via bibtex-set-dialect.
19094 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19095 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19096 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19097 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19098 Define via bibtex-set-dialect.
19099 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19100 Obey bibtex-no-opt-remove-re.
19101 (bibtex-vec-push, bibtex-vec-incr): New functions.
19102 (bibtex-format-entry, bibtex-field-list)
19103 (bibtex-print-help-message, bibtex-validate)
19104 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19105
19106 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19107
19108 * progmodes/compile.el (compilation-goto-locus):
19109 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19110 * bs.el (bs-cycle-next, bs-cycle-previous):
19111 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19112 * bindings.el (mode-line-other-buffer):
19113 * autoinsert.el (auto-insert):
19114 * arc-mode.el (archive-extract):
19115 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19116
19117 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19118
19119 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19120 Fix check of `emacs-lock-unlockable-modes'.
19121 Coerce true values of `emacs-lock--try-unlocking' to t.
19122
19123 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19124
19125 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19126 * emacs-lock.el: New file.
19127
19128 2011-07-05 Julien Danjou <julien@danjou.info>
19129
19130 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19131 than `boundp' to check if face is set.
19132
19133 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19134
19135 * register.el (registerv-make):
19136 * window.el (window-min-height): Fix typos in docstrings.
19137
19138 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19139
19140 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19141 Update doc string.
19142
19143 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19144
19145 * server.el (server-execute): Catch quit and call
19146 `server-return-error' to pass the error back to emacsclient and
19147 close the connection (bug#8942).
19148
19149 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19150
19151 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19152 insecure exception for current topic. Also note that auto-saves
19153 are handled differently.
19154
19155 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19156 State variables for tracking auto-save inhibition situation.
19157
19158 (allout-write-contents-hook-handler): Rename from
19159 'allout-write-file-hook-handler', and describe how it depends on
19160 write-contents-functions sensitivity to non-nil value to prevent
19161 file write.
19162
19163 (allout-auto-save-hook-handler): Remove. auto-save does not check
19164 this in individual buffers, only in the starting buffer, so this
19165 is not the right way for us to inhibit auto-save in a buffer
19166 according to its condition.
19167
19168 (allout-mode): Use new allout-write-contents-hook-handler, and
19169 only with write-contents-functions. Remove auto-save provisions -
19170 they're implemented elsewhere.
19171
19172 (allout-before-change-handler): If undo is in progress, note that
19173 for attention of allout-post-command-business.
19174
19175 (allout-post-command-business): If the command we're following was
19176 an undo, check for change in the status of encrypted items and
19177 adjust auto-save inhibitions accordingly.
19178
19179 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19180 according to whether there are or aren't any plain-text topics
19181 pending encryption.
19182
19183 (allout-inhibit-auto-save-info-for-decryption):
19184 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19185 if there are plain-text topics pending encryption.
19186
19187 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19188 buffer-saved-size and some allout state to not inhibit auto-saves
19189 if there are no longer any plain-text topics pending encryption.
19190
19191 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19192 No longer provide for exemption of the current topic.
19193
19194 2011-07-04 Juri Linkov <juri@jurta.org>
19195
19196 Add 7z operations to delete and save changed members (bug#8968).
19197 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19198 New defcustoms.
19199 (archive-7z-write-file-member): New function.
19200 (archive-7z-summarize): Fix the number of dashes in the
19201 listing output.
19202
19203 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19204
19205 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19206 (bug#8958).
19207
19208 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19209
19210 * bindings.el: Ignore next-buffer and previous-buffer in
19211 minibuffer-local-map.
19212
19213 * font-lock.el (font-lock-builtin-face): Change light background
19214 color to dark slate blue (Bug#6693).
19215
19216 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19217
19218 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19219
19220 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19221
19222 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19223 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19224 Add switch-to-buffer.
19225
19226 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19227
19228 * isearch.el (isearch-search-fun-function): Clarify further the
19229 meaning of the function returned.
19230
19231 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19232
19233 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19234
19235 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19236 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19237 Use it.
19238 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19239 `tramp-default-remote-path' does not exist.
19240 (tramp-send-command-and-read): New optional argument NOERROR.
19241 (tramp-open-connection-setup-interactive-shell)
19242 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19243 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19244 (tramp-process-sentinel): Flush also process' connection property.
19245 (tramp-sh-handle-start-file-process): Do not set process
19246 sentinel. It is done now ...
19247 (tramp-maybe-open-connection): ... here. (Bug#8929)
19248
19249 2011-07-04 MON KEY <monkey@sandpframing.com>
19250
19251 * play/animate.el (animate-string): Doc fixes and allow changing
19252 the buffer name (bug#5417).
19253
19254 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19255
19256 * play/animate.el (animation-buffer-name): Rename from *animate*.
19257
19258 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19259
19260 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19261 This is simpler and helps future-proof the code.
19262 (timer-until): Use time-subtract and float-time.
19263 (timer--time-less-p): Use time-less-p.
19264
19265 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19266
19267 * type-break.el (timep): Use the value of `float-time' to avoid a
19268 byte-compiler warning.
19269
19270 * server.el (server-eval-and-print): Return any result, even nil.
19271
19272 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19273
19274 * type-break.el: Accept time formats that the builtins accept.
19275 (timep, type-break-time-difference): Accept any format that
19276 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19277 This is simpler and helps future-proof the code.
19278 (type-break-time-difference): Round rather than ignoring
19279 subseconds components.
19280
19281 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19282
19283 * info.el (Info-apropos-matches): Make non-interactive, since it
19284 doesn't seem to do anything useful as a command (bug#8829).
19285
19286 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19287
19288 * frame.el (frame-background-mode, frame-set-background-mode):
19289 Move from faces.el.
19290 (frame-default-terminal-background): New function.
19291
19292 * custom.el (custom-push-theme): Don't record faces in `changed'
19293 theme; this doesn't work correctly for per-frame face settings.
19294 (disable-theme): Use face-set-after-frame-default to reset faces.
19295 (custom--frame-color-default): New function.
19296
19297 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19298
19299 * dired.el (dired-flagging-regexp): Remove unused variable
19300 (bug#8769).
19301
19302 2011-03-29 Kevin Ryde <user42@zip.com.au>
19303
19304 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19305 `perl-Test2' extend to match possible "fail #N" rep count
19306 (bug#8377).
19307
19308 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19309
19310 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19311 `smtpmail-via-smtp' now returns the error instead of nil.
19312
19313 * isearch.el (isearch-search-fun-function): Clarify the doc string
19314 (bug#8101).
19315
19316 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19317
19318 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19319 unnecessary spaces (bug#8987).
19320
19321 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19322
19323 * net/network-stream.el (open-network-stream): Use the
19324 :end-of-capability command thoughout.
19325
19326 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19327
19328 * net/network-stream.el (open-network-stream): Add the
19329 :end-of-capability command parameter, used by pop3.el.
19330
19331 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19332
19333 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19334
19335 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19336 for list)" (bug#6475).
19337
19338 * files.el (file-expand-wildcards): Ignore non-readable
19339 sub-directories while trying to find matches instead of signaling
19340 an error (bug#6297).
19341
19342 * man.el (Man-reference-regexp): Allow matching possible
19343 word-wrapped references (bug#6289).
19344
19345 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19346 for consistency with the other vc buffers (bug#6197).
19347 (vc-checkin): Ditto.
19348
19349 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19350
19351 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19352
19353 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19354
19355 * custom.el (defcustom): Clarify that :set is only used in the
19356 Customize user interface (bug#6089).
19357
19358 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19359 associated with a file, refuse to run instead of erroring out
19360 (bug#6084).
19361
19362 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19363 the doc string, since it appears that using `fill-column' always
19364 controls the width (bug#7845).
19365
19366 * simple.el (shell-command-on-region): Say where the error output
19367 went if `shell-command-default-error-buffer' is set (bug#6857).
19368
19369 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19370
19371 * allout.el (allout-yank-processing): Adjust cursor position for
19372 backwards-deleted space.
19373
19374 (allout-rebullet-heading): Register changes with
19375 allout-exposure-changed-hook, so the modified topic is properly
19376 decorated.
19377
19378 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19379
19380 * minibuffer.el (completion-in-region): Document PREDICATE
19381 (bug#7136).
19382
19383 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19384 of keyword/argument pairs (bug#6904).
19385
19386 * replace.el (multi-occur):
19387 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19388
19389 2011-07-02 Drew Adams <drew.adams@oracle.com>
19390
19391 * dired.el (dired-mark-if): Make the message about whether it's
19392 marking or unmarking clearer (bug#8523).
19393
19394 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19395
19396 * disp-table.el (display-table-print-array): New function.
19397 (describe-display-table): Use it to print the vectors more pretty
19398 (Bug#8859).
19399
19400 2011-07-02 Martin Rudalics <rudalics@gmx.at>
19401
19402 * window.el (window-state-get-1): Don't assign clone numbers.
19403 Add clone-of item to list of window parameters.
19404 (window-state-put-2): Don't process clone numbers.
19405 (display-buffer-alist): Fix doc-string.
19406
19407 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19408
19409 * subr.el (remq): Don't allocate if it's not needed.
19410 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19411 (keymap--merge-bindings): New functions.
19412 (keymap-canonicalize): Use them to refine the canonicalization.
19413 * minibuffer.el (minibuffer-local-completion-map)
19414 (minibuffer-local-must-match-map): Move initialization from C.
19415 (minibuffer-local-filename-completion-map): Move initialization from C;
19416 don't inherit from anything here.
19417 (minibuffer-local-filename-must-match-map): Make obsolete.
19418 (completing-read-default): Use make-composed-keymap to combine
19419 minibuffer-local-filename-completion-map with either
19420 minibuffer-local-must-match-map or
19421 minibuffer-local-filename-completion-map.
19422
19423 2011-07-01 Glenn Morris <rgm@gnu.org>
19424
19425 * type-break.el (type-break-time-sum): Use dolist.
19426
19427 * textmodes/flyspell.el (flyspell-word-search-backward):
19428 Replace CL function.
19429
19430 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19431
19432 * mouse.el (mouse--strip-first-event): New function.
19433 (function-key-map): Use it to map fringe clicks to normal clicks
19434 by default.
19435
19436 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19437 (vc-bzr-revision-completion-table): Add support for annotate and date.
19438
19439 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19440 inherit from parent.
19441
19442 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19443
19444 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19445 (dired-show-file-type): Doc fixup (bug#8818).
19446
19447 * dired.el (dired-mode): Fix up the doc string as suggested by
19448 Drew Adams (bug#8817).
19449
19450 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19451 cookie, since the manual says that it should be possible to add
19452 this function to `find-file-hook' (bug#8709).
19453
19454 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19455
19456 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19457 here. Noted Ted Zlatanov as the maintainer.
19458 (cfengine-common-settings, cfengine-common-syntax): New functions
19459 to set up common things between `cfengine-mode' and
19460 `cfengine3-mode'.
19461 (cfengine3-mode): New mode.
19462 (cfengine3-defuns cfengine3-defuns-regex
19463 (cfengine3-class-selector-regex cfengine3-category-regex)
19464 (cfengine3-vartypes cfengine3-font-lock-keywords)
19465 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19466 (cfengine3-indent-line): Add from cfengine3.el.
19467
19468 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
19469
19470 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19471
19472 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19473
19474 2011-07-01 Martin Rudalics <rudalics@gmx.at>
19475
19476 * window.el (same-window-buffer-names, same-window-regexps)
19477 (same-window-p, special-display-frame-alist)
19478 (special-display-popup-frame, special-display-function)
19479 (special-display-buffer-names, special-display-regexps)
19480 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19481 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19482 (split-window-preferred-function, split-height-threshold)
19483 (split-width-threshold, even-window-heights)
19484 (display-buffer-mark-dedicated, window-splittable-p)
19485 (split-window-sensibly, window-safely-shrinkable-p):
19486 Un-obsolete.
19487 (display-buffer): Don't spread args with function specifier
19488 because special-display-popup-frame won't like it.
19489
19490 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19491
19492 Time-stamp simplifications and fixes.
19493 These improve accuracy slightly, and future-proof the code
19494 against some potential changes to current-time format.
19495
19496 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19497 by using time-since and float-time.
19498
19499 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19500 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19501 + NNN microseconds".
19502
19503 * type-break.el (type-break-time-sum): Rewrite using time-add.
19504
19505 * play/hanoi.el (hanoi-current-time-float): Remove.
19506 All uses replaced by float-time.
19507
19508 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19509 This yields a more-accurate answer.
19510 (rng-time-to-float): Remove; no longer needed.
19511
19512 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19513
19514 * calendar/timeclock.el (timeclock-seconds-to-time):
19515 Defalias to seconds-to-time, since they're the same thing.
19516
19517 * emacs-lisp/elp.el (elp-elapsed-time):
19518 * emacs-lisp/benchmark.el (benchmark-elapse):
19519 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19520
19521 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19522
19523 * window.el (bury-buffer): Don't iconify the only frame.
19524 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19525 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19526
19527 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
19528
19529 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19530 Add mouse-yank-primary.
19531
19532 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19533
19534 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19535
19536 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19537
19538 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19539 (find-library-name): Use it to find relative load names when provided
19540 absolute file name (bug#8803).
19541
19542 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19543
19544 * textmodes/flyspell.el (flyspell-word): Consider words that
19545 differ only in case as potential doublons (bug#5687).
19546
19547 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19548 Remove two rather uninteresting debugging-like messages to make
19549 debbugs.el more silent.
19550
19551 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19552 a password-like phrase.
19553
19554 2011-06-30 Masatake YAMATO <yamato@redhat.com>
19555
19556 * progmodes/cc-guess.el: New file.
19557
19558 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
19559
19560 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19561 derived from `c-basic-common-init'.
19562
19563 * progmodes/cc-mode.el (top-level): Require cc-guess.
19564 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19565
19566 2011-06-30 Lawrence Mitchell <wence@gmx.li>
19567
19568 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19569
19570 2011-06-30 Alan Mackenzie <acm@muc.de>
19571
19572 * progmodes/cc-engine.el (c-guess-continued-construct):
19573 Correct the handling of template-args-cont, particularly for when font
19574 lock is disabled. Name this case as "CASE G".
19575
19576 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19577
19578 * allout.el (allout-yank-processing): Fix injection of extra space
19579 between bullet and non-whitespace character in first topic when
19580 pasting, ensuring that the actual spacing in the pasted topic
19581 following the bullet char is preserved. This extra space was
19582 causing pasted encrypted topics to get a decrypted status even
19583 when the content was actually still encrypted. Now the decryption
19584 status from before the paste is preserved.
19585
19586 (allout-flag-region): Set all allout overlays so they evaporate
19587 when reduced to zero length (evanescent), to prevent overlay
19588 leakage.
19589
19590 2011-06-30 Glenn Morris <rgm@gnu.org>
19591
19592 * w32-fns.el (w32-charset-info-alist): Declare.
19593
19594 * find-dired.el (find-grep-options): Simplify.
19595
19596 * term/ns-win.el (ns-set-resource): Declare.
19597
19598 * ses.el (row, col): Declare dynamic variables honestly.
19599
19600 * textmodes/reftex-parse.el (index-tags): Declare.
19601
19602 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
19603
19604 * cus-edit.el (customize-push-and-save): New function.
19605
19606 * files.el (hack-local-variables-confirm): Use it.
19607
19608 * custom.el (load-theme): New arg NO-CONFIRM.
19609 Use customize-push-and-save (Bug#8720).
19610 (custom-enabled-themes): Doc fix.
19611
19612 * cus-theme.el (customize-create-theme)
19613 (custom-theme-merge-theme): Callers to load-theme changed.
19614
19615 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19616
19617 * thingatpt.el (thing-at-point-short-url-regexp): Require that
19618 short URLs have at least one dot in them (bug #7614).
19619
19620 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19621 nil, because using a pty is apparently too slow (bug #895).
19622
19623 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
19624
19625 * mail/sendmail.el (sendmail-query-once): New function.
19626 (sendmail-query-once-function): New variable.
19627
19628 2011-06-29 Glenn Morris <rgm@gnu.org>
19629
19630 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19631
19632 * ses.el (top-level): Require cl when compiling.
19633 (ses-set-localvars): Fix error statement.
19634 Call it at compile time to silence a storm of warnings.
19635
19636 2011-06-29 Martin Rudalics <rudalics@gmx.at>
19637
19638 * window.el (normalize-live-buffer): Rename to
19639 window-normalize-buffer.
19640 (normalize-live-frame): Rename to window-normalize-frame.
19641 (normalize-any-window): Rename to window-normalize-any-window.
19642 (normalize-live-window): Rename to window-normalize-live-window.
19643 (make-window-atom): Rename to window-make-atom.
19644 (window-resize-reset): Rename to window--resize-reset.
19645 (window-resize-reset-1): Rename to window--resize-reset-1.
19646 (resize-mini-window): Rename to window--resize-mini-window.
19647 (resize-subwindows-skip-p): Rename to
19648 window--resize-subwindows-skip-p.
19649 (resize-subwindows-normal): Rename to
19650 window--resize-subwindows-normal.
19651 (resize-subwindows): Rename to window--resize-subwindows.
19652 (resize-other-windows): Rename to window--resize-siblings.
19653 (resize-this-window): Rename to window--resize-this-window.
19654 (resize-root-window): Rename to window--resize-root-window.
19655 (resize-root-window-vertically): Rename to
19656 window--resize-root-window-vertically.
19657 (normalize-buffer-to-display): Rename to
19658 window-normalize-buffer-to-display.
19659 (normalize-buffer-to-switch-to): Rename to
19660 window-normalize-buffer-to-switch-to.
19661 Correspondingly update all callers of the functions listed
19662 above.
19663 (display-buffer-alist, display-buffer-normalize-arguments)
19664 (display-buffer-normalize-options, display-buffer)
19665 (display-buffer-alist-set): Use "function" instead of
19666 "fun-with-args".
19667
19668 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
19669
19670 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19671 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19672 debbugs.gnu.org. Mention acknowledgment email.
19673
19674 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19675
19676 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19677 buffer multibyteness, since it shouldn't matter.
19678
19679 2011-06-28 Martin Rudalics <rudalics@gmx.at>
19680
19681 * window.el (display-buffer-in-side-window): Handle dedicated
19682 windows as in display-buffer-reuse-window.
19683 (display-buffer-normalize-alist): Use value of override
19684 specifier.
19685 (display-buffer-normalize-specifiers): Use value of
19686 other-window-means-other-frame specifier.
19687 (display-buffer-alist): Rewrite some texts in widgets.
19688 (display-buffer): Spread arguments when calling function
19689 specified by fun-with-args.
19690
19691 2011-06-28 Deniz Dogan <deniz@dogan.se>
19692
19693 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19694 Unnest `let'.
19695
19696 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19697 selectors (Bug#5732).
19698 (css-proprietary-nmstart-re): Use `regexp-opt'.
19699
19700 2011-06-27 Jari Aalto <jari.aalto@cante.net>
19701
19702 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19703 (eshell-ls-date-format): New defcustom.
19704 (eshell-ls-file): Use it.
19705
19706 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19707
19708 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19709
19710 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19711
19712 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19713 (ange-ftp-make-tmp-name): New arg.
19714 (ange-ftp-file-local-copy): Use it.
19715
19716 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
19717
19718 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19719 no-conversion (Bug#8870).
19720
19721 2011-06-27 Martin Rudalics <rudalics@gmx.at>
19722
19723 * window.el (window-right, window-left, window-child)
19724 (window-child-count, window-last-child)
19725 (window-iso-combination-p, walk-window-tree-1)
19726 (window-atom-check-1, window-tree-1, delete-window)
19727 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19728 new naming conventions - window-vchild, window-hchild,
19729 window-next and window-prev are now called window-top-child,
19730 window-left-child, window-next-sibling and window-prev-sibling
19731 respectively.
19732 (resize-window-reset): Rename to window-resize-reset.
19733 (resize-window-reset-1): Rename to window-resize-reset-1.
19734 (resize-window): Rename to window-resize.
19735 (window-min-height, window-min-width)
19736 (resize-mini-window, resize-this-window, resize-root-window)
19737 (resize-root-window-vertically, adjust-window-trailing-edge)
19738 (enlarge-window, shrink-window, maximize-window)
19739 (minimize-window, delete-window, quit-restore-window)
19740 (split-window, balance-windows, balance-windows-area-adjust)
19741 (balance-windows-area, window-state-put-2)
19742 (display-buffer-even-window-sizes, display-buffer-set-height)
19743 (display-buffer-set-width, set-window-text-height)
19744 (fit-window-to-buffer): Rename all "resize-window" prefixed
19745 calls to use the "window-resize" prefix convention.
19746 (display-buffer-alist): Fix symbol for label specifier.
19747 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19748 corresponding specifier.
19749 Reported by Juanma Barranquero <lekktu@gmail.com>.
19750
19751 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19752
19753 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19754 convention.
19755 (ses-call-printer): Does not pass an empty string to formatter when the
19756 cell is empty to keep from barking printer Calc math-format-value.
19757
19758 2011-06-27 Richard Stallman <rms@gnu.org>
19759
19760 * battery.el (battery-mode-line-limit): New variable.
19761 (battery-update): Handle it.
19762
19763 * mail/rmailmm.el (rmail-mime-process-multipart):
19764 Handle truncated messages.
19765
19766 2011-06-27 Glenn Morris <rgm@gnu.org>
19767
19768 * progmodes/flymake.el (flymake-err-line-patterns):
19769 Allow for column numbers in the ant/javac pattern. (Bug#8866)
19770
19771 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19772
19773 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
19774 (ses--clean-!, ses--clean-_): New functions.
19775 (ses-range): Add configurability of readout order, and conversion
19776 to Calc vector.
19777
19778 * ses.el (ses-repair-cell-reference-all): New function.
19779 (ses-cell-symbol): Set macro as safe, so that it can be used in
19780 formulas.
19781
19782 * ses.el: Update cycle detection algorithm.
19783 (ses-localvars): Add ses--Dijkstra-attempt-nb and
19784 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
19785 (ses-set-localvars): New function.
19786 (ses-make-cell): Add property-list as a cell element.
19787 (ses-cell-property-get-fun, ses-cell-property-get)
19788 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
19789 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19790 New functions.
19791 (ses-cell-property-set, ses-cell-property-pop)
19792 (ses-cell-property-get-handle): New macro.
19793 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19794 New aliases, used for code readability.
19795 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19796 cycle detection.
19797 (ses-self-reference-early-detection): New defcustom.
19798 (ses-formula-references): Robustify against self-referring cells.
19799 (ses-mode): Use ses-set-localvars.
19800 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19801 before lauching the update processing.
19802 (ses-initialize-Dijkstra-attempt): New function.
19803 (ses-recalculate-cell): Update for cycle detection based on
19804 Dijkstra algorithm.
19805
19806 * ses.el: Fix commenting and indenting convention.
19807
19808 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19809
19810 * bs.el (bs-cycle-next): Complete last change.
19811
19812 2011-06-27 Drew Adams <drew.adams@oracle.com>
19813
19814 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19815
19816 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19817
19818 * net/network-stream.el (network-stream-open-starttls):
19819 Don't re-get capabilities unless we've reestablished connection.
19820 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19821
19822 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19823 to binary to possibly avoid line encoding issues on Windows (among
19824 other things).
19825
19826 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19827
19828 * net/network-stream.el (open-network-stream): Return an :error
19829 saying what the problem was, if possible.
19830
19831 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19832 server.
19833
19834 * net/network-stream.el (network-stream-open-starttls): If we
19835 wanted to use STARTTLS, and the server offered it, but we weren't
19836 able to because we had no STARTTLS support, then close the connection.
19837 (open-network-stream): Return an :error element, if present.
19838
19839 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
19840
19841 * hl-line.el (hl-line-sticky-flag): Doc fix.
19842 (global-hl-line-sticky-flag): New option (Bug#8323).
19843 (global-hl-line-highlight): Obey it.
19844
19845 * vc/vc.el (vc-revert-show-diff): Default to t.
19846
19847 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
19848
19849 * allout-widgets.el (allout-widgets-post-command-business):
19850 Stop decorating intermediate isearch matches. They're not being
19851 undecorated when an isearch is continued past, and isearch
19852 automatically collapses them. This leads to "widget leaks", where
19853 decorated items accumulate in collapsed areas. Lines with lots of
19854 hidden widgets can slow down cursor travel, substantially.
19855 Too much complicated machinery would be needed to ensure undecoration,
19856 so we're doing without this nicety.
19857
19858 (allout-widgets-tally-string): Don't try to do a hash-table-count
19859 of allout-widgets-tally when it's nil. This eliminates spurious "Error
19860 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19861 *Messages* when allout-widgets-maintain-tally is t.
19862
19863 2011-06-26 Martin Rudalics <rudalics@gmx.at>
19864
19865 * window.el (display-buffer-normalize-argument): Rename to
19866 display-buffer-normalize-arguments. Handle special meaning of
19867 LABEL argument. Respect special-display-function when popping up
19868 a new frame. Fix code searching for a window showing the buffer
19869 on another frame.
19870 (display-buffer-normalize-specifiers):
19871 Call display-buffer-normalize-arguments.
19872 (display-buffer-in-window): Don't undedicate the window if its
19873 buffer remains the same.
19874 Reported by Drew Adams <drew.adams@oracle.com>.
19875 (display-buffer-alist): Add choice for same-window macro
19876 specfier.
19877 (display-buffer): Mention special meaning of LABEL argument in
19878 doc-string. Fix quoting. Don't pop up a new frame even as
19879 fallback.
19880
19881 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
19882
19883 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19884 avoid deleting the current window in some cases (bug#8911).
19885
19886 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
19887
19888 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19889 (Bug#8934)
19890
19891 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19892
19893 * net/network-stream.el (network-stream-open-starttls):
19894 Use built-in TLS support if `gnutls-available-p' is true.
19895 (network-stream-open-tls): Ditto.
19896
19897 2011-06-26 Leo Liu <sdl.web@gmail.com>
19898
19899 * register.el (registerv): New struct.
19900 (registerv-make): New function.
19901 (jump-to-register, describe-register-1, insert-register):
19902 Support the jump-func, print-func and insert-func slot of a registerv
19903 struct. (Bug#8415)
19904
19905 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
19906
19907 * vc/vc.el (vc-revert-show-diff): New defcustom.
19908 (vc-diff-internal): New arg specifying diff buffer.
19909 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
19910 reuse an existing *vc-diff* buffer (Bug#8927).
19911
19912 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19913
19914 2011-06-26 Glenn Morris <rgm@gnu.org>
19915
19916 * progmodes/f90.el (f90-critical-indent): New option.
19917 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
19918 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
19919 (f90-mode): Doc fix.
19920 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
19921 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
19922 (f90-beginning-of-block, f90-next-block, f90-indent-region)
19923 (f90-match-end): Handle block, critical.
19924
19925 2011-06-25 Glenn Morris <rgm@gnu.org>
19926
19927 * calendar/diary-lib.el (diary-included-files): Doc fix.
19928 (diary-include-files): New function, extracted from
19929 diary-include-other-diary-files and diary-mark-included-diary-files.
19930 (diary-include-other-diary-files, diary-mark-included-diary-files):
19931 Just call diary-include-files.
19932 (diary-mark-entries): Reset diary-included-files on first call.
19933
19934 * calendar/diary-lib.el (diary-mark-entries)
19935 (diary-mark-included-diary-files):
19936 Visit included diary-files in temp buffers.
19937
19938 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
19939 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
19940 (f90-start-block-re, f90-imenu-generic-expression)
19941 (f90-looking-at-program-block-start, f90-no-block-limit):
19942 Add support for submodules.
19943
19944 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19945 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
19946
19947 2011-06-25 Eli Zaretskii <eliz@gnu.org>
19948
19949 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19950 buffer-file-type before setting its value, to avoid disastrous
19951 global effects on decoding files for DOS/Windows systems. (Bug#8780)
19952
19953 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
19954
19955 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19956
19957 * ses.el (ses-unload-function):
19958 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19959
19960 * proced.el (proced-unload-function):
19961 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19962
19963 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
19964
19965 * server.el (server-create-window-system-frame): Add parameters arg.
19966 (server-process-filter): Doc fix. Handle frame-parameters.
19967
19968 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
19969
19970 Fix bug#8730, bug#8781.
19971
19972 * loadhist.el (unload--set-major-mode): New function.
19973 (unload-feature): Use it.
19974
19975 * progmodes/python.el (python-after-info-look): Add autoload cookie.
19976 (python-unload-function): New function.
19977
19978 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19979
19980 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19981
19982 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
19983
19984 * net/browse-url.el (browse-url-firefox-program): Add icecat to
19985 the candidates list.
19986
19987 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
19988
19989 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19990
19991 2011-06-23 Richard Stallman <rms@gnu.org>
19992
19993 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19994 (rmail-variables): Set next-error-move-function.
19995 (rmail-what-message): Take argument POS.
19996 (rmail-next-error-move): New function.
19997
19998 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
19999
20000 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20001 messages for adjacent non-terminals.
20002
20003 2011-06-23 Richard Stallman <rms@gnu.org>
20004
20005 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20006 (rmail-show-message-1): Preserve buffer modified flag.
20007 (rmail-start-mail): Don't specify use of rmail-mail-return;
20008 that's done by mail-bury now.
20009 (rmail-mail-return): Handle arg NEWBUF.
20010
20011 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20012
20013 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20014 SIZE is a number.
20015
20016 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20017
20018 * window.el (get-lru-window, get-mru-window)
20019 (get-largest-window): Never return a minibuffer window.
20020 (display-buffer-pop-up-window): Fix a bug that could lead to
20021 reusing the minibuffer window.
20022 (display-buffer): Pass original specifier argument to
20023 display-buffer-function instead of the normalized one.
20024 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20025
20026 2011-06-22 Leo Liu <sdl.web@gmail.com>
20027
20028 * minibuffer.el (completing-read-function)
20029 (completing-read-default): Move from minibuf.c.
20030
20031 2011-06-22 Richard Stallman <rms@gnu.org>
20032
20033 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20034 to Rmail even if not started by a special Rmail command.
20035
20036 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20037 Copy the buffer currently showing just one message.
20038
20039 2011-06-22 Roland Winkler <winkler@gnu.org>
20040
20041 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20042 (bibtex-clean-entry): First delete the old key so that a
20043 customized algorithm for generating the new key does not get
20044 confused by the old key.
20045 (bibtex-url): Obey regexp of first step.
20046 (bibtex-search-entries): Do not use add-to-list with local
20047 list-var.
20048
20049 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20050
20051 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20052 stored a user name, then query for the password first, instead of
20053 waiting for SMTP to give an error message and the trying again.
20054
20055 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20056
20057 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20058 BUFFER in call-process.
20059
20060 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20061
20062 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20063 QUIT twice.
20064 (smtpmail-try-auth-methods): Require user name and password from
20065 auth-source.
20066
20067 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20068
20069 * window.el (display-buffer-default-specifiers)
20070 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20071 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20072 (split-window): Normalize SIDE argument (Bug#8916).
20073
20074 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20075 (special-display-frame-alist, special-display-popup-frame):
20076 Remove duplicate declarations. These are now in window.el.
20077
20078 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20079
20080 * mail/smtpmail.el (smtpmail-via-smtp):
20081 Set :use-starttls-if-possible so that we always use STARTTLS if the
20082 server supports it. SMTP servers that support STARTTLS commonly
20083 require it.
20084
20085 * net/network-stream.el (network-stream-open-starttls): Support
20086 upgrading to STARTTLS always, even if we don't have built-in support.
20087 (open-network-stream): Add the :always-query-capabilities keyword.
20088
20089 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20090 upgrades with `open-network-stream', and rely solely on
20091 auth-source for all credentials. Big changes throughout the file,
20092 but in particular:
20093 (smtpmail-auth-credentials): Remove.
20094 (smtpmail-starttls-credentials): Remove.
20095 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20096 MAIL FROM, too.
20097
20098 * net/network-stream.el (network-stream-open-starttls):
20099 Provide support for client certificates both for external and built-in
20100 STARTTLS.
20101 (auth-source): Require.
20102 (open-network-stream): Document the :client-certificate keyword.
20103 (network-stream-certificate): Change cert-cert to cert and
20104 cert-key to key.
20105
20106 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20107
20108 * net/tramp-cache.el (top): Don't load the persistency file when
20109 "emacs -Q" has been called.
20110
20111 2011-06-21 Tim Harper <timcharper@gmail.com>
20112
20113 * term/ns-win.el (ns-initialize-window-system):
20114 Set application-specific `ApplePressAndHoldEnabled' system
20115 resource to NO as it is not yet supported by the NS port.
20116
20117 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20118
20119 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20120 (list-dynamic-libraries): ...not here.
20121
20122 2011-06-21 Leo Liu <sdl.web@gmail.com>
20123
20124 * subr.el (sha1): Implement sha1 using secure-hash.
20125
20126 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20127
20128 * window.el (display-buffer-alist): In default value do not
20129 enforce searching a window on any but the selected frame.
20130 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20131 (display-buffer-select-window): Remove function.
20132 (display-buffer-in-window): When a window on another frame gets
20133 reused, do not select it any more but just raise its frame if
20134 necessary (Bug#8851) and (Bug#8856).
20135 (display-buffer-normalize-options): Handle pop-up-frames related
20136 options more faithfully.
20137 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20138 window if it is on another frame.
20139 (display-buffer-alist, display-buffer-default-specifiers):
20140 Don't make new frame unsplittable by default.
20141 (display-buffer-normalize-argument): Fix doc-string typo and use
20142 'same-frame-other-window instead of 'other-window when associating
20143 with display-buffer-macro-specifiers.
20144
20145 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20146
20147 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20148 New functions.
20149 (5x5-mode-map, 5x5-mode-menu): Bind them.
20150 (5x5-draw-grid): Tweak the solver's rendering.
20151
20152 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20153
20154 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20155 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20156
20157 2011-06-21 Drew Adams <drew.adams@oracle.com>
20158
20159 * menu-bar.el: Use function variable instead of switch-to-buffer.
20160 (menu-bar-select-buffer-function): New variable.
20161 (menu-bar-update-buffers): Use it (bug#8876).
20162
20163 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20164
20165 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20166 variable's status.
20167
20168 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20169
20170 * x-dnd.el (x-dnd-version-from-flags)
20171 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20172 and long as number (Bug#8899).
20173 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20174
20175 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20176
20177 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20178 (completion-try-completion, completion-all-completions): Compute the
20179 metadata argument if it's missing; make it optional (bug#8795).
20180
20181 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20182 (widget-complete): Use new :completion-function property.
20183 (widget-completions-at-point): New function.
20184 (default): Use :completion-function instead of :complete.
20185 (widget-default-completions): Rename from widget-default-complete;
20186 Rewrite.
20187 (widget-string-complete, widget-file-complete, widget-color-complete):
20188 Remove functions.
20189 (file, symbol, function, variable, coding-system, color):
20190 * international/mule-cmds.el (default-input-method, charset)
20191 (language-info-custom-alist):
20192 * cus-edit.el (face): Use new property :completions.
20193
20194 * progmodes/pascal.el (pascal-completions-at-point): New function.
20195 (pascal-mode): Use it.
20196 (pascal-mode-map): Use completion-at-point.
20197 (pascal-toggle-completions): Make obsolete.
20198 (pascal-complete-word, pascal-show-completions):
20199 * progmodes/octave-mod.el (octave-complete-symbol):
20200 Redefine as obsolete alias.
20201 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20202 Signal absence of completion info for old Octave,
20203 (inferior-octave-complete): Redefine as obsolete alias.
20204 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20205 (meta-completions-at-point): Rename from meta-complete-symbol and
20206 adapt it for use on completion-at-point-functions.
20207 (meta-common-mode): Use it.
20208 (meta-looking-at-backward, meta-match-buffer): Remove.
20209 (meta-complete-symbol): Redefine as obsolete alias.
20210 (meta-common-mode-map): Use completion-at-point.
20211 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20212 (makefile-mode-map): Use completion-at-point.
20213 (makefile-completions-at-point): Rename from makefile-complete and
20214 adapt it for use on completion-at-point-functions.
20215 (makefile-mode): Use it.
20216 (makefile-complete): Redefine as obsolete alias.
20217
20218 2011-06-20 Deniz Dogan <deniz@dogan.se>
20219
20220 * net/rcirc.el: Delete trailing whitespaces once and for all.
20221
20222 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20223
20224 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20225
20226 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20227
20228 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20229
20230 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20231
20232 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20233
20234 * window.el (display-buffer-other-window-means-other-frame):
20235 Call display-buffer-normalize-alist.
20236 (display-buffer-normalize-specifiers-1): Rename to
20237 display-buffer-normalize-argument. New argument other-frame.
20238 Rewrite.
20239 (display-buffer-normalize-specifiers-2): Rename to
20240 display-buffer-normalize-options.
20241 (display-buffer-normalize-alist-1): New function.
20242 (display-buffer-normalize-specifiers-3): Rename to
20243 display-buffer-normalize-alist.
20244 Call display-buffer-normalize-alist-1.
20245 (display-buffer-normalize-options-inhibit): New variable.
20246 (display-buffer-normalize-specifiers): Rewrite calling
20247 display-buffer-normalize-alist,
20248 display-buffer-normalize-argument, and
20249 display-buffer-normalize-options. Don't call the latter if
20250 display-buffer-normalize-options-inhibit is non-nil.
20251 (frame-auto-delete): New option.
20252 (window-deletable-p): Use frame-auto-delete.
20253 (window-list-no-nils, window-state-ignored-parameters)
20254 (window-state-get-1, window-state-get, window-state-put-list)
20255 (window-state-put-1, window-state-put-2, window-state-put):
20256 New functions.
20257 (display-buffer-normalize-options): Move special-display-p group
20258 after pop-up-frame group (Bug#8851) and (Bug#8856).
20259
20260 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20261
20262 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20263 groups (Bug#8776).
20264 (rx-submatch-n): New function.
20265 (rx): Document it.
20266
20267 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20268 (Bug#8768).
20269
20270 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20271
20272 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20273
20274 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20275 anytime existing face settings are present (Bug#8889).
20276
20277 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20278 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20279 Remove unused argument.
20280
20281 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20282
20283 * window.el (display-buffer-default-specifiers):
20284 Remove pop-up-frame. Add pop-up-window-min-height,
20285 pop-up-window-min-width, and another reuse-window specifier
20286 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20287 (display-buffer-normalize-specifiers-2):
20288 Handle split-height-threshold and split-width-threshold also when
20289 pop-up-windows is unset. Add a reuse-window specifier for the
20290 case popping up a new window fails.
20291 (special-display-popup-frame): Remove double quoting.
20292 (display-buffer-normalize-specifiers-1): Fix thinko.
20293
20294 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20295
20296 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20297 according to comint-completion-addsuffix.
20298
20299 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20300 (pcomplete-suffix-list): Mark as obsolete.
20301 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20302 pcomplete-seen in the closure.
20303 (pcomplete-comint-setup): Setup completion-at-point as well.
20304 (pcomplete--entries): New function.
20305 (pcomplete--env-regexp): New var.
20306 (pcomplete-entries): Rewrite to work with partial-completion and
20307 without relying on pcomplete-suffix-list.
20308 (pcomplete-pare-list): Remove, unused.
20309
20310 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20311
20312 * window.el (display-buffer-alist): Set pop-up-window-min-height
20313 and pop-up-window-min-width in default value. Reported by
20314 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20315 other-window-means-other-frame.
20316 (display-buffer-macro-specifiers): Comment out entry for
20317 other-window specifier.
20318 (display-buffer-other-window-means-other-frame): New function.
20319 (display-buffer-normalize-specifiers-1): New arguments
20320 buffer-name and label. Treat other-window case specially.
20321 (display-buffer-normalize-specifiers-2): Treat other-window case
20322 specially.
20323 (display-buffer-normalize-specifiers-3): New function.
20324 (display-buffer-normalize-specifiers):
20325 Call display-buffer-normalize-specifiers-3.
20326
20327 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20328
20329 * window.el (same-window-p): Fix two typos introduced when
20330 adding with-no-warnings.
20331 (display-buffer-normalize-specifiers-1): Don't check
20332 pop-up-frames for 'unset initialization.
20333 (display-buffer-normalize-specifiers-2): Major rewrite using
20334 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20335 (pop-up-frames, display-buffer-reuse-frames)
20336 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20337 Suggested by David Engster <deng@randomsample.de>.
20338 (even-window-heights): Initialize to 'unset.
20339 (display-buffer-alist-set): Handle new 'unset initializations.
20340 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20341 other window case.
20342
20343 2011-06-16 Martin Rudalics <rudalics@gmx.at>
20344
20345 * window.el (display-buffer-normalize-specifiers-1):
20346 Respect current value of pop-up-frames for most reasonable values of
20347 second argument of display-buffer (Bug#8865).
20348 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20349 (switch-to-buffer-other-window-same-frame)
20350 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20351 Adams (Bug#8875).
20352 (display-buffer): Don't check noninteractive when calling
20353 display-buffer-pop-up-frame.
20354 (display-buffer-pop-up-frame): Never pop up a frame in
20355 noninteractive mode (Bug#8857).
20356 (enlarge-window, shrink-window): Don't report an error when the
20357 window can't be resized as requested (Bug#8862).
20358
20359 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20360
20361 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20362
20363 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20364
20365 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20366
20367 2011-06-15 Alan Mackenzie <acm@muc.de>
20368
20369 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20370 for declarators, disable knr checking to speed up for normal files.
20371 2: Refactor, replacing a sequence of nested if forms by a cond form.
20372
20373 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20374
20375 * net/network-stream.el (open-network-stream): Add the keyword
20376 :always-query-capabilities for the case where you want to force a
20377 `plain' network connection, but the protocol still requires the
20378 capabilitiy command (i.e., SMTP and EHLO).
20379
20380 * subr.el (process-live-p): Rename from `process-alive-p' for
20381 consistency with other `-live-p' functions.
20382
20383 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20384
20385 * window.el (same-window-buffer-names, same-window-regexps)
20386 (special-display-frame-alist, special-display-popup-frame)
20387 (special-display-function, special-display-buffer-names)
20388 (special-display-regexps, pop-up-frame-alist)
20389 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20390 (pop-up-windows, split-window-preferred-function)
20391 (split-height-threshold, split-width-threshold, even-window-heights)
20392 (display-buffer-mark-dedicated): Don't encourage the use of
20393 display-buffer-alist from Elisp code.
20394
20395 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20396
20397 * progmodes/python.el (python-mode): Derive from prog-mode.
20398 * progmodes/ps-mode.el (ps-mode):
20399 * progmodes/mixal-mode.el (mixal-mode):
20400 * progmodes/cfengine.el (cfengine-mode):
20401 * progmodes/ld-script.el (ld-script-mode): Likewise.
20402
20403 2011-06-15 Martin Rudalics <rudalics@gmx.at>
20404
20405 * window.el (display-buffer-alist): Trim default value to avoid
20406 popping up a new frame (Bug#8857) or reusing an arbitrary window
20407 on another frame.
20408 (display-buffer): Do not fall back on popping up a new frame in
20409 batch mode (Bug#8857).
20410
20411 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
20412
20413 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20414 (custom-theme-summary): New function.
20415 (customize-themes): Use it.
20416
20417 2011-06-13 Glenn Morris <rgm@gnu.org>
20418
20419 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20420
20421 2011-06-13 Martin Rudalics <rudalics@gmx.at>
20422
20423 * help.el (help-window): Remove variable.
20424 (help-window-point-marker, temp-buffer-max-height)
20425 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20426 (help-print-return-message): Don't set help-window.
20427 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20428 (help-window-setup-finish): Remove.
20429 (help-window-display-message, help-window-setup)
20430 (with-help-window): Major rewrite based on new
20431 display-buffer-window variable.
20432
20433 * help-mode.el (help-mode-finish): Remove help-window related
20434 code.
20435
20436 * view.el (view-exits-all-viewing-windows): Remove reference to
20437 view-return-to-alist in doc-string.
20438 (view-return-to-alist): Make obsolete.
20439 (view-buffer): Call pop-to-buffer-same-window and remove
20440 undo-window code.
20441 (view-buffer-other-window): Call pop-to-buffer-other-window and
20442 simplify code. Ignore second argument.
20443 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20444 simplify code. Ignore second argument.
20445 (view-return-to-alist-update): Make obsolete.
20446 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20447 Rewrite using quit-restore window parameters.
20448 (view-mode-exit): Rename second argument to EXIT-ONLY.
20449 Rewrite using quit-restore-window.
20450 (View-exit, View-exit-and-edit, View-leave, View-quit)
20451 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20452 appropriate arguments.
20453 (view-end-message): Use quit-restore window parameter.
20454
20455 * window.el (display-buffer-function): Rewrite doc-string.
20456 (display-buffer-window, display-buffer-alist): New variables.
20457 (display-buffer-split-specifiers)
20458 (display-buffer-side-specifiers)
20459 (display-buffer-macro-specifiers): New constants.
20460 (display-buffer-even-window-sizes, display-buffer-set-height)
20461 (display-buffer-set-width, display-buffer-select-window)
20462 (display-buffer-in-window, display-buffer-reuse-window)
20463 (display-buffer-split-window-1, display-buffer-split-window)
20464 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20465 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20466 (display-buffer-in-side-window, normalize-buffer-to-display)
20467 (display-buffer-normalize-specifiers-1)
20468 (display-buffer-normalize-specifiers-2)
20469 (display-buffer-normalize-specifiers, display-buffer-frame):
20470 New functions.
20471 (display-buffer): Major rewrite.
20472 (display-buffer-other-window, display-buffer-other-frame)
20473 (pop-to-buffer, switch-to-buffer-other-window)
20474 (switch-to-buffer-other-frame): Rewrite.
20475 (display-buffer-same-window, display-buffer-same-frame)
20476 (display-buffer-same-frame-other-window)
20477 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20478 (pop-to-buffer-other-window)
20479 (pop-to-buffer-same-frame-other-window)
20480 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20481 (switch-to-buffer-other-window-same-frame): New functions.
20482 (same-window-p, special-display-p): Rewrite disabling warnings.
20483 Make obsolete.
20484 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20485 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20486 Make obsolete
20487 (same-window-buffer-names, same-window-regexps)
20488 (special-display-frame-alist, special-display-popup-frame)
20489 (special-display-function, special-display-buffer-names)
20490 (special-display-regexps, pop-up-frame-alist)
20491 (pop-up-frame-function, split-window-preferred-function)
20492 (split-height-threshold, split-width-threshold)
20493 (even-window-heights): Make obsolete.
20494
20495 2011-06-12 Glenn Morris <rgm@gnu.org>
20496
20497 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
20498 Misc simplifications.
20499
20500 2011-06-12 Martin Rudalics <rudalics@gmx.at>
20501
20502 * window.el (window-safely-shrinkable-p): Restore function which
20503 was inadvertently removed in change from 2011-06-11. Declare as
20504 obsolete.
20505
20506 * calendar/calendar.el (calendar-generate-window):
20507 Use window-iso-combined-p instead of combination of one-window-p and
20508 window-safely-shrinkable-p.
20509
20510 2011-06-12 Glenn Morris <rgm@gnu.org>
20511
20512 * progmodes/fortran.el (fortran-mode-syntax-table):
20513 * progmodes/f90.el (f90-mode-syntax-table):
20514 Set % to punctuation. (Bug#8820)
20515 (f90-find-tag-default): Remove, no longer needed.
20516
20517 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20518
20519 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20520
20521 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
20522
20523 * image.el (image-animated-p): Return animation delay in seconds.
20524 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20525 (image-animate-timeout): Remove DELAY argument. Don't assume
20526 every subimage has the same delay; get it from image-animated-p.
20527 (image-animate): Caller changed.
20528
20529 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
20530
20531 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20532 to ignored backtrace functions.
20533
20534 2011-06-11 Glenn Morris <rgm@gnu.org>
20535
20536 * calendar/appt.el (appt-disp-window-function): Doc fix.
20537 (appt-check): Handle overlapping appointments. (Bug#8337)
20538
20539 2011-06-11 Martin Rudalics <rudalics@gmx.at>
20540
20541 * window.el (window-tree-1, window-tree): New functions, moving
20542 the latter to window.el.
20543 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20544 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20545 (bw-refresh-edges): Remove.
20546 (balance-windows-1, balance-windows-2): New functions.
20547 (balance-windows): Rewrite in terms of window tree functions,
20548 balance-windows-1 and balance-windows-2.
20549 (bw-adjust-window): Remove.
20550 (balance-windows-area-adjust): New function with functionality of
20551 bw-adjust-window but using resize-window.
20552 (set-window-text-height): Rewrite doc-string.
20553 Use normalize-live-window and resize-window.
20554 (enlarge-window-horizontally, shrink-window-horizontally):
20555 Rename argument to DELTA.
20556 (window-buffer-height): New function.
20557 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20558 Rewrite using new window resize routines.
20559 (kill-buffer-and-window, mouse-autoselect-window-select):
20560 Use ignore-errors instead of condition-case.
20561 (quit-window): Call delete-frame instead of delete-windows-on
20562 for the only buffer on frame.
20563
20564 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20565
20566 * loadup.el (top-level): Load window before files for the sake
20567 of replace-buffer-in-windows.
20568
20569 * files.el (read-buffer-to-switch)
20570 (switch-to-buffer-other-window)
20571 (switch-to-buffer-other-frame, display-buffer-other-frame):
20572 Move to window.el.
20573
20574 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20575 (previous-buffer): Move to window.el.
20576
20577 * bindings.el (unbury-buffer): Move to window.el.
20578
20579 * window.el (delete-other-windows-vertically): Move after
20580 definition of delete-other-windows.
20581 (other-window, delete-windows-on, replace-buffer-in-windows):
20582 Move here from window.c.
20583 (record-window-buffer, unrecord-window-buffer)
20584 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20585 (switch-to-next-buffer): New functions.
20586 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20587 from simple.el. Call switch-to-next-buffer.
20588 (previous-buffer): Move here from simple.el.
20589 Call switch-to-prev-buffer.
20590 (bury-buffer): Move here from buffer.c. Switch to previous
20591 buffer when window cannot be deleted.
20592 (unbury-buffer): Move here from bindings.el.
20593 (ctl-x-map): Move binding for other-window from window.c to
20594 here.
20595 (read-buffer-to-switch, switch-to-buffer-other-window)
20596 (switch-to-buffer-other-frame): Move here from files.el.
20597 (normalize-buffer-to-switch-to): New functions.
20598 (switch-to-buffer): Move here from buffer.c.
20599 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
20600
20601 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20602
20603 * window.el (window-min-height, window-min-width): Move here
20604 from window.c. Add defcustoms and rewrite doc-strings.
20605 (resize-mini-window, resize-window): New functions.
20606 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20607 Move here from window.c.
20608 (maximize-window, minimize-window): New functions.
20609 (delete-window, delete-other-windows, split-window): Move here
20610 from window.c.
20611 (window-split-min-size): New function.
20612 (split-window-keep-point): Mention split-window-above-each-other
20613 instead of split-window-vertically.
20614 (split-window-above-each-other, split-window-vertically):
20615 Rename split-window-vertically to split-window-above-each-other
20616 and provide defalias for old definition.
20617 (split-window-side-by-side, split-window-horizontally):
20618 Rename split-window-horizontally to split-window-side-by-side
20619 and provide defalias for the old definition.
20620 (ctl-x-map): Move bindings for delete-window,
20621 delete-other-windows and enlarge-window here from window.c.
20622 Replace bindings for split-window-vertically and
20623 split-window-horizontally by bindings for
20624 split-window-above-each-other and split-window-side-by-side.
20625
20626 * cus-start.el (all): Remove entries for window-min-height and
20627 window-min-width. Add entries for window-splits and
20628 window-nest.
20629
20630 2011-06-09 Glenn Morris <rgm@gnu.org>
20631
20632 * calendar/appt.el (appt-mode-line): New function.
20633 (appt-check, appt-disp-window): Use it.
20634
20635 * files.el (hack-one-local-variable-eval-safep):
20636 Allow minor-modes with explicit +/-1 arguments.
20637
20638 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
20639
20640 * term/xterm.el (xterm): Add defgroup.
20641 (xterm-extra-capabilities): Add defcustom to supply known xterm
20642 capabilities, skip querying them, or query them (default).
20643 (terminal-init-xterm): Use it.
20644 (terminal-init-xterm-modify-other-keys): New function to set up
20645 modifyOtherKeys support to simplify `terminal-init-xterm'.
20646
20647 2011-06-09 Martin Rudalics <rudalics@gmx.at>
20648
20649 * window.el (resize-window-reset, resize-window-reset-1)
20650 (resize-subwindows-skip-p, resize-subwindows-normal)
20651 (resize-subwindows, resize-other-windows, resize-this-window)
20652 (resize-root-window, resize-root-window-vertically)
20653 (window-deletable-p, window-or-subwindow-p)
20654 (frame-root-window-p): New functions.
20655
20656 2011-06-09 Glenn Morris <rgm@gnu.org>
20657
20658 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20659 (ange-ftp-get-files): Use it.
20660
20661 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
20662
20663 * mail/sendmail.el (mail-recover-1, mail-recover):
20664 * files.el (recover-file, recover-session):
20665 Handle dired-listing-switches not being just a single short option.
20666
20667 2011-06-09 Glenn Morris <rgm@gnu.org>
20668
20669 * calendar/appt.el (appt-display-message, appt-disp-window):
20670 Handle lists of appointments.
20671
20672 2011-06-08 Martin Rudalics <rudalics@gmx.at>
20673
20674 * window.el (one-window-p): Move down in code.
20675 Rewrite doc-string.
20676 (window-current-scroll-bars): Rewrite doc-string.
20677 Normalize live window argument.
20678 (walk-windows, get-window-with-predicate, count-windows):
20679 Rewrite doc-string. Use window-list-1.
20680 (window-in-direction-2, window-in-direction, get-mru-window):
20681 New functions.
20682
20683 2011-06-08 Reuben Thomas <rrt@sc3d.org>
20684
20685 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20686 Doc fix (Bug#8713).
20687
20688 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
20689
20690 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20691
20692 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
20693
20694 * loadhist.el (unload-feature-special-hooks):
20695 Add `comint-output-filter-functions'.
20696
20697 2011-06-08 Ivan Kanis <gnu@kanis.fr>
20698
20699 * calendar/appt.el (appt-check): Move some initializations into the let.
20700
20701 2011-06-08 Martin Rudalics <rudalics@gmx.at>
20702
20703 * window.el (window-height): Defalias to window-total-height.
20704 (window-width): Defalias to window-body-width.
20705
20706 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
20707
20708 * image-mode.el (image-toggle-animation): New command.
20709 (image-mode-map): Bind it to RET.
20710 (image-mode): Update message.
20711 (image-toggle-display-image): Avoid a spurious cache flush.
20712 (image-transform-rotation): Doc fix.
20713 (image-transform-properties): Return quickly in the normal case.
20714 (image-animate-loop): Rename from image-animate-max-time.
20715
20716 * image.el (image-animate-max-time): Move to image-mode.el.
20717 (create-animated-image): Remove unnecessary function.
20718 (image-animate): Rename from image-animate-start. New arg.
20719 (image-animate-stop): Remove; just use image-animate-timer.
20720 (image-animate-timer): Use car-safe.
20721 (image-animate-timeout): Rename argument.
20722
20723 2011-06-07 Martin Rudalics <rudalics@gmx.at>
20724
20725 * window.el (get-lru-window, get-largest-window): Move here from
20726 window.c. Rename first argument to ALL-FRAMES.
20727 Rephrase doc-strings.
20728 (get-buffer-window-list): Rewrite using window-list-1.
20729 Rephrase doc-string.
20730 (window-safe-min-height, window-safe-min-width): New constants.
20731 (window-size-ignore, window-min-size, window-min-size-1)
20732 (window-sizable, window-sizable-p, window-size-fixed-1)
20733 (window-size-fixed-p, window-min-delta-1, window-min-delta)
20734 (window-max-delta-1, window-max-delta, window-resizable)
20735 (window-resizable-p, window-total-height, window-total-width)
20736 (window-body-width): New functions.
20737 (window-full-height-p, window-full-width-p): Rewrite using
20738 window-total-size.
20739 (window-body-height): Rewrite using window-body-size.
20740
20741 2011-06-06 Martin Rudalics <rudalics@gmx.at>
20742
20743 * window.el (window-right, window-left, window-child)
20744 (window-child-count, window-last-child, window-any-p)
20745 (normalize-live-buffer, normalize-live-frame)
20746 (normalize-any-window, normalize-live-window)
20747 (window-iso-combination-p, window-iso-combined-p)
20748 (window-iso-combinations)
20749 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20750 (windows-with-parameter, window-with-parameter)
20751 (window-atom-root, make-window-atom, window-atom-check-1)
20752 (window-atom-check, window-side-check, window-check):
20753 New functions.
20754 (ignore-window-parameters, window-sides, window-sides-vertical)
20755 (window-sides-slots): New variables.
20756 (window-size-fixed): Move down in code. Minor doc-string fix.
20757
20758 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
20759
20760 * comint.el (comint-dynamic-complete-as-filename)
20761 (comint-dynamic-complete-filename): Correctly call
20762 completion-in-region.
20763
20764 2011-06-05 Deniz Dogan <deniz@dogan.se>
20765
20766 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20767 in last change.
20768
20769 2011-06-05 Deniz Dogan <deniz@dogan.se>
20770
20771 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20772 (rcirc): Use it to prompt for encryption.
20773
20774 2011-06-05 Roland Winkler <winkler@gnu.org>
20775
20776 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20777 (bibtex-search-entries): New command bound to C-c C-a.
20778 (bibtex-display-entries): New function.
20779
20780 2011-06-05 Roland Winkler <winkler@gnu.org>
20781
20782 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20783 (bibtex-insert-kill): After yanking insert newline if necessary.
20784 (bibtex-initialize): Call bibtex-string-files-init only once.
20785 (bibtex-mode): Do not call easy-menu-add.
20786 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20787 (bibtex-yank): Set arg properly if nil.
20788
20789 2011-06-05 Roland Winkler <winkler@gnu.org>
20790
20791 * textmodes/bibtex.el (bibtex-search-entry-globally):
20792 New variable.
20793 (bibtex-search-entry): Use it.
20794
20795 2011-06-05 Roland Winkler <winkler@gnu.org>
20796
20797 * textmodes/bibtex.el (bibtex-entry-format): New option
20798 sort-fields.
20799 (bibtex-format-entry, bibtex-reformat): Honor this option.
20800 (bibtex-parse-entry): Return fields in proper order.
20801
20802 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
20803
20804 * doc-view.el (doc-view-remove-if): Move computation of result out
20805 of `dolist' to silence misleading lexical-binding warning.
20806
20807 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
20808
20809 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20810 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20811
20812 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
20813
20814 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20815 "SunOS 5.10".
20816
20817 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
20818
20819 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20820 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20821 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20822 (tramp-parse-putty):
20823 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20824 (tramp-completion-function-alist-ssh)
20825 (tramp-completion-function-alist-telnet)
20826 (tramp-completion-function-alist-su)
20827 (tramp-completion-function-alist-putty): Set `tramp-autoload'
20828 cookie.
20829
20830 * net/tramp-ftp.el:
20831 * net/tramp-sh.el:
20832 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20833 load "tramp.el" `tramp-set-completion-function'.
20834
20835 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
20836
20837 * shell.el: Require and use pcomplete.
20838 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20839 (shell-completion-vars): Set pcomplete-default-completion-function.
20840
20841 2011-06-04 Deniz Dogan <deniz@dogan.se>
20842
20843 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20844 `memq' (Bug#8799).
20845
20846 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20847
20848 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20849
20850 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
20851
20852 * bs.el (bs--mark-unmark, bs--nth-wrapper):
20853 * mpc.el (mpc-select-extend, mpc-songpointer-context):
20854 * vc/log-view.el (log-view-beginning-of-defun):
20855 * vc/smerge-mode.el (smerge-apply-resolution-patch)
20856 (smerge-refine-forward, smerge-refine-chopup-region):
20857 Silence warning for unused `dotimes' counter variables.
20858
20859 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20860
20861 * net/tramp.el (tramp-with-progress-reporter): Rename from
20862 with-progress-reporter. Use `declare'.
20863 * net/tramp-smb.el:
20864 * net/tramp-sh.el:
20865 * net/tramp-gvfs.el: Update all uses.
20866
20867 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
20868
20869 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
20870 buffer isn't killed before making it current.
20871
20872 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20873
20874 Silence various byte-compiler warnings.
20875 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20876 `access-type' and new obsolescence format.
20877 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20878 new format.
20879 (byte-compile-check-variable): New `access-type' argument.
20880 Only warn if the access-type is obsolete.
20881 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20882 (byte-compile-variable-set): Adjust callers.
20883 * help-fns.el (describe-variable): Adjust to new obsolescence format.
20884 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20885 setting it as obsolete.
20886 * simple.el (minibuffer-completing-symbol):
20887 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20888 access as obsolete.
20889 * minibuffer.el (minibuffer-completing-file-name): Don't make it
20890 obsolete yet.
20891 * international/quail.el (quail-mouse-choose-completion): Remove unused
20892 code referring to obsolete var.
20893 (quail-choose-completion-string): Remove.
20894 * server.el (server-clients-with, server-kill-buffer-query-function)
20895 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20896 * proced.el (proced-send-signal):
20897 * emacs-lisp/lisp.el (lisp-complete-symbol):
20898 Replace completion-annotate-function with completion-extra-properties.
20899
20900 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20901
20902 * simple.el (goto-line): Use read-number.
20903 (overriding-map-is-bound): Remove.
20904 (saved-overriding-map): Change default.
20905 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20906 Take the map as argument.
20907 (universal-argument, negative-argument, digit-argument): Use it.
20908 (restore-overriding-map): Adjust.
20909 (do-auto-fill): Use fill-forward-paragraph.
20910 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20911
20912 * minibuffer.el (minibuffer-inactive-mode-map): New var.
20913 (minibuffer-inactive-mode): New major mode.
20914 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20915 the *Messages* buffer" hack.
20916 (mouse-popup-menubar): Don't burp if the event is a normal key.
20917
20918 Miscellaneous tweaks.
20919 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
20920 lexical scoping as in subr.el's dolist and dotimes.
20921 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
20922 Silence compiler warning.
20923 * thingatpt.el (forward-whitespace): Trivial coding style fix.
20924 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
20925 * international/ccl.el (ccl-compile): Trivial simplification.
20926 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
20927 * emacs-lisp/testcover.el (testcover-end): Remove spurious
20928 `printflag' argument.
20929 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
20930 Purecopy the whole obsolescence data.
20931
20932 2011-06-01 Leo Liu <sdl.web@gmail.com>
20933
20934 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
20935 improve doc-string as suggested by Marco Pessotto
20936 <melmothx@gmail.com>.
20937 (rcirc-print): Fix last change.
20938
20939 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20940
20941 * minibuffer.el (complete-with-action): Return nil for the metadata and
20942 boundaries of non-functional tables.
20943 (completion-table-dynamic): Return nil for the metadata.
20944 (completion-table-with-terminator): Add default case, using
20945 complete-with-action.
20946 (completion--metadata): New function.
20947 (completion-all-sorted-completions, minibuffer-completion-help): Use it
20948 to try and avoid pathological performance problems.
20949 (completion--embedded-envvar-table): Return `category' metadata.
20950
20951 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
20952
20953 * subr.el (process-alive-p): New tiny convenience function.
20954
20955 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20956
20957 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20958 content but also its previous major mode.
20959
20960 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
20961
20962 * emacs-lisp/debug.el (debug): Restore the previous content of the
20963 *Backtrace* buffer when we exit with C-M-c.
20964
20965 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20966
20967 * minibuffer.el: Add metadata method to completion tables.
20968 (completion-category-overrides): New defcustom.
20969 (completion-metadata, completion--field-metadata)
20970 (completion-metadata-get, completion--styles)
20971 (completion--cycle-threshold): New functions.
20972 (completion-try-completion, completion-all-completions):
20973 Add `metadata' argument to choose completion-styles.
20974 (completion--do-completion): Use metadata to choose cycling.
20975 (completion-all-sorted-completions): Use metadata for sorting.
20976 Remove :completion-cycle-penalty which is not needed any more.
20977 (completion--try-word-completion): Add `metadata' argument.
20978 (minibuffer-completion-help): Check metadata for annotation function
20979 and sorting.
20980 (completion-file-name-table): Return `category' metadata.
20981 (minibuffer-completing-file-name): Make obsolete.
20982 * simple.el (minibuffer-completing-symbol): Make obsolete.
20983 * icomplete.el (icomplete-completions): Pass new `metadata' param to
20984 completion-try-completion.
20985
20986 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20987
20988 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20989
20990 2011-05-30 Leo Liu <sdl.web@gmail.com>
20991
20992 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
20993 (rcirc-print): Decode all incoming messages (bug#8744).
20994 (rcirc-decode-coding-system): Allow value nil for automatic coding
20995 system detection.
20996
20997 2011-06-01 Glenn Morris <rgm@gnu.org>
20998
20999 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21000
21001 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21002
21003 * image.el (image-animate-max-time): Allow nil and t values.
21004 Default to nil.
21005 (create-animated-image): Doc fix.
21006 (image-animate-start): Remove second arg; just use
21007 image-animate-max-time.
21008 (image-animate-timeout): Doc fix. Args changed.
21009
21010 * image-mode.el (image-toggle-display-image): Ensure that the
21011 image spec passed to the animate timer is the same object as in
21012 the buffer's display property (Bug#6981).
21013 (image-transform-properties): Doc fix.
21014
21015 * image.el (image-animate-max-time): Default to nil.
21016
21017 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21018
21019 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21020 entire buffer list (Bug#8184).
21021
21022 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21023
21024 * image.el (imagemagick-types-inhibit)
21025 (imagemagick-register-types): Doc fix.
21026
21027 2011-05-29 Deniz Dogan <deniz@dogan.se>
21028
21029 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21030 default.
21031
21032 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21033
21034 * select.el: Don't perform clipboard-manager saving in hooks;
21035 leave the hooks empty.
21036
21037 2011-05-28 Leo Liu <sdl.web@gmail.com>
21038
21039 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21040 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21041 (occur-edit-mode): New major mode (Bug#8463).
21042 (occur-after-change-function): New function.
21043 (occur-engine): Give Occur tags a read-only property.
21044
21045 2011-05-28 Kevin Ryde <user42@zip.com.au>
21046
21047 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21048
21049 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21050
21051 * bindings.el (help-echo): Make the initial non-indicator dash
21052 empty on graphical terminals (Bug#7295).
21053
21054 * files.el (auto-mode-alist): Move config rule after the
21055 in-stripping one (Bug#8547).
21056
21057 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21058
21059 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21060 setting (Bug#8740).
21061
21062 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21063
21064 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21065 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21066 (Bug#8539).
21067
21068 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21069
21070 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21071
21072 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21073
21074 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21075 (hs-hide-block-at-point, hs-find-block-beginning)
21076 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21077 (Bug#8279).
21078
21079 2011-05-28 Glenn Morris <rgm@gnu.org>
21080
21081 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21082
21083 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21084
21085 * help-fns.el (describe-function-1): If the function is a derived
21086 major mode, print the parent mode.
21087
21088 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21089 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21090
21091 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21092
21093 * minibuffer.el (completion--capf-wrapper): Check applicability before
21094 returning non-nil for non-exclusive completion data.
21095 * progmodes/etags.el (tags-completion-at-point-function):
21096 * info-look.el (info-lookup-completions-at-point): Mark as
21097 non-exclusive.
21098 (info-complete): Adjust accordingly.
21099
21100 * info-look.el: Convert to lexical-binding and completion-at-point.
21101 (info-lookup-completions-at-point): New function.
21102 (info-complete): Use it and completion-in-region.
21103
21104 2011-05-28 Drew Adams <drew.adams@oracle.com>
21105
21106 * isearch.el: Let M-e start with point at the first mismatched char.
21107 (isearch-fail-pos): New function.
21108 (isearch-edit-string): Use it.
21109
21110 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21111
21112 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21113
21114 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21115
21116 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21117 traversal functions for avl-trees.
21118 (avl-tree--stack): New struct.
21119 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21120 (avl-tree-enter): Add optional `updatefun' arg.
21121 (avl-tree--do-enter): Add optional `updatefun' arg.
21122 Change return value.
21123 (avl-tree-delete): Add optional `test' and `nilflag' args.
21124 (avl-tree--do-delete): Add `test' and `nilflag' args.
21125 Change return value.
21126 (avl-tree-member): Add optional `nilflag'
21127 (avl-tree-member-p): New function.
21128 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21129 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21130 (avl-tree-stack-empty-p): New functions.
21131
21132 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21133 avl-tree--del-balance1 and make it work both ways.
21134 (avl-tree--del-balance2): Remove.
21135 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21136 make it work both ways.
21137 (avl-tree--enter-balance2): Remove.
21138 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21139 New macros.
21140 (avl-tree--mapc, avl-tree-map): Add direction argument.
21141
21142 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21143
21144 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21145
21146 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21147
21148 * select.el: Support clipboard managers with built-in function
21149 x-clipboard-manager-save, via delete-frame-functions and
21150 kill-emacs-hook.
21151 (xselect-convert-to-targets): Add MULTIPLE target to list.
21152 (xselect-convert-to-save-targets): New function.
21153
21154 2011-05-27 Kenichi Handa <handa@m17n.org>
21155
21156 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21157 let-binding rfc2047-encode-encoded-words to nil.
21158
21159 2011-05-27 Glenn Morris <rgm@gnu.org>
21160
21161 * mail/emacsbug.el: Don't require url-util.
21162
21163 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21164
21165 * files.el (set-auto-mode):
21166 Also respect mode: entries at the end of the file. (Bug#8586)
21167
21168 2011-05-26 Glenn Morris <rgm@gnu.org>
21169
21170 * files.el (hack-local-variables-prop-line, hack-local-variables):
21171 Downcase mode names, as seems to be traditional.
21172 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21173
21174 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21175 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21176
21177 2011-05-25 Julien Danjou <julien@danjou.info>
21178
21179 * textmodes/rst.el (rst-define-level-faces): Do not define face
21180 symbol if it is already defined.
21181
21182 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21183
21184 * play/5x5.el (5x5-new-game, 5x5-randomize):
21185 Reset 5x5-solver-output to nil when a new grid is cast.
21186 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21187 these debugging traces, as defmacro breaks the compiled code.
21188
21189 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21190
21191 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21192
21193 2011-05-24 Leo Liu <sdl.web@gmail.com>
21194
21195 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21196 (vc-bzr-sha1): Adapt.
21197
21198 * sha1.el: Remove. Function `sha1' is now builtin.
21199
21200 * bindings.el: Provide sha1 feature.
21201
21202 2011-05-24 Kenichi Handa <handa@m17n.org>
21203
21204 * mail/sendmail.el: Require `rfc2047'.
21205 (mail-insert-from-field): Do not perform RFC2047 encoding.
21206 (mail-encode-header): New function.
21207 (sendmail-send-it): Set buffer-file-coding-system of the work
21208 buffer to the return value of select-message-coding-system.
21209 Call mail-encode-header.
21210
21211 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21212
21213 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21214
21215 * mail/supercite.el (sc-default-cite-frame):
21216 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21217
21218 2011-05-24 Glenn Morris <rgm@gnu.org>
21219
21220 * progmodes/python.el (brm-menu): Declare.
21221
21222 * emulation/viper.el (viper-set-hooks): Declare.
21223
21224 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21225 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21226 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21227 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21228 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21229 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21230
21231 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21232
21233 Add an :exit-function for completion-at-point.
21234
21235 * minibuffer.el (completion--done): New fun.
21236 (completion--do-completion): Use it. New arg `expect-exact'.
21237 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21238 since completion--do-completion does it for us now.
21239 (minibuffer-force-complete): Use completion--done and
21240 completion--replace. Handle sole-completion case with more care.
21241 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21242 (completion-extra-properties): New var.
21243 (completion-annotate-function): Make obsolete.
21244 (minibuffer-completion-help): Adjust accordingly.
21245 Use completion-list-insert-choice-function.
21246 (completion-at-point, completion-help-at-point):
21247 Bind completion-extra-properties.
21248 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21249 * simple.el (completion-list-insert-choice-function): New var.
21250 (completion-setup-function): Preserve it.
21251 (choose-completion): Pay attention to it, shuffle the code a bit.
21252 (choose-completion-string): New arg `insert-function'.
21253
21254 * textmodes/bibtex.el: Convert to lexical binding.
21255 (bibtex-mode-map): Use completion-at-point.
21256 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21257 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21258 (bibtex-complete): Define as obsolete alias.
21259 (bibtex-complete-internal): Remove.
21260 (bibtex-format-entry): Remove unused sub-group in regexp.
21261 * shell.el (shell--command-completion-data)
21262 (shell-environment-variable-completion):
21263 * pcomplete.el (pcomplete-completions-at-point):
21264 * comint.el (comint--complete-file-name-data): Use :exit-function
21265 instead of completion-table-with-terminator so it also works for
21266 choose-completion.
21267
21268 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21269
21270 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21271
21272 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21273 (bug#8710).
21274
21275 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21276
21277 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21278
21279 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21280 customization variable and implement: If non-nil, auto-fill will
21281 be inhibited while on topic's header line.
21282
21283 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21284
21285 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21286 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21287 always have a solution in grid size = 5 cases.
21288 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21289 (5x5-solver-output, 5x5-log-buffer): New vars.
21290 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21291 Make these variables buffer local to achieve 5x5 multi-session-ness.
21292 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21293 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21294 (5x5-solve-suggest): New funs.
21295 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21296 randomize a grid so that we ensure that there is always a solution.
21297 (5x5-make-random-grid): Allow other movement than flipping.
21298
21299 2011-05-23 Kevin Ryde <user42@zip.com.au>
21300
21301 * emacs-lisp/advice.el (ad-read-advised-function):
21302 Use `function-called-at-point' as the default, if it has
21303 advice and passes PREDICATE.
21304
21305 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21306
21307 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21308 byte-compile-lambda if it's actually a lambda.
21309
21310 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21311 Fix function quoting. Use backquote better.
21312
21313 2011-05-22 Yuanle Song <sylecn@gmail.com>
21314
21315 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21316 matching (Bug#8516).
21317
21318 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21319
21320 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21321 different face (Bug#8178).
21322
21323 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21324
21325 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21326 defface (Bug#8144).
21327
21328 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21329
21330 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21331 funcall as well (bug#8712). Warn when performing those conversions.
21332 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21333
21334 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21335
21336 2011-05-22 Glenn Morris <rgm@gnu.org>
21337
21338 * files.el (hack-local-variables-prop-line): Small simplifications.
21339 (hack-local-variables, hack-local-variables-prop-line):
21340 If MODE-ONLY, return the mode, rather than just `t'.
21341
21342 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21343
21344 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21345
21346 2011-05-21 Glenn Morris <rgm@gnu.org>
21347
21348 * files.el (hack-local-variables-prop-line, hack-local-variables):
21349 If only interested in the mode, don't bother doing the other stuff.
21350
21351 * image-mode.el (image-after-revert-hook):
21352 Redraw all frames on which the image is visible. (Bug#8567)
21353
21354 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21355
21356 * wid-edit.el (widget-checklist-match-inline):
21357 Fix 2011-04-19 change. (Bug#8649)
21358
21359 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21360
21361 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21362 Also allow singlespace after single-letter capitals followed by a dot.
21363
21364 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21365 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21366
21367 2011-05-20 Nix <nix@esperi.org.uk>
21368
21369 * files.el (basic-save-buffer-2):
21370 Fix handling of break-hardlink-on-save with non-existent files.
21371
21372 2011-05-19 Deniz Dogan <deniz@dogan.se>
21373
21374 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21375 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21376
21377 2011-05-19 Glenn Morris <rgm@gnu.org>
21378
21379 * progmodes/f90.el (f90-type-def-re):
21380 Handle "type, bind(c)". (Bug#8691)
21381
21382 * emacs-lisp/autoload.el (batch-update-autoloads):
21383 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21384
21385 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
21386
21387 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21388 property for the correct connection in case of multihops.
21389
21390 2011-05-18 Glenn Morris <rgm@gnu.org>
21391
21392 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21393 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21394
21395 Rationalize calendar handling of day and month abbrev-arrays.
21396 * calendar/calendar.el (calendar-customized-p): New function.
21397 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21398 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21399 Add :set function.
21400 (calendar-abbrev-length, calendar-day-abbrev-array)
21401 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21402 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21403 Elements may no longer be nil.
21404 (calendar-day-name, calendar-month-name):
21405 Update for changed nature of abbrev arrays.
21406 * calendar/diary-lib.el (diary-name-pattern):
21407 Update for changed nature of abbrev arrays.
21408 (diary-mark-entries-1): Update calendar-make-alist calls.
21409 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21410 * calendar/cal-html.el (cal-html-day-abbrev-array):
21411 Simply inherit from calendar-day-abbrev-array.
21412
21413 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21414
21415 * progmodes/grep.el (grep-mode): Disable default
21416 compilation-directory-matcher setting (bug#8684).
21417
21418 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
21419
21420 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21421 instead of "head" and "tail". There were problems with SunOS 5.9,
21422 and it performs better.
21423
21424 2011-05-17 Glenn Morris <rgm@gnu.org>
21425
21426 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21427
21428 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21429 Replace obsolete function.
21430
21431 * shell.el (pcomplete-parse-arguments-function): Declare.
21432
21433 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21434 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21435 (appt-check): Doc fixes.
21436 (appt-disp-window-function, appt-delete-window-function):
21437 Remove needless special case in custom :type.
21438 (appt-display-count): Default to 0, not nil.
21439 (appt-check): Reset appt-display-count to 0, not nil.
21440
21441 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
21442
21443 * progmodes/python.el (python-font-lock-keywords):
21444 Add the Python 3.X keyword "nonlocal" (bug#8639).
21445
21446 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21447
21448 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21449
21450 2011-05-16 Kevin Ryde <user42@zip.com.au>
21451
21452 * info-look.el (makefile-automake-mode): New setups, looking in
21453 automake manual, then makefile-mode.
21454 (makefile-mode): Remove automake manual, have it just in
21455 makefile-automake-mode since there's various things different or
21456 not relevant to plain make.
21457 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21458 believe a hypothetical automake-mode would go to makefile-mode,
21459 not the other way around.
21460
21461 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
21462
21463 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21464 hunk-end tags (Bug#8672).
21465
21466 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21467 vc-annotate-show-diff-revision-at-line (Bug#8671).
21468
21469 2011-05-14 Glenn Morris <rgm@gnu.org>
21470
21471 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21472 in the middle of an existing one with multiple authors. (Bug#8645)
21473 (change-log-font-lock-keywords): Also handle multiple author lines
21474 with leading tabs. (Bug#8644)
21475
21476 * calendar/appt.el (appt-check): Rename some local variables.
21477 Some simplification/reordering.
21478
21479 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21480 (feedmail-sendmail-f-doesnt-sell-me-out)
21481 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21482 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21483 (feedmail-queue-runner-message-sender): Set :version.
21484 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21485 (bbdb-dwim-net-address, vm-mail): Declare.
21486 (feedmail-binmail-gnulinuxish-template):
21487 Rename from feedmail-binmail-linuxish-template.
21488 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21489 Use insert-buffer-substring.
21490
21491 2011-05-14 Bill Carpenter <bill@carpenter.org>
21492
21493 * mail/feedmail.el (feedmail-patch-level): Increase.
21494 (feedmail-debug): New custom group.
21495 (feedmail-confirm-outgoing-timeout)
21496 (feedmail-sendmail-f-doesnt-sell-me-out)
21497 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21498 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21499 (feedmail-sender-line, feedmail-from-line)
21500 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
21501 (feedmail-spray-this-address)
21502 (feedmail-spray-address-fiddle-plex-list)
21503 (feedmail-queue-use-send-time-for-date)
21504 (feedmail-queue-use-send-time-for-message-id)
21505 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21506 (feedmail-buffer-eating-function):
21507 Doc fixes.
21508 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21509 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21510 (feedmail-message-action-scroll-down): New functions.
21511 (feedmail-queue-directory, feedmail-queue-draft-directory):
21512 Use expand-file-name.
21513 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21514 Remove C-v help entry.
21515 (feedmail-queue-buffer-file-name): New variable.
21516 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21517 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21518 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21519 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21520 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21521 (feedmail-message-action-toggle-spray)
21522 (feedmail-run-the-queue-no-prompts)
21523 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21524 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21525 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21526 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21527 (feedmail-envelope-deducer, feedmail-fiddle-from)
21528 (feedmail-fiddle-sender, feedmail-default-date-generator)
21529 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21530 (feedmail-fiddle-spray-address)
21531 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21532 (feedmail-fiddle-list-of-fiddle-plexes)
21533 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21534 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21535 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21536 Change default. Doc fix.
21537 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21538 (feedmail-binmail-linuxish-template): New constant.
21539 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21540 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21541 (feedmail-send-it): Add debug call.
21542 Use feedmail-queue-buffer-file-name, and
21543 feedmail-send-it-immediately-wrapper.
21544 (feedmail-message-action-send): Add debug call.
21545 Use feedmail-send-it-immediately-wrapper.
21546 (feedmail-queue-express-to-queue): Add debug call.
21547 Run feedmail-queue-express-hook.
21548 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21549 (feedmail-message-action-help-blat):
21550 Rename from feedmail-queue-send-edit-prompt-help-first.
21551 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21552 Check line-endings. Handle errors better.
21553 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21554 Doc fix. Add debug call.
21555 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21556 Use feedmail-queue-send-edit-prompt-inner.
21557 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21558 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21559 from feedmail-queue-send-edit-prompt.
21560 (feedmail-queue-send-edit-prompt-help)
21561 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21562 (feedmail-tidy-up-slug): Add debug call.
21563 Respect feedmail-queue-slug-suspect-regexp.
21564 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21565 (feedmail-dump-message-to-queue): Add debug call.
21566 Expand queue-directory.
21567 (feedmail-dump-message-to-queue): Change message slightly.
21568 Use feedmail-say-chatter.
21569 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21570 (feedmail-send-it-immediately-wrapper): New function.
21571 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21572 Insert empty string rather than newline. Handle full-frame case.
21573 Use catch/throw. Use feedmail-say-chatter.
21574 (feedmail-fiddle-from): Try mail-host-address.
21575 (feedmail-default-message-id-generator): Doc fix.
21576 Bind system-time-locale. Handle missing end.
21577 (feedmail-fiddle-x-mailer): Add debug call.
21578 Handle feedmail-x-mailer-line being nil.
21579 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21580 Add debug call. Use buffer-substring-no-properties.
21581 (feedmail-say-debug, feedmail-say-chatter): New functions.
21582 (feedmail-find-eoh): Give an explicit error.
21583
21584 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
21585
21586 * net/newst-treeview.el (newsticker-treeview-face): Change default
21587 family from helvetica to sans.
21588 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
21589 etc/images/newsticker.
21590
21591 * net/newst-reader.el (newsticker-feed-face): Change default
21592 family from helvetica to sans.
21593
21594 * net/newst-plainview.el (newsticker-new-item-face)
21595 (newsticker-old-item-face, newsticker-immortal-item-face)
21596 (newsticker-obsolete-item-face, newsticker-date-face)
21597 (newsticker-statistics-face): Change default family from
21598 helvetica to sans.
21599 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
21600 etc/images/newsticker.
21601
21602 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21603 (newsticker--process-auto-mark-filter-match): Tell user about
21604 auto-marking.
21605
21606 2011-05-13 Didier Verna <didier@xemacs.org>
21607
21608 Common Lisp indentation improvements on defmethod and lambda-lists.
21609 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21610 TODO entries.
21611 (lisp-lambda-list-keyword-parameter-indentation)
21612 (lisp-lambda-list-keyword-parameter-alignment)
21613 (lisp-lambda-list-keyword-alignment): New customizable user options.
21614 (lisp-indent-defun-method): Improve docstring.
21615 (extended-loop-p): Fix comment.
21616 (lisp-indent-lambda-list-keywords-regexp): New variable.
21617 (lisp-indent-lambda-list): New function.
21618 (lisp-indent-259): Use it.
21619 (lisp-indent-defmethod): Support for more than one
21620 method qualifier and properly indent methods lambda-lists.
21621 (defgeneric): Provide a missing common-lisp-indent-function property.
21622
21623 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
21624
21625 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21626 bounds for the empty string (bug#8667).
21627
21628 2011-05-13 Glenn Morris <rgm@gnu.org>
21629
21630 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21631
21632 * mail/sendmail.el (sendmail-program): Try executable-find first.
21633 (sendmail-send-it): `sendmail-program' cannot be unbound.
21634
21635 * calendar/appt.el (appt-make-list): Simplify.
21636 (appt-time-msg-list): Doc fix.
21637 (appt-check): Change mode-line message at the time of the appointment.
21638
21639 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
21640
21641 * progmodes/ld-script.el (ld-script-keywords)
21642 (ld-script-builtins): Update keywords list.
21643
21644 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21645
21646 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21647
21648 * shell.el (shell-completion-vars): New function.
21649 (shell-mode):
21650 * simple.el (read-shell-command): Use it.
21651 (blink-matching-open): No need for " [...]" in minibuffer-message.
21652
21653 2011-05-12 Glenn Morris <rgm@gnu.org>
21654
21655 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21656 (appt-check): Simplify.
21657
21658 2011-05-12 Eli Zaretskii <eliz@gnu.org>
21659
21660 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
21661 literal "/dev/null".
21662
21663 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21664
21665 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21666 Fix typo.
21667
21668 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
21669
21670 * progmodes/which-func.el (which-function):
21671 Use add-log-current-defun instead of add-log-current-defun-function,
21672 which might not be defined (Bug#8260).
21673
21674 2011-05-12 Glenn Morris <rgm@gnu.org>
21675
21676 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21677 Let byte-compile-initial-macro-environment always take precedence.
21678
21679 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21680
21681 * net/rcirc.el: Add support for SSL/TLS connections.
21682 (rcirc-server-alist): New field `encryption'.
21683 (rcirc): Check `encryption' settings.
21684 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21685 Merge make-local-variable into `set'.
21686 (rcirc--connection-open-p): New function.
21687 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21688 the process is not a network process (e.g. running gnutls-cli).
21689 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21690 Make rcirc-(en|de)code-coding-system local here.
21691 (rcirc-mode): Merge make-local-variable into `set'.
21692 (rcirc-parent-buffer): Make permanent buffer-local.
21693 (rcirc-multiline-minor-mode): Don't do it here.
21694 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21695 there's no server buffer.
21696
21697 2011-05-11 Glenn Morris <rgm@gnu.org>
21698
21699 * newcomment.el (comment-kill): Prefix "unused" local.
21700
21701 * term/w32console.el (get-screen-color): Declare.
21702
21703 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21704 Handle symbol elements of byte-compile-initial-macro-environment.
21705
21706 2011-05-10 Leo Liu <sdl.web@gmail.com>
21707
21708 * bookmark.el (bookmark-bmenu-mode-map):
21709 Bind bookmark-bmenu-search to `/'.
21710
21711 * mail/footnote.el: Convert to utf-8 encoding.
21712 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21713 (Footnote-unicode): New function.
21714 (footnote-style-alist): Add unicode style to the list.
21715 (footnote-style): Doc fix.
21716
21717 2011-05-10 Jim Meyering <meyering@redhat.com>
21718
21719 Fix doubled-word typos.
21720 * international/quail.el (quail-insert-kbd-layout): and and -> and
21721 * kermit.el: and and -> and
21722 * net/ldap.el (ldap-search-internal): to to -> to
21723 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21724 * progmodes/js.el (js-mode): and and -> and
21725 * textmodes/artist.el (artist-move-to-xy): at at -> at
21726 (artist-draw-region-trim-line-endings): if if -> if
21727 And Safetyc -> Safety.
21728 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21729
21730 2011-05-10 Glenn Morris <rgm@gnu.org>
21731 Stefan Monnier <monnier@iro.umontreal.ca>
21732
21733 * files.el (hack-one-local-variable-eval-safep):
21734 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
21735
21736 2011-05-10 Glenn Morris <rgm@gnu.org>
21737
21738 * calendar/diary-lib.el (diary-list-entries-hook)
21739 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21740 (diary-nongregorian-marking-hook, diary-list-entries)
21741 (diary-include-other-diary-files, diary-mark-entries)
21742 (diary-mark-included-diary-files): Doc fixes.
21743
21744 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
21745
21746 * misc.el: Require tabulated-list.el during compilation.
21747
21748 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
21749
21750 * progmodes/compile.el (compilation-start):
21751 Run compilation-filter-hook for the async case too.
21752 (compilation-filter-hook): Doc fix.
21753
21754 2011-05-09 Deniz Dogan <deniz@dogan.se>
21755
21756 * wdired.el: Remove outdated installation comment. Fix usage
21757 comment.
21758
21759 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
21760
21761 * misc.el: Implement new command `list-dynamic-libraries'.
21762 (list-dynamic-libraries--loaded-only-p): New variable.
21763 (list-dynamic-libraries--refresh): New function.
21764 (list-dynamic-libraries): New command.
21765
21766 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
21767
21768 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21769 Fix the ant regexp to handle end-line and end-column info from jikes.
21770 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
21771 higher priority to avoid clobbering by gnu.
21772
21773 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
21774
21775 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21776 if the face has existing theme settings (Bug#8454).
21777
21778 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
21779
21780 * progmodes/perl-mode.el (perl-imenu-generic-expression):
21781 Only match variables declared via `my' or `our' (Bug#8261).
21782
21783 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21784 special file names `.' and `..' (Bug#8259).
21785
21786 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
21787
21788 * progmodes/grep.el (grep-mode-font-lock-keywords):
21789 Remove buffer-changing entries.
21790 (grep-filter): New function.
21791 (grep-mode): Add it to compilation-filter-hook.
21792
21793 * progmodes/compile.el (compilation-filter-hook)
21794 (compilation-filter-start): New defvars.
21795 (compilation-filter): Call compilation-filter-hook prior to
21796 updating the process mark.
21797
21798 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21799
21800 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21801
21802 2011-05-07 Eli Zaretskii <eliz@gnu.org>
21803
21804 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21805 mailclient-send-it even if window-system is nil. (Bug#8595)
21806
21807 * term/w32console.el (terminal-init-w32console):
21808 Call get-screen-color and use its output to set the frame
21809 background-mode. (Bug#8597)
21810
21811 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21812
21813 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21814 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21815 New functions.
21816 (defgeneric, eieio--defmethod): Use them.
21817 (eieio-defgeneric): Remove.
21818 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21819
21820 2011-05-07 Glenn Morris <rgm@gnu.org>
21821
21822 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21823 Use let rather than let*.
21824 (timeclock-find-discrep): Remove unused local.
21825
21826 * calendar/diary-lib.el (diary-comment-start): Doc fix.
21827
21828 * calendar/appt.el (appt-time-msg-list): Doc fix.
21829
21830 2011-05-06 Noah Friedman <friedman@splode.com>
21831
21832 * apropos.el (apropos-print-doc): Only use
21833 emacs-lisp-docstring-fill-column when it is bound to an integer,
21834 per that variable's documentation.
21835
21836 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21837
21838 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
21839 and warnings are not silently discarded (e.g. use -d instead of -P).
21840
21841 2011-05-06 Glenn Morris <rgm@gnu.org>
21842
21843 * calendar/appt.el (appt-message-warning-time): Doc fix.
21844 (appt-warning-time-regexp): New option.
21845 (appt-make-list): Respect appt-message-warning-time.
21846
21847 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21848 New options.
21849 (diary-add-to-list): Strip comments from the displayed string.
21850 (diary-mode): Set comment-start and comment-end.
21851
21852 * vc/diff-mode.el (smerge-refine-subst): Declare.
21853 (diff-refine-hunk): Don't require smerge-mode when compiling.
21854
21855 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
21856
21857 * simple.el (list-processes): Return nil as the docstring says.
21858
21859 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
21860
21861 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21862 to "".
21863 (ange-ftp-write-region, ange-ftp-insert-file-contents)
21864 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21865 determining of binary transfer. (Bug#7383)
21866
21867 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
21868
21869 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21870 Fix port computation bug. (Bug#8618)
21871
21872 2011-05-05 Glenn Morris <rgm@gnu.org>
21873
21874 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21875
21876 * simple.el (shell-dynamic-complete-functions)
21877 (comint-dynamic-complete-functions): Declare.
21878
21879 * net/network-stream.el (gnutls-negotiate):
21880 * simple.el (tabulated-list-print): Fix declarations.
21881
21882 * progmodes/gud.el (syntax-symbol, syntax-point):
21883 Remove unnecessary and incorrect declarations.
21884
21885 * emacs-lisp/check-declare.el (check-declare-scan):
21886 Handle byte-compile-initial-macro-environment in bytecomp.el.
21887
21888 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21889
21890 Fix earlier half-done eieio-defmethod change (bug#8338).
21891 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21892 Streamline and change calling convention.
21893 (defmethod): Adjust accordingly and simplify.
21894 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21895 new eieio--defmethod.
21896 (slot-boundp): Minor CSE simplification.
21897
21898 2011-05-05 Milan Zamazal <pdm@zamazal.org>
21899
21900 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21901 (glasses-make-readable): Use glasses-separate-capital-groups.
21902
21903 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
21904
21905 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21906 (warning-series): Doc fix.
21907 (display-warning): Don't try to create the buffer if we just found it.
21908
21909 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
21910
21911 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21912 (autoload-find-generated-file): New function.
21913 (generate-file-autoloads): Bind generated-autoload-file to
21914 buffer-file-name.
21915 (update-file-autoloads, update-directory-autoloads):
21916 Use autoload-find-generated-file. If called interactively, prompt for
21917 output file (Bug#7989).
21918 (batch-update-autoloads): Doc fix.
21919
21920 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
21921
21922 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
21923
21924 2011-05-04 Glenn Morris <rgm@gnu.org>
21925
21926 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
21927 function, so it follows changes in calendar-date-style.
21928 (diary-fancy-date-matcher): New function.
21929 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
21930 (diary-fancy-font-lock-fontify-region-function):
21931 Use diary-fancy-date-pattern as a function.
21932
21933 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
21934 non-numbers for `year' etc pseudo-variables. (Bug#8583)
21935
21936 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
21937
21938 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
21939 instead of positional arguments. Allow :keylist and :crlfiles
21940 arguments.
21941 (open-gnutls-stream): Call it.
21942
21943 * net/network-stream.el (network-stream-open-starttls): Adjust to
21944 call `gnutls-negotiate' with :process and :hostname arguments.
21945
21946 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21947
21948 * minibuffer.el (completion--message): New function.
21949 (completion--do-completion, minibuffer-complete)
21950 (minibuffer-force-complete, minibuffer-complete-word): Use it.
21951 (completion--do-completion): Don't ignore completion-auto-help when in
21952 icomplete-mode.
21953
21954 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21955 internal encoding (e.g. tibetan zero is not whitespace).
21956 (global-whitespace-mode): Prefer save-current-buffer.
21957 (whitespace-trailing-regexp): Remove useless save-match-data.
21958 (whitespace-empty-at-bob-regexp): Minor simplification.
21959
21960 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
21961
21962 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21963
21964 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
21965
21966 * textmodes/ispell.el (ispell-add-per-file-word-list):
21967 Use `concat' to create string for insertion.
21968
21969 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21970
21971 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21972 Avoid open-line which runs post-self-insert-hook.
21973 (bibtex-fill-entry): Remove unused `end' var.
21974
21975 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
21976
21977 * textmodes/ispell.el (ispell-add-per-file-word-list):
21978 Protect against `nil' value of `comment-start' (Bug#8579).
21979
21980 2011-05-03 Leo Liu <sdl.web@gmail.com>
21981
21982 * isearch.el (isearch-yank-pop): New command.
21983 (isearch-mode-map): Bind it to `M-y'.
21984 (isearch-forward): Mention it.
21985
21986 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21987
21988 * simple.el (minibuffer-complete-shell-command): Remove.
21989 (minibuffer-local-shell-command-map): Use completion-at-point.
21990 (read-shell-command): Setup completion vars here instead.
21991 (read-expression-map): Bind TAB to symbol completion.
21992
21993 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21994 error directly rather via storing it into `results'.
21995
21996 2011-05-02 Leo Liu <sdl.web@gmail.com>
21997
21998 * vc/diff.el: Fix description.
21999
22000 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22001
22002 * server.el (server-eval-at): New function.
22003
22004 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22005
22006 * net/network-stream.el (open-network-stream): Take a :nowait
22007 parameter and pass it on to `make-network-process'.
22008 (network-stream-open-plain): Ditto.
22009
22010 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22011
22012 * faces.el (face-spec-set-match-display): Don't match toolkit
22013 options on terminal frames.
22014
22015 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22016
22017 * progmodes/pascal.el: Use lexical binding.
22018 (pascal-mode-map): Remove author preferences.
22019
22020 * pcomplete.el (pcomplete-std-complete): Don't abuse
22021 completion-at-point.
22022
22023 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22024
22025 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22026 removing code that has been dead since 1991 or so.
22027
22028 * startup.el (command-line): When warning about "_emacs", use a
22029 delayed warning to allow the user to filter it out.
22030
22031 2011-04-28 Deniz Dogan <deniz@dogan.se>
22032
22033 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22034 user has not joined.
22035
22036 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22037
22038 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22039 aren't any completions at point.
22040
22041 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22042
22043 * subr.el (display-delayed-warnings): New function.
22044 (delayed-warnings-hook): New variable.
22045
22046 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22047
22048 * minibuffer.el (completion-at-point, completion-help-at-point):
22049 Don't presume that a given completion-at-point-function will always
22050 use the same calling convention.
22051
22052 * pcomplete.el (pcomplete-completions-at-point):
22053 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22054 pcomplete-seen is non-nil.
22055 (pcomplete-comint-setup): Also recognize the new comint/shell
22056 completion functions.
22057 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22058 pcomplete-seen is non-nil.
22059
22060 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22061
22062 * calendar/icalendar.el (diary-lib): Add require statement.
22063 (icalendar--create-uid): Read out a uid from a text-property on
22064 the first character in the entry. This allows for code to add its
22065 own uid to the entry.
22066 (icalendar--convert-float-to-ical): Add export of
22067 `diary-float'-entries save for those with the optional DAY
22068 argument.
22069
22070 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22071
22072 * subr.el (shell-quote-argument): Use alternate escaping strategy
22073 when we spot a variable reference in a string.
22074
22075 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22076
22077 * cus-start.el (all): Define customization for debug-on-event.
22078
22079 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22080
22081 * subr.el (shell-quote-argument): Escape correctly under Windows.
22082
22083 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22084
22085 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22086
22087 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22088
22089 * net/tramp.el (tramp-process-actions): Add POS argument.
22090 Delete region between POS and (pos).
22091
22092 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22093 Use `nil' position in `tramp-process-actions' call.
22094 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22095
22096 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22097 position in `tramp-process-actions' call.
22098
22099 * net/trampver.el: Update release number.
22100
22101 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22102
22103 * custom.el (defcustom): Obey lexical-binding.
22104
22105 Fix octave-inf completion problems reported by Alexander Klimov.
22106 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22107 Inherit from octave-mode-syntax-table.
22108 (inferior-octave-mode): Set info-lookup-mode.
22109 (inferior-octave-completion-at-point): New function.
22110 (inferior-octave-complete): Use it and completion-in-region.
22111 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22112 comint-filename-completion.
22113 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22114 symbol elements which shouldn't be word elements.
22115 (octave-font-lock-keywords, octave-beginning-of-defun)
22116 (octave-function-header-regexp): Adjust regexps accordingly.
22117 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22118
22119 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22120
22121 * net/gnutls.el (gnutls-errorp): Declare before first use.
22122
22123 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22124
22125 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22126 verify-error, and verify-hostname-error parameters. Check whether
22127 default trustfile exists before going to use it. Add missing
22128 argument to gnutls-message-maybe call. Return value.
22129 Reported by Claudio Bley <claudio.bley@gmail.com>.
22130 (open-gnutls-stream): Add usage example.
22131
22132 * net/network-stream.el (network-stream-open-starttls): Give host
22133 parameter to `gnutls-negotiate'.
22134 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22135 * subr.el (shell-quote-argument): Escape correctly under Windows.
22136
22137 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22138
22139 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22140 Use correct match group (bug#8438).
22141
22142 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22143
22144 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22145 (package-menu--generate): New arg specifying packages to show.
22146 (package-menu-refresh, package-menu-execute, list-packages):
22147 Callers changed.
22148 (package-show-package-list): New function, replacing deleted
22149 package--list-packages (renamed because it is non-internal).
22150
22151 * finder.el (finder-list-matches): Use package-show-package-list
22152 instead of deleted package--list-packages.
22153
22154 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22155 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22156 (vc-annotate-mode-map): Bind it to RET.
22157
22158 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22159
22160 * progmodes/etags.el (next-file): Don't use set-buffer to change
22161 buffers (Bug#8478).
22162
22163 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22164
22165 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22166
22167 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22168 (apropos-accumulator): Doc fix.
22169 (apropos-function, apropos-macro, apropos-command)
22170 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22171 (apropos-plist): Add face property.
22172 (apropos-symbols-internal): Fix indentation.
22173 (apropos-print): Simplify help, and recognize apropos-multi-type.
22174 (apropos-print-doc): Use button-type-get to extract the button's
22175 face property. Fill docstring (Bug#8352).
22176
22177 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22178
22179 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22180
22181 * play/mpuz.el (mpuz-silent): Doc fix.
22182 (mpuz-mode-map): Use mapc.
22183 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22184 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22185 Fix typos in docstrings.
22186
22187 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22188 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22189
22190 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22191
22192 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22193
22194 * minibuffer.el (completion--do-completion): Avoid the "Next char
22195 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22196
22197 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22198 mouse-2 into unread-command-events, it is interpreted correctly.
22199
22200 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22201 (image-toggle-display): Doc fix.
22202
22203 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22204
22205 * textmodes/page.el (what-page): Use line-number-at-pos to
22206 calculate line number (Bug#6825).
22207
22208 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22209
22210 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22211 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22212 Pass argument NO-DEFAULT to `find-tag-interactive'.
22213
22214 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22215
22216 Lexical-binding cleanup.
22217
22218 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22219 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22220 * progmodes/ada-prj.el (ada-prj-initialize-values)
22221 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22222 (ada-prj-show-value):
22223 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22224 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22225 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22226 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22227 * progmodes/bug-reference.el (bug-reference-push-button):
22228 * progmodes/fortran.el (fortran-line-length):
22229 * progmodes/glasses.el (glasses-change):
22230 * progmodes/octave-mod.el (octave-fill-paragraph):
22231 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22232 (python-pdbtrack-grub-for-buffer, python-sentinel):
22233 * progmodes/sql.el (sql-save-connection):
22234 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22235 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22236 Mark unused parameters.
22237
22238 * progmodes/compile.el (compilation--flush-directory-cache)
22239 (compilation--flush-parse, compile-internal): Mark unused parameters.
22240 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22241 (compilation-next-error-function): Remove unused variable `timestamp'.
22242
22243 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22244 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22245
22246 * progmodes/dcl-mode.el (dcl-end-of-command):
22247 Remove unused variable `start'.
22248 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22249 (dcl-option-value-basic, dcl-option-value-offset)
22250 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22251 Mark unused parameters.
22252 (dcl-save-local-variable): Remove unused variable `val'.
22253 (mode): Declare.
22254
22255 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22256 Mark unused parameters.
22257 (delphi-ignore-changes): Move before first use.
22258 (delphi-charset-token-at): Remove unused variable `start'.
22259 (delphi-else-start): Remove unused variable `if-count'.
22260 (delphi-comment-block-start, delphi-comment-block-end):
22261 Remove unused variable `kind'.
22262 (delphi-indent-line): Remove unused variable `new-point'.
22263
22264 * progmodes/ebrowse.el (ebrowse-files-list)
22265 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22266 Mark unused parameters. Don't quote `lambda'.
22267 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22268 Don't quote `lambda'.
22269 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22270 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22271 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22272 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22273 Use `ignore-errors'.
22274 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22275 (ebrowse-view/find-file-and-search-pattern)
22276 (ebrowse-view/find-member-declaration/definition):
22277 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22278 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22279 Rename parameter PREFIX-ARG to PREFIX.
22280 (ebrowse-tags-read-name): Remove unused variables `start' and
22281 `member-info'.
22282 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22283 to `tags-file'.
22284
22285 * progmodes/etags.el (local-find-tag-hook): Declare.
22286 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22287 Mark unused parameters.
22288
22289 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22290 (executable-interpret): Mark unused parameter.
22291
22292 * progmodes/flymake.el (flymake-process-sentinel)
22293 (flymake-after-change-function)
22294 (flymake-create-temp-with-folder-structure)
22295 (flymake-get-include-dirs-dot): Mark unused parameters.
22296 (flymake-safe-delete-directory): Remove unused variable `err'.
22297
22298 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22299 (speedbar-timer-fn, speedbar-line-text)
22300 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22301 (speedbar-center-buffer-smartly): Declare functions.
22302 (gdb-find-watch-expression): Remove unused variable `array'.
22303 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22304 (gdb-starting): Mark unused parameters.
22305 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22306 (gdb-table-string): Remove unused variable `res'.
22307 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22308 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22309 (gdb-display-buffer): Remove unused variable `cur-size'.
22310
22311 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22312 allow lexical-binding compilation.
22313 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22314 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22315 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22316 Mark unused parameters.
22317 (gud-gdb-marker-filter): Remove unused variable `match'.
22318 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22319 lambda expressions and funcall them, instead of using `fset'.
22320
22321 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22322 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22323
22324 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22325 variable `header-beg'; use `let'.
22326
22327 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22328 `restart', `last-sexp' and `at-do'.
22329
22330 * progmodes/js.el (js--debug): Mark unused parameter.
22331 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22332 (js--splice-into-items): Remove unused variable `item'.
22333 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22334
22335 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22336 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22337 (makefile-complete): Remove unused variable `try'.
22338 (makefile-fill-paragraph, makefile-match-function-end):
22339 Mark unused parameters.
22340
22341 * progmodes/octave-inf.el (inferior-octave-complete):
22342 Remove unused variable `proc'.
22343 (inferior-octave-output-digest): Mark unused parameter.
22344
22345 * progmodes/perl-mode.el (perl-calculate-indent):
22346 Remove unused variable `err'.
22347
22348 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22349 (prolog-indent-line): Mark unused parameters.
22350 (prolog-indent-line): Remove unused variable `beg'.
22351
22352 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22353 (reporter-dont-compact-list): Declare.
22354
22355 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22356 Remove unused variable `char'.
22357 (sh-debug): Mark unused parameter.
22358 (sh-get-indent-info): Remove unused variable `start'.
22359 (sh-calculate-indent): Remove unused variable `var'.
22360
22361 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22362 (simula-electric-keyword): Remove unused variable `null'.
22363 (simula-search-backward, simula-search-forward): Remove unused
22364 variables `begin' and `end'.
22365
22366 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22367 Remove unused variable `pos'.
22368 (vera-electric-tab, vera-comment-uncomment-region):
22369 Mark unused parameters.
22370 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22371
22372 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
22373
22374 * emacs-lisp/package.el (package--builtins, package-alist)
22375 (package-load-descriptor, package-built-in-p, package-activate)
22376 (define-package, package-installed-p)
22377 (package-compute-transaction, package-buffer-info)
22378 (package--push): Doc fix. Distinguish more clearly between
22379 version strings and version lists.
22380
22381 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
22382
22383 Lexical-binding cleanup.
22384
22385 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22386 (5x5-make-mutate-best):
22387 * play/fortune.el (fortune-in-buffer):
22388 * play/gomoku.el (gomoku-init-display):
22389 * play/solitaire.el (solitaire, solitaire-do-check):
22390 * play/tetris.el (tetris-default-update-speed-function):
22391 Mark unused parameters.
22392
22393 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22394 (bubbles--shift): Remove unused variable `char-org'.
22395 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22396 (bubbles--show-images): Remove unused variable `char'.
22397
22398 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22399 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22400 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22401 (decipher-analyze-buffer): Use ?\s.
22402 (decipher-make-checkpoint): Remove unused variable `mapping'.
22403
22404 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22405
22406 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22407 Remove unused variable `result'; use `let'.
22408
22409 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22410 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22411 (gametree-children-shown-p, gametree-compute-reduced-score):
22412 Use `ignore-errors'.
22413
22414 * play/handwrite.el (ps-lpr-switches): Declare.
22415 (handwrite): Remove unused variables `pmin' and `lastp'.
22416
22417 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22418
22419 * play/landmark.el (landmark-init-display)
22420 (landmark-update-naught-weights): Mark unused parameters.
22421 (landmark-y): Remove unused variable `noise'. Simplify.
22422 (landmark-human-plays): Remove unused variable `score'.
22423
22424 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22425 (mpuz-try-proposal): Remove unused variable `game'.
22426
22427 * play/zone.el (life-patterns): Declare.
22428
22429 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
22430
22431 * vc/vc.el (ediff-vc-internal): Declare function.
22432
22433 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22434
22435 * shell.el: Use lexical-binding and std completion UI.
22436 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22437 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22438 comint-preoutput-filter-functions rather than on
22439 comint-output-filter-functions.
22440 (shell-command-completion, shell--command-completion-data)
22441 (shell-filename-completion, shell-environment-variable-completion)
22442 (shell-c-a-p-replace-by-expanded-directory): New functions.
22443 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22444 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22445 (shell-dynamic-complete-environment-variable): Use them.
22446 (shell-dynamic-complete-as-environment-variable)
22447 (shell-dynamic-complete-as-command): Remove.
22448 (shell-match-partial-variable): Match past point.
22449 * comint.el: Clean up use of completion-at-point-functions.
22450 (comint-completion-at-point): New function.
22451 (comint-mode): Use it completion-at-point-functions.
22452 (comint-dynamic-complete): Make it obsolete.
22453 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22454 (comint-c-a-p-replace-by-expanded-history): New function.
22455 (comint-dynamic-complete-functions)
22456 (comint-replace-by-expanded-history): Use it.
22457 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22458 termination strings. Try harder to avoid second try-completion.
22459 (completion-in-region-mode-map): Disable bindings that don't work yet.
22460
22461 * comint.el: Use lexical-binding. Require CL.
22462 (comint-dynamic-complete-functions): Use comint-filename-completion.
22463 (comint-completion-addsuffix): Tweak custom type.
22464 (comint-filename-completion, comint--common-suffix)
22465 (comint--common-quoted-suffix, comint--table-subvert)
22466 (comint--complete-file-name-data): New functions.
22467 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22468 (comint-dynamic-list-filename-completions): Use them.
22469 (comint-dynamic-simple-complete): Make obsolete.
22470
22471 * minibuffer.el (completion-in-region-mode):
22472 Keep completion-in-region-mode--predicate global.
22473 (completion-in-region--postch):
22474 Assume completion-in-region-mode--predicate is not null.
22475
22476 * progmodes/flymake.el (flymake-start-syntax-check-process):
22477 Obey `dir'. Simplify.
22478
22479 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22480 we're in VC after all.
22481
22482 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22483
22484 * vc/vc.el (vc-diff-build-argument-list-internal)
22485 (vc-version-ediff, vc-ediff): New commands.
22486 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22487
22488 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22489
22490 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22491 add sanity check.
22492
22493 * obsolete/erc-hecomplete.el: Make obsolete.
22494 * obsolete/: Standardize obsolescence info in the header.
22495
22496 2011-04-20 Glenn Morris <rgm@gnu.org>
22497
22498 * calendar/solar.el (solar-horizontal-coordinates):
22499 Use the longitude argument rather than `calendar-longitude'.
22500 (solar-date-next-longitude): Remove unused locals.
22501
22502 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22503
22504 * whitespace.el: New version 13.2.1.
22505
22506 2011-04-20 felix <EmacsWiki> (tiny change)
22507
22508 * whitespace.el (global-whitespace-mode): Keep highlight when
22509 switching between major modes on a file.
22510
22511 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22512
22513 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22514 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22515 multi-line comments as well.
22516
22517 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
22518
22519 Lexical-binding cleanup.
22520
22521 * arc-mode.el (archive-mode-revert):
22522 * cmuscheme.el (scheme-interactively-start-process):
22523 * custom.el (custom-initialize-delay):
22524 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22525 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22526 * emacs-lock.el (emacs-lock-clear-sentinel):
22527 * ezimage.el (defezimage):
22528 * follow.el (follow-avoid-tail-recenter):
22529 * fringe.el (set-fringe-mode-1):
22530 * generic-x.el (bat-generic-mode-compile):
22531 * help-mode.el (help-info-variable, help-do-xref)
22532 (help-mode-revert-buffer):
22533 * help.el (view-emacs-todo):
22534 * iswitchb.el (iswitchb-completion-help):
22535 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22536 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22537 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22538 * locate.el (locate-update):
22539 * longlines.el (longlines-encode-region)
22540 (longlines-after-change-function):
22541 * outline.el (outline-isearch-open-invisible):
22542 * ps-def.el (declare-function, charset-dimension, char-width)
22543 (encode-char):
22544 * ps-mule.el (ps-mule-plot-string):
22545 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22546 (recentf-edit-list-select, recentf-edit-list-validate)
22547 (recentf-open-files-action):
22548 * rect.el (delete-whitespace-rectangle-line)
22549 (rectangle-number-line-callback):
22550 * register.el (window-configuration-to-register)
22551 (frame-configuration-to-register):
22552 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22553 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22554 (xselect-convert-to-targets, xselect-convert-to-delete)
22555 (xselect-convert-to-filename, xselect-convert-to-charpos)
22556 (xselect-convert-to-lineno, xselect-convert-to-colno)
22557 (xselect-convert-to-os, xselect-convert-to-host)
22558 (xselect-convert-to-user, xselect-convert-to-class)
22559 (xselect-convert-to-name, xselect-convert-to-integer)
22560 (xselect-convert-to-atom, xselect-convert-to-identity):
22561 * subr.el (declare, ignore, process-kill-without-query)
22562 (text-clone-maintain):
22563 * terminal.el (te-get-char, te-tic-sentinel):
22564 * tool-bar.el (tool-bar-make-keymap):
22565 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22566 * type-break.el (type-break-mode, type-break-noninteractive-query):
22567 * view.el (View-back-to-mark):
22568 * wid-browse.el (widget-browse-action, widget-browse-widget)
22569 (widget-browse-widgets, widget-browse-sexp):
22570 * widget.el (define-widget-keywords):
22571 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22572 Mark unused parameters.
22573
22574 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22575 (align-areas): Remove unused variable `look'.
22576 (align-region): Remove unused variables `real-end' and `pos-list'.
22577
22578 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22579
22580 * bindings.el (mode-line-modified, mode-line-remote):
22581 Mark unused parameters.
22582 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22583
22584 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22585 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22586
22587 * comint.el (comint-history-isearch-pop-state)
22588 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22589 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22590 (comint-substitute-in-file-name): Doc fix.
22591
22592 * completion.el (cmpl-statistics-block): Mark unused parameter.
22593 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22594 (save-completions-to-file, load-completions-from-file):
22595 Remove unused local variable `e'.
22596
22597 * composite.el (compose-chars): Remove unused variable `len'.
22598 (lgstring-insert-glyph): Remove unused variable `g'.
22599 (compose-glyph-string): Remove unused variables `ascent',
22600 `descent', `lbearing' and `rbearing'.
22601 (compose-glyph-string-relative): Remove unused variables
22602 `lbearing', `rbearing' and `wadjust'.
22603 (compose-gstring-for-graphic): Remove unused variables `header',
22604 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22605 (compose-gstring-for-terminal): Remove unused variables `header'
22606 and `nchars'. Use `let', not `let*'.
22607
22608 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22609 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22610 (Custom-buffer-done, custom-buffer-create-internal)
22611 (custom-browse-visibility-action, custom-browse-group-tag-action)
22612 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22613 (widget-magic-mouse-down-action, custom-toggle-parent)
22614 (custom-add-parent-links, custom-toggle-hide-variable)
22615 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22616 (custom-toggle-hide-face, face, hook, custom-group-link-action)
22617 (custom-face-menu-create, custom-variable-menu-create, get)
22618 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22619 (custom-reset-standard-save-and-update): Remove unused variable `value'.
22620 (customize-apropos): Remove unused variable `tests'.
22621 (custom-group-value-create): Remove unused variable `hidden-p'.
22622 (sort-fold-case): Declare.
22623
22624 * cus-theme.el (custom-reset-standard-faces-list)
22625 (custom-reset-standard-variables-list): Declare.
22626 (customize-create-theme, custom-theme-revert, custom-theme-write)
22627 (custom-theme-choose-mode, customize-themes, custom-theme-save):
22628 Mark unused parameters.
22629
22630 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22631
22632 * delim-col.el (delimit-columns-max): Move defvar before first use.
22633
22634 * descr-text.el (describe-char-categories): Don't quote `lambda'.
22635 (describe-char): Don't quote `lambda'. Mark unused parameter.
22636
22637 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22638 (auto-insert): Declare.
22639 (desktop-restore-file-buffer): Rename desktop-* parameters;
22640 mark unused ones.
22641 (desktop-create-buffer): Rename desktop-* parameters and bind them.
22642 (desktop-buffer): Rename desktop-* parameters.
22643
22644 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22645 (dframe-reposition-frame-xemacs, dframe-help-echo)
22646 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22647 Mark unused parameters.
22648
22649 * dired-aux.el (backup-extract-version-start, overwrite-query)
22650 (overwrite-backup-query, rename-regexp-query)
22651 (rename-non-directory-query): Declare.
22652 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22653 (dired-add-entry): Remove unused variable `orig-file-name'.
22654 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22655 Use parameter PRESERVE-TIME instead of accessing dynamic variable
22656 `dired-copy-preserve-time' directly.
22657 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22658 (dired-insert-subdir-newpos): Rename unused variable `pos'.
22659
22660 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22661 (dired-virtual-revert, dired-make-relative-symlink):
22662 Mark unused parameters.
22663 (manual-program): Declare.
22664 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22665 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22666 wrapped in `with-no-warnings' to avoid replacing one warning by another.
22667
22668 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22669
22670 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22671
22672 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22673 Declare.
22674
22675 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22676
22677 * electric.el (Electric-command-loop): Rename parameter
22678 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22679
22680 * expand.el (expand-in-literal): Remove unused variable `here'.
22681
22682 * facemenu.el (facemenu-add-new-color):
22683 Remove unused variable `docstring'.
22684
22685 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22686 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22687 (face-attr-construct): Mark unused parameter. Doc fix.
22688 (read-color): Remove unused variable `hex-string'.
22689
22690 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22691 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22692 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22693 (display-buffer-other-frame): Remove unused variable `old-window'.
22694 (kill-buffer-hook): Declare.
22695 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22696 Mark unused parameters.
22697 (after-find-file): Pass 1 to `auto-save-mode', not t.
22698
22699 * files-x.el (auto-insert): Declare.
22700 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22701
22702 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
22703 variable `buf'. Mark unused parameter.
22704 (find-lisp-insert-directory): Mark unused parameter.
22705
22706 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22707 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22708 (format-common-tail): Remove, unused.
22709 (format-deannotate-region): Remove unused variable `loc'.
22710 (format-annotate-region): Remove unused variable `p'.
22711 (format-annotate-single-property-change): Remove unused variables
22712 `default' and `tail'.
22713
22714 * forms.el (read-file-filter): Declare.
22715 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22716
22717 * frame.el (frame-creation-function-alist): Mark unused parameter.
22718 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22719
22720 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22721 Remove unused parameters.
22722 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22723 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22724
22725 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22726 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22727 (hfy-prepare-tag-map): Mark unused parameters.
22728 (htmlfontify-buffer): Use `called-interactively-p'.
22729
22730 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22731 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22732 (ibuffer-do-occur): Mark unused parameters.
22733 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22734 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22735
22736 * ibuffer.el: Don't quote `lambda'.
22737 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22738 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22739 Mark unused parameters.
22740
22741 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22742 (ido-completing-read): Mark unused parameters.
22743 (ido-copy-current-word): Mark unused parameters;
22744 remove unused variable `name'.
22745 (ido-sort-merged-list): Remove unused parameter `dirs'.
22746
22747 * ielm.el (ielm-input-sender): Mark unused parameter.
22748 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22749 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22750 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22751 `ielm-string' as a dynamic variable accessible from the IELM prompt.
22752 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
22753
22754 * image-dired.el (image-dired-display-thumbs): Remove unused
22755 variables `curr-file' and `count'.
22756 (image-dired-remove-tag): Remove unused variable `start'.
22757 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22758 variable `curr-file'
22759 (image-dired-rotate-original): Remove unused variable `temp-file'.
22760 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22761 Remove unused variable `file'.
22762 (image-dired-gallery-generate): Remove unused variable `curr'.
22763 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22764
22765 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22766
22767 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22768
22769 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22770
22771 * isearch.el (minibuffer-history-symbol): Declare.
22772 (isearch-edit-string): Remove unused variable `err'.
22773 (isearch-message-prefix, isearch-message-suffix):
22774 Mark unused parameters.
22775
22776 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22777
22778 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22779
22780 * makesum.el (double-column): Remove unused variable `cnt'.
22781
22782 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22783 (ido-ignore-item-temp-list): Declare.
22784
22785 * mouse-drag.el (mouse-drag-throw): Remove unused variables
22786 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22787 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22788 (mouse-drag-drag): Remove unused variables `mouse-delta' and
22789 `mouse-col-delta'.
22790
22791 * mouse-sel.el (mouse-extend-internal):
22792 Remove unused variable `orig-window-frame'.
22793
22794 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22795 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22796 Move declarations before first use.
22797 (pcomplete-opt): Mark unused parameters; doc fix.
22798
22799 * proced.el (proced-revert): Mark unused parameter.
22800 (proced-send-signal): Remove unused variable `err'.
22801
22802 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22803 Rename parameter PREFIX-ARG to ARG.
22804 (ps-basic-plot-string, ps-basic-plot-whitespace):
22805 Mark unused parameters.
22806
22807 * replace.el (replace-count): Define.
22808 (occur-revert-function): Mark unused parameters.
22809 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22810 (isearch-case-fold-search, isearch-string): Declare.
22811 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22812 bind `case-fold-search'. Remove unused variables `beg' and `end',
22813 and simplify.
22814 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22815 COUNT and bind `replace-count'.
22816 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22817 to COUNT.
22818
22819 * savehist.el (print-readably, print-string-length): Declare.
22820
22821 * shadowfile.el (shadow-expand-cluster-in-file-name):
22822 Remove unused variable `cluster'.
22823 (shadow-copy-file): Remove unused variable `i'.
22824 (shadow-noquery, shadow-clusters, shadow-site-cluster)
22825 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22826 (shadow-define-literal-group, shadow-define-regexp-group)
22827 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22828
22829 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22830 (shell): Use `called-interactively-p'.
22831 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22832
22833 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22834 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22835 (delete-backward-char): Remove unused variable `ocol'.
22836 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22837 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22838 (event-apply-hyper-modifier, event-apply-shift-modifier)
22839 (event-apply-control-modifier, event-apply-meta-modifier):
22840 Mark unused parameters.
22841 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22842 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22843
22844 * speedbar.el (speedbar-ignored-directory-expressions)
22845 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22846 (speedbar-find-file, speedbar-dir-follow)
22847 (speedbar-directory-buttons-follow, speedbar-tag-find)
22848 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22849 (speedbar-buffers-line-directory, speedbar-buffer-click):
22850 Mark unused parameters.
22851 (speedbar-tag-file): Remove unused variable `mode'.
22852 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22853
22854 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22855
22856 * talk.el (talk): Remove unused variable `display'.
22857
22858 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22859 (tar-write-region-annotate): Mark unused parameter.
22860
22861 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22862 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22863 Declare them, wrapped in `with-no-warnings' to avoid replacing one
22864 warning by another.
22865
22866 * time-stamp.el (time-stamp-string-preprocess):
22867 Remove unused variable `require-padding'.
22868
22869 * tree-widget.el (widget-glyph-enable): Declare.
22870 (tree-widget-action): Mark unused parameter.
22871
22872 * w32-fns.el (x-get-selection): Mark unused parameter.
22873 (autoload-make-program, generated-autoload-file): Declare.
22874
22875 * wdired.el (wdired-revert): Mark unused parameters.
22876 (wdired-xcase-word): Remove unused variable `err'.
22877
22878 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22879 (whitespace-help-scroll): Remove unused variable `data-help'.
22880
22881 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22882 (widget-image-insert, widget-after-change, default)
22883 (widget-default-format-handler, widget-default-notify)
22884 (widget-default-prompt-value, widget-info-link-action)
22885 (widget-url-link-action, widget-function-link-action)
22886 (widget-variable-link-action, widget-file-link-action)
22887 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22888 (widget-field-prompt-internal, widget-field-action, widget-field-match)
22889 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22890 (widget-insert-button-action, widget-delete-button-action, visibility)
22891 (widget-documentation-link-action, widget-documentation-string-action)
22892 (widget-const-prompt-value, widget-regexp-match, symbol)
22893 (widget-coding-system-prompt-value)
22894 (widget-key-sequence-value-to-external, sexp)
22895 (widget-sexp-value-to-internal, character, vector, cons)
22896 (widget-choice-prompt-value, widget-boolean-prompt-value)
22897 (widget-color--choose-action): Mark unused parameters.
22898 (widget-item-match-inline, widget-choice-match-inline)
22899 (widget-checklist-match, widget-checklist-match-inline)
22900 (widget-group-match): Rename parameter VALUES to VALS.
22901 (widget-field-value-set): Remove unused variable `size'.
22902 (widget-color-action): Remove unused variables `value' and `start'.
22903
22904 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
22905 variable `dir'. Doc fix.
22906 (windmove-find-other-window): Don't pass it.
22907
22908 * window.el (count-windows): Mark unused parameter.
22909 (bw-adjust-window): Remove unused variable `err'.
22910
22911 * woman.el (woman-file-name): Remove unused variable `default'.
22912 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22913 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22914 (global-font-lock-mode): Declare.
22915 (woman-decode-region): Mark unused parameter.
22916 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
22917
22918 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
22919 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
22920 (x-dnd-handle-moz-url): Remove unused variable `title'.
22921 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
22922
22923 * xml.el (xml-parse-tag, xml-parse-attlist):
22924 Remove unused variable `pos'.
22925
22926 2011-04-19 Glenn Morris <rgm@gnu.org>
22927
22928 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
22929 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
22930 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
22931 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
22932 * calendar/cal-html.el (cal-html-insert-minical):
22933 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
22934 (calendar-mark-date-pattern):
22935 Prefix "unused" locals.
22936
22937 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
22938 optional argument `style'.
22939
22940 * calendar/appt.el (appt-make-list):
22941 * calendar/cal-china.el (calendar-chinese-date-string):
22942 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
22943 (diary-hebrew-yahrzeit):
22944 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22945 * calendar/calendar.el (calendar-generate-window):
22946 * calendar/time-date.el (time-to-days):
22947 Remove unused local variables.
22948
22949 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
22950
22951 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22952 glyphless-char-display table.
22953 (tabulated-list-glyphless-char-display): New var.
22954
22955 2011-04-18 Sam Steingold <sds@gnu.org>
22956
22957 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22958 to acknowledgments.
22959
22960 2011-04-17 Glenn Morris <rgm@gnu.org>
22961
22962 * calendar/diary-lib.el (diary-sexp-entry):
22963 * calendar/holidays.el (holiday-sexp):
22964 Set debug-on-error rather than the removed stack-trace-on-error.
22965
22966 2011-04-16 Glenn Morris <rgm@gnu.org>
22967
22968 * progmodes/f90.el: Use lexical-binding.
22969 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22970
22971 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22972
22973 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22974 (mail-mode): Setup mailalias completion here instead.
22975 * mail/mailalias.el: Use lexical-binding.
22976 (pattern, mailalias-done): Declare dynamic.
22977 (mail-completion-at-point-function): New function, from mail-complete.
22978 (mail-complete): Use it.
22979 (mail-completion-expand): New function.
22980 (mail-get-names): Use it.
22981 (mail-directory, mail-directory-process, mail-directory-stream):
22982 Don't use `pattern' for lexically bound arg.
22983
22984 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22985
22986 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22987 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22988 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22989
22990 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22991 (byte-save-window-excursion, byte-temp-output-buffer-setup)
22992 (byte-interactive-p): Define them again, for use when inlining
22993 old code.
22994
22995 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
22996
22997 * loadup.el: Use `string-to-number', not `string-to-int'.
22998
22999 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23000
23001 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23002 gud-gdb-complete-command.
23003 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23004 (gud-gdb-completion-at-point): New function.
23005 (gud-gdb-completions): Remove.
23006
23007 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23008
23009 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23010 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23011 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23012 whether `executable-find' is bound.
23013
23014 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23015
23016 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23017
23018 * minibuffer.el (completion-in-region-mode-predicate)
23019 (completion-in-region-mode--predicate): New vars.
23020 (completion-in-region, completion-in-region--postch)
23021 (completion-in-region-mode): Use them.
23022 (completion--capf-wrapper): Also return the hook function.
23023 (completion-at-point, completion-help-at-point):
23024 Adjust and provide a predicate.
23025
23026 Preserve arg names for advice of subr and lexical functions (bug#8457).
23027 * help-fns.el (help-function-arglist): Consolidate the subr and
23028 new-byte-code cases. Add argument `preserve-names' to extract names
23029 from the docstring when needed.
23030 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23031 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23032 (ad-arglist): Use help-function-arglist's new arg.
23033 (ad-definition-type): Use cond.
23034
23035 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23036
23037 * autorevert.el (auto-revert-handler):
23038 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23039 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23040 Don't quote lambda.
23041
23042 * image-mode.el (image-transform-set-scale):
23043 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23044
23045 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23046
23047 * net/network-stream.el (network-stream-open-starttls): Only do
23048 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23049 Upgrades via gnutls-cli are too slow to be done opportunistically.
23050
23051 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23052
23053 * dframe.el (dframe-current-frame): Remove spurious quote.
23054
23055 2011-04-12 Glenn Morris <rgm@gnu.org>
23056
23057 * calendar/cal-tex.el (cal-tex-end-document):
23058 Try to automatically use latin1 input if needed.
23059
23060 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23061 Don't try to cons a mark onto an empty element.
23062
23063 2011-04-11 Leo Liu <sdl.web@gmail.com>
23064
23065 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23066 buffers.
23067 (ido-kill-buffer-at-head): Support killing virtual buffers.
23068
23069 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23070
23071 * minibuffer.el (completion-show-inline-help): New var.
23072 (completion--do-completion, minibuffer-complete)
23073 (minibuffer-force-complete, minibuffer-complete-word):
23074 Inhibit minibuffer messages if completion-show-inline-help is nil.
23075
23076 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23077 to avoid interference from inline help (Bug#5849).
23078
23079 2011-04-10 Leo Liu <sdl.web@gmail.com>
23080
23081 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23082 Fix typo.
23083
23084 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23085
23086 * image-mode.el (image-toggle-display-image): Signal an error if
23087 not in Image mode.
23088 (image-transform-mode, image-transform-resize)
23089 (image-transform-set-rotation): Doc fix.
23090 (image-transform-set-resize): Delete.
23091 (image-transform-set-scale, image-transform-fit-to-height)
23092 (image-transform-fit-to-width): Handle image-toggle-display-image
23093 and image-transform-resize directly.
23094
23095 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23096
23097 * doc-view.el (doc-view-fit-width-to-window)
23098 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23099 New functions for fitting the shown image to the Emacs window size.
23100 (doc-view-mode-map): Add bindings for the new functions.
23101
23102 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23103
23104 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23105 Fix typo in docstring.
23106
23107 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23108
23109 * files.el (file-size-human-readable): Produce one digit after
23110 decimal, like "ls -lh" does.
23111
23112 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23113 the file size representation.
23114
23115 * simple.el (list-processes): If async subprocesses are not
23116 available, error out with a clear error message.
23117
23118 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23119
23120 * help.el (help-form-show): New function, to be called from C.
23121 Put help-form output in a buffer named differently than *Help*.
23122
23123 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23124
23125 * files.el (file-size-human-readable): New function.
23126
23127 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23128 computing the representation inline. Don't require `cl'.
23129
23130 2011-04-08 Glenn Morris <rgm@gnu.org>
23131
23132 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23133
23134 * net/browse-url.el (browse-url-firefox):
23135 Test system-type, not system-configuration.
23136
23137 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23138 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23139 Use log-edit-empty-buffer-p. (Bug#7598)
23140
23141 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23142 (rlogin-mode-map): Initialize in the defvar.
23143 (rlogin): Use ignore-errors.
23144
23145 * replace.el (occur-mode-map): Some fixes for menu items.
23146
23147 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23148
23149 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23150
23151 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23152
23153 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23154 issuing unused warnings.
23155
23156 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23157 macro directly.
23158
23159 * simple.el: Lisp reimplement of list-processes. Based on an
23160 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23161 (process-menu-mode): New major mode.
23162 (list-processes--refresh, list-processes):
23163 (process-menu-visit-buffer): New functions.
23164
23165 * files.el (save-buffers-kill-emacs): Don't assume any return
23166 value of list-processes, which is undocumented anyway.
23167
23168 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23169
23170 * emacs-lisp/tabulated-list.el: New file.
23171
23172 * emacs-lisp/package.el: Use Tabulated List mode.
23173 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23174 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23175 table format using Tabulated List mode variables.
23176 (package--push): New macro, replacing package-list-maybe-add.
23177 (package-menu--generate): Use package--push. Renamed from
23178 package--generate-package-list.
23179 (package-menu-refresh, list-packages): Use it.
23180 (package-menu--print-info): Rename from package-print-package.
23181 Return insertion data instead of inserting it directly.
23182 (package-menu-describe-package, package-menu-execute):
23183 Use tabulated-list-get-id.
23184 (package-menu-mark-delete, package-menu-mark-install)
23185 (package-menu-mark-unmark, package-menu-backup-unmark)
23186 (package-menu-mark-obsolete-for-deletion):
23187 Use tabulated-list-put-tag.
23188 (package--list-packages, package-menu-revert)
23189 (package-menu-get-package, package-menu-get-version)
23190 (package-menu-sort-by-column): Functions deleted.
23191 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23192 (package-menu--status-predicate, package-menu--version-predicate)
23193 (package-menu--name-predicate)
23194 (package-menu--description-predicate): Handle arguments in the
23195 Tabulated List format.
23196 (package-list-packages-no-fetch): Call list-packages.
23197
23198 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23199
23200 * files.el (after-find-file-from-revert-buffer): Remove variable.
23201 (after-find-file): Don't bind it.
23202 (revert-buffer-in-progress-p): New variable.
23203 (revert-buffer): Bind it.
23204 Pass nil for `after-find-file-from-revert-buffer'.
23205
23206 * saveplace.el (save-place-find-file-hook): Use new variable
23207 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23208
23209 2011-04-06 Glenn Morris <rgm@gnu.org>
23210
23211 * Makefile.in (AUTOGEN_VCS): New variable.
23212 (autoloads): Use $AUTOGEN_VCS.
23213
23214 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23215 * calendar/calendar.el (calendar-mode-map):
23216 Check for toolkit scroll bars. (Bug#8305)
23217
23218 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23219
23220 * minibuffer.el (completion-in-region--postch)
23221 (completion-in-region-mode): Remove unnecessary messages.
23222
23223 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23224
23225 * font-lock.el (font-lock-refresh-defaults):
23226 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23227 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23228
23229 * info.el (Info-directory-list, Info-read-node-name-2)
23230 (Info-split-parameter-string): Doc fixes.
23231 (Info-virtual-nodes): Reflow docstring.
23232 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23233 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23234 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23235 Fix typos in docstrings.
23236 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23237 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23238 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23239 (Info-restore-desktop-buffer): Mark unused parameters.
23240 (Info-directory-find-file, Info-directory-find-node)
23241 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23242 (Info-virtual-index-find-node, Info-apropos-find-file)
23243 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23244 Mark unused parameters; fix typos in docstrings.
23245 (Info-virtual-index): Remove unused local variable `nodename'.
23246
23247 2011-04-05 Deniz Dogan <deniz@dogan.se>
23248
23249 * net/rcirc.el: Update my e-mail address.
23250 (rcirc-mode-map): Remove M-o binding.
23251
23252 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23253
23254 * startup.el (command-line): Save the cursor's theme-face
23255 directly, instead of using face-override-spec.
23256
23257 * custom.el (load-theme): Minor optimization in assigning faces.
23258
23259 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23260
23261 * help-fns.el (describe-variable): Complete all variables having
23262 documentation, including keywords.
23263 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23264
23265 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23266
23267 Convert to lexical-binding.
23268
23269 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23270 (bs--get-marked-string, bs--get-modified-string)
23271 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23272 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23273 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23274
23275 * ehelp.el (electric-help-execute-extended)
23276 (electric-help-ctrl-x-prefix):
23277 * hexl.el (hexl-revert-buffer-function):
23278 * linum.el (linum-after-change, linum-after-scroll):
23279 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23280
23281 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23282
23283 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23284
23285 * epa-dired.el:
23286 * epa-mail.el:
23287 * epa-hook.el:
23288 * epa-file.el:
23289 * epa.el:
23290 * epg.el: Use lexical binding.
23291
23292 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23293
23294 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23295
23296 * textmodes/flyspell.el (flyspell-word): Recognize default
23297 dictionary case for flyspell-mark-duplications-exceptions.
23298 Use regexp matching for languages.
23299 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23300 default dictionary (Bug#7926).
23301
23302 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23303
23304 * emacs-lisp/package.el (package--with-work-buffer):
23305 Recognize https URLs.
23306
23307 * net/network-stream.el: Move from gnus/proto-stream.el.
23308 Change prefix to network-stream throughout.
23309 (open-protocol-stream): Merge into open-network-stream, leaving
23310 open-protocol-stream as an alias. Handle nil BUFFER args.
23311
23312 * subr.el (open-network-stream): Move to net/network-stream.el.
23313
23314 2011-04-02 Glenn Morris <rgm@gnu.org>
23315
23316 * find-dired.el (find-exec-terminator): New option.
23317 (find-ls-option): Test for -ls support.
23318 (find-ls-subdir-switches): Test for -b in find-ls-option.
23319 (find-dired, find-grep-dired): Doc fixes.
23320 (find-dired): Use find-exec-terminator.
23321
23322 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23323 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23324 (find-name-arg): Remove purecopy.
23325
23326 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23327 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23328 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23329 accordingly. Don't add the null-device if not needed.
23330
23331 * files.el (save-some-buffers): Doc fix.
23332
23333 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23334
23335 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23336
23337 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23338
23339 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23340 Use `dolist' rather than `mapcar'.
23341
23342 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23343
23344 Add lexical binding.
23345
23346 * subr.el (apply-partially): Use new closures rather than CL.
23347 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23348 (dolist, dotimes): Use slightly different expansion for lexical code.
23349 (functionp): Move to C.
23350 (letrec): New macro.
23351 (with-wrapper-hook): Use it and apply-partially instead of CL.
23352 (eval-after-load): Preserve lexical-binding.
23353 (save-window-excursion, with-output-to-temp-buffer): Turn them
23354 into macros.
23355
23356 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23357
23358 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23359 than the arglist.
23360 (help-add-fundoc-usage): Don't add `Not documented'.
23361 (help-function-arglist): Handle closures, subroutines, and new
23362 byte-code-functions.
23363 (help-make-usage): Remove leading underscores.
23364 (describe-function-1): Handle closures.
23365 (describe-variable): Use special-variable-p for completion.
23366
23367 * files.el (lexical-binding): Declare safe.
23368
23369 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23370 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23371 (pcase): Add `let' pattern.
23372 Change memoization so it actually works.
23373 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23374 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23375 <let>: New case.
23376
23377 * emacs-lisp/macroexp.el: Use lexical binding.
23378 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23379 Don't convert ' to #' without checking that it's indeed quoting
23380 a lambda.
23381
23382 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23383 Use eval-sexp-add-defvars.
23384 (eval-sexp-add-defvars): New fun.
23385
23386 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23387
23388 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23389 Don't autoload.
23390 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23391 than the internal `byte-compile-lambda'.
23392 (defmethod): Don't hide code under quotes.
23393 (eieio-defmethod): New `code' argument.
23394
23395 * emacs-lisp/eieio-comp.el: Remove.
23396
23397 * emacs-lisp/edebug.el (edebug-eval-defun)
23398 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23399 (edebug-toggle): Avoid `eval'.
23400
23401 * emacs-lisp/disass.el (disassemble-internal): Handle new
23402 `closure' objects.
23403 (disassemble-1): Handle new byte codes.
23404
23405 * emacs-lisp/cl.el (pushnew): Silence warning.
23406
23407 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23408 (cl-byte-compile-throw): Remove.
23409 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23410
23411 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23412 closures.
23413
23414 * emacs-lisp/cconv.el: New file.
23415
23416 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23417 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23418 (byte-compile-initial-macro-environment):
23419 Handle declare-function here.
23420 (byte-compile--lexical-environment): New var.
23421 (byte-stack-ref, byte-stack-set, byte-discardN)
23422 (byte-discardN-preserve-tos): New lap codes.
23423 (byte-interactive-p): Don't use any more.
23424 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23425 New macros.
23426 (byte-compile-lapcode): Use them and handle new lap codes.
23427 (byte-compile-obsolete): Remove.
23428 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23429 (byte-compile-arglist-warn): Check late def of inlinable funs.
23430 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23431 since they should have been expanded by now.
23432 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23433 (byte-compile-from-buffer): Remove unused second arg.
23434 (byte-compile-preprocess): New function.
23435 (byte-compile-toplevel-file-form): New function to distinguish
23436 file-form calls from outside from file-form calls from hunk-handlers.
23437 (byte-compile-file-form): Simplify.
23438 (byte-compile-file-form-defsubst): Remove.
23439 (byte-compile-file-form-defmumble): Simplify now that
23440 byte-compile-lambda always returns a byte-code-function.
23441 (byte-compile): Preprocess.
23442 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23443 Remove, not used any more.
23444 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23445 (byte-compile-make-args-desc): New funs.
23446 (byte-compile-lambda): Handle lexical functions. Always return
23447 a byte-code-function.
23448 (byte-compile-reserved-constants): New var, to make up room for
23449 closed-over variables.
23450 (byte-compile-constants-vector): Obey it.
23451 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23452 (byte-compile-macroexpand-declare-function): New function.
23453 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23454 byte-code-functions.
23455 (byte-compile-form): Check obsolescence here.
23456 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23457 (byte-compile-variable-ref): Remove.
23458 (byte-compile-dynamic-variable-op): New fun.
23459 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23460 (byte-compile-variable-set): New funs.
23461 (byte-compile-discard): Add 2 args.
23462 (byte-compile-stack-ref, byte-compile-stack-set)
23463 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23464 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23465 macroexpand-all instead.
23466 (byte-compile-quote-form): Remove.
23467 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23468 (byte-compile-bind, byte-compile-unbind): New funs.
23469 (byte-compile-let): Handle let* and lexical binding.
23470 (byte-compile-let*): Remove.
23471 (byte-compile-catch, byte-compile-unwind-protect)
23472 (byte-compile-track-mouse, byte-compile-condition-case):
23473 Handle a new :fun-body form, used for lexical scoping.
23474 (byte-compile-save-window-excursion)
23475 (byte-compile-with-output-to-temp-buffer): Remove.
23476 (byte-compile-defun): Simplify.
23477 (byte-compile-stack-adjustment): New fun.
23478 (byte-compile-out): Use it.
23479 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23480
23481 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23482 handler any more.
23483
23484 * emacs-lisp/byte-opt.el: Use lexical binding.
23485 (byte-inline-lapcode): Remove (to bytecomp).
23486 (byte-compile-inline-expand): Pay attention to inlining to/from
23487 lexically bound code.
23488 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23489 any more.
23490 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23491 any more and don't call compiler-macros.
23492 (byte-compile-splice-in-already-compiled-code): Remove.
23493 (byte-code): Don't inline any more.
23494 (disassemble-offset): Receive `bytes' as argument rather than via
23495 dynamic scoping.
23496 (byte-compile-tag-number): Declare before first use.
23497 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23498 `return' even if make-spliceable.
23499 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23500 obsolete interactive-p.
23501 (byte-optimize-lapcode): Optimize new lap-codes.
23502 Don't trip up on new form of `byte-constant' lap code.
23503
23504 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23505
23506 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23507
23508 * custom.el (custom-initialize-default, custom-declare-variable):
23509 Use `defvar'.
23510
23511 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23512 New variables.
23513 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23514 (COMPILE_FIRST): Add macroexp and cconv.
23515 * makefile.w32-in: Mirror changes in Makefile.in.
23516
23517 * vc/cvs-status.el:
23518 * vc/diff-mode.el:
23519 * vc/log-edit.el:
23520 * vc/log-view.el:
23521 * vc/smerge-mode.el:
23522 * textmodes/bibtex-style.el:
23523 * textmodes/css-mode.el:
23524 * startup.el:
23525 * uniquify.el:
23526 * minibuffer.el:
23527 * newcomment.el:
23528 * reveal.el:
23529 * server.el:
23530 * mpc.el:
23531 * emacs-lisp/smie.el:
23532 * doc-view.el:
23533 * dired.el:
23534 * abbrev.el: Use lexical binding.
23535
23536 2011-04-01 Eli Zaretskii <eliz@gnu.org>
23537
23538 * info.el (info-display-manual): New function.
23539
23540 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23541
23542 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23543
23544 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23545
23546 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
23547 an entry for that server in rcirc-authinfo. (Bug#8385)
23548
23549 2011-03-31 Glenn Morris <rgm@gnu.org>
23550
23551 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23552
23553 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23554
23555 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23556
23557 * progmodes/python.el (python-default-interpreter)
23558 (python-python-command-args, python-jython-command-args)
23559 (python-which-shell, python-which-args, python-which-bufname)
23560 (python-file-queue, python-comint-output-filter-function)
23561 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23562 variables and functions.
23563
23564 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23565
23566 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23567 (completion-in-region-mode): New minor mode.
23568 (completion-in-region): Use it.
23569 (completion-in-region--data, completion-in-region-mode-map): New vars.
23570 (completion-in-region--postch): New function.
23571 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23572 New vars.
23573 (completion--capf-wrapper): New function.
23574 (completion-at-point): Use it to track well-behavedness of
23575 hook functions.
23576 (completion-help-at-point): New command.
23577
23578 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23579
23580 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23581 syntax class to search for whitespace on a single line
23582 (Message-ID: <4D938140.4030905@redhat.com>).
23583
23584 2011-03-30 Leo Liu <sdl.web@gmail.com>
23585
23586 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23587 New commands.
23588 (edit-abbrevs-map): Bind them here.
23589 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23590
23591 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23592
23593 * allout.el (allout-hide-by-annotation, allout-flag-region):
23594 Reduce possibility of overlay leakage by making them volatile.
23595
23596 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23597 hash is not shared between buffers. Mode initialization is
23598 responsible for giving it a useful starting value.
23599 (allout-item-span): Reduce possibility of overlay leakage by
23600 making them volatile.
23601 (allout-widgets-count-buttons-in-region): Add diagnostic function
23602 for tracking down button overlay leaks.
23603
23604 2011-03-29 Leo Liu <sdl.web@gmail.com>
23605
23606 * ido.el (ido-read-internal): Use the default history var
23607 minibuffer-history if no HISTORY is specified.
23608
23609 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23610
23611 * net/imap.el (imap-shell-open, imap-process-connection-type):
23612 Use imap-process-connection-type for 'shell' streams as well as
23613 Kerberos, SSL, other subprocesses.
23614
23615 2011-03-28 Leo Liu <sdl.web@gmail.com>
23616
23617 * abbrev.el (abbrev-table-empty-p): New function.
23618 (prepare-abbrev-list-buffer): Place empty abbrev tables after
23619 nonempty ones. (Bug#5937)
23620
23621 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
23622
23623 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23624
23625 2011-03-27 Leo Liu <sdl.web@gmail.com>
23626
23627 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23628 for foreground and background colors.
23629 (ansi-color-make-color-map): Adapt.
23630
23631 2011-03-25 Leo Liu <sdl.web@gmail.com>
23632
23633 * midnight.el (midnight-time-float): Remove. Note it calculates
23634 the microsecond component incorrectly and seconds-to-time does the
23635 same job.
23636 Remove redundant (require 'timer).
23637
23638 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23639 (ido-completions): Remove unused arguments. (Bug#8329)
23640
23641 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
23642
23643 * minibuffer.el (completion--flush-all-sorted-completions):
23644 Remove itself from hook.
23645 (completion-at-point): Let the functions perform the completion
23646 immediately and return nil or t.
23647 * comint.el (comint-dynamic-complete-functions): Now identical to
23648 completion-at-point-functions.
23649 (comint-dynamic-list-input-ring): Remove unused var `index'.
23650 (comint--match-partial-filename, comint--unquote&expand-filename):
23651 New funs, split from comint-match-partial-filename.
23652 (comint-dynamic-complete): Use completion-at-point.
23653 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23654
23655 2011-03-24 Drew Adams <drew.adams@oracle.com>
23656
23657 * thingatpt.el: Support `defun'.
23658
23659 2011-03-23 Leo Liu <sdl.web@gmail.com>
23660
23661 * abbrevlist.el: Move to obsolete/abbrevlist.el.
23662
23663 * help-mode.el (help-mode-finish): Tweak regexp.
23664
23665 2011-03-23 Glenn Morris <rgm@gnu.org>
23666
23667 * eshell/esh-opt.el (eshell-eval-using-options):
23668 Do not bind unused local variable `eshell-option-stub'.
23669
23670 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23671
23672 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
23673
23674 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23675 keymap variable in `with-no-warnings' to avoid a warning when the
23676 keymap has been already `defconst'ed.
23677
23678 2011-03-22 Leo Liu <sdl.web@gmail.com>
23679
23680 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23681 encode all chars in abbrevs; otherwise use emacs-mule or
23682 utf-8-emacs. (Bug#8308)
23683
23684 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
23685
23686 * simple.el (backward-delete-char-untabify):
23687 Avoid warning about using `delete-backward-char'.
23688
23689 * image.el (image-type-file-name-regexps): Make it variable.
23690 `imagemagick-register-types' modifies it, and the user may want
23691 to add new extensions for known image types.
23692 (imagemagick-register-types): Throw error if not using ImageMagick.
23693
23694 2011-03-22 Leo Liu <sdl.web@gmail.com>
23695
23696 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23697 located before rcirc-prompt-end-marker.
23698 (rcirc-complete): Error if point is not after rcirc prompt.
23699 Handle the case when table is nil.
23700 (rcirc-user-authenticated): Define to fix compiler warning.
23701
23702 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
23703
23704 * custom.el (custom--inhibit-theme-enable): Make it affect only
23705 custom-theme-set-variables and custom-theme-set-faces.
23706 (provide-theme): Ignore custom--inhibit-theme-enable.
23707 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23708 (custom-enabling-themes): Delete variable.
23709 (enable-theme): Accept only loaded themes as arguments.
23710 Ignore the special custom-enabled-themes variable.
23711 (custom-enabled-themes): Forbid themes from setting this.
23712 Eliminate use of custom-enabling-themes.
23713 (custom-push-theme): Quote "changed" custom var entry.
23714
23715 2011-03-21 Leo Liu <sdl.web@gmail.com>
23716
23717 * ido.el (ido-read-internal): Add ido-selected to history instead
23718 of user input.
23719
23720 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23721
23722 * subr.el (deferred-action-list, deferred-action-function):
23723 Mark obsolete.
23724
23725 2011-03-21 Leo Liu <sdl.web@gmail.com>
23726
23727 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23728 change on 2011-02-13 (bug#8309).
23729
23730 * minibuffer.el (read-file-name-function): Change default value.
23731 (read-file-name--defaults): Rename from read-file-name-defaults.
23732 (read-file-name-default): Rename from read-file-name.
23733 (read-file-name): Call read-file-name-function.
23734
23735 2011-03-21 Glenn Morris <rgm@gnu.org>
23736
23737 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23738 Doc fixes.
23739
23740 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
23741
23742 * cus-theme.el: Add missing provide statement.
23743 (customize-create-theme): Extract theme value correctly.
23744 (custom-theme-visit-theme): Autoload.
23745 (customize-create-theme): Prompt before inserting default faces.
23746
23747 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
23748
23749 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23750 units and musical notes.
23751
23752 2011-03-20 Leo Liu <sdl.web@gmail.com>
23753
23754 * ido.el (ido-read-internal): Use completing-read-default.
23755 (ido-completing-read): Fix compatibility with completing-read.
23756
23757 2011-03-20 Christian Ohler <ohler@gnu.org>
23758
23759 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23760 (ert-delete-all-tests): Use `called-interactively-p' rather than
23761 `interactive-p'.
23762 (ert--make-xrefs-region): Respect END.
23763
23764 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
23765
23766 * dired-aux.el (dired-create-directory): Signal an error if the
23767 directory already exists (Bug#8246).
23768
23769 * facemenu.el (list-colors-display): Call list-faces-display
23770 inside with-help-window.
23771 (list-colors-print): Use display property to align the final
23772 column, instead of checking window-width.
23773
23774 2011-03-19 Eli Zaretskii <eliz@gnu.org>
23775
23776 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
23777 windows-nt systems.
23778 (emerge-protect-metachars): Quote correctly for ms-dos and
23779 windows-nt systems.
23780
23781 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
23782
23783 * info.el (info-initialize): Replace all uses of `:' with
23784 path-separator for compatibility with non-Unix systems.
23785 Cache quoting of path-separator. (Bug#8258)
23786
23787 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
23788
23789 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23790 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23791 (mouse-avoidance-mode): Fix typos in docstrings.
23792
23793 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
23794
23795 * startup.el (package-subdirectory-regexp): Move from package.el.
23796 Omit \\` and \\', and let callers add them.
23797
23798 * emacs-lisp/package.el (package-strip-version)
23799 (package-load-all-descriptors): Add \\` and \\' to
23800 package-subdirectory-regexp before using it.
23801 (package-untar-buffer): New arg DIR; ensure that file untars only
23802 into this expected directory. Remove superfluous delete-region.
23803 (package-unpack): Caller changed.
23804 (package-tar-file-info): Use package-subdirectory-regexp.
23805
23806 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
23807
23808 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23809 diff-mode-shared-map (bug#8284).
23810 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
23811
23812 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23813
23814 * calendar/time-date.el (format-seconds): Use assoc instead of
23815 assoc-string, since assoc-string doesn't exist in XEmacs.
23816
23817 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
23818
23819 * custom.el (custom-known-themes): Reflow docstring.
23820 (custom-theme-load-path): Fix typo in docstring.
23821 (load-theme): Fix typo in error message.
23822 (custom-available-themes, custom-variable-theme-value):
23823 Use `let', not `let*'.
23824
23825 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23826
23827 * calc/README: Mention inclusion of musical notes.
23828
23829 * calc/calc-units.el (calc-lu-quant): Rename from
23830 `calc-logunits-quantity'.
23831 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23832 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23833 (calc-db): Rename from `calc-dblevel'.
23834 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23835 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23836 (calc-np): Rename from `calc-nplevel'.
23837 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23838 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23839 (calc-lu-plus): Rename from `calc-logunits-add'.
23840 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23841 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23842 (calc-lu-minus): Rename from `calc-logunits-sub'.
23843 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23844 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23845 (calc-lu-times): Rename from `calc-logunits-mul'.
23846 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23847 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23848 (calc-lu-divide): Rename from `calc-logunits-div'.
23849 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23850 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23851
23852 * calc/calc-ext.el (calc-init-extensions): Update the names of the
23853 functions being autoloaded.
23854
23855 * calc/calc.el (calc-lu-power-reference): Rename from
23856 `calc-logunits-power-reference'.
23857 (calc-lu-field-reference): Rename from
23858 `calc-logunits-field-reference'.
23859
23860 * calc/calc-help.el (calc-l-prefix-help):
23861 Mention musical note functions.
23862
23863 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
23864
23865 * minibuffer.el (completion-all-sorted-completions):
23866 Use :completion-cycle-penalty text property if present.
23867
23868 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
23869
23870 * allout.el (allout-yank-processing): Adjust for new rebulleting
23871 regime so bullet being yanked is used without prompting the user
23872 for a choice.
23873
23874 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
23875
23876 * startup.el (command-line): Warn the user that _emacs is deprecated.
23877
23878 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
23879
23880 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23881 (delphi-verbose, delphi-comment-face, delphi-string-face)
23882 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23883 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23884 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23885 (delphi-new-comment-line, delphi-font-lock-defaults)
23886 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23887 Fix typos in docstrings.
23888
23889 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
23890
23891 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
23892 Invert the roles of character and string values for INSTEAD, so a
23893 string is used for the more common case of a defaulting prompt.
23894
23895 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23896
23897 * progmodes/ruby-mode.el (ruby-backward-sexp):
23898 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23899 * play/gamegrid.el (gamegrid-make-face):
23900 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23901 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23902 * notifications.el (notifications-notify):
23903 * net/xesam.el (xesam-search-engines):
23904 * net/quickurl.el (quickurl-list-insert):
23905 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23906
23907 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
23908
23909 * startup.el (command-line): Update package subdirectory regexp.
23910
23911 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23912
23913 * allout.el (allout-abbreviate-flattened-numbering)
23914 (allout-mode-deactivate-hook): Fix up obsolescence "date".
23915
23916 * subr.el (read-char-choice): Only show the cursor after the prompt,
23917 not after the answer.
23918
23919 2011-03-15 Kevin Ryde <user42@zip.com.au>
23920
23921 * help-fns.el (variable-at-point): Skip leading quotes, if any
23922 (bug#8253).
23923
23924 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23925
23926 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
23927 warning message.
23928
23929 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
23930
23931 * shell.el (shell): When called interactively, offer to change the
23932 shell file name on remote hosts.
23933
23934 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
23935
23936 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
23937 integration for LDAP parameters. The host, base, user or binddn,
23938 and secret tokens can be specified in a netrc file, for instance.
23939 This is optional because an `auth-source' parameter must be
23940 specified in the search attributes.
23941
23942 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
23943
23944 * help.el (describe-mode): Link to the mode's definition (bug#8185).
23945
23946 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23947
23948 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23949 into declaration. Remove redundant and harmful binding.
23950
23951 2011-03-12 Eli Zaretskii <eliz@gnu.org>
23952
23953 * files.el (file-ownership-preserved-p): Pass `integer' as an
23954 explicit 2nd argument to `file-attributes'. If the file's owner
23955 is the Administrators group on Windows, and the current user is
23956 Administrator, consider that a match.
23957
23958 * server.el (server-ensure-safe-dir): Consider server directory
23959 safe on MS-Windows if its owner is the Administrators group while
23960 the current Emacs user is Administrator. Use `=' to compare
23961 numerical UIDs, since they could be integers or floats.
23962
23963 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
23964
23965 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23966
23967 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
23968
23969 Sync with Tramp 2.2.1.
23970
23971 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23972
23973 * net/trampver.el: Update release number.
23974
23975 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23976
23977 * progmodes/compile.el (compilation--previous-directory): Fix up
23978 various nil/dead-marker mismatches (bug#8014).
23979 (compilation-directory-properties, compilation-error-properties):
23980 Don't call it at a position past the one we're about to change.
23981
23982 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23983 Disable obsolescence warnings in the file that declares it.
23984
23985 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
23986
23987 * allout-widgets.el (allout-widgets-tally):
23988 Initialize allout-widgets-tally as a hash table rather than nil to
23989 prevent mode-line redisplay warnings. Also, clarify the module
23990 description and fix a comment typo.
23991
23992 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
23993
23994 * help-fns.el (describe-variable): Don't complete keywords.
23995 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23996
23997 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
23998
23999 * emacs-lisp/package.el (package-version-join): Impose a standard
24000 string representation for pre/alpha/beta version lists.
24001 (package-unpack-single): Standardize the directory name by passing
24002 it through package-version-join.
24003 (package-strip-rcs-id): Accept any version string that does not
24004 signal an error in version-to-list.
24005
24006 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24007
24008 * simple.el (delete-trailing-whitespace): Return nil for the
24009 benefit of `write-file-functions'.
24010
24011 2011-03-10 Glenn Morris <rgm@gnu.org>
24012
24013 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24014
24015 * vc/vc-git.el (vc-git-program): New option.
24016 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24017 (vc-git--call): Use it.
24018
24019 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24020
24021 * cus-edit.el (Custom-newline): If no button at point, look
24022 for a subgroup button at start-of-line. (Bug#2298)
24023
24024 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24025
24026 2011-03-10 Julien Danjou <julien@danjou.info>
24027
24028 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24029 `cursor-type' is nil.
24030
24031 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24032
24033 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24034
24035 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24036
24037 * allout.el: Change so yank of distinctive-bullet items
24038 preserves the existing header prefix, rebulleting it if necessary,
24039 rather than replacing it. This is necessary for proper operation
24040 of cooperative addons like allout-widgets.
24041 (allout-make-topic-prefix, allout-rebullet-heading):
24042 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24043 value as alternate bullet to be used, instead of prompting the user
24044 for a bullet character.
24045
24046 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24047
24048 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24049 Do not use `tramp-file-name-port', because this returns also
24050 `tramp-default-port'.
24051
24052 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24053
24054 * net/rcirc.el (rcirc-handler-001): Remove useless
24055 with-rcirc-process-buffer.
24056 (rcirc-check-auth-status): Swap arguments to string-match.
24057
24058 2011-03-09 Glenn Morris <rgm@gnu.org>
24059
24060 * shell.el (shell-mode):
24061 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24062
24063 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24064 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24065
24066 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24067
24068 * emacs-lisp/package.el (package-refresh-contents)
24069 (package-menu-execute): Use condition-case-no-debug.
24070
24071 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24072
24073 * simple.el (shell-command-to-string): Use `process-file'.
24074
24075 * emacs-lisp/package.el (package-tar-file-info): Handle also
24076 remote files.
24077
24078 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24079 Use `equal' for upload base check.
24080
24081 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24082
24083 * textmodes/texinfo.el (texinfo-environments):
24084 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24085
24086 2011-03-08 Glenn Morris <rgm@gnu.org>
24087
24088 * cus-start.el (cursor-in-non-selected-windows):
24089 Fix :set quoting oddness. (Bug#8192)
24090
24091 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24092 in some setf expressions. (Bug#2159)
24093
24094 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24095
24096 * custom.el (custom-available-themes): Return themes in
24097 alphabetical order.
24098
24099 See ChangeLog.15 for earlier changes.
24100
24101 ;; Local Variables:
24102 ;; coding: utf-8
24103 ;; End:
24104
24105 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24106
24107 This file is part of GNU Emacs.
24108
24109 GNU Emacs is free software: you can redistribute it and/or modify
24110 it under the terms of the GNU General Public License as published by
24111 the Free Software Foundation, either version 3 of the License, or
24112 (at your option) any later version.
24113
24114 GNU Emacs is distributed in the hope that it will be useful,
24115 but WITHOUT ANY WARRANTY; without even the implied warranty of
24116 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24117 GNU General Public License for more details.
24118
24119 You should have received a copy of the GNU General Public License
24120 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.