]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* files.el (basic-save-buffer): Offer to create a non-existing directory.
[gnu-emacs] / lisp / ChangeLog
1 2013-02-12 Glenn Morris <rgm@gnu.org>
2
3 * files.el (basic-save-buffer):
4 Offer to create a non-existing directory. (Bug#3016)
5
6 * calc/calc-graph.el (calc-graph-show-dumb):
7 * calendar/calendar.el (calendar-mode-map):
8 * cus-edit.el (custom-mode-map):
9 * ehelp.el (electric-help-map):
10 * emulation/vip.el (vip-mode-map):
11 * epa.el (epa-key-list-mode-map):
12 * info.el (Info-mode-map):
13 * mail/rmail.el (rmail-mode-map):
14 * mail/rmailsum.el (rmail-summary-mode-map):
15 * man.el (Man-mode-map):
16 * net/newst-plainview.el (newsticker-mode-map):
17 * progmodes/cpp.el (cpp-edit-mode-map):
18 * progmodes/grep.el (grep-mode-map):
19 * progmodes/idlw-help.el (idlwave-help-mode-map):
20 * simple.el (special-mode-map):
21 * startup.el (splash-screen-keymap):
22 * view.el (view-mode-map):
23 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
24
25 2013-02-11 Elias Pipping <pipping@lavabit.com>
26
27 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
28 (bug#13679).
29
30 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
33
34 2013-02-11 Glenn Morris <rgm@gnu.org>
35
36 * vc/diff.el (diff-use-labels): New variable.
37 (diff-no-select): Use --label rather than -L, and first
38 check that it is supported. (Bug#11067)
39
40 * files.el (enable-dir-local-variables): New variable.
41 (hack-dir-local-variables): Respect enable-dir-local-variables.
42 * tutorial.el (help-with-tutorial):
43 Ignore directory-local variables. (Bug#11127)
44
45 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
46 (vc-svn-global-switches): ... to here. (Bug#13513)
47
48 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
49
50 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
51 Handle "foo (bar, default: xxx): " prompts.
52
53 2013-02-10 Chong Yidong <cyd@gnu.org>
54
55 * files.el (basic-save-buffer-1): Do not set
56 buffer-file-coding-system-explicit (Bug#4533).
57
58 * mail/emacsbug.el (report-emacs-bug): Change binding of
59 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
60
61 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
62
63 * calc/calc.el (calc-allow-units-as-numbers): New variable.
64 * calc/calc-units.el (calc-convert-units): Use new variable.
65
66 2013-02-09 Eli Zaretskii <eliz@gnu.org>
67
68 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
69
70 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
71 buffer-file-type.
72
73 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
74 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
75 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
76 coding-system-for-write instead.
77
78 * jka-compr.el (jka-compr-write-region): Don't bind
79 buffer-file-type.
80
81 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
82 buffer-file-type.
83
84 * files.el (file-name-buffer-file-type-alist): Remove defvar.
85 (insert-file-contents-literally): Remove reference to
86 file-name-buffer-file-type-alist.
87
88 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
89 make-obsolete.
90 (find-buffer-file-type-match, find-buffer-file-type): Remove.
91 (find-buffer-file-type-coding-system): Remove references to
92 find-buffer-file-type-match, find-buffer-file-type, and
93 buffer-file-type.
94 Don't put find-buffer-file-type-coding-system into
95 file-coding-system-alist.
96 (find-file-binary, find-file-text): Bind coding-system-for-read
97 instead of file-name-buffer-file-type-alist.
98
99 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
100
101 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
102 converter (Bug#13622).
103 (doc-view-unoconv-program): Make obsolete alias.
104 (doc-view-odf->pdf-converter-program): New variable.
105 (doc-view-odf->pdf-converter-function): New variable.
106 (doc-view-mode-p): Use it.
107 (doc-view-odf->pdf-converter-unoconv):
108 Rename from `doc-view-odf->pdf-converter-unoconv'.
109 (doc-view-odf->pdf-converter-soffice): New function.
110 (doc-view-convert-current-doc):
111 Use `doc-view-odf->pdf-converter-function'.
112
113 2013-02-09 Chong Yidong <cyd@gnu.org>
114
115 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
116 view-echo-area-messages (Bug#13340).
117
118 * help.el (view-echo-area-messages): Use display-buffer.
119
120 * dired-x.el (dired-do-run-mail): Prompt for confirmation
121 (Bug#13561).
122
123 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
124
125 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
126 Eval body right away, now that we do eager macroexpansion (bug#13605).
127
128 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
129 (fundamental-mode): Use run-mode-hooks.
130
131 * eshell/esh-proc.el (eshell/kill): Fix last change.
132 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
133
134 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
135
136 * eshell/esh-proc.el (eshell/kill): Rewrite.
137
138 * eshell/em-ls.el (show-almost-all): Declare.
139 (eshell-do-ls): Add support for -A argument.
140
141 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
142
143 * icomplete.el (icomplete-forward-completions)
144 (icomplete-backward-completions): Handle corner case (bug#13602).
145
146 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
147
148 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
149 be nil. Handle this. (Bug#13636)
150
151 2013-02-07 Richard Stallman <rms@gnu.org>
152
153 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
154 `save-buffer-coding-system'.
155
156 2013-02-07 Alan Mackenzie <acm@muc.de>
157
158 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
159 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
160 (c-parse-state-get-strategy): Don't return 'BOD any more.
161 (c-append-lower-brace-pair-to-state-cache):
162 Extra parameter HERE instead of narrowing.
163 Widen to top of buffer before searching backwards for a brace pair.
164 (c-state-push-any-brace-pair): Add HERE parameter to function call.
165 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
166 Narrow to parameter HERE, in place of being called narrowed.
167 (c-remove-stale-state-cache): Extra parameter HERE in place of
168 narrowing. Check there's an open brace in the cache before
169 searching for its match.
170 (c-invalidate-state-cache-1): Add HERE parameter to function call.
171 (c-parse-state-1): Don't narrow here for 'forward strategy,
172 instead passing extra parameter HERE to several functions.
173 Remove 'BOD strategy.
174
175 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
176
177 * emacs-lisp/package.el (describe-package-1): Tell what archive is
178 used to install the package.
179
180 2013-02-06 Glenn Morris <rgm@gnu.org>
181
182 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
183 if we can't get user input. (Bug#6567)
184
185 * startup.el (command-line): If simple.el is missing,
186 test and warn about for some possible causes.
187
188 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
189
190 * cus-start.el (all): Add ns-use-native-fullscreen.
191
192 2013-02-05 Glenn Morris <rgm@gnu.org>
193
194 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
195
196 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
197 Fix directory creation in fallback case.
198
199 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
200
201 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
202 (vc-update-change-log): Use dolist.
203
204 2013-02-04 Chong Yidong <cyd@gnu.org>
205
206 * thingatpt.el: Rewrite the URL detection routines, absorbing some
207 code from ffap.el.
208 (thing-at-point-beginning-of-url-regexp): New var.
209 (thing-at-point-uri-schemes): Update list of URI schemes.
210 (thing-at-point-url-regexp): Variable deleted.
211 (thing-at-point-markedup-url-regexp): Disallow newlines.
212 (thing-at-point-newsgroup-regexp)
213 (thing-at-point-newsgroup-heads)
214 (thing-at-point-default-mail-uri-scheme): New variables.
215 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
216 method to find the possible bounds of the URI at point.
217 New optional argument to find ill-formed URIs.
218 (thing-at-point-url-at-point): Rewrite. New arguments for finding
219 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
220 the scheme-adding heuristics from ffap-url-at-point.
221 (thing-at-point--bounds-of-well-formed-url): New function.
222 Do parens matching to decide whether to include parens in the URI
223 (Bug#9153).
224
225 * ffap.el: Require thingatpt.
226 (ffap-url-at-point): Delegate URI detection to thing-at-point.
227 All URI-valid characters are now recognized (Bug#5673).
228 (ffap-string-at-point): Use use-region-p.
229 (ffap-url-regexp): Extra character is handled by thing-at-point.
230 (ffap-string-at-point-mode-alist): Allow parentheses.
231 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
232 Convert to aliases; code moved to thingatpt.el.
233 (ffap-gnus-hook): Use setq-local.
234
235 2013-02-04 Glenn Morris <rgm@gnu.org>
236
237 * emacs-lisp/ert.el (ert--explain-format-atom):
238 Don't try to print non-characters as characters. (Bug#13543)
239
240 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
241
242 * net/tramp.el (tramp-debug-message): Extend function exclude list.
243 (tramp-backtrace): New defun.
244 (tramp-handle-insert-file-contents): Use `visit' when inserting
245 the local copy.
246
247 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
248 Use `remote-file-name-inhibit-cache'.
249
250 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
251
252 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
253 (bug#13614).
254
255 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
256 current-load-list (bug#13366).
257
258 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
259
260 * progmodes/compile.el (compilation-error-regexp-alist-alist):
261 Identify g++ template instantiation trace. (Bug#12287)
262 (compilation-mode-hook, compilation-start-hook)
263 (compilation-window-height): Simplify docstrings. (Bug#13379)
264
265 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
266
267 * mouse.el (mouse-drag-track): Always deactivate the mark before
268 running the final event's command since that command is in charge of
269 activating the mark if needed (bug#13523).
270
271 2013-02-02 Juri Linkov <juri@jurta.org>
272
273 * replace.el (perform-replace): Move let-bindings of isearch-*
274 variables deeper to the loop that searches for the next match.
275 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
276 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
277 (Bug#13579)
278
279 * isearch.el (isearch-search-fun-default): Check for null
280 first element of isearch-cmds as a precaution when it's used
281 with inactive isearch.
282
283 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
284
285 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
286 error when buffer in question is narrowed so position 1 is out of
287 visible part.
288
289 2013-02-02 Glenn Morris <rgm@gnu.org>
290
291 * textmodes/remember.el (remember-clipboard): Doc fix.
292
293 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
294
295 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
296 properties (bug#13179).
297
298 2013-02-02 Juri Linkov <juri@jurta.org>
299
300 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
301 instead of hard-coded default face `match'. (Bug#9438)
302
303 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
304
305 * vc/vc-arch.el (vc-arch-registered):
306 * vc/vc-bzr.el (vc-bzr-registered):
307 * vc/vc-cvs.el (vc-cvs-registered):
308 * vc/vc-git.el (vc-git-registered):
309 * vc/vc-hg.el (vc-hg-registered):
310 * vc/vc-mtn.el (vc-mtn-registered):
311 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
312 (Bug#13139)
313
314 * info.el (Info-next-reference, Info-prev-reference): Add numeric
315 prefix argument. (Bug#11656)
316
317 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
318
319 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
320
321 2013-02-01 Glenn Morris <rgm@gnu.org>
322
323 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
324 if the backend is known not to support it.
325
326 * imenu.el (imenu-default-create-index-function):
327 Tweak infinite loop test to check for forward motion as well as none.
328
329 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
330
331 * net/soap-client.el (soap-invoke): Encode the string for
332 `url-request-data' as UTF-8.
333 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
334
335 2013-02-01 Glenn Morris <rgm@gnu.org>
336
337 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
338
339 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
340
341 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
342
343 * net/tramp.el (tramp-tramp-file-p): Comment check for
344 `string-as-unibyte'. The function does not exist on XEmacs, and
345 likely we need another approach.
346
347 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
348 `tramp-gw-*' variables are bound.
349
350 2013-01-31 Glenn Morris <rgm@gnu.org>
351
352 * files.el (basic-save-buffer-2): Choose coding system for
353 writing the file before backing it up, to reduce delay between
354 backing up and writing the new version. (Bug#13522)
355
356 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
357
358 * simple.el (cycle-spacing): New command.
359 (just-one-space): Use it.
360
361 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
362
363 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
364 (opascal-newline-always-indents): Remove custom.
365 (opascal-tab, opascal-newline): Remove commands.
366 (opascal-new-comment-line): Insert "\n" instead of calling newline.
367 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
368 (opascal-save-match-data): Remove, use save-match-data instead.
369 (opascal-save-state): Use with-silent-modifications.
370
371 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
372 (bug#13585).
373
374 2013-01-30 Juri Linkov <juri@jurta.org>
375
376 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
377 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
378 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
379
380 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
383 column if we're just deleting the backslashes.
384 (makefile-fill-paragraph): Use eolp.
385
386 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
387
388 * autorevert.el (auto-revert-use-notify): Fix docstring.
389
390 2013-01-30 Leo Liu <sdl.web@gmail.com>
391
392 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
393
394 2013-01-30 Glenn Morris <rgm@gnu.org>
395
396 * mouse.el (mouse-drag-line): Avoid pushing same event onto
397 unread-command-events twice in some cases. This tries to implement
398 the 2012-07-26 changes in a different way. (Bug#13560)
399
400 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
401
402 * progmodes/python.el
403 (python-pdbtrack-comint-output-filter-function): Enhancements on
404 stacktrace detection. (thanks @gnovak)
405
406 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
407
408 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
409 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
410 Use defvar-local.
411 (jit-lock-register): Use setq-local.
412
413 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
414
415 * calc-units.el (math-default-units-table): Remove initial value.
416 (calc-convert-units): Treat expressions where all the units cancel as
417 if they didn't have units.
418
419 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
420
421 * net/tramp.el (tramp-process-connection-type): Fix docstring.
422 (tramp-completion-reread-directory-timeout): Fix type.
423 (tramp-connection-min-time-diff): New defcustom.
424
425 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
426
427 2013-01-30 Glenn Morris <rgm@gnu.org>
428
429 * imenu.el (imenu-default-create-index-function):
430 Put back a version of the infinite loop test removed 2013-01-23.
431
432 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
433
434 * progmodes/python.el (python-shell-parse-command):
435 Find python-shell-interpreter with modified environment.
436
437 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
438
439 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
440
441 2013-01-29 Alan Mackenzie <acm@muc.de>
442
443 Amend to fontify /regexp/s in actions correctly.
444 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
445 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
446 are no longer included.
447 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
448 What used to be these variables without "-line" in the name.
449 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
450 (c-awk-non-arith-op-bra-re): Now also matches {.
451 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
452 "return", and "case".
453 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
454 by /.
455 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
456 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
457
458 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
459
460 * autorevert.el (auto-revert-use-notify):
461 Use `custom-initialize-default' for initialization. (Bug#13583)
462
463 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
464
465 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
466 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
467 in `tramp-file-name-handler'.
468 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
469 compatibility.
470 (tramp-compute-multi-hops): Check, whether
471 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
472
473 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
474
475 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
476 (bug#13297).
477
478 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
479
480 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
481 checks made superfluous by the \_< operator.
482 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
483 temporarily) broken indentation.
484 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
485 Highlight nested constants, too. \_< broke that.
486
487 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
488
489 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
490 instead of "\\b".
491
492 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
493
494 * autorevert.el (auto-revert-handler): Notifications which result
495 from a saved file shall not be taken into account. (Bug#13557)
496
497 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
498
499 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
500 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
501 (lisp-mode): Pass t for it. (Bug#13556)
502
503 2013-01-25 Alan Mackenzie <acm@muc.de>
504
505 AWK Mode: Fix indentation bug at top level. Bug #12274.
506
507 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
508 just before CASE 5D.
509
510 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
511
512 * net/socks.el (socks-nslookup-host): Use string-to-number.
513
514 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
515
516 * autorevert.el (auto-revert-remote-files)
517 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
518 (auto-revert-notify-enabled, auto-revert-use-notify)
519 (auto-revert-notify-watch-descriptor-hash-list)
520 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
521 (auto-revert-notify-event-descriptor)
522 (auto-revert-notify-event-action)
523 (auto-revert-notify-event-file-name): Doc fix.
524 (global-auto-revert-mode): Reorder checks.
525 (auto-revert-notify-rm-watch): Respect changed values of
526 `auto-revert-notify-watch-descriptor-hash-list'.
527 (auto-revert-notify-add-watch): Check for
528 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
529 `inotify-add-watch'. Watch `default-directory' instead of
530 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
531 has a changed meaning now. (Bug#13540)
532 (auto-revert-notify-handler): Change implementation wrt events
533 returning from a directory.
534 (auto-revert-handler): Reorder implementation for checks of remote
535 files.
536 (auto-revert-buffers): Fix parentheses error.
537
538 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
539
540 * progmodes/python.el: Enhancements to header documentation about
541 skeletons. (Bug#5716)
542
543 * imenu.el (imenu-default-create-index-function): Remove useless
544 infinite loop check. (Bug#13438)
545
546 2013-01-25 Alan Mackenzie <acm@muc.de>
547
548 Fix a bug in the state cache mechanism. Refactor this a bit.
549
550 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
551 `cache-pos' element from the return value.
552 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
553 buffer to enable proper searching from beyond HERE. Amend the
554 test for detecting the sought brace pair. Amend the value written
555 to the "brace desert cache" when the brace isn't found.
556 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
557 and several other variables analogously.
558 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
559 parameter to a locally calculated variable.
560 (c-parse-state-1): Change the calling conventions to the two
561 defuns involving `cache-pos'.
562
563 2013-01-25 Chong Yidong <cyd@gnu.org>
564
565 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
566
567 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
568
569 * paren.el (show-paren-function): Make sure to set 'priority and
570 'face only if the overlay does exist.
571
572 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
573
574 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
575
576 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
577 basic attributes.
578 (tramp-sh-handle-set-file-acl): Improve error checking.
579
580 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
581
582 * doc-view.el (doc-view-display): Force mode line update until all
583 document is converted. Suggested by Stefan Monnier (Bug#13164).
584
585 2013-01-23 Bastien Guerry <bzg@gnu.org>
586
587 * paren.el (show-paren-function): Make sure an overlay exists
588 before trying to delete it. Also use `pos' as a position only
589 when it is an integer.
590
591 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
592
593 * play/gametree.el (gametree-break-line-here): Use point-marker.
594
595 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
596
597 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
598 Mark descriptive parts with `display' property.
599
600 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
601
602 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
603 New variable to map standard dict names to hunspell ones.
604 (ispell-set-spellchecker-params): Make sure specific dict names
605 are used for standard dicts with hunspell.
606
607 2013-01-21 Tassilo Horn <tsdh@gnu.org>
608
609 * textmodes/reftex-cite.el (reftex-format-citation): Add format
610 chars for note (%N) and url (%U).
611 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
612
613 2013-01-21 Juri Linkov <juri@jurta.org>
614
615 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
616 in addition to existing separate binding `meta f10' in `global-map'.
617 (Bug#13484)
618
619 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
620
621 Improve XEmacs compatibility.
622
623 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
624
625 * net/tramp-adb.el (top): Require `time-date'.
626 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
627 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
628 Use `tramp-file-name-handler'.
629 (tramp-adb-maybe-open-connection):
630 Use `tramp-compat-set-process-query-on-exit-flag'.
631
632 * net/tramp-sh.el (tramp-sh-handle-file-acl):
633 Use `tramp-compat-funcall'.
634
635 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
636 `tramp-compat-funcall'.
637
638 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
639
640 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
641 reimplementation using "adb shell command ..." instead of running
642 remote shell interactively.
643
644 2013-01-20 Glenn Morris <rgm@gnu.org>
645
646 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
647 Add native profiler menu entries.
648
649 * profiler.el (profiler-running-p): New function.
650 (profiler-cpu-profile): Use profiler-running-p.
651 (profiler-report-mode-map): Add some more menu entries.
652
653 2013-01-19 Glenn Morris <rgm@gnu.org>
654
655 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
656 fixes 2012-12-07 change. (Bug#13499)
657
658 2013-01-19 Leo Liu <sdl.web@gmail.com>
659
660 * dired.el (dired-get-marked-files): Prune erroneous values due to
661 last change. (Bug#13152)
662
663 2013-01-19 Glenn Morris <rgm@gnu.org>
664
665 * progmodes/etags.el (tags-table-check-computed-list):
666 Preserve point in tags buffer. (Bug#13412)
667
668 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
669
670 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
671 Chong Yidong <cyd@gnu.org>
672
673 * image-mode.el (image-next-file, image-previous-file):
674 New commands (Bug#8453).
675 (image-mode-map): Bind them to n and p.
676 (image-mode--images-in-directory): New helper function.
677
678 2013-01-19 Chong Yidong <cyd@gnu.org>
679
680 * image-mode.el (image-mode-fit-frame): Add a frame argument.
681 Suggested by Drew Adams (Bug#7730). Handle window decorations;
682 save and restore the old window configuration.
683
684 2013-01-18 Leo Liu <sdl.web@gmail.com>
685
686 * progmodes/js.el: Tweak autoload cookie for alias.
687
688 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
689
690 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
691 buffer local, again. This was lost with the fix on 2013-01-12.
692
693 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
694
695 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
696 order to support several eshell buffers in parallel.
697
698 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
699
700 * autorevert.el (auto-revert-use-notify): In the :set function, do
701 not modify `kill-buffer-hook'.
702 (auto-revert-notify-rm-watch):
703 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
704 (auto-revert-notify-add-watch): Do not call
705 `auto-revert-notify-rm-watch', but add it to a buffer local
706 `kill-buffer-hook'.
707
708 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
709
710 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
711 call to `eval' rather than a backquoted lambda.
712
713 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
714
715 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
716 to return an explicit nil.
717 (advice--remove-function): Change accordingly.
718
719 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
720 the use of nadvice.el.
721
722 * progmodes/which-func.el (which-function): Silence imenu errors
723 (bug#13433).
724
725 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
726
727 * progmodes/sql.el: (sql-imenu-generic-expression):
728 (sql-mode-font-lock-object-name): Match schema qualified names.
729 (sql-connect): Use string keys.
730 (sql-product-interactive): Wait for interpreter prompt.
731 (sql-comint-oracle): Set process coding based on NLS_LANG.
732
733 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
734
735 * progmodes/sql.el (sql-output-to-send): Remove, unused.
736 (sql-interactive-remove-continuation-prompt):
737 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
738
739 2013-01-14 Leo Liu <sdl.web@gmail.com>
740
741 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
742 (Bug#13420)
743
744 2013-01-14 Glenn Morris <rgm@gnu.org>
745
746 * progmodes/compile.el (compilation-error-regexp-alist-alist):
747 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
748
749 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
750
751 * progmodes/python.el (python-nav-end-of-statement):
752 Fix cornercase when handling multiline strings.
753
754 2013-01-13 Richard Stallman <rms@gnu.org>
755
756 * mail/sendmail.el (mail-position-on-field): Add doc string.
757
758 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
759 Get current message boundaries and pass them to
760 message-forward-make-body-mime. Minor style changes.
761
762 2013-01-13 Eli Zaretskii <eliz@gnu.org>
763
764 * cus-start.el (all): Avoid warnings about
765 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
766
767 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
768
769 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
770
771 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
772
773 * jit-lock.el (jit-lock-debug-mode): New minor mode.
774 (jit-lock--debug-fontifying): New var.
775 (jit-lock--debug-fontify): New function.
776 * subr.el (condition-case-unless-debug): Don't prevent catching the
777 error, just let the debbugger run.
778 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
779 timer code and don't drop errors silently.
780
781 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
782
783 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
784 `permanent-local' property.
785 (auto-revert-notify-handler): Use `file-equal-p'.
786
787 2013-01-12 Eli Zaretskii <eliz@gnu.org>
788
789 * autorevert.el (auto-revert-notify-handler): Fix filtering of
790 file notification by ACTION. For filtering by file name, compare
791 only the non-directory part of the file name.
792
793 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
794
795 * autorevert.el: Use cl-lib instead of cl.
796
797 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
798 (vc-bzr-checkin): Use it.
799 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
800 will preserve match-data.
801
802 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
803
804 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
805 (js--declaration-keyword-re): New var.
806 (js--multi-line-declaration-indentation): New function.
807 (js--proper-indentation): Use it.
808
809 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
810
811 * calc/calc.el (calc-highlight-selections-with-faces)
812 (calc-dispatch):
813 * comint.el (comint-history-isearch-message):
814 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
815 * ffap.el (ffap-string-at-point-region, ffap-next)
816 (ffap-string-at-point, ffap-string-around)
817 (ffap-copy-string-as-kill, ffap-highlight-overlay)
818 (ffap-literally):
819 * font-lock.el (font-lock-keywords-alist)
820 (font-lock-removed-keywords-alist):
821 * help-mode.el (help-xref-symbol-regexp):
822 * info.el (Info-find-emacs-command-nodes):
823 * international/mule.el (add-to-coding-system-list):
824 * isearch.el (isearch-message-function, isearch-fail-pos):
825 * misearch.el (multi-isearch-next-buffer-function):
826 * newcomment.el (comment-box):
827 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
828 (pr-setting-database):
829 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
830 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
831 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
832 (pike-font-lock-keywords-3):
833 * progmodes/compile.el (compile):
834 * progmodes/etags.el (tags-table-files)
835 (tags-table-files-function, tags-included-tables-function):
836 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
837 (gdb-restore-windows):
838 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
839 (ps-n-up-filling-database):
840 * server.el (server-buffer, server-log):
841 * simple.el (newline, delete-backward-char, delete-forward-char)
842 (minibuffer-history-isearch-message, kill-line, track-eol)
843 (temporary-goal-column):
844 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
845 (flyspell-default-deplacement-commands):
846 * textmodes/ispell.el (ispell-accept-output):
847 * textmodes/sgml-mode.el (html-tag-help):
848 * vc/compare-w.el (compare-ignore-whitespace)
849 (compare-ignore-case, compare-windows-dehighlight):
850 * vc/diff.el (diff):
851 * whitespace.el (whitespace-point)
852 (whitespace-font-lock-refontify, whitespace-bob-marker)
853 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
854
855 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
856
857 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
858 (auto-revert-notify-rm-watch): Ignore errors.
859 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
860 inotify, and '(size last-write-time) for w32notify.
861 Set buffer-local `auto-revert-use-notify' to nil when adding a file
862 watch fails - this is a fallback to the file modification check.
863 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
864 (auto-revert-notify-event-action)
865 (auto-revert-notify-event-file-name): New defuns.
866 (auto-revert-notify-handler): Use them. Implement first
867 plausibility checks.
868 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
869
870 2013-01-11 Julien Danjou <julien@danjou.info>
871
872 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
873 max are almost equal. Also return the correct value for V which is
874 already between 0 and 1.
875
876 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
877
878 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
879
880 2013-01-11 Eli Zaretskii <eliz@gnu.org>
881
882 * autorevert.el (auto-revert-notify-rm-watch)
883 (auto-revert-notify-add-watch): Fix typos in w32notify function
884 names.
885
886 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
887
888 * autorevert.el (auto-revert-notify-enabled): Move up.
889 (auto-revert-use-notify): New defcustom.
890 (auto-revert-mode, global-auto-revert-mode)
891 (auto-revert-notify-add-watch, auto-revert-handler)
892 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
893 `auto-revert-notify-enabled'.
894
895 2013-01-10 Elias Pipping <pipping@exherbo.org>
896
897 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
898 * doc-view.el (doc-view-document->bitmap):
899 Use doc-view-single-page-converter-function instead of
900 single-page-converter arg; adjust callers.
901
902 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
903
904 * progmodes/which-func.el (which-function): Understand Semantic's use
905 of overlays in imenu--index-alist.
906
907 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
908
909 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
910 (Man-man-k-use-anchor): New var.
911 (Man-parse-man-k): New function.
912 (Man-completion-table): Use it.
913 (man): Flush the completion cache between uses.
914
915 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
916
917 * autorevert.el: Add file watch support.
918 (auto-revert-notify-enabled): New defconst.
919 (auto-revert-notify-watch-descriptor-hash-list)
920 (auto-revert-notify-watch-descriptor)
921 (auto-revert-notify-modified-p): New defvars.
922 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
923 (auto-revert-notify-handler): New defuns.
924 (auto-revert-mode, global-auto-revert-mode): Remove file watches
925 when mode is disabled.
926 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
927 (auto-revert-buffers): Add file watches for active buffers.
928
929 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
930
931 * cus-start.el (toplevel): Only allow float values for
932 scroll-up-aggressively and scroll-down-aggressively.
933 Allow any number for line-spacing.
934
935 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
936
937 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
938 (doc-view-pdf->png-converter-function): Use mupdf if available.
939 (doc-view-djvu->png-converter-function)
940 (doc-view-ps->png-converter-function): Remove.
941 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
942 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
943 (doc-view-already-converted-p): Adjust accordingly.
944 (doc-view-mode-p): Simplify.
945 (doc-view-enlarge): Use setq-local.
946 (doc-view-pdf->png-converter-ghostscript)
947 (doc-view-djvu->png-converter-ddjvu)
948 (doc-view-pdf->png-converter-mupdf): Rework to call
949 doc-view-start-process directly.
950 (doc-view-pdf/ps->png): Simplify accordingly.
951 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
952 (doc-view-document->bitmap): Rename from doc-view-document->png.
953 (doc-view-convert-current-doc): Merge pdf and djvu cases.
954 (doc-view-set-slice-from-bounding-box): Fix completion table.
955 (doc-view-mode): Use add-hook for after-revert-hook.
956
957 2013-01-10 Glenn Morris <rgm@gnu.org>
958
959 * emacs-lisp/authors.el (authors-ignored-files)
960 (authors-valid-file-names, authors-renamed-files-alist):
961 Add some more entries.
962
963 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
964
965 * image-mode.el (image-mode-winprops): Don't throw away the fallback
966 `t' pseudo-window entry.
967
968 2013-01-10 Alan Mackenzie <acm@muc.de>
969
970 Fix bugs in the c-parse-state mechanism. Reuse some markers
971 instead of continually generating new ones.
972
973 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
974 (c-state-old-cpp-end-marker): New variables.
975 (c-append-lower-brace-pair-to-state-cache): Start a backward
976 search for "}" definitively outside CPP constructs.
977 (c-remove-stale-state-cache): Inform the caller of a need to
978 search back for a brace pair in certain circumstances.
979 (c-state-maybe-marker): New macro.
980 (c-parse-state): Reuse markers when appropriate.
981
982 2013-01-10 Glenn Morris <rgm@gnu.org>
983
984 * simple.el (execute-extended-command): Doc fix.
985 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
986
987 2013-01-10 Chong Yidong <cyd@gnu.org>
988
989 * faces.el (read-face-name): Doc fix.
990
991 2013-01-10 Roland Winkler <winkler@gnu.org>
992
993 * emacs-lisp/crm.el: Allow any regexp for separators.
994 (crm-default-separator): All spaces around the default comma separator.
995 (crm--completion-command): New macro.
996 (crm-completion-help, crm-complete, crm-complete-word): Use it.
997 (crm-complete-and-exit): Handle non-single-char separators.
998
999 2013-01-09 Elias Pipping <pipping@lavabit.com>
1000
1001 * doc-view.el: Add support for DjVu (bug#13164).
1002 (doc-view-djvu->png-converter-function): New config var.
1003 (doc-view-single-page-converter-function, doc-view--image-type)
1004 (doc-view--image-file-extension): New vars.
1005 (doc-view-mode): Initialize them.
1006 (doc-view-goto-page): Use them.
1007 (doc-view-mode-p): Add support for ddjvu.
1008 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1009 (doc-view-set-up-single-converter): New funs.
1010 (doc-view-pdf/ps->png): Extend for djvu.
1011 (doc-view-document->png): Rename from doc-view-pdf->png.
1012 (doc-view-convert-current-doc): Handle djvu.
1013 (doc-view-insert-image, doc-view-display)
1014 (doc-view-already-converted-p): Don't hardcode png.
1015 (doc-view-set-doc-type): Recognize djvu docs.
1016
1017 2013-01-09 Elias Pipping <pipping@lavabit.com>
1018
1019 * doc-view.el: Add support for mupdf converter (bug#13164).
1020 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1021 (doc-view-ps->png-converter-function): New config vars.
1022 (doc-view-pdf->png-converter-ghostscript)
1023 (doc-view-ps->png-converter-ghostscript)
1024 (doc-view-pdf->png-converter-mupdf): New functions.
1025 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1026
1027 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1028
1029 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1030 first in session cache: When `tramp-own-remote-path' is in
1031 `tramp-remote-path', the remote path is only set in the session
1032 cache.
1033
1034 2013-01-09 Glenn Morris <rgm@gnu.org>
1035
1036 * emacs-lisp/trace.el (trace-function-foreground)
1037 (trace-function-background): Doc fix.
1038
1039 2013-01-09 Juri Linkov <juri@jurta.org>
1040
1041 * international/mule-cmds.el (read-char-by-name): Move let-binding
1042 of completion-ignore-case around completing-read to fix regression
1043 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1044 `string-match-p' using the nil value of `case-fold-search' and
1045 `completion-ignore-case' in `completion-pcm--all-completions'.
1046 (Bug#12615).
1047
1048 2013-01-09 Glenn Morris <rgm@gnu.org>
1049
1050 * progmodes/compile.el (compilation-parse-errors):
1051 Fix typo. (Bug#13369)
1052
1053 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1054
1055 * comint.el (comint-send-input): Check size of buffer before
1056 waiting for process output, in case already accepted. (Bug#13290)
1057
1058 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1059
1060 Spelling fixes.
1061 * net/tramp-adb.el (tramp-adb-get-toolbox):
1062 Fix misspelling of 'unknown'.
1063
1064 2013-01-08 Juri Linkov <juri@jurta.org>
1065
1066 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1067 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1068 Use underline style wave on terminals that support it. (Bug#13000)
1069
1070 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1071
1072 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1073 the predicate returns nil.
1074
1075 * simple.el: Use lexical-binding.
1076 (primitive-undo): Use pcase.
1077 (minibuffer-history-isearch-push-state): Use a closure.
1078
1079 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1080
1081 * simple.el (primitive-undo): Move from undo.c.
1082
1083 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1084
1085 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1086 (cvs-mode-remove-handled): Use it (bug#13380).
1087
1088 * emacs-lisp/nadvice.el (advice--tweak): New function.
1089 (advice--remove-function, advice--subst-main): Use it.
1090
1091 * emacs-lisp/advice.el: Update commentary.
1092
1093 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1094
1095 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1096 Remove spurious entry.
1097
1098 2013-01-08 Glenn Morris <rgm@gnu.org>
1099
1100 * net/tramp.el (tramp-default-host-alist): Add :version.
1101
1102 2013-01-08 Juri Linkov <juri@jurta.org>
1103
1104 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1105 single completion. (Bug#12456)
1106 (info--manual-names): Expand node completions into an explicit list
1107 before appending it to another list. Filter out internal buffers
1108 with the leading space in the buffer name. (Bug#10771)
1109
1110 2013-01-08 Juri Linkov <juri@jurta.org>
1111
1112 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1113 that defaults to the Top node.
1114 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1115 the short format (FILENAME) goes to the Top node.
1116 (Info-build-node-completions): Rename arg `file' to `filename'.
1117 (Bug#13365)
1118
1119 2013-01-07 Bastien Guerry <bzg@gnu.org>
1120
1121 * menu-bar.el (menu-bar-search-documentation-menu):
1122 Use `apropos-user-option' and fix the help message.
1123
1124 2013-01-07 Bastien Guerry <bzg@gnu.org>
1125
1126 * apropos.el (apropos-do-all): Update docstring.
1127 (apropos-user-option-button): New face.
1128 (apropos-user-option): Rename from `apropos-variable' and update
1129 docstring.
1130 (apropos-variable): Rewrite, now show all variables by default.
1131 (apropos-print): Mention "User option" instead of "Variable" when
1132 printing doc for user options. (Bug#13276)
1133
1134 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1135
1136 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1137 Handle filename correctly, when parsing "source -> target" symlink
1138 output.
1139 (tramp-adb-handle-set-file-times): New defun.
1140
1141 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1142
1143 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1144 advice list when the interactive-spec of ad-Advice-* changes.
1145
1146 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1147
1148 * wid-edit.el (widget-default-get): Work for inlined elements.
1149 (Bug#12670)
1150
1151 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1152
1153 * net/tramp.el (tramp-default-host-alist): New defcustom.
1154 (tramp-find-host): Use it.
1155 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1156 `eshell-directory-change-hook'.
1157
1158 * net/tramp-adb.el (top): Add adb specific entry in
1159 `tramp-default-host-alist'.
1160 (tramp-adb-file-name-host): Remove function.
1161 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1162 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1163
1164 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1165
1166 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1167
1168 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1169
1170 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1171
1172 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1173 consist of more than one digit.
1174 (tramp-adb-file-name-handler-alist):
1175 Use `tramp-handle-file-exists-p' consistently.
1176 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1177 (tramp-adb-handle-file-exists-p): Remove function.
1178 (tramp-adb-file-name-host): New defun.
1179 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1180 Use it.
1181 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1182
1183 2013-01-06 Chong Yidong <cyd@gnu.org>
1184
1185 * vc/vc.el (vc-next-action): Detect buffer modifications
1186 conflicting with locking VCS operation (Bug#11490).
1187
1188 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1189
1190 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1191
1192 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1193 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1194
1195 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1196
1197 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1198 parsing of ls output using regular expression (handle filenames
1199 with spaces). Use virtual device number.
1200 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1201 cleanup).
1202
1203 2013-01-04 Daiki Ueno <ueno@gnu.org>
1204
1205 * epg.el: Silence byte-compiler warnings.
1206 (epg--start): Use delete-char instead of delete-backward-char.
1207 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1208
1209 2013-01-04 Daiki Ueno <ueno@gnu.org>
1210
1211 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1212 Suggested by Eli Zaretskii <eliz@gnu.org>.
1213
1214 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1215
1216 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1217 non-negative integers. Otherwise, the default values are used.
1218 (tramp-convert-file-attributes): Convert uid and gid to integers.
1219
1220 2013-01-04 Glenn Morris <rgm@gnu.org>
1221
1222 * term.el (term-handle-colors-array): Ensure face attributes
1223 are fully specified, not nil. (Bug#13337)
1224
1225 * term.el (term-default-fg-color, term-default-bg-color):
1226 Fix custom type.
1227
1228 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1229 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1230 rather than 'jka-compr being loaded. (Bug#13338)
1231
1232 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1233
1234 * icomplete.el (icomplete-completions):
1235 Honor icomplete-prospects-height once more following
1236 2012-11-29 changes. (Bug#13224)
1237
1238 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1239
1240 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1241 of called-interactively-p as well (bug#13237).
1242
1243 * view.el (view--enable, view--disable): Rename from view-mode-enable
1244 and view-mode-disable and assume it's called from view-mode.
1245 (view-mode-enable, view-mode-disable): Redefine as obsolete
1246 compatibility layer above view-mode.
1247 (view-mode-enter): Call `view-mode'.
1248
1249 * files.el (after-find-file): Call `view-mode'.
1250
1251 * doc-view.el (doc-view-scale-internally): New var.
1252 (doc-view-enlarge, doc-view-insert-image): Obey it.
1253
1254 2013-01-03 Daiki Ueno <ueno@gnu.org>
1255
1256 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1257 exist. (Bug#13344)
1258
1259 2013-01-03 Glenn Morris <rgm@gnu.org>
1260
1261 * mail/rmail.el (rmail-set-header-1): Ignore case.
1262 Handle multi-line headers. (Bug#13330)
1263
1264 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1265 Handle paragraph starting at beginning of buffer.
1266
1267 * subr.el (eval-after-load): Don't purecopy the form, so that it
1268 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1269
1270 * emacs-lisp/byte-run.el (defun): Place cl declarations
1271 after any interactive spec. (Bug#13265)
1272
1273 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1274
1275 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1276 defun. Don't check for DECL if DOCSTRING isn't a string.
1277 (defun): Likewise.
1278
1279 2013-01-02 Glenn Morris <rgm@gnu.org>
1280
1281 * eshell/em-cmpl.el (eshell-pcomplete):
1282 More thoroughly imitate pcomplete. (Bug#13293)
1283
1284 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1285 Return nil for empty path elements. (Bug#13296)
1286
1287 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1288
1289 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1290 order to improve efficiency (Based on Daniel Colascione's
1291 <dancol@dancol.org> patch). (Bug#13182)
1292
1293 2013-01-02 Glenn Morris <rgm@gnu.org>
1294
1295 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1296
1297 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1298
1299 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1300 neither DOCSTRING nor DECL was given. (Bug#13316)
1301
1302 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1303
1304 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1305 `error' call.
1306 (tramp-do-copy-or-rename-file): Ignore errors when calling
1307 `set-file-extended-attributes'.
1308
1309 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1310 Add handler for `file-acl'.
1311 (tramp-smb-handle-file-acl): New defun.
1312
1313 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1314
1315 * calc/README: Mention ISO 8601 week-numbering dates.
1316
1317 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1318
1319 * view.el (view-mode-enable): New argument run-view-mode-hook.
1320 Run view-mode-hook only when it's non-nil (Bug#13315).
1321 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1322 argument t.
1323
1324 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1325
1326 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1327 (No device connected, invalid device name). (Bug #13299)
1328
1329 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1330
1331 * window.el (window-resizable--p): Rename to window-resizable-p.
1332 (window-resize-no-error): New function.
1333
1334 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1335 broken in fix from 2012-12-28.
1336
1337 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1338
1339 * subr.el (special-form-p): Don't signal errors on undef aliases.
1340
1341 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1342
1343 * calc/calc-forms.el (math-parse-date): Try using
1344 `math-parse-iso-date' when it looks like it might be needed.
1345 Allow times of 24:00.
1346 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1347 of 24:00.
1348
1349 2012-12-30 Glenn Morris <rgm@gnu.org>
1350
1351 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1352 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1353 (rmail-summary-displayed, rmail-summary): Declare.
1354 (mairix-rmail-display): Just require rmail.
1355
1356 2012-12-30 Chong Yidong <cyd@gnu.org>
1357
1358 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1359 check for the tarball contents.
1360
1361 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1362
1363 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1364 tarfile content listings (Bug#13136).
1365
1366 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1367
1368 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1369 Insert the undecoded text of the message being forwarded. (Bug#9521)
1370
1371 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1372
1373 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1374 integers, if they are real numbers. (Bug#13282)
1375
1376 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1377 Return `t' on success.
1378
1379 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1380 Add handler for `set-file-selinux-context'.
1381
1382 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1383
1384 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1385 (tramp-sh-handle-set-file-acl): Return `t' on success.
1386
1387 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1388
1389 * files.el (backup-buffer-copy, basic-save-buffer-2):
1390 If set-file-extended-attributes fails, fall back on set-file-modes
1391 instead of signaling an error. (Bug#13298)
1392 (basic-save-buffer): Likewise.
1393
1394 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1395
1396 * progmodes/python.el: Support other commands triggering
1397 python-indent-line so indentation cycling continues to work.
1398 (python-indent-trigger-commands): New defcustom.
1399 (python-indent-line): Use it.
1400
1401 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1402
1403 * progmodes/python.el (python-shell-send-region): Add blank lines
1404 for non sent code so backtraces remain correct.
1405
1406 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1407
1408 * progmodes/python.el: Remove cl dependency.
1409 (python-syntax-count-quotes): Replace incf call.
1410 (python-fill-string): Replace setf call.
1411
1412 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1413
1414 * info.el (info-other-window): New arg, for consistency with info.
1415
1416 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1417
1418 * mail/rmail.el (rmail-maybe-display-summary):
1419 Rewrite (Bug#13066).
1420
1421 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1422
1423 * epg.el (epg--start): Modify process-environment locally.
1424
1425 2012-12-28 Daiki Ueno <ueno@gnu.org>
1426
1427 * epg.el: Support pinentry-curses.
1428 Suggested by Werner Koch in
1429 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1430 (epg-agent-file, epg-agent-mtime): New variable.
1431 (epg--start): Record the modified time of gpg-agent socket file,
1432 to restore Emacs frame after pinentry-curses termination.
1433 (epg-wait-for-completion): Restore Emacs frame here.
1434
1435 2012-12-27 Juri Linkov <juri@jurta.org>
1436
1437 * info.el (Info-file-completions): New variable.
1438 (Info-read-node-name-1): Complete node names in the Info file
1439 when a file name is given. Call `Info-build-node-completions'
1440 with a file name.
1441 (Info-build-node-completions): Add new arg `file'. When it is
1442 non-nil, visit it in a temporary buffer and cache its completions in
1443 `Info-current-file-completions'. Move most of the function body to
1444 `Info-build-node-completions-1'.
1445 (Info-build-node-completions-1): New function with the body from
1446 `Info-build-node-completions'. (Bug#12456)
1447
1448 2012-12-27 Juri Linkov <juri@jurta.org>
1449
1450 * frame.el (frame-maximization-style): Remove user option.
1451 (cycle-frame-maximized): Remove function.
1452 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1453 (toggle-frame-fullscreen): New command bound to <f11> instead of
1454 `toggle-frame-maximized'.
1455 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1456
1457 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1458
1459 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1460
1461 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1462 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1463 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1464 for `file-accessible-directory-p'. (Bug#13275)
1465
1466 2012-12-27 Sam Steingold <sds@gnu.org>
1467
1468 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1469 continuations, see <http://stackoverflow.com/questions/3582436>.
1470
1471 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
1472
1473 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1474 "module" and "def" to have indentation before them.
1475 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1476
1477 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1478
1479 2012-12-27 Alan Mackenzie <acm@muc.de>
1480
1481 Speed up fontification where there's large brace blocks.
1482 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1483 to a call of c-beginning-of-decl-1.
1484
1485 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1486
1487 * comint.el (comint-adjust-window-point): New function.
1488 (comint-postoutput-scroll-to-bottom):
1489 Call comint-adjust-window-point (Bug#13248).
1490
1491 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1492
1493 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1494 Rakefile regexp.
1495 (auto-mode-alist): Associate .gemspec files with ruby-mode
1496 (https://bugs.ruby-lang.org/issues/5453).
1497
1498 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1499
1500 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1501 Suppress coloring, if possible (required for BusyBox based systems like
1502 CyanogenMod).
1503 (tramp-adb-handle-file-attributes)
1504 (tramp-adb-handle-insert-directory)
1505 (tramp-adb-handle-file-name-all-completions): Use it.
1506 (tramp-adb-get-toolbox): New defun. Check for remote shell
1507 implementation (BusyBox or Toolbox).
1508
1509 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1510
1511 * startup.el (initial-buffer-choice): Allow function as value
1512 (Bug#13251).
1513 (command-line-1): Handle case where initial-buffer-choice
1514 specifies a function.
1515 * server.el (server-execute): Handle case where
1516 initial-buffer-choice specifies a function.
1517
1518 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1519
1520 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1521 its own function.
1522 (smtpmail-try-auth-methods): Forget the user name/password if the
1523 login is unsuccessful (bug#12424).
1524
1525 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
1526
1527 * notifications.el (notifications-notify): Protect body with
1528 `with-demoted-errors'.
1529
1530 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1531 Check properties of remote device. Restart connection, if there is a
1532 change.
1533
1534 2012-12-21 Chong Yidong <cyd@gnu.org>
1535
1536 * sort.el (sort-subr): Doc fix (Bug#13056).
1537
1538 2012-12-21 Bastien Guerry <bzg@gnu.org>
1539
1540 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1541
1542 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
1543
1544 * simple.el (process-file): Overwrite stderr file, if exists.
1545
1546 2012-12-21 Daiki Ueno <ueno@gnu.org>
1547
1548 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1549 (epg-error): Set `error-message' property.
1550
1551 2012-12-21 Chong Yidong <cyd@gnu.org>
1552
1553 * international/mule-cmds.el (read-char-by-name): Signal an error
1554 if the user does not supply a valid character (Bug#13177).
1555
1556 * simple.el (transpose-subr-1): Preserve marker positions by
1557 changing the insertion sequence (Bug#13122).
1558
1559 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1560
1561 * simple.el (kill-region): Deactivate mark even for empty regions
1562 (Bug#13169).
1563
1564 2012-12-21 Chong Yidong <cyd@gnu.org>
1565
1566 * help-fns.el (describe-variable): Make sure we get the right
1567 buffer name (Bug#13105). Suggested by Kelly Dean.
1568
1569 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1570
1571 * comint.el (comint-redirect-previous-input-string): New variable.
1572 (comint-redirect-setup, comint-redirect-cleanup)
1573 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1574 (comint-redirect-preoutput-filter): Fix verbose message.
1575
1576 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
1577
1578 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1579 is too long for Tramp. See discussion in
1580 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1581
1582 * progmodes/compile.el (compilation-start): Remove line escape
1583 template.
1584
1585 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1586
1587 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1588 Adjust comment.
1589
1590 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1591
1592 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1593 following non-comment text (bug#13207).
1594 (lm-header-multiline): Continuation lines need to be indented more than
1595 the first line.
1596 (lm-homepage): New function.
1597 (lm-with-file): Don't be confused if narrowing is in effect.
1598
1599 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1600
1601 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1602 very beginning of a hunk (e.g. killing the first line).
1603
1604 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
1605
1606 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1607 and text properties from returned ACL string.
1608 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1609 for "setfacl" command.
1610
1611 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
1612
1613 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1614 `tramp-cleanup-this-connection', when the process has died.
1615 (Bug#13151)
1616
1617 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1618
1619 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1620
1621 2012-12-17 Kevin Ryde <user42@zip.com.au>
1622
1623 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1624
1625 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
1626
1627 Add support for preserving ACL entries of files.
1628
1629 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1630 `set-file-acl' handlers.
1631
1632 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1633 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1634
1635 * net/tramp-compat.el (tramp-compat-copy-file):
1636 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1637
1638 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1639 Add `file-acl' and `set-file-acl' handlers.
1640 (tramp-gvfs-handle-copy-file):
1641 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1642 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1643 New defuns.
1644
1645 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1646 Add `file-acl' and `set-file-acl' handlers.
1647 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1648 (tramp-sh-handle-set-file-acl): New defuns.
1649 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1650 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1651
1652 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1653 Add `file-acl' and `set-file-acl' handlers.
1654 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1655
1656 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1657
1658 * help-macro.el (make-help-screen): Instead of switch-to-buffer
1659 use pop-to-buffer with NORECORD argument t. As buffer name, use
1660 *Metahelp* with a leading space (Bug#13190).
1661
1662 2012-12-16 Romain Francoise <romain@orebokech.com>
1663
1664 * files.el (file-extended-attributes)
1665 (set-file-extended-attributes): New functions.
1666 (backup-buffer): Use them to handle both SELinux context and ACL
1667 entries.
1668 (backup-buffer-copy): Work with an alist of extended attributes,
1669 rather than an SELinux context.
1670 (basic-save-buffer-2): Ditto.
1671
1672 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1673
1674 * battery.el (battery-bsd-apm): New function.
1675
1676 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1677
1678 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1679 standard date formats.
1680
1681 2012-12-15 Juri Linkov <juri@jurta.org>
1682
1683 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1684 `isearch-insert-char-by-name'.
1685 (with-isearch-suspended): New defmacro with body mostly from
1686 `isearch-edit-string' except the part that sets
1687 `isearch-new-string' and `isearch-new-message'.
1688 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1689 body that sets `isearch-new-string' and `isearch-new-message'.
1690 (isearch-insert-char-by-name): New command.
1691 * international/mule-cmds.el (read-char-by-name): Let-bind
1692 `enable-recursive-minibuffers' to t.
1693 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1694
1695 2012-12-15 Juri Linkov <juri@jurta.org>
1696
1697 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1698 (Bug#13175)
1699
1700 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1701
1702 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1703 the prompt. (Bug#13045)
1704
1705 2012-12-14 Glenn Morris <rgm@gnu.org>
1706
1707 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1708 Try to include filename in non-bytecomp warning. (Bug#13132)
1709
1710 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1711
1712 Fix permissions bugs with setgid directories etc. (Bug#13125)
1713 * files.el (backup-buffer): Don't rely on 9th output of
1714 file-attributes, as it's now a placeholder. Instead, use the new
1715 optional arg of file-ownership-preserved-p.
1716 (file-ownership-preserved-p): New optional arg GROUP.
1717 Fix mishandling of setuid directories that would cause this
1718 function to return t when it should have returned nil.
1719 Document what happens if the file does not exist, and when
1720 it's not known whether the ownership will be preserved.
1721 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1722 Likewise.
1723 (tramp-get-local-gid): Use group-gid for integer, as that's
1724 faster and more reliable.
1725
1726 2012-12-14 Julien Danjou <julien@danjou.info>
1727
1728 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1729 Update keywords list, data type and PL/pgSQL.
1730
1731 2012-12-14 Dave Abrahams <dave@boostpro.com>
1732
1733 * vc/ediff-util.el (ediff-buffer-type): New function.
1734 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1735 rather than taking it as as argument.
1736 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1737
1738 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1739
1740 * json.el: Add pretty-print option (bug#12634).
1741 (json-encoding-separator, json-encoding-default-indentation)
1742 (json--encoding-current-indentation, json-encoding-pretty-print)
1743 (json-encoding-lisp-style-closings): New vars.
1744 (json--with-indentation): New macro.
1745 (json-encode-hash-table, json-encode-alist, json-encode-plist)
1746 (json-encode-array): Use it to obey json-encoding-pretty-print.
1747 (json-pretty-print-buffer, json-pretty-print): New commands.
1748
1749 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
1750
1751 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1752 Extract `ruby-syntax-propertize-expansions'.
1753 (ruby-syntax-propertize-expansions): Only change syntax on
1754 certain string delimiters, to punctuation. This way the common
1755 functions like forward-word and thing-at-point still work.
1756 (ruby-match-expression-expansion): Improve readability.
1757 (ruby-block-contains-point): New function.
1758 (ruby-add-log-current-method): Handle several edge cases.
1759
1760 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
1761
1762 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1763 unload-feature finishes even when aborting an ongoing edebug session.
1764 Also, do not worry about edebug-mode, unload-feature takes care of it.
1765
1766 2012-12-13 Andreas Schwab <schwab@suse.de>
1767
1768 * net/tls.el (tls-program): Update customize type.
1769
1770 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
1771
1772 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1773 (edebug-setup-hook, cl-read-load-hooks): Use it.
1774 (edebug-unload-function): New function. (Bug#13163)
1775
1776 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
1777
1778 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1779 Otherwise, there could be errors in autoloading. (Bug#13151)
1780
1781 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
1782
1783 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1784 sequences.
1785
1786 2012-12-13 Alan Mackenzie <acm@muc.de>
1787
1788 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
1789 * progmodes/cc-engine.el (c-backward-comments): Add code to work
1790 around `forward-comment' not recognizing ^M as whitespace.
1791
1792 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
1793
1794 * progmodes/python.el (python-skeleton-class)
1795 (python-skeleton-def): Do not add space after defun name.
1796
1797 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1798
1799 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1800 (cl--symbol-function): Remove (now that funbound is like nil).
1801
1802 2012-12-12 Glenn Morris <rgm@gnu.org>
1803
1804 * button.el (button--area-button-p): Fix typo.
1805
1806 2012-12-12 Sam Steingold <sds@gnu.org>
1807
1808 * frame.el (frame-maximization-style): New user option.
1809 (toggle-frame-maximized): Toggle frame maximization according to
1810 `frame-maximization-style', bound to <f11>.
1811 (cycle-frame-maximized): Cycle between all maximization styles and
1812 non-maximized frame, bound to shift-<f11>.
1813
1814 2012-12-12 David Cadé <codename68@gmail.com>
1815
1816 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1817
1818 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1819
1820 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1821 (eieio-override-prin1): Don't quote kewords and booleans.
1822 (object-write) <eieio-default-superclass>: Don't put closing parens
1823 on new line, avoid needless empty lines, align values that are objects
1824 with the slot keyword (instead of beginning on the same line).
1825 (eieio-list-prin1): Align value with slot keyword; increase
1826 eieio-print-depth before printing members of the list.
1827
1828 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1829
1830 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1831 a display text-property.
1832 (report-emacs-bug-hook): Don't bother deleting it any more.
1833
1834 * hilit-chg.el (highlight-save-buffer-state): Delete.
1835 Use with-silent-modifications instead.
1836 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1837
1838 * button.el: Handle buttons in display text-properties.
1839 (button--area-button-p, button--area-button-string):
1840 Use (STRING . STRING-POS) representation instead of just STRING.
1841
1842 2012-12-11 Eli Zaretskii <eliz@gnu.org>
1843
1844 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1845 subdirectory be skipped.
1846
1847 2012-12-11 Glenn Morris <rgm@gnu.org>
1848
1849 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1850
1851 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1852 Treat preprocessor lines embedded in continuations like comments.
1853 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
1854
1855 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
1856
1857 * calc/calc.el (calc-standard-date-formats): Add more date
1858 formats.
1859 * calc/calc-forms.el (math-parse-iso-date): New function.
1860 (math-parse-date): Use `math-parse-iso-date' when appropriate.
1861 (math-parse-iso-date-validate): Add extra error checking.
1862 (calc-date-notation): Add ability to access new date formats.
1863
1864 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1866 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1867 font-lock as well as when there's no text-property.
1868
1869 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
1870
1871 * hi-lock.el: Refine the choice of default face.
1872 (hi-lock-keyword->face): New function. Use it wherever we used
1873 cadadadr instead.
1874 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1875 (hi-lock--last-face): Remove var.
1876 (hi-lock--unused-faces): New var to replace it.
1877 (hi-lock-read-face-name): Use/maintain it.
1878 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
1879 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1880 if it has another face.
1881
1882 2012-12-10 Eli Zaretskii <eliz@gnu.org>
1883
1884 * subr.el (w32notify-handle-event): New function.
1885 (inotify-handle-event): Doc fix.
1886
1887 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1888
1889 * subr.el (inotify-event-p, inotify-handle-event): New functions.
1890
1891 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
1892
1893 * simple.el (just-one-space): Doc fix.
1894
1895 2012-12-10 Eli Zaretskii <eliz@gnu.org>
1896
1897 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
1898
1899 2012-12-10 Le Wang <l26wang@gmail.com>
1900
1901 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1902 narrowed buffer (bug#12361).
1903
1904 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
1905
1906 * vc/vc-hooks.el (vc-state): Doc fix.
1907
1908 2012-12-10 Glenn Morris <rgm@gnu.org>
1909
1910 * mail/rmail.el (rmail-maybe-display-summary):
1911 Preserve buffer, in case select-window changes it. (Bug#13066)
1912
1913 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1914
1915 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1916 cl-load-hook where they belong.
1917
1918 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1919
1920 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1921
1922 2012-12-09 Eli Zaretskii <eliz@gnu.org>
1923
1924 Parallelize byte compilation on MS-Windows.
1925 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
1926 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
1927 (WINS_BASIC): Define as concatenation of the above.
1928 (compile): Subdivide into 4 separate and independent jobs that can
1929 be run in parallel.
1930 (compile0-CMD, compile0-SH): New targets for compiling
1931 COMPILE_FIRST files, which are prerequisites for the rest of the
1932 byte-compilation.
1933 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1934 New targets for parallel compilation with cmd.exe.
1935 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1936 compiling under a Unixy shell.
1937
1938 2012-12-09 Chong Yidong <cyd@gnu.org>
1939
1940 * simple.el (set-mark-default-inactive): Delete this
1941 accidentally-introduced option.
1942 (set-mark-command, exchange-point-and-mark): Remove calls.
1943
1944 2012-12-09 Glenn Morris <rgm@gnu.org>
1945
1946 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1947 Respect a defcustom's :set function, if appropriate. (Bug#109)
1948 (eval-defun): Doc fix.
1949
1950 2012-12-08 Juri Linkov <juri@jurta.org>
1951
1952 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1953 (Info-fontify-node, Info-bookmark-make-record): Remove the
1954 file extension from Info-current-file (Bug#13016).
1955
1956 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1957
1958 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1959 point, still provide some default.
1960 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1961 names, since we don't use it right now. Actually return the list.
1962 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1963
1964 2012-12-07 Chong Yidong <cyd@gnu.org>
1965
1966 * novice.el (disabled-command-function): Remove a spurious help
1967 xref (Bug#13043). Suggested by Kelly Dean.
1968
1969 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1970 syntax is specified (Bug#13025).
1971
1972 * info.el (Info-set-mode-line): Remove the file extension from
1973 Info-current-file if there is one (Bug#13016).
1974
1975 2012-12-07 Glenn Morris <rgm@gnu.org>
1976
1977 * mail/rmail.el (rmail-mime-decoded): New permanent local.
1978 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1979 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1980 and rmail-mime-decoded. (Bug#9841)
1981
1982 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
1983 (batch-unrmail, unrmail): Doc fixes.
1984 (unrmail): Respect unrmail-mbox-format.
1985 * mail/rmail.el (rmail-mbox-format): New option.
1986 (rmail-show-message-1): Respect rmail-mbox-format.
1987
1988 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1989
1990 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1991
1992 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
1995 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
1996 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
1997 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1998 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1999 (cl-progv): Don't rely on dynamic scoping to find the body.
2000 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2001 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2002 (cl-declaim): Use backquotes.
2003 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2004 Use "cl--" prefix for the object's tag.
2005
2006 * ses.el: Use advice-add/remove.
2007 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2008 (copy-region-as-kill, yank): Use advice-add.
2009 (ses-unload-function): Use advice-remove.
2010
2011 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2012
2013 * button.el: Make them work in header-lines (bug#12817).
2014 (button-map): Add bindings for header-line and mode-line use.
2015 (button-get, button-put, button-label): `button' may now be a string.
2016 (button-activate): Don't make it a defsubst.
2017 (button--area-button-p, button--area-button-string): New functions.
2018 (make-text-button): Fix the return value when `beg' was a string.
2019 (push-button): Handle the mode-line case.
2020
2021 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2022
2023 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2024 (sql-signum): Remove. Use `cl-signum' instead.
2025 (sql-read-passwd): Remove; use read-passwd instread.
2026 (sql-get-login-ext): Use read-string.
2027 (sql-get-login): Use dolist and pcase.
2028 (sql--completion-table): Rename from sql-try-completion.
2029 Use complete-with-action.
2030 (sql-mode): Don't change abbrev-all-caps globally.
2031 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2032 (sql-postgres-completion-object): Initialize vars in their `let'.
2033 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2034 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2035 (sql-comint-interbase): Use a single append, without setq.
2036 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2037
2038 * hi-lock.el: Rework the default face and the serialize regexp code.
2039 (hi-lock--auto-select-face-defaults): Remove.
2040 (hi-lock-string-serialize-serial): Remove.
2041 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2042 make weak.
2043 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2044 equal string.
2045 (hi-lock-set-pattern): Adjust accordingly.
2046 (hi-lock--regexps-at-point): Simplify accordingly.
2047 (hi-lock--auto-select-face-defaults): Remove.
2048 (hi-lock--last-face): New var to replace it.
2049 (hi-lock-read-face-name): Rewrite (bug#11095).
2050 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2051
2052 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2053
2054 * net/tramp.el (tramp-replace-environment-variables):
2055 Hide compiler warning.
2056 (tramp-file-name-for-operation): Remove `executable-find',
2057 `start-process', `call-process' and `call-process-region'.
2058
2059 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2060
2061 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2062 compatibility.
2063
2064 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2065
2066 2012-12-06 Chong Yidong <cyd@gnu.org>
2067
2068 * ffap.el (ffap-replace-file-component): Fix typo.
2069
2070 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2071
2072 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2073 fix open-paren-like token test (bug#12785).
2074
2075 2012-12-06 Glenn Morris <rgm@gnu.org>
2076
2077 * mail/rmailsum.el (rmail-new-summary): Tweak for
2078 rmail-maybe-display-summary changing buffer. (Bug#13066)
2079
2080 2012-12-06 Juri Linkov <juri@jurta.org>
2081
2082 * info.el (Info-fontify-node): Don't hide the last newline.
2083 (Bug#12272)
2084
2085 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2086
2087 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2088 so as to enable message-read-from-minibuffer to expand mail aliases.
2089
2090 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2093 the `intangible' property.
2094 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2095
2096 2012-12-05 Deniz Dogan <deniz@dogan.se>
2097
2098 * net/rcirc.el (rcirc-urls): Update documentation.
2099 (rcirc-condition-filter): New function.
2100 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2101 and exclude consecutive duplicate URLs (Bug#6082).
2102
2103 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2104
2105 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2106 Check return code of copy command.
2107
2108 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2109 Use group `tramp'. Add version.
2110
2111 2012-12-05 Chong Yidong <cyd@gnu.org>
2112
2113 * ffap.el (ffap-url-regexp): Don't require matching at front of
2114 string (Bug#4952).
2115 (ffap-url-p): If only a substring matches, return that.
2116 (ffap-url-at-point): Use the return value of ffap-url-p.
2117 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2118 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2119 (ffap-guess-file-name-at-point): Likewise.
2120 (ffap-replace-file-component): Fix typo.
2121
2122 * info.el (info-display-manual): Add existing Info buffers, whose
2123 files may not be in Info-directory-list, to the completion.
2124 (info--manual-names): New helper function.
2125
2126 2012-12-05 Glenn Morris <rgm@gnu.org>
2127
2128 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2129 New functions, for detecting and resolving conflicts. (Bug#10709)
2130
2131 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2132
2133 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2134 (hi-lock-auto-select-face-defaults): New buffer local variable.
2135 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2136 (hi-lock-unface-buffer): Prompt user with useful defaults.
2137 With prefix arg, unhighlight all hi-lock patterns in buffer.
2138
2139 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2140
2141 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2142
2143 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2144
2145 * Makefile.in (TRAMP_SRC):
2146 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2147
2148 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2149
2150 * net/tramp-adb.el: New package.
2151
2152 2012-12-04 Chong Yidong <cyd@gnu.org>
2153
2154 * terminal.el: Move to obsolete/.
2155
2156 * longlines.el: Move to obsolete/.
2157
2158 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2159 Remove code referring to longlines mode.
2160
2161 2012-12-03 Juri Linkov <juri@jurta.org>
2162
2163 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2164
2165 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2166
2167 * textmodes/ispell.el (ispell-init-process)
2168 (ispell-start-process, ispell-internal-change-dictionary):
2169 Make sure personal dictionary name is expanded after initial
2170 `default-directory' value. Use expanded strings for
2171 keep/restart checks and for value (Bug#13019).
2172
2173 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2174
2175 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2176
2177 2012-12-03 Leo Liu <sdl.web@gmail.com>
2178
2179 * files.el (dir-locals-read-from-file): Check file non-empty
2180 before reading. (Bug#13038)
2181
2182 2012-12-03 Glenn Morris <rgm@gnu.org>
2183
2184 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2185 Remove any version extension before checking filename. (Bug#13006)
2186 (jka-compr-compression-info-list): Belated :version bump.
2187
2188 2012-12-03 Chong Yidong <cyd@gnu.org>
2189
2190 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2191
2192 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2193 (buffer-menu): Doc fix (Bug#12294).
2194
2195 2012-12-03 Roland Winkler <winkler@gnu.org>
2196
2197 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2198 of diary-show-all-entries in the diary buffer (Bug#12994).
2199
2200 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2201
2202 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2203 "<STDIN>". This is binary safe.
2204
2205 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2206
2207 * calc/calc-forms.el (math-absolute-from-iso-dt)
2208 (math-date-to-iso-dt, math-parse-iso-date-validate)
2209 (math-iso-dt-to-date): New functions.
2210 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2211 (math-fd-isoweekday): New variables.
2212 (calc-date-notation, math-parse-standard-date, math-format-date)
2213 (math-format-date-part): Add support for more formatting codes.
2214
2215 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2216
2217 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2218 current buffer's file name when called interactively (Bug#12488).
2219
2220 2012-12-02 Juri Linkov <juri@jurta.org>
2221
2222 * info.el (info-display-manual): Don't clobber an existing Info
2223 buffer (Bug#10770). Add completion (Bug#10771).
2224
2225 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2226
2227 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2228 before using it for comparison (Bug#5297).
2229
2230 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2231
2232 * textmodes/css-mode.el (css-current-defun-name): New function.
2233 (css-mode): Use it.
2234
2235 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2236 (html-mode): Use it.
2237
2238 2012-12-01 Chong Yidong <cyd@gnu.org>
2239
2240 Modularize add-log-current-defun (Bug#2224).
2241 Suggested by Jari Aalto.
2242
2243 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2244 (add-log-current-defun): Move mode-specific code to other files.
2245 (add-log-lisp-like-modes, add-log-c-like-modes)
2246 (add-log-tex-like-modes): Variables deleted.
2247
2248 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2249 (lisp-mode-variables): Use it.
2250
2251 * progmodes/cc-mode.el (c-common-init):
2252 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2253 add-log-current-defun-function.
2254
2255 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2256 (m4-mode): Use it.
2257
2258 * progmodes/perl-mode.el (perl-current-defun-name): New.
2259 (perl-mode): Use it.
2260
2261 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2262 Use lisp-current-defun-name.
2263
2264 * textmodes/tex-mode.el (tex-current-defun-name): New.
2265 (tex-common-initialization): Use it.
2266
2267 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2268 (texinfo-mode): Use it.
2269
2270 2012-12-01 Chong Yidong <cyd@gnu.org>
2271
2272 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2273 * progmodes/autoconf.el (autoconf-mode):
2274 * progmodes/js.el (js-mode):
2275 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2276 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2277 * progmodes/perl-mode.el (perl-mode):
2278 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2279 * textmodes/css-mode.el (css-mode):
2280 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2281 (sgml-tags-invisible, sgml-guess-indent):
2282 * textmodes/tex-mode.el (tex-common-initialization)
2283 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2284 (doctex-mode, plain-tex-mode, latex-mode):
2285 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2286
2287 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2288
2289 * vc/vc-hg.el (vc-hg-next-revision):
2290 Ensure use of default "tip" output format. (Bug#6968)
2291
2292 2012-12-01 Kim F. Storm <storm@cua.dk>
2293
2294 * startup.el (fancy-startup-tail): Add a clickable link
2295 (Bug#2176).
2296
2297 2012-12-01 Chong Yidong <cyd@gnu.org>
2298
2299 * startup.el (fancy-startup-tail): Improve the message about
2300 auto-save files (Bug#2176).
2301
2302 * files.el (recover-session): Improve the descriptive message, and
2303 use substitute-command-keys.
2304
2305 2012-12-01 Glenn Morris <rgm@gnu.org>
2306
2307 * ido.el (ido-file-internal):
2308 Handle other-window, other-frame for dired. (Bug#13036)
2309
2310 2012-11-30 Glenn Morris <rgm@gnu.org>
2311
2312 * icomplete.el (icomplete-separator): Fix :version.
2313
2314 2012-11-30 Chong Yidong <cyd@gnu.org>
2315
2316 * shell.el (shell): For C-u M-x shell, use an inactive shell
2317 buffer as the default (Bug#1975).
2318 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2319 (shell-mode): Use them to reapply ansi colorization if Shell mode
2320 is re-enabled.
2321
2322 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2323
2324 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2325
2326 2012-11-30 Samuel Bronson <naesten@gmail.com>
2327
2328 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2329 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2330
2331 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2332
2333 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2334 by move-to-column (Bug#3234).
2335
2336 2012-11-30 Chong Yidong <cyd@gnu.org>
2337
2338 * longlines.el (longlines-wrap-line, longlines-encode-region):
2339 Preserve text properties (Bug#1425).
2340
2341 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2342
2343 * vc/vc.el (vc-register): Allow registering a file which is
2344 already registered with a different backend (Bug#10589).
2345
2346 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2347 Stefan Monnier <monnier@iro.umontreal.ca>
2348
2349 * icomplete.el: Change separator; add ido-style commands.
2350 (icomplete-show-key-bindings): Remove custom var.
2351 (icomplete-get-keys): Remove function.
2352 (icomplete-forward-completions, icomplete-backward-completions):
2353 New commands.
2354 (icomplete-minibuffer-map): New var.
2355 (icomplete-minibuffer-setup): Use it.
2356 (icomplete-exhibit): Don't delay if the list of completions is known.
2357 (icomplete-separator): New custom.
2358 (icomplete-completions): Use it.
2359 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2360 (minibuffer-force-complete-and-exit): New command.
2361 (minibuffer--complete-and-exit): New function extracted from
2362 minibuffer-complete-and-exit.
2363 (minibuffer-complete-and-exit): Use it.
2364
2365 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2366 error message when the file doesn't exist (bug#12974).
2367
2368 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2369
2370 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2371
2372 2012-11-29 Glenn Morris <rgm@gnu.org>
2373
2374 * files.el (hack-dir-local-variables): Warn if try to set
2375 coding via dir-locals, since it doesn't work. (Bug#7169)
2376
2377 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2378 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2379 Set buffer-local value of desktop-save-buffer.
2380 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2381 New functions.
2382 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2383 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2384
2385 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2386 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2387 Doc fix.
2388 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2389 Doc fixes.
2390
2391 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2392
2393 * calc/calc-forms.el (calc-date-notation): Fix regexp
2394 used to find time codes. Fix symbol for seconds.
2395
2396 2012-11-27 Glenn Morris <rgm@gnu.org>
2397
2398 * emacs-lisp/derived.el (derived-mode-make-docstring):
2399 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2400
2401 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2402
2403 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2404 lexically scoped variables (bug#13005).
2405
2406 2012-11-27 Glenn Morris <rgm@gnu.org>
2407
2408 * vc/vc-hooks.el (vc-mistrust-permissions):
2409 Default to t, to avoid data-loss. (Bug#11490)
2410
2411 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2412
2413 * progmodes/python.el (python-indent-guess-indent-offset):
2414 If indentation is guessed make python-indent-offset buffer-local.
2415
2416 Fix Imenu regression.
2417 * progmodes/python.el (python-nav-beginning-of-defun):
2418 Fix forward movement when statement(s) separates point from defun.
2419 (python-imenu-prev-index-position): New function.
2420
2421 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2422
2423 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2424
2425 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2426 Don't set buffer-file-type. Return nil. (Bug#12989)
2427
2428 2012-11-27 Glenn Morris <rgm@gnu.org>
2429
2430 * hippie-exp.el (hippie-expand-try-functions-list):
2431 Re-autoload it. (Bug#12982)
2432
2433 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2434
2435 * descr-text.el (describe-char-padded-string):
2436 Call internal-char-font only on GUI frames. (Bug#11964)
2437
2438 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2439
2440 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2441 and obsoletion message.
2442
2443 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2444
2445 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2446 the constructs to keep outside of the `cl-block' (bug#12977).
2447
2448 2012-11-27 Chong Yidong <cyd@gnu.org>
2449
2450 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2451 keep reading until we get the up-event anyway, in order to process
2452 the up-event for mouse-1-click-follows-link (Bug#12971).
2453
2454 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2455
2456 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2457 base function is not yet defined (bug#12965).
2458 (ad-activate-advised-definition): Use ad-compile-function.
2459 (ad-activate): Use cond.
2460
2461 2012-11-25 Leo Liu <sdl.web@gmail.com>
2462
2463 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2464 (Bug#12979)
2465
2466 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2467
2468 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2469 reftex-section-info-function in order to be compatible with
2470 Texinfo integration.
2471
2472 * textmodes/reftex.el (reftex-section-pre-regexp)
2473 (reftex-section-post-regexp, reftex-section-info-function):
2474 New variable.
2475 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2476 reftex-section-post-regexp, and reftex-section-info-function in order
2477 to be compatible with Texinfo integration.
2478
2479 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2480 use reftex-section-pre-regexp variable in order to be compatible with
2481 Texinfo integration.
2482
2483 2012-11-25 Chong Yidong <cyd@gnu.org>
2484
2485 * faces.el: Make face-spec-set more analogous to setq.
2486 (face-spec-set): Change the third arg to specify whether this
2487 function is being called via defface, customize, or a third party.
2488 Set the appropriate symbol properties. Clear the override spec if
2489 setting via Custom. Initialize face if necessary. (Bug#4988)
2490 (face-spec-recalc): Allow theme faces to completely replace the
2491 defface spec, in the same way as custom faces (Bug#8454).
2492
2493 * cus-face.el (custom-declare-face): Move face initialization to
2494 face-spec-set.
2495 (custom-theme-set-faces): Don't initialize the face name here, as
2496 that is now done in face-spec-set.
2497
2498 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2499 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2500 Simplify by using the new arg to face-spec-set.
2501
2502 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2503 reset face-override-spec too, and use custom-declare-face.
2504
2505 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2506
2507 * term/ns-win.el (ns-initialize-window-system): Move creation of
2508 fontsets here (Bug#11964).
2509
2510 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2511
2512 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2513 cell renaming.
2514
2515 2012-11-24 Chong Yidong <cyd@gnu.org>
2516
2517 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2518 obsolete.
2519
2520 * custom.el (custom-theme-set-variables): Use a topological sort
2521 for ordering by custom dependencies (Bug#12952).
2522 (custom--sort-vars, custom--sort-vars-1): New functions.
2523
2524 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2525
2526 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2527 lexical-binding (bug#12938).
2528
2529 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
2530
2531 * image-mode.el (image-transform-check-size): Use assertions only
2532 for images of type imagemagick.
2533
2534 Otherwise no error, image-transform-fit-to-{width,height} is
2535 silently ignored, as before. Doc fix.
2536
2537 2012-11-24 Chong Yidong <cyd@gnu.org>
2538
2539 * faces.el (color-defined-p): Doc fix (Bug#12853).
2540
2541 2012-11-24 Juri Linkov <juri@jurta.org>
2542
2543 * dired.el (dired-mark): Add optional arg `interactive'.
2544 Check for `use-region-p' if `interactive' is non-nil.
2545 (dired-unmark, dired-flag-file-deletion): Add optional arg
2546 `interactive'. Call `dired-mark' with the arg `interactive'.
2547 (Bug#10624)
2548
2549 * wdired.el: Revert 2012-10-17 change partly and replace it with
2550 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2551 (wdired-finish-edit): Add marks for new file names to
2552 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2553 after `revert-buffer'.
2554 (wdired-do-renames): Remove calls to `dired-remove-file',
2555 `dired-add-file', `dired-add-entry'. (Bug#11795)
2556
2557 2012-11-24 Alan Mackenzie <acm@muc.de>
2558
2559 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2560
2561 Fix bugs in the state cache. Enhance a debugging mechanism.
2562 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2563 "brace at column zero" strategy for C++.
2564 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2565 (c-parse-state-point): New variable.
2566 (c-record-parse-state-state): Record old parse state with
2567 `copy-tree'. Record previous value of point.
2568 (c-debug-parse-state-double-cons): New debugging function.
2569 (c-debug-parse-state): Call the above new function.
2570 (c-toggle-parse-state-debug): Output a confirmatory message.
2571
2572 * progmodes/cc-mode.el (c-before-change, c-after-change):
2573 Call c-invalidate-state-cache from `c-before-change' instead of
2574 `c-after-change'.
2575
2576 2012-11-23 Chong Yidong <cyd@gnu.org>
2577
2578 * find-cmd.el (find-constituents): Add executable, ipath,
2579 readable, samefile, writable, daystart, regextype (Bug#12856).
2580
2581 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2582
2583 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2584
2585 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2586
2587 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2588 definition. This fixes a bootstrap failure.
2589 (calc-gregorian-switch): In menu, put dates before regions.
2590 This is easier to follow, lines up better in the menu, and lets us
2591 coalesce regions that switch at the same time. Give country
2592 names, not "Vatican", as that's better for non-expert users.
2593 Use names that are stable between the date of switch and now, e.g.,
2594 Bohemia and Moravia (which existed then and now) and not
2595 Czechoslovakia (which didn't exist then and doesn't exist now).
2596 What is now the U.S. mostly did not switch at the same time as
2597 Britain, so omit the U.S. Correct spelling of "Britain".
2598 Catholic Switzerland was too much of a mess, so omit it.
2599
2600 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2601
2602 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2603 after the variable is changed.
2604
2605 2012-11-21 Daniel Colascione <dancol@dancol.org>
2606
2607 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2608 in SQL declarations for font-lock.
2609 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2610
2611 2012-11-21 Glenn Morris <rgm@gnu.org>
2612
2613 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2614 (face-italic-p): Add optional argument "inherit".
2615
2616 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2617 Remove -p suffix from names, for consistency with other set-face-*.
2618 (set-face-inverse-video): Fix interactive spec.
2619 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2620 * textmodes/table.el (table--update-cell-face):
2621 Use set-face-inverse-video rather than now obsolete alias.
2622
2623 2012-11-21 Eli Zaretskii <eliz@gnu.org>
2624
2625 * simple.el (line-move): Don't call line-move-partial if
2626 scroll-conservatively is in effect. (Bug#12927)
2627
2628 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2629
2630 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2631 Fallback on completion-at-point rather than
2632 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2633 (eshell-cmpl-initialize): Setup completion-at-point.
2634
2635 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2636
2637 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2638
2639 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
2640
2641 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2642 are remote, check out-of-band property for both.
2643
2644 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2645
2646 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2647 code rewrite.
2648
2649 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
2650
2651 More minor time fixes.
2652 * calendar/time-date.el: Commentary fix.
2653 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2654 too much other code depends on (0 0) time stamps.
2655 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2656 Add a couple of FIXME comments.
2657
2658 Minor cleanup for times as lists of four integers.
2659 * files.el (dir-locals-directory-cache):
2660 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2661 Doc fixes.
2662 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2663 * ps-bdf.el (bdf-file-newer-than-time):
2664 Process four-integers time stamps, not two. Doc fixes.
2665
2666 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2667
2668 * uniquify.el (uniquify-managed): Use defvar-local.
2669 (rename-buffer, create-file-buffer): Advise with advice-add.
2670 (uniquify-unload-function): Unadvise accordingly.
2671
2672 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2673 (trace-buffer): Don't purecopy.
2674 (trace-entry-message, trace-exit-message): Add `context' arg.
2675 (trace--timer): New var.
2676 (trace-make-advice): Adjust for use in nadvice.
2677 Add `context' argument. Delay `display-buffer' via a timer.
2678 (trace-function-internal): Use advice-add.
2679 (trace--read-args): New function.
2680 (trace-function-foreground, trace-function-background): Use it.
2681 (trace-function): Rename to trace-function-foreground and redefine as
2682 an alias to that new name.
2683 (untrace-function, untrace-all): Adjust to the use of nadvice.
2684
2685 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2686
2687 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2688
2689 * subr.el (called-interactively-p-functions): New var.
2690 (internal--called-interactively-p--get-frame): New macro.
2691 (called-interactively-p, interactive-p): Rewrite in Lisp.
2692 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2693 (called-interactively-p-functions): Use it.
2694 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2695 (called-interactively-p-functions): Use it.
2696 * allout.el (allout-called-interactively-p): Don't assume
2697 called-interactively-p is a subr.
2698
2699 2012-11-20 Glenn Morris <rgm@gnu.org>
2700
2701 * profiler.el (profiler-report-mode-map): Add a menu.
2702 No need to bind `q' because we derive from special-mode.
2703 (profiler-report-find-entry): Handle calls from the menu-bar.
2704
2705 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2706
2707 * emacs-lisp/byte-run.el (defun-declarations-alist):
2708 Allow a compiler-macro to be a lambda expression.
2709
2710 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2711 eval-when-compile.
2712 (python-syntax-context): Add compiler-macro.
2713 (python-font-lock-keywords): Simplify with De Morgan.
2714
2715 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2716
2717 * files.el (load-file): Require match in minibuffer selection, as was
2718 the case in Emacs-20 before we changed the spec to allow .elc files
2719 (bug#12935).
2720
2721 * json.el: Don't require cl since we don't use it.
2722 * color.el: Don't require cl.
2723 (color-complement): `caddr' -> `nth 2'.
2724
2725 * calendar/time-date.el (time-to-seconds): De-obsolete.
2726
2727 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2728
2729 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2730 year numbers.
2731 (math-date-to-julian-dt): Adjust the initial approximation for the
2732 year to deal with the new definition of the DATE.
2733
2734 2012-11-19 Daniel Colascione <dancol@dancol.org>
2735
2736 * term/w32-win.el (cygwin-convert-path-from-windows):
2737 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
2738
2739 2012-11-18 Chong Yidong <cyd@gnu.org>
2740
2741 * filecache.el (file-cache--read-list): New function.
2742 (file-cache-add-directory-list, file-cache-add-file-list)
2743 (file-cache-delete-file-list, file-cache-delete-directory-list):
2744 Use it to read a list of files or directories (Bug#12846).
2745 (file-cache-add-file, file-cache-add-directory)
2746 (file-cache-delete-file-list, file-cache-delete-file-regexp)
2747 (file-cache-delete-directory): Print an message.
2748
2749 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
2750
2751 * calc/calc-forms.el (math-date-to-dt): Use integer date when
2752 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2753
2754 2012-11-18 Glenn Morris <rgm@gnu.org>
2755
2756 * image.el (insert-image, insert-sliced-image): Doc fix.
2757
2758 2012-11-18 Chong Yidong <cyd@gnu.org>
2759
2760 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2761 (Bug#12810).
2762
2763 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2764
2765 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2766 response when the target file is in a subdirectory (Bug#12757).
2767
2768 2012-11-18 Chong Yidong <cyd@gnu.org>
2769
2770 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2771
2772 2012-11-18 Glenn Morris <rgm@gnu.org>
2773
2774 * emacs-lisp/cl-lib.el (face-underline-p):
2775 Use set-face-underline rather than the alias set-face-underline-p.
2776
2777 * window.el (with-temp-buffer-window): Doc fix.
2778 * subr.el (with-output-to-temp-buffer):
2779 Add doc xref to with-temp-buffer-window.
2780
2781 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
2782
2783 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2784 * calc/calc.el (math-format-date-cache): Declare.
2785
2786 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2787
2788 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2789 It also uses January 1, 1 AD as its day number 1.
2790 * calc/calc-forms.el (math-julian-date-beginning)
2791 (math-julian-date-beginning-int): Implement this.
2792
2793 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
2794
2795 * descr-text.el (quail-find-key):
2796 * dired.el (desktop-file-name):
2797 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2798 * generic-x.el (comint-mode, comint-exec):
2799 * image-dired.el (widget-forward):
2800 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2801 (speedbar-change-expand-button-char)
2802 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2803 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2804 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2805 (widget-field-action, widget-value-set):
2806 * speedbar.el (imenu--make-index-alist):
2807 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2808 (ring-length, ring-insert):
2809 * vcursor.el (compare-windows-skip-whitespace):
2810 * woman.el (dired-get-filename):
2811 Declare functions.
2812
2813 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2814
2815 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2816
2817 * calc/calc.el (calc-gregorian-switch): New variable.
2818
2819 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2820 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2821 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2822 (math-leap-year-p): Add option to distinguish between Julian
2823 and Gregorian calendars.
2824 (math-day-number): Use `math-day-in-year' to do the computations.
2825 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2826 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2827 to do the computations.
2828 (math-date-to-dt): Use `math-date-to-julian-dt' and
2829 `math-date-to-gregorian-dt' to do the computations.
2830 (calcFunc-weekday, math-format-date-part): Use the new version of
2831 the DATE to determine the weekday.
2832 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2833 when necessary.
2834
2835 2012-11-17 Eli Zaretskii <eliz@gnu.org>
2836
2837 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2838 Cygwin; otherwise use 'file:'. (Bug#12914)
2839 (cygwin-convert-path-from-windows): Declare, to avoid
2840 byte-compiler warnings.
2841
2842 2012-11-17 Andreas Politz <politza@fh-trier.de>
2843
2844 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2845 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2846 prefix and negative numeric prefix args (Bug#12795).
2847
2848 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
2849
2850 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2851 Don't signal an error with a score that is too low to add to the
2852 list of top scores. (Bug#12779)
2853
2854 2012-11-17 Chong Yidong <cyd@gnu.org>
2855
2856 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2857
2858 * filecache.el (file-cache-add-file): Handle relative file name in
2859 the argument (Bug#12694).
2860
2861 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2862
2863 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2864
2865 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2866
2867 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2868
2869 * emacs-lisp/cl-lib.el: Set more meaningful version number.
2870
2871 2012-11-16 Martin Rudalics <rudalics@gmx.at>
2872
2873 * window.el (enlarge-window, shrink-window): Don't mention return
2874 value in doc-string (Bug#12896).
2875 (window--display-buffer): Don't resize frames - it won't work
2876 with all window managers and defeat pop-up-frame-alist.
2877 (display-buffer-alist): In doc-string explain that CONDITION can
2878 be a function and which arguments are passed to it (Bug#12854).
2879 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
2880 expressions (Bug#12854).
2881 (display-buffer): Pass ACTION argument to
2882 display-buffer-assq-regexp.
2883
2884 2012-11-16 Glenn Morris <rgm@gnu.org>
2885
2886 * window.el (fit-frame-to-buffer-bottom-margin)
2887 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2888
2889 * faces.el (face-underline-p): Use face-attribute-specified-or.
2890
2891 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
2892
2893 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2894
2895 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2896
2897 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2898
2899 2012-11-16 Glenn Morris <rgm@gnu.org>
2900
2901 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
2902 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2903
2904 * faces.el (face-underline-p): Doc fix. Handle :underline being
2905 things other than `t' (a string, a list).
2906 (face-inverse-video-p): Doc fix.
2907 (set-face-underline): Rename it back from set-face-underline-p.
2908 Doc fix. Allow interactive input of values other than t.
2909 (read-face-attribute): Apply formatting to :underline,
2910 since like :box and :stipple it can take list values.
2911
2912 * term.el (ansi-term): Don't let C-x escape-char binding
2913 clobber the more standard C-c binding. (Bug#12842)
2914
2915 * subr.el (set-temporary-overlay-map): Doc fix.
2916
2917 2012-11-16 Martin Rudalics <rudalics@gmx.at>
2918
2919 * window.el (record-window-buffer)
2920 (display-buffer-record-window): When copying the markers to
2921 window-point preserve window-point-insertion-type. (Bug#12588)
2922
2923 2012-11-16 Glenn Morris <rgm@gnu.org>
2924
2925 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2926 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2927 Use new names for hooks rather than obsolete aliases.
2928
2929 2012-11-15 Daniel Colascione <dancol@dancol.org>
2930
2931 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
2932 prefix instead of "file:" so that when FILE-NAME begins with "//",
2933 as it does when the target file is on a network share, url-handler
2934 isn't confused.
2935
2936 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2937
2938 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2939 a preactivated advice from an old advice.el; they're not compatible!
2940
2941 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2942
2943 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2944 Fix string-spec case.
2945
2946 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2947
2948 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2949
2950 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2951 (advice--buffer-local-function-sample): New var.
2952 (advice--set-buffer-local, advice--buffer-local): New functions.
2953 (add-function, remove-function): Use them.
2954
2955 2012-11-15 Drew Adams <drew.adams@oracle.com>
2956
2957 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2958
2959 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2960
2961 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2962 potential binding of print-gensym to t, and prettify (back)quotes in
2963 case they appear in args's default values (bug#12884).
2964
2965 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2966
2967 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2968 (advice-eval-interactive-spec): New function.
2969 (advice--make-interactive-form): Support around advice (bug#12844).
2970
2971 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
2972
2973 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2974 more strict. Add docstring.
2975 (ruby-expression-expansion-re): Extract from
2976 `ruby-match-expression-expansion'.
2977 (ruby-syntax-propertize-function): After everything else, search
2978 for expansions in string literals, mark their insides as
2979 whitespace syntax and save match data for font-lock.
2980 (ruby-font-lock-keywords): Use the 2nd group from expression
2981 expansion matches.
2982 (ruby-match-expression-expansion): Use the match data saved to the
2983 text property in ruby-syntax-propertize-function.
2984
2985 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2986
2987 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2988 (bug#12879).
2989
2990 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2991
2992 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2993 start/end keyword a bit harder. Works with different values of N.
2994 Add more comments.
2995 (ruby-end-of-block): Update accordingly.
2996
2997 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2998
2999 * woman.el (woman-file-name): Don't mess with unread-command-events
3000 (bug#12861).
3001
3002 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3003 Remove out of date self-require hack.
3004 (ad-do-advised-functions): Use simple `dolist'.
3005 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3006 (ad-advice-definition): Redefine as functions.
3007 (ad-advice-classes): Move before first use.
3008 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3009 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3010 (ad--defalias-fset): Remove functions.
3011 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3012 (ad-get-orig-definition): Rewrite.
3013 (ad-make-advised-definition-docstring): Change base docstring.
3014 (ad-real-orig-definition): Rewrite.
3015 (ad-map-arglists): Change name of called function.
3016 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3017 (ad-make-advised-definition): Simplify.
3018 (ad-assemble-advised-definition): Tweak for new calling context.
3019 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3020 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3021 function and call ad-activate if needed.
3022 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3023 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3024 (ad-compile-function): Compile ad-Advice-*.
3025 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3026 (ad-start-advice, ad-stop-advice): Remove.
3027
3028 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3029
3030 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3031 period before class method names, not after. Remove handling of
3032 one impossible case. Add comments.
3033
3034 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3035
3036 * emacs-lisp/advice.el: Remove support for freezing.
3037 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3038 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3039 Remove support for `freeze'.
3040
3041 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3042 override the default.
3043 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3044 cl--dotimes/dolist.
3045 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3046 `cl' is loaded.
3047
3048 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3049 from add-advice.
3050 (advice--strip-macro): New function.
3051 (advice--defalias-fset): Use them to handle macros.
3052 (advice-add): Use them.
3053 (advice-member-p): Correctly handle macros.
3054
3055 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3056
3057 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3058 Never font-lock the beginning of singleton class as heredoc.
3059
3060 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3061
3062 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3063
3064 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3065
3066 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3067 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3068 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3069
3070 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3071
3072 Fix end-of-defun misbehavior.
3073 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3074 python-beginning-of-defun-function. Handle nested defuns
3075 correctly.
3076 (python-nav-end-of-defun): Rename from
3077 python-end-of-defun-function. Ensure forward movement.
3078 (python-info-current-defun): Reimplement to work as intended
3079 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3080 parent defuns as soon as possible.
3081
3082 2012-11-13 Glenn Morris <rgm@gnu.org>
3083
3084 * progmodes/flymake.el (flymake-error-bitmap)
3085 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3086 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3087
3088 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3089
3090 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3091 backward, always stop at indentation. Reverts the change from
3092 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3093
3094 2012-11-13 Glenn Morris <rgm@gnu.org>
3095
3096 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3097 Add ibuffer-filter-by-derived-mode.
3098
3099 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3100 the same name shadowing each other.
3101
3102 * window.el (with-temp-buffer-window): Doc tweak.
3103
3104 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3105
3106 * help.el (temp-buffer-max-height):
3107 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3108 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3109
3110 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3111
3112 * emacs-lisp/nadvice.el: New package.
3113 * subr.el (special-form-p): New function.
3114 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3115 (elp-all-instrumented-list): Remove var.
3116 (elp-not-profilable): Remove elp-wrapper.
3117 (elp-profilable-p): Use autoloadp and special-form-p.
3118 (elp--advice-name): New const.
3119 (elp-instrument-function): Use advice-add.
3120 (elp--instrumented-p): New predicate.
3121 (elp-restore-function): Use advice-remove.
3122 (elp-restore-all, elp-reset-all): Use mapatoms.
3123 (elp-set-master): Use elp--instrumented-p.
3124 (elp--make-wrapper): Rename from elp-wrapper, return a function
3125 suitable for advice-add. Use cl-inf.
3126 (elp-results): Use mapatoms+elp--instrumented-p.
3127 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3128 (debug-function-list): Remove var.
3129 (debug): Rename arg, and then let-bind it explicitly inside.
3130 (debugger-setup-buffer): Rename arg.
3131 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3132 (debugger-frame-number): Adjust to new debug-on-entry setup.
3133 (debug--implement-debug-on-entry): Rename from
3134 implement-debug-on-entry, add argument.
3135 (debugger-special-form-p): Remove, use special-form-p instead.
3136 (debug-on-entry): Use advice-add.
3137 (debug--function-list): New function.
3138 (cancel-debug-on-entry): Use it, along with advice-remove.
3139 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3140 (debugger-list-functions): Use debug--function-list instead of
3141 debug-function-list.
3142 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3143 (ad-special-form-p): Remove, use special-form-p instead.
3144 (ad-set-advice-info): Use add-function and remove-function.
3145 (ad--defalias-fset): Adjust accordingly.
3146
3147 2012-11-10 Glenn Morris <rgm@gnu.org>
3148
3149 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3150 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3151 (report-emacs-bug-create-existing-bugs-buffer)
3152 (report-emacs-bug-parse-query-results)
3153 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3154
3155 * term.el (term-default-fg-color, term-default-bg-color):
3156 Make obsolete, rather than just saying "deprecated" in the doc.
3157
3158 * term.el (term): Rename from `term-face'.
3159 (term-current-face, ansi-term-color-vector)
3160 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3161 Update all users.
3162
3163 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3164
3165 * server.el (server-create-window-system-frame): Handle Nextstep
3166 specially (Bug#12780).
3167
3168 2012-11-10 Glenn Morris <rgm@gnu.org>
3169
3170 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3171 Unautoload, and make obsolete. (Bug#7449)
3172
3173 2012-11-10 Chong Yidong <cyd@gnu.org>
3174
3175 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3176 rename from diff-remove-trailing-whitespace (Bug#12831).
3177
3178 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3179
3180 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3181 miscompilation of trace.el.
3182
3183 2012-11-10 Glenn Morris <rgm@gnu.org>
3184
3185 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3186
3187 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3188
3189 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3190 (bug#12812).
3191
3192 2012-11-10 Chong Yidong <cyd@gnu.org>
3193
3194 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3195 a defcustom with an appropriate :set function.
3196 (minibuffer-default--in-prompt-regexps): New function.
3197
3198 2012-11-10 Glenn Morris <rgm@gnu.org>
3199
3200 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3201 (define-modify-macro): Doc fixes.
3202
3203 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3204 (gv-define-simple-setter): Update doc of `fix-return'.
3205
3206 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3207
3208 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3209 twice when `fix-return' is set (bug#12813).
3210
3211 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3212 gv-define-simple-setter (bug#12812).
3213
3214 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3215 (bug#12756).
3216
3217 2012-11-10 Glenn Morris <rgm@gnu.org>
3218
3219 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3220
3221 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3222 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3223 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3224 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3225
3226 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3227
3228 2012-11-10 Leo Liu <sdl.web@gmail.com>
3229
3230 * ido.el (ido-set-matches-1): Improve flex matching performance by
3231 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3232
3233 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3234
3235 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3236 (ad--defalias-fset): New function.
3237 (ad-safe-fset): Remove.
3238 (ad-make-freeze-definition): Use cl-letf*.
3239
3240 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3241
3242 * subr.el (dolist): Don't bind VAR in RESULT.
3243
3244 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3245 (fset, documentation): Don't save real def since we don't advise.
3246 (ad-do-advised-functions): Remove problematic `result-form'.
3247 (ad-safe-fset): `ad-real-fset' => `fset'.
3248 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3249 uses CL's dolist internally.
3250 (ad-arglist): Remove unused arg `name'.
3251 (ad-docstring, ad-make-advised-docstring):
3252 `ad-real-documentation' => `documentation'.
3253 (warning-suppress-types): Declare.
3254 (ad-set-arguments): Simple CSE.
3255 (ad-recover-normality): Sanity check.
3256
3257 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3258 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3259
3260 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3261
3262 * ses.el: symbol to coordinate mapping is made by symbol property
3263 `ses-cell'. This means that the same mapping is done for all SES
3264 sheets. That is good enough for cells with standard A1 names, but
3265 not for named cell. So a hash map is added for the latter.
3266 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3267 (ses-sym-rowcol): Use hashmap for named cell.
3268 (ses-is-cell-sym-p): New defun.
3269 (ses-decode-cell-symbol): New defun.
3270 (ses-create-cell-variable): Add cell to hashmap when name is not
3271 A1-like.
3272 (ses-rename-cell): Check that cell new name is not already in
3273 spreadsheet with the use of ses-is-cell-sym-p
3274 (ses-rename-cell): Use hash map for named cells, but accept also
3275 renaming back to A1-like.
3276
3277 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3278
3279 * emacs-lisp/advice.el: Use new dynamic docstrings.
3280 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3281 Use dynamic-docstring-function instead of ad-advice-info.
3282 (ad--make-advised-docstring): New function extracted from
3283 ad-make-advised-docstring.
3284 (ad-make-advised-docstring): Use it.
3285 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3286 from sql-help.
3287 (sql-help): Use it with dynamic-docstring-function.
3288
3289 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3290
3291 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3292
3293 * files.el (hack-one-local-variable--obsolete): New function.
3294 (hack-one-local-variable): Use it for obsolete settings.
3295
3296 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3297 the new name.
3298
3299 * progmodes/js.el (js--filling-paragraph): New var.
3300 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3301 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3302 less sneaky.
3303
3304 2012-11-08 Julien Danjou <julien@danjou.info>
3305
3306 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3307 `auto-mode-alist' (Bug#12835).
3308
3309 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3310
3311 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3312 (perl--prettify-symbols-alist): New const.
3313 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3314 New functions.
3315 (perl-font-lock-keywords-2): Use them.
3316 (perl-electric-noindent-p): New function.
3317 (perl-mode): Use it to set up electric-indent-mode.
3318 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3319 (perl-mode-map): Remove bindings for them.
3320 (perl-imenu-generic-expression, perl-outline-level):
3321 Match functions&packages in column>0.
3322
3323 * env.el (env--substitute-vars-regexp): New const.
3324 (substitute-env-vars): Use it. Add `only-defined' arg.
3325 * net/tramp.el (tramp-replace-environment-variables): Use it.
3326
3327 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3328 Byte-compile *before* eval in eval-and-compile.
3329 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3330 (byte-compile-file-form-autoload): Don't hide actual definition.
3331 (byte-compile-maybe-guarded): Accept `functionp' as well.
3332
3333 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3334
3335 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3336
3337 * notifications.el (notifications-get-server-information-method):
3338 New defconst.
3339 (notifications-get-capabilities): Fix docstring.
3340 (notifications-get-server-information): New defun.
3341
3342 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3343
3344 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3345 readability.
3346
3347 * textmodes/ispell.el: Experimental support for support debugging.
3348 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3349 buffer for ispell.
3350 (ispell-print-if-debug): New function to print stuff to
3351 `ispell-debug-buffer' if debugging is enabled.
3352 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3353 show some debugging info.
3354 (ispell-buffer-with-debug): New function that creates a debugging
3355 buffer and calls `ispell-buffer' with debugging enabled.
3356
3357 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3358 comment in autoconf mode. (Bug#12768)
3359
3360 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3361
3362 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3363 frame-first-window, frame-root-window, frame-selected-window,
3364 minibuffer-selected-window, minibuffer-window,
3365 window-absolute-pixel-edges, window-at, window-body-height,
3366 window-body-width, window-display-table, window-combination-limit,
3367 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3368 window-inside-edges, window-inside-pixel-edges, window-left-child,
3369 window-left-column, window-margins, window-next-buffers,
3370 window-next-sibling, window-new-normal, window-new-total,
3371 window-normal-size, window-parameter, window-parameters, window-parent,
3372 window-pixel-edges, window-point, window-prev-buffers,
3373 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3374 window-start, window-text-height, window-top-child, window-top-line,
3375 window-total-height, window-total-width and window-use-time to the list
3376 of functions without side-effects.
3377 (toplevel): Add window-valid-p to the list of error-free functions
3378 without side-effects.
3379
3380 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3381
3382 * textmodes/ispell.el (ispell-program-name):
3383 Update spellchecker parameters when customized.
3384
3385 2012-11-04 Glenn Morris <rgm@gnu.org>
3386
3387 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3388
3389 2012-11-04 Chong Yidong <cyd@gnu.org>
3390
3391 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3392 same-window-* variables.
3393
3394 2012-11-04 Juri Linkov <juri@jurta.org>
3395
3396 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3397 (isearch-describe-key, isearch-describe-mode): Use a display
3398 action instead of binding same-window-* variables (Bug#10040).
3399
3400 2012-11-03 Glenn Morris <rgm@gnu.org>
3401
3402 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3403 Rename handler properties back from cl-- to cl-. (Bug#12788)
3404
3405 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3406
3407 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3408
3409 * term/pc-win.el: Don't load term/internal from here.
3410
3411 * loadup.el: Load term/internal from here.
3412
3413 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3414
3415 * progmodes/python.el (inferior-python-mode): Fix hang in
3416 jit-lock (Bug#12645).
3417
3418 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3419
3420 * window.el (switch-to-visible-buffer)
3421 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3422
3423 2012-11-03 Glenn Morris <rgm@gnu.org>
3424
3425 * emacs-lisp/cl-lib.el (cl--random-time):
3426 Rename from cl-random-time. (Bug#12773)
3427 (cl--gensym-counter, cl--random-state): Update callers.
3428 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3429
3430 2012-11-03 Chong Yidong <cyd@gnu.org>
3431
3432 * cus-start.el: Make cursor-type customizable (Bug#11633).
3433
3434 2012-11-02 Glenn Morris <rgm@gnu.org>
3435
3436 * filecache.el: No need to load find-lisp when compiling.
3437 (find-lisp-find-files): Autoload it.
3438 (file-cache-add-directory-recursively): Don't require find-lisp.
3439
3440 * image.el (image-type-from-file-name): Trivial simplification.
3441
3442 * emacs-lisp/bytecomp.el (byte-compile-eval):
3443 Decouple "noruntime" and "cl-functions" warnings.
3444
3445 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3446
3447 * play/gomoku.el (gomoku-display-statistics): Update mode line
3448 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3449
3450 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3451
3452 * window.el (quit-restore-window): If the window has been
3453 created on an existing frame and ended up as the sole window on
3454 that frame, do not delete it (Bug#12764).
3455
3456 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3457
3458 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3459 Rename from sh--inside-arithmetic-expression, handle more cases
3460 (bug#11263).
3461
3462 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3463 (sh-font-lock-open-heredoc): Use it (bug#12770).
3464
3465 2012-10-30 Glenn Morris <rgm@gnu.org>
3466
3467 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3468
3469 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3470
3471 2012-10-29 Chong Yidong <cyd@gnu.org>
3472
3473 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3474 function key is stored in a keyboard macro (Bug#4894).
3475
3476 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3477
3478 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3479
3480 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3481 header comments".
3482 (diff-unified->context, diff-context->unified)
3483 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3484
3485 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3486
3487 * files.el (find-alternate-file): Only ask one question (bug#12487).
3488
3489 2012-10-29 Chong Yidong <cyd@gnu.org>
3490
3491 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3492 Suggested by Dan Nicolaescu (Bug#6326).
3493
3494 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3495
3496 * startup.el (fancy-about-screen): Don't message (Bug#12680).
3497
3498 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3499
3500 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3501
3502 * face-remap.el (face-remap-add-relative): Handle the case where a
3503 face-remapping-alist entry is a cons cell (Bug#12762).
3504
3505 2012-10-29 Kevin Ryde <user42@zip.com.au>
3506
3507 * woman.el (woman-parse-numeric-value): Handle picas correctly
3508 (Bug#12639).
3509
3510 2012-10-29 Glenn Morris <rgm@gnu.org>
3511
3512 * emacs-lisp/cl.el (defsetf): Doc fix.
3513
3514 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3515
3516 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3517 syntax to the matching opener, if any (bug#12547).
3518 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3519 matching open as a "case-(".
3520 (sh-smie-rc-grammar): Add a corresponding rule for it.
3521
3522 2012-10-28 Daniel Hackney <dan@haxney.org>
3523
3524 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3525 "PKGNAME-autoloads.el" in case we created it.
3526
3527 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3528
3529 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3530 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3531 (completion--twq-all): Disable too-strict assertions.
3532
3533 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3534
3535 2012-10-27 Eli Zaretskii <eliz@gnu.org>
3536
3537 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3538 text to match the real keybindings.
3539
3540 2012-10-27 Juri Linkov <juri@jurta.org>
3541
3542 * wdired.el (wdired-keep-marker-rename): New defcustom.
3543 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3544 (Bug#11795)
3545
3546 * dired.el (dired-keep-marker-rename): Add reference to
3547 `wdired-keep-marker-rename' in the docstring.
3548 Add default character value ?R to display initially in
3549 Customization UI instead of ?@.
3550
3551 2012-10-27 Martin Rudalics <rudalics@gmx.at>
3552
3553 * window.el (display-buffer): In doc-string describe
3554 window-height and window-width alist entries.
3555
3556 * time.el (display-time-world): Restore fit-window-to-buffer
3557 behavior.
3558
3559 2012-10-27 Chong Yidong <cyd@gnu.org>
3560
3561 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3562
3563 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
3564
3565 * minibuffer.el (completion-category-overrides): New completion
3566 category `bookmark' (bug#11131).
3567
3568 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3569
3570 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3571 Silence bogus compiler warnings for ad-do-it.
3572
3573 * bookmark.el (bookmark-completing-read): Set the completion category
3574 to `bookmark' (bug#11131).
3575
3576 2012-10-26 Bastien <bzg@altern.org>
3577 Stefan Monnier <monnier@iro.umontreal.ca>
3578
3579 * face-remap.el: Use lexical-binding.
3580 (text-scale-adjust): Improve docstring. Use itself for the temporary
3581 overlay-map bindings, so as to repeat the "Use..." message each time.
3582
3583 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3584
3585 * emacs-lisp/macroexp.el (macroexp--expand-all):
3586 Obey byte-compile-warning-enabled-p (bug#12486).
3587
3588 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3589 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3590
3591 2012-10-26 Martin Rudalics <rudalics@gmx.at>
3592
3593 * mouse.el (mouse-drag-line): Move last form into preceding when
3594 clause (Bug#12731).
3595
3596 * help.el (resize-temp-buffer-window): Fix doc-string.
3597
3598 2012-10-25 David Engster <deng@randomsample.de>
3599
3600 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3601 Remove. This feature is already integrated in imenu.
3602
3603 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3604 always loaded. Require `speedbar' unconditionally.
3605
3606 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3607
3608 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3609
3610 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3611
3612 * net/ldap.el (ldap-search-internal): The official ldif format starts
3613 with a "version: 1" header (bug#12724).
3614
3615 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3616 (bug#12721).
3617
3618 2012-10-25 Glenn Morris <rgm@gnu.org>
3619
3620 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3621
3622 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3623
3624 * minibuffer.el (minibuffer-force-complete): Use one more marker
3625 for the temporary-overlay-map command (bug#12619).
3626
3627 2012-10-24 Chong Yidong <cyd@gnu.org>
3628
3629 * time.el (display-time-world-mode): Derive from special-mode.
3630 (display-time-world): Use display-buffer (Bug#12708).
3631 (display-time-world-mode-map): Variable deleted.
3632 (display-time-world-display): Wrap the final delete-char inside
3633 inhibit-read-only.
3634
3635 2012-10-24 Chong Yidong <cyd@gnu.org>
3636
3637 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3638 Doc fix.
3639
3640 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3641
3642 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3643
3644 * minibuffer.el (completion--all-sorted-completions-location): New var.
3645 (completion--cache-all-sorted-completions)
3646 (completion--flush-all-sorted-completions): Use it.
3647 (completion-in-region, completion-in-region--postch)
3648 (completion-at-point, completion-help-at-point): Use markers in
3649 completion-in-region--data (bug#12619).
3650
3651 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3652
3653 * progmodes/compile.el (compilation-start): Try to handle common
3654 quoting of `cd' argument (bug#12640).
3655
3656 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3657 (bug#12671).
3658
3659 2012-10-23 Glenn Morris <rgm@gnu.org>
3660
3661 * progmodes/gud.el (gud-menu-map):
3662 Check gdb-active-process is bound. (Bug#12358)
3663
3664 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3665
3666 * repeat.el (repeat): Set real-this-command (bug#12232).
3667
3668 * htmlfontify.el (hfy-post-html-hook):
3669 * filesets.el (filesets-cache-fill-content-hook):
3670 * arc-mode.el (archive-extract-hook):
3671 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3672 * net/rcirc.el (rcirc-sentinel-functions)
3673 (rcirc-receive-message-functions, rcirc-activity-functions)
3674 (rcirc-print-functions):
3675 * net/dbus.el (dbus-event-error-functions):
3676 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3677 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3678 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3679 * term/sun.el (sun-raw-prefix-hooks):
3680 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3681
3682 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
3683
3684 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3685 Set `tramp-chunksize' to 1. This improves the performance.
3686 (tramp-smb-wait-for-output): Add timeout to
3687 `tramp-accept-process-output' calls.
3688
3689 2012-10-23 Chong Yidong <cyd@gnu.org>
3690
3691 * faces.el (font-list-limit): Define as an obsolete variable.
3692
3693 * startup.el (command-line):
3694 * cus-start.el: Don't refer to font-list-limit.
3695
3696 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3697
3698 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3699
3700 * subr.el (internal-temp-output-buffer-show): Rename from
3701 temp-output-buffer-show, since previously compiled files expect this name.
3702
3703 2012-10-23 Glenn Morris <rgm@gnu.org>
3704
3705 * image.el (image-type-from-file-name): If multiple types match,
3706 return the first one that is supported. (Bug#9045)
3707
3708 2012-10-22 Glenn Morris <rgm@gnu.org>
3709
3710 * image.el (imagemagick-enabled-types): Doc fix.
3711
3712 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3713
3714 * progmodes/which-func.el (which-func-current): The hash-table may have
3715 an explicit nil (bug#12338).
3716
3717 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3718
3719 * electric.el (electric-pair-delete-selection-self-insert-function):
3720 Rename to electric-pair-will-use-region, return a boolean.
3721 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3722
3723 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3724 (delete-selection-pre-hook): Use use-region-p.
3725 (delete-selection-self-insert-function): Remove.
3726 (self-insert-command): Obey self-insert-uses-region-functions.
3727 (self-insert-iso): Revert to previous setting, since we don't actually
3728 know what that command does.
3729 (delete-selection-self-insert-hooks): Remove.
3730
3731 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3732
3733 * delsel.el (delete-selection-helper): New function, extracted from
3734 delete-selection-pre-hook.
3735 (delete-selection-pre-hook): Use it.
3736 (delete-selection-self-insert-function): New function.
3737 (delete-selection-self-insert-hooks): New hook.
3738 (self-insert-command, self-insert-iso): Use it.
3739 * electric.el (electric-pair-syntax): New function, extracted from
3740 electric-pair-post-self-insert-function.
3741 (electric-pair-post-self-insert-function): Use it.
3742 (electric-pair-delete-selection-self-insert-function): New function.
3743 (electric-pair-mode): Require delsel and setup
3744 delete-selection-self-insert-hooks (bug#11520).
3745
3746 2012-10-20 Chong Yidong <cyd@gnu.org>
3747
3748 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3749 no changes to show (Bug#12586).
3750
3751 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3752 list explicitly (Bug#12571).
3753
3754 2012-10-20 Arne Jørgensen <arne@arnested.dk>
3755
3756 * progmodes/flymake.el (flymake-create-temp-inplace):
3757 Use file-truename.
3758
3759 2012-10-20 Eli Zaretskii <eliz@gnu.org>
3760
3761 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
3762
3763 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
3764
3765 * calc/calc-units.el (math-extract-units): Properly extract powers
3766 of units.
3767
3768 2012-10-20 Daniel Colascione <dancol@dancol.org>
3769
3770 * frame.el (make-frame): Set x-display-name as we used to in order
3771 to unbreak creating an X11 frame from an Emacs daemon started
3772 without a display.
3773
3774 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3775
3776 * minibuffer.el (minibuffer-force-complete): Make the next completion use
3777 the same completion-field (bug#12221).
3778
3779 2012-10-19 Martin Rudalics <rudalics@gmx.at>
3780
3781 * emacs-lisp/debug.el (debug): Record height of debugger window
3782 also when debugger will be back (Bug#8789).
3783
3784 2012-10-18 Chong Yidong <cyd@gnu.org>
3785
3786 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3787 Convert to defcustom.
3788 (gdb-get-source-file): Don't bind pop-up-windows.
3789
3790 * progmodes/gud.el (gud-display-line): Don't specially re-use
3791 other frames for the gdb-mi case (Bug#12648).
3792
3793 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3794
3795 * emacs-lisp/advice.el: Clean up commentary a bit.
3796 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3797 (byte-code-function-p): Never redefine.
3798
3799 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3800
3801 2012-10-18 Glenn Morris <rgm@gnu.org>
3802
3803 * dired.el (dired-sort-toggle): Some ls implementations only allow
3804 a single option string. (Bug#12666)
3805
3806 * minibuffer.el (completion-cycle-threshold): Doc fix.
3807
3808 2012-10-17 Kenichi Handa <handa@gnu.org>
3809
3810 * international/mule.el (set-keyboard-coding-system):
3811 Recover input meta mode when the new coding system doesn not use 8-bit.
3812 Supply TERMINAL arg to set-input-meta-mode.
3813
3814 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
3815
3816 * wdired.el (wdired-old-marks): New variable.
3817 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3818 (wdired-do-renames): Move point with renamed file and don't lose
3819 mark status (Bug#11795).
3820
3821 2012-10-16 Juri Linkov <juri@jurta.org>
3822
3823 * replace.el (query-replace-help): Mention multi-buffer replacement
3824 keys in the Help message. (Bug#12655)
3825
3826 2012-10-15 Chong Yidong <cyd@gnu.org>
3827
3828 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3829
3830 2012-10-14 Eli Zaretskii <eliz@gnu.org>
3831
3832 * window.el (display-buffer): Doc fix.
3833
3834 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3835 Adjust the msft regexp to the output of Studio 2010, and move msft
3836 before edg-1. See the discussion on emacs-devel,
3837 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3838 for the details.
3839
3840 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3841
3842 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3843 (oset): Move uses of object-class-fast macro after its definition.
3844
3845 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3846
3847 2012-10-13 Chong Yidong <cyd@gnu.org>
3848
3849 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3850 enabled, re-enable it (Bug#11963).
3851
3852 2012-10-13 Martin Rudalics <rudalics@gmx.at>
3853
3854 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3855 non-nil, restore window configuration (Bug#12623).
3856
3857 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3858
3859 * help-fns.el (describe-variable, describe-function-1):
3860 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3861
3862 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3863
3864 2012-10-12 Glenn Morris <rgm@gnu.org>
3865
3866 * mail/rmailsum.el (rmail-header-summary):
3867 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
3868
3869 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
3870
3871 * progmodes/python.el (python-mode-map):
3872 Replace subtitute-key-definition with proper command remapping.
3873 (python-nav--up-list): Fix behavior for blocks on the same level.
3874
3875 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3876
3877 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
3878
3879 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3880 changes to the format of load-history.
3881
3882 * international/mule-cmds.el (read-char-by-name): Move let-binding of
3883 completion-ignore-case in case that var is buffer-local (bug#12615).
3884
3885 2012-10-11 Kenichi Handa <handa@gnu.org>
3886
3887 * international/eucjp-ms.el: Re-generated.
3888
3889 2012-10-10 Kenichi Handa <handa@gnu.org>
3890
3891 * select.el (xselect--encode-string): If a coding is specified for
3892 selection, and that is compatible with COMPOUND_TEXT, use it.
3893
3894 2012-10-10 Martin Rudalics <rudalics@gmx.at>
3895
3896 * window.el (switch-to-buffer-preserve-window-point): New option.
3897 (switch-to-buffer):
3898 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
3899
3900 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3901
3902 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3903 Don't document nil as a useful value (bug#12583).
3904
3905 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
3906
3907 * net/tramp.el (tramp-debug-message):
3908 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
3909 (with-tramp-progress-reporter): Rename from
3910 `tramp-with-progress-reporter'.
3911 (with-tramp-file-property, with-tramp-connection-property):
3912 Move from tramp-cache.el, rename from `with-file-property' and
3913 `with-connection-property', respectively.
3914
3915 * net/tramp-cache.el: Remove `with-file-property' and
3916 `with-connection-property'.
3917
3918 * net/tramp.el:
3919 * net/tramp-gvfs.el:
3920 * net/tramp-sh.el:
3921 * net/tramp-smb.el: Adapt callees.
3922
3923 * net/trampver.el: Update release number.
3924
3925 2012-10-09 Glenn Morris <rgm@gnu.org>
3926
3927 * w32-fns.el (set-message-beep):
3928 * term/w32-win.el (set-message-beep): Update declarations.
3929
3930 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3931
3932 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3933 (mode-line-widen, mode-line-input-method-map)
3934 (mode-line-coding-system-map, mode-line-remote)
3935 (mode-line-unbury-buffer, mode-line-bury-buffer)
3936 (mode-line-next-buffer, mode-line-previous-buffer):
3937 Replace save-selected-window+select-window => with-selected-window.
3938
3939 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3940 * progmodes/cc-vars.el (bq-process): Remove, unused.
3941
3942 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3943
3944 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3945
3946 Implemented `backward-up-list'-like navigation.
3947 * progmodes/python.el (python-nav-up-list)
3948 (python-nav-backward-up-list): New functions.
3949 (python-mode-map): Define substitute key for backward-up-list to
3950 python-nav-backward-up-list.
3951
3952 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3953
3954 * progmodes/python.el (python-fill-paragraph): Rename from
3955 python-fill-paragraph-function. Fixed fill-paragraph for
3956 decorators (Bug#12605).
3957
3958 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3959
3960 * progmodes/python.el (python-shell-output-filter): Handle extra
3961 carriage return in OSX (Bug#12409).
3962
3963 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3964
3965 Fix shell handling of unbalanced quotes and parens in output.
3966 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
3967 (python-syntax-propertize-function): Use it.
3968 (python-shell-output-syntax-table): New var.
3969 (inferior-python-mode): Prevent unbalanced parens/quotes from
3970 previous output mess with current input context.
3971
3972 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
3973
3974 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3975 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3976
3977 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
3978
3979 * ffap.el (ffap-replace-file-component): Support Tramp file name
3980 syntax, not only ange-ftp's one.
3981
3982 2012-10-08 Glenn Morris <rgm@gnu.org>
3983
3984 * cus-start.el (message-log-max): Set :version.
3985
3986 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3987
3988 2012-10-08 Martin Rudalics <rudalics@gmx.at>
3989
3990 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3991 the minibuffer window (Bug#10851).
3992
3993 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3994
3995 Enhancements on forward-sexp movement.
3996 * progmodes/python.el (python-nav-beginning-of-statement)
3997 (python-nav-end-of-statement): Return point-marker.
3998 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3999 (python-info-current-symbol)
4000 (python-info-statement-starts-block-p): Rename from
4001 python-info-beginning-of-block-p.
4002 (python-info-statement-ends-block-p): Rename from
4003 python-info-end-of-block-p.
4004 (python-info-beginning-of-statement-p)
4005 (python-info-end-of-statement-p)
4006 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4007 New functions.
4008
4009 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4010
4011 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4012 frame-selected-windows.
4013
4014 2012-10-08 Daniel Colascione <dancol@dancol.org>
4015
4016 * battery.el (battery-status-function): Check for
4017 w32-battery-status itself, not system-time windows-nt.
4018
4019 * frame.el: Require cl-lib.
4020 (display-format-alist): New variable mapping frame types to
4021 functions that initialize them.
4022 (window-system-for-display): New function: interprets
4023 display-format-alist.
4024 (make-frame-on-display): Remove existing display-selection logic
4025 and just forward to make-frame, which will now DTRT.
4026 (make-frame): Restructure to use window-system-for-display to
4027 figure out how to create a frame on a given display.
4028 (display-mouse-p): Look for frame-type w32, not a particular
4029 system-type.
4030
4031 * loadup.el: Load w32 lisp code when we have the w32 feature.
4032
4033 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4034 system-type windows-nt.
4035
4036 * server.el (server-create-window-system-frame): Look for window
4037 type.
4038 (server-proces-filter): Only force a window system when windows-nt
4039 _and_ w32. Explain why.
4040
4041 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4042 of window systems we configure for the mode.
4043
4044 * startup.el (command-line): Mark window system is initialized
4045 after we've done it.
4046
4047 * common-win.el (x-select-text): Look for w32, not windows-nt.
4048
4049 * ns-win.el: Require cl-lib. Add ourselves to
4050 display-format-alist.
4051 (ns-initialize-window-system): Assert we're not initialized twice.
4052
4053 * w32-win.el: Enable lexical binding; require cl-lib; add
4054 ourselves to display-format-alist.
4055 (w32-handle-dropped-file): Convert incoming dropped files from
4056 Windows paths to Cygwin ones before passing them on to the rest of
4057 Emacs.
4058 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4059 (w32-initialize-window-system): Assert we're not initialized twice.
4060
4061 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4062 (x-initialize-window-system): Assert we're not initialized twice.
4063
4064 * w32-common-fns.el: New File.
4065 (w32-version, w32-using-nt, w32-get-clipboard-data)
4066 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4067 (w32-charset-info-alist, x-last-selected, text)
4068 (x-get-selection-value, x-selection-value): Move here.
4069
4070 * w32-fns.el: Require w32-common-fns.
4071 (w32-version, w32-using-nt, w32-get-clipboard-data)
4072 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4073 (w32-charset-info-alist, x-last-selected, text)
4074 (x-get-selection-value, x-selection-value): Move to
4075 w32-common-fns.
4076
4077 * w32-vars.el:
4078 (w32-allow-system-shell, w32-system-shells): Define only in
4079 non-cygwin case.
4080
4081 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4082
4083 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4084 (read-passwd): Remove a few more potential sources of leaks.
4085
4086 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4087
4088 * progmodes/python.el (inferior-python-mode)
4089 (python-shell-make-comint): Fix initialization of local
4090 variables copied from parent buffer.
4091
4092 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4093
4094 * term/ns-win.el (ns-read-file-name): Update declaration to match
4095 nsfns.m.
4096 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4097 it is set when font is acted upon.
4098
4099 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4100
4101 Enhancements to indentation.
4102 * progmodes/python.el (python-indent-context): Give priority to
4103 inside-string context. Make comments indentation markers.
4104 (python-indent-region): Do not mess with strings, unless it's the
4105 enclosing set of quotes.
4106
4107 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4108
4109 * window.el (internal--before-save-selected-window)
4110 (internal--after-save-selected-window): New functions extracted from
4111 save-selected-window. Make sure we return the `alist' we construct.
4112 (save-selected-window): Use them.
4113
4114 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4115 Use with-selected-window.
4116
4117 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4118 forms that define macros (bug#12593).
4119
4120 2012-10-07 Kenichi Handa <handa@gnu.org>
4121
4122 * international/mule-conf.el (compound-text-with-extensions):
4123 Add :mime-charset property as x-ctext.
4124
4125 2012-10-07 Stefan Merten <smerten@oekonux.de>
4126
4127 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4128 (rst-indent-literal-normal, rst-indent-literal-minimized)
4129 (rst-indent-comment): Correct :version tag.
4130 (rst-official-cvs-rev): Correct version string.
4131
4132 2012-10-07 Glenn Morris <rgm@gnu.org>
4133
4134 * mail/rmailmm.el (rmail-mime-process-multipart):
4135 Do not confuse a multipart message with an epilogue
4136 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4137
4138 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4139
4140 Fix shell output retrieval and comint-prompt-regexp init.
4141 * progmodes/python.el (inferior-python-mode):
4142 (python-shell-make-comint): Fix initialization of
4143 comint-prompt-regexp from copied file local variables.
4144 (python-shell-fetched-lines): Remove var.
4145 (python-shell-output-filter-in-progress): Rename from
4146 python-shell-fetch-lines-in-progress.
4147 (python-shell-output-filter-buffer): Rename from
4148 python-shell-fetch-lines-string.
4149 (python-shell-fetch-lines-filter): Delete function.
4150 (python-shell-output-filter): New function.
4151 (python-shell-send-string-no-output): Use them.
4152
4153 2012-10-07 Glenn Morris <rgm@gnu.org>
4154
4155 * hi-lock.el (hi-lock-process-phrase):
4156 Try to make it less fragile. (Bug#7161)
4157
4158 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4159
4160 2012-10-06 Glenn Morris <rgm@gnu.org>
4161
4162 * ehelp.el (electric-help-mode): Use help-mode rather than
4163 non-existent mode `help'.
4164 (electric-help-map): Use button-buffer-map. (Bug#10917)
4165
4166 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4167 (reftex-create-bibtex-footer): Fix custom types.
4168
4169 * progmodes/sh-script.el (sh-indent-after-continuation):
4170 Add explicit :group.
4171
4172 * textmodes/rst.el (rst-preferred-decorations)
4173 (rst-shift-basic-offset): Clarify obsolescence versions.
4174
4175 * profiler.el (profiler): Add missing group :version tag.
4176 * avoid.el (mouse-avoidance-banish-position):
4177 * proced.el (proced-renice-command):
4178 * calc/calc.el (calc-ensure-consistent-units):
4179 * calendar/icalendar.el (icalendar-import-format-uid):
4180 * net/tramp.el (tramp-save-ad-hoc-proxies):
4181 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4182 * progmodes/flymake.el (flymake-error-bitmap)
4183 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4184 * progmodes/sh-script.el (sh-indent-after-continuation):
4185 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4186 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4187 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4188 (vhdl-array-index-record-field-in-sensitivity-list)
4189 (vhdl-indent-comment-like-next-code-line):
4190 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4191 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4192 (reftex-cite-key-separator, reftex-create-bibtex-header)
4193 (reftex-create-bibtex-footer):
4194 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4195 (rst-indent-literal-normal, rst-indent-literal-minimized)
4196 (rst-indent-comment): Add missing custom :version tags.
4197
4198 * calendar/timeclock.el (timeclock-modeline-display):
4199 Add missing obsolete alias for renamed user option.
4200
4201 * strokes.el (strokes-modeline-string):
4202 * emulation/crisp.el (crisp-mode-modeline-string):
4203 * eshell/esh-mode.el (eshell-status-in-modeline):
4204 Aliases to defcustoms must come before the defcustom.
4205
4206 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4207 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4208 (cal-tex-cursor-week-monday): Doc fixes.
4209 (cal-tex-cursor-week2-summary): Doc fix.
4210 Rename from cal-tex-cursor-week-at-a-glance.
4211
4212 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4213 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4214
4215 * calendar/calendar.el (calendar-mode-map):
4216 Add cal-tex-cursor-week2-summary.
4217
4218 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4219
4220 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4221
4222 * subr.el (read-passwd-map): New var.
4223 (read-passwd): Use `read-string' again.
4224 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4225
4226 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4227
4228 * register.el (append-to-register, prepend-to-register):
4229 Deactivate mark, as does `copy-to-register' (bug#12389).
4230
4231 2012-10-06 Chong Yidong <cyd@gnu.org>
4232
4233 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4234
4235 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4236
4237 * international/characters.el: Fix simple mistake ((car chars) ->
4238 elt), delete duplicated code.
4239
4240 2012-10-06 Glenn Morris <rgm@gnu.org>
4241
4242 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4243
4244 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4245
4246 * color.el (color-hsl-to-rgb): Fix incorrect results for
4247 small and large hue values. (Bug#12559)
4248
4249 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4250
4251 Enhancements to docstring formatting when filling paragraphs.
4252 * progmodes/python.el (python-fill-docstring-style): Rename from
4253 python-fill-string-style. Added new style.
4254 (python-fill-string): Use new style. Better checks for
4255 docstrings.
4256
4257 2012-10-05 Glenn Morris <rgm@gnu.org>
4258
4259 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4260
4261 * color.el (color-name-to-rgb, color-rgb-to-hex)
4262 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4263 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4264 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4265 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4266
4267 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4268
4269 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4270
4271 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4272 to get the correct size across symlinks.
4273
4274 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4275
4276 2012-10-04 Juri Linkov <juri@jurta.org>
4277
4278 * replace.el (query-replace-interactive): Declare obsolete.
4279 (query-replace-read-from): Add the last incremental search string
4280 to the list of default values accessible via M-n.
4281 (map-query-replace-regexp): Use `read-regexp'.
4282 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4283 (map-query-replace-regexp, replace-string, replace-regexp):
4284 Fix docstrings to replace mentions of `query-replace-interactive'
4285 with alternatives. (Bug#12526)
4286
4287 2012-10-04 Juri Linkov <juri@jurta.org>
4288
4289 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4290 (dired-pop-to-buffer): Declare obsolete.
4291 (dired-mark-pop-up): Doc fix.
4292
4293 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4294
4295 Allow user to set docstring style for fill-paragraph.
4296 * progmodes/python.el
4297 (python-fill-comment-function, python-fill-string-function)
4298 (python-fill-decorator-function, python-fill-paren-function):
4299 Remove :safe for defcustoms.
4300 (python-fill-string-style): New defcustom
4301 (python-fill-paragraph-function): Enhance context detection.
4302 (python-fill-string): Honor python-fill-string-style settings.
4303
4304 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4305
4306 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4307 after setting its buffer (Bug#10805).
4308
4309 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4310
4311 Fix cornercase for string syntax.
4312 * progmodes/python.el (python-syntax-propertize-function):
4313 Simplify and enhance the regexp for unescaped quotes. Now it also
4314 matches quotes in weird situations like the single quote in
4315 "something\"'".
4316 (python-syntax-stringify): Simplify num-quotes detecting code.
4317
4318 2012-10-03 Glenn Morris <rgm@gnu.org>
4319
4320 * help-macro.el (three-step-help):
4321 Revert 2012-09-29 change. (Bug#12567)
4322
4323 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4324
4325 * menu-bar.el (kill-this-buffer): Don't do anything when
4326 `menu-frame' is not alive or visible (Bug#8184).
4327
4328 * emacs-lisp/debug.el (debug): When quitting the debugger window
4329 restore current buffer (Bug#12502).
4330
4331 2012-10-02 Chong Yidong <cyd@gnu.org>
4332
4333 * progmodes/hideif.el (hif-lookup, hif-defined):
4334 Handle semantic-c-takeover-hideif.
4335
4336 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4337
4338 Change sampling interval units from ms to ns.
4339 * profiler.el (profiler-sampling-interval): Change units
4340 from ms to ns, multiplying the default by 1000000 so that
4341 it remains 1 ms.
4342 (profiler-report-cpu-line-format): Give enough room for
4343 the maximum counters on 64-bit hosts.
4344 (profiler-report-render-calltree-1): Call them "CPU samples",
4345 not "Time (ms)", since they are not milliseconds now (and
4346 never really were).
4347
4348 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4349
4350 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4351 Fix querying BBDB for entries without a last name (Bug#11580).
4352
4353 2012-10-02 Chong Yidong <cyd@gnu.org>
4354
4355 * emacs-lisp/eieio.el: Restore Version header.
4356
4357 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4358
4359 * vc/diff-mode.el (diff--auto-refine-data): New var.
4360 (diff-hunk): Use it to delay refinement.
4361 (diff-mode): Remove overlays when we turn off font-lock.
4362
4363 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4364 (table-initialize-table-fixed-width-mode)
4365 (table-set-table-fixed-width-mode): Remove functions.
4366 (table-command-list): Move initialization into declaration.
4367 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4368 (table-with-cache-buffer): Use `declare'.
4369 (table-span-cell): Simplify via CSE.
4370 (table-fixed-width-mode): Use define-minor-mode.
4371 (table-call-interactively, table-funcall, table-apply): Remove.
4372 (table-function): New function, to replace them.
4373
4374 * bookmark.el (bookmark-search-pattern): Remove var.
4375 (bookmark-read-search-input): Remove function.
4376 (bookmark-bmenu-search): Reimplement using a minibuffer.
4377
4378 * faces.el (modeline): Remove obsolete face name.
4379
4380 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4381 and give a non-nil default value.
4382 (add-change-log-entry): Simplify accordingly.
4383
4384 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4385
4386 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4387 (vc-git-log-edit-toggle-amend): New function.
4388 (vc-git-log-edit-toggle-signoff): New function.
4389 (vc-git-log-edit-mode): New major mode.
4390 (vc-git-log-edit-mode-map): Keymap for it.
4391 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4392
4393 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4394 header names.
4395 (log-edit-toggle-header): New function.
4396 (log-edit-extract-headers): Accept function values in HEADERS alist.
4397
4398 2012-10-01 David Engster <deng@randomsample.de>
4399
4400 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4401 from symbol property and change message to be more consistent with
4402 Emacs proper.
4403 (eieio-describe-generic): Add filename for each implementation.
4404 Fix indices for generic and normal methods.
4405 (eieio-method-def, eieio-class-def): New buttons.
4406 (eieio-help-find-method-definition)
4407 (eieio-help-find-class-definition): New functions.
4408 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4409 class, constructor and method definitions.
4410
4411 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4412 information in symbol property.
4413 (scoped-class): Remove.
4414 (eieio-slot-name-index, call-next-method): Check if it is bound.
4415
4416 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4417
4418 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4419 (eieio-custom-mode): New major mode.
4420 (eieio-customize-object): Use it.
4421
4422 2012-10-01 Eric Ludlam <zappo@gnu.org>
4423
4424 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4425 specifying the expected class, and whether subclassing is allowed.
4426 (eieio-persistent-convert-list-to-object):
4427 (eieio-persistent-validate/fix-slot-value)
4428 (eieio-persistent-slot-type-is-class-p): New functions.
4429 (eieio-named::slot-missing): Doc fix.
4430
4431 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4432 Stop using unused publd variable.
4433
4434 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4435 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4436 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4437 (eieio-speedbar-handle-click): Do not specify a class for the
4438 method. Fixes method invocation order problems with EDE.
4439
4440 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4441
4442 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4443 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4444
4445 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4446
4447 * bookmark.el (bookmark-version-control): Give tags in the
4448 :type choices (Bug#12309), and improve doc string.
4449 (bookmark-write-file): Bind `print-circle' to `t' to allow
4450 circular custom bookmark types. (Bug#12503)
4451
4452 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4453
4454 Revert the FOLLOW-SYMLINKS change for file-attributes.
4455 * files.el (remote-file-name-inhibit-cache, after-find-file):
4456 * time.el (display-time-file-nonempty-p): Undo last change.
4457
4458 * profiler.el (profiler-sampling-interval): Change default back to 1.
4459 See Stefan Monnier in
4460 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4461
4462 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4463
4464 Shell output catching a la gud-gdb.
4465 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4466 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4467 New Vars.
4468 (python-shell-fetch-lines-filter): New function.
4469 (python-shell-send-string-no-output): Use them.
4470
4471 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4472
4473 * profiler.el (profiler-sampling-interval): Rename from
4474 profiler-sample-interval.
4475 (profiler-sampling-interval): Default to 10.
4476 (profiler-find-profile): New command (was profiler-find-log).
4477 (profiler-find-profile-other-window): New command.
4478 (profiler-find-profile-other-frame): New command.
4479 (profiler-profile): Introduce API-level data structure.
4480
4481 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4482
4483 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4484 * files.el (remote-file-name-inhibit-cache):
4485 * time.el (display-time-file-nonempty-p): Use it.
4486 * files.el (after-find-file): Don't chase links before calling
4487 file-exists-p, as file-exists-p already does the right thing.
4488
4489 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
4490
4491 Merge from standalone RefTeX repository.
4492
4493 The following ChangeLog entries are shortened versions of the
4494 original ones with file paths adapted. A not so strongly edited
4495 version of the original ChangeLog can be found in the commit log.
4496
4497 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4498 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4499 Correctly handle new value type returned by `reftex-citation'.
4500
4501 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4502 that entries with whitespace at various places are found.
4503 Doc fix. Include entries that are cross-referenced from cited entries.
4504 Include @String definitions in the resulting bib file. Add header
4505 and footer defined in `reftex-create-bibtex-header' and
4506 `reftex-create-bibtex-footer'.
4507 (reftex-do-citation): Make it possible again to insert
4508 non-existent entries. Save match data when asking for optional
4509 arguments. Return all keys, not just the first one.
4510 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4511 all citations in the same line.
4512 (reftex-parse-bibtex-entry): Accept additional optional argument
4513 `raw' and keep quotes or braces if it is non-nil. Match fields
4514 containing hyphens besides word constituents.
4515 (reftex-get-string-refs): New function.
4516 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4517 and ask if it should be reread in case it did.
4518 (reftex-pop-to-bibtex-entry)
4519 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4520 entries with spaces or tabs in front of arguments.
4521 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4522 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4523 Match entries containing numbers and symbol constituents.
4524 (reftex-do-citation, reftex-figure-out-cite-format):
4525 Use `reftex-cite-key-separator'.
4526
4527 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4528 (reftex-mouse-view-crossref): Explain why point is set.
4529
4530 * textmodes/reftex-global.el: Whitespace changes.
4531
4532 * textmodes/reftex-index.el: Move provide statement to end of
4533 file.
4534 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4535 (reftex-index-visit-phrases-buffer): Set marker when visiting
4536 buffer. This allows for returning from the phrases file to the
4537 file one was just editing instead of the file where the last
4538 phrases was added from.
4539 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4540 punctuation syntax as it usually is not used as string quote in
4541 TeX-related modes and may occur unmatched. The change also
4542 prevents fontification of quoted content.
4543 (reftex-index-phrases-mode): Use it.
4544
4545 * textmodes/reftex-parse.el (reftex-parse-from-file):
4546 Move backward one char if a `\' was matched after a section macro.
4547 (reftex-parse-from-file): Use beginning of match instead of end as
4548 bound.
4549
4550 * textmodes/reftex-ref.el: Adapt creation of
4551 `reftex-<package>-<macro>' functions to new structure of
4552 `reftex-ref-style-alist'.
4553 (reftex-reference): Use `reftex-ref-style-list' function.
4554 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4555 reference macro if `reftex-ref-macro-prompt' is non-nil.
4556 (reftex-reference): Pass refstyle to `reftex-format-special'.
4557 Determine reference macro by looking at
4558 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4559 Use only one special format function.
4560 (reftex-varioref-vref, reftex-fancyref-fref)
4561 (reftex-fancyref-Fref): Remove definitions. The functions are now
4562 generated from `reftex-ref-style-alist'.
4563 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4564 Remove.
4565 (reftex-format-special): New function.
4566
4567 * textmodes/reftex-sel.el
4568 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4569 of `reftex-ref-style-alist'. Remove code for testing macro type.
4570 (reftex-select-toggle-varioref)
4571 (reftex-select-toggle-fancyref): Remove.
4572 (reftex-select-cycle-ref-style-internal)
4573 (reftex-select-cycle-ref-style-forward)
4574 (reftex-select-cycle-ref-style-backward): New functions.
4575 (reftex-select-label-map): Use `v' and `V' for general cycling
4576 through reference styles. Add `p' for switching between number
4577 and page reference types.
4578
4579 * textmodes/reftex-toc.el (reftex-re-enlarge):
4580 Call `enlarge-window' only if there is something to do because in Emacs
4581 the horizontal version throws an error even if the parameter is 0.
4582
4583 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4584 (reftex-plug-into-AUCTeX): Doc fix.
4585 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4586 string. Adapt to new name.
4587 (reftex-ref-style-alist): Change structure so that it is not
4588 possible to use multiple different package names within a style.
4589 Remove the symbols for symbols for macro type distinction.
4590 Add characters for macro selection.
4591 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4592 (reftex-create-bibtex-footer): New variables.
4593 (reftex-format-ref-function): Mention third argument of special
4594 format function.
4595 (reftex-ref-style-alist, reftex-ref-style-default-list):
4596 New variables.
4597 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4598 to new implementation. Mark as obsolete. Add compatibility code
4599 for honoring the variable values in case they are set.
4600 (reftex-cite-format-builtin, reftex-bibliography-commands):
4601 Add support for ConTeXt.
4602 (reftex-format-ref-function, reftex-format-cite-function):
4603 Fix custom type.
4604 (reftex-cite-key-separator): New variable.
4605
4606 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4607 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4608 `reftex-syntax-table' because parens have to retain their paren
4609 syntax in order for parsing of BibTeX entries like @book(...) to
4610 work.
4611 (reftex-in-comment): Do not error out if `comment-start-skip' is
4612 not set. Deal correctly with escaped comment characters.
4613 (reftex-tie-multifile-symbols): Add doc string.
4614 Initialize `reftex-ref-style-list'.
4615 (reftex-untie-multifile-symbols): Add doc string.
4616 (reftex-add-index-macros): Doc fix.
4617 (reftex-ref-style-activate, reftex-ref-style-toggle)
4618 (reftex-ref-style-list): New functions.
4619 (reftex-mode-menu): Use them. Adapt to new structure of
4620 `reftex-ref-style-alist'.
4621 (reftex-select-with-char): Kill the RefTeX Select buffer when
4622 done.
4623 (reftex-remove-if): New function.
4624 (reftex-erase-all-selection-and-index-buffers)
4625 (reftex-mode-menu): Reference styles are now computed from
4626 `reftex-ref-style-alist'. Fix typo.
4627 (reftex-report-bug): New function.
4628 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4629 algorithms with O(n log n). Introduce optional argument SORT (not
4630 yet used).
4631
4632 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4633
4634 Enhancements for triple-quote string syntax.
4635 * progmodes/python.el (python-syntax-propertize-function):
4636 Match both quote cases in one regexp.
4637 (python-syntax-stringify): Handle matches properly.
4638
4639 2012-09-30 Juri Linkov <juri@jurta.org>
4640
4641 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4642 to nil around the call to `insert' to prevent
4643 directory time modification by lock_file. (Bug#2295)
4644 * tar-mode.el (tar-summarize-buffer): Idem.
4645
4646 2012-09-30 Juri Linkov <juri@jurta.org>
4647
4648 * facemenu.el (list-colors-sort): Add option "Luminance".
4649 (list-colors-sort-key): Implement it.
4650
4651 * vc/diff-mode.el (diff-refine-removed):
4652 * vc/ediff-init.el (ediff-fine-diff-A):
4653 * vc/smerge-mode.el (smerge-refined-removed):
4654 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4655
4656 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4657
4658 * term/ns-win.el (x-file-dialog): New function.
4659
4660 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
4661
4662 * ido.el (ido-max-directory-size): Default to nil; the current
4663 default is small for POSIX systems, and impractical on Windows 7
4664 now that lstat returns directory sizes for NTFS.
4665
4666 2012-09-30 Martin Rudalics <rudalics@gmx.at>
4667
4668 In buffer display functions handle window-height/window-width
4669 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
4670 * window.el (window--display-buffer): New argument ALIST.
4671 Obey window-height and window-width alist entries.
4672 (window--try-to-split-window): New argument ALIST.
4673 Bind window-combination-limit to t when the window's size shall be
4674 changed and window-combination-limit equals `window-size'.
4675 (display-buffer-in-atom-window)
4676 (display-buffer-in-major-side-window)
4677 (display-buffer-in-side-window, display-buffer-same-window)
4678 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4679 (display-buffer-pop-up-window, display-buffer-below-selected)
4680 (display-buffer-at-bottom, display-buffer-in-previous-window)
4681 (display-buffer-use-some-window): Adjust all callers of
4682 window--display-buffer and window--try-to-split-window.
4683 (fit-frame-to-buffer): New option.
4684 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4685 is non-nil.
4686 (display-buffer-in-major-side-window): Evaluate window-height /
4687 window-width alist entries.
4688
4689 * help.el (temp-buffer-resize-frames)
4690 (temp-buffer-resize-regexps): Remove options.
4691 (temp-buffer-resize-mode): Adjust doc-string.
4692 (resize-temp-buffer-window): Don't consult
4693 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4694 temp-buffer-resize-frames.
4695
4696 * dired.el (dired-mark-pop-up):
4697 Call display-buffer-below-selected with a fit-window-to-buffer alist
4698 entry.
4699
4700 2012-09-30 Chong Yidong <cyd@gnu.org>
4701
4702 * server.el (server-host): Document the security implications.
4703 (server-auth-key): Doc fix.
4704
4705 * startup.el (initial-buffer-choice): Doc fix.
4706
4707 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4708
4709 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4710 restriction change.
4711
4712 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4713
4714 * help-fns.el (help-fns--obsolete): Fix last change.
4715
4716 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4717
4718 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4719 (minor-mode-map-alist): Remove redundant code.
4720
4721 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4722 visited in a buffer.
4723 (cvs-insert-visited-file): New function.
4724 (find-file-hook): Use it.
4725
4726 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4727
4728 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4729 chose face.
4730 (log-edit-empty-buffer-p): Don't require a space after a header.
4731
4732 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4733
4734 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4735
4736 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4737 a proper minor-mode.
4738
4739 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4740
4741 2012-09-29 Glenn Morris <rgm@gnu.org>
4742
4743 * winner.el (winner-mode): Remove variable (let define-minor-mode
4744 handle it).
4745 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4746 Doc fixes.
4747 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4748 (winner-mode): Use define-minor-mode.
4749
4750 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4751 the full definition in loaddefs, rather than duplicating it.
4752
4753 * help-macro.el (three-step-help): No need to autoload defcustom.
4754
4755 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4756 (inferior-lisp-program, inferior-lisp-load-command)
4757 (inferior-lisp-prompt, inferior-lisp-mode-hook):
4758 No need to autoload defcustoms.
4759
4760 * hippie-exp.el (hippie-expand-try-functions-list)
4761 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4762 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4763 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
4764 (hippie-expand-only-buffers): No need to autoload defcustoms.
4765 * progmodes/vhdl-mode.el (vhdl-line-expand):
4766 Explicitly load hippie-exp, so it does not get autoloaded
4767 while hippie-expand-try-functions-list is let-bound.
4768
4769 2012-09-28 Glenn Morris <rgm@gnu.org>
4770
4771 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4772
4773 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4774 Only "cl.el" counts as cl these days.
4775
4776 2012-09-28 Juri Linkov <juri@jurta.org>
4777
4778 Display archive errors in the echo area instead of inserting
4779 to the file buffer.
4780
4781 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4782 to STDERR-TEST that can be a regexp matching a successful output.
4783 Create a temporary file and redirect stderr to it. Search for
4784 STDERR-TEST in the stderr output and display it in the echo area
4785 if no match is found.
4786 (archive-extract-by-file): New function like
4787 `archive-extract-by-stdout' but extracting archives to files
4788 and looking for successful matches in stdout. Function body is
4789 mostly copied from `archive-rar-extract'.
4790 (archive-rar-extract): Use `archive-extract-by-file'.
4791 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
4792
4793 2012-09-28 Leo Liu <sdl.web@gmail.com>
4794
4795 * pcomplete.el (pcomplete-show-completions):
4796 Use minibuffer-message to make pcomplete usable in minibuffer.
4797
4798 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4799
4800 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4801
4802 * type-break.el: Use lexical-binding.
4803 (type-break-mode): Use define-minor-mode.
4804
4805 * emacs-lisp/pcase.el (pcase--mark-used): New.
4806 (pcase--u1): Use it (bug#12512).
4807
4808 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4809 in load-history with the right file name.
4810
4811 2012-09-28 Tassilo Horn <tsdh@gnu.org>
4812
4813 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4814 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4815 (doc-view-get-bounding-box): Make bounding box slicing work for
4816 ODF and DVI documents.
4817
4818 2012-09-28 Glenn Morris <rgm@gnu.org>
4819
4820 * type-break.el (type-break-mode, type-break-interval)
4821 (type-break-good-rest-interval, type-break-keystroke-threshold):
4822 No need to autoload.
4823 (type-break-good-rest-interval, type-break-keystroke-threshold):
4824 Add :set-after.
4825
4826 2012-09-28 Chong Yidong <cyd@gnu.org>
4827
4828 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4829 Add :version tag.
4830
4831 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4832
4833 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
4834
4835 2012-09-27 Glenn Morris <rgm@gnu.org>
4836
4837 * faces.el (x-display-name): Declare (for without-x builds).
4838
4839 * linum.el (linum-format): Don't autoload it. Improve :type.
4840
4841 * progmodes/tcl.el: Don't require outline when compiling.
4842 (outline-regexp, outline-level): Declare.
4843 * textmodes/sgml-mode.el: Don't require outline when compiling.
4844 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4845
4846 * term.el (term-ansi-reset):
4847 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4848
4849 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4850 files for RCS and SCCS. (Bug#9781)
4851
4852 2012-09-27 Chong Yidong <cyd@gnu.org>
4853
4854 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4855 change; value should be t.
4856
4857 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4858
4859 * image-mode.el: Use lexical-binding.
4860 (image-mode-winprops): Use t to stand for the window of
4861 a buffer that's not displayed.
4862 * doc-view.el (doc-view-new-window-function): Handle the new
4863 t in winprops.
4864 (doc-view-enlarge): Make it a real nop if the size is not changed.
4865 (doc-view-display): Handle the case where the buffer is not (yet?)
4866 displayed in any window.
4867 (doc-view-saved-settings): New var.
4868 (doc-view-mode): Use it.
4869 (doc-view-fallback-mode): Set it.
4870
4871 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4872 Set lexical-binding.
4873 (minibuffer-eldef-shorten-default): New var.
4874 (minibuffer-default-in-prompt-regexps): Use it for new default.
4875 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4876
4877 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
4878
4879 * international/uni-bidi.el:
4880 * international/uni-category.el:
4881 * international/uni-name.el:
4882 * international/uni-numeric.el: Regenerate.
4883
4884 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
4885 Stefan Monnier <monnier@iro.umontreal.ca>
4886
4887 * profiler.el: New file.
4888
4889 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4890
4891 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4892 (testcover-reinstrument): Simplify with CSE.
4893
4894 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
4895
4896 * window.el (temp-buffer-window-setup): Fix typo in docstring.
4897
4898 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
4899
4900 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4901 (verilog-auto-input, verilog-auto-insert-lisp)
4902 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4903 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4904 (verilog-auto-unused, verilog-auto-wire)
4905 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4906 newline. Reported by Andrew Jones.
4907 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4908 Reported by Brad Dobbie.
4909 (verilog-batch-delete-trailing-whitespace):
4910 Create verilog-batch-delete-trailing-whitespace.
4911 Reported by Brad Dobbie.
4912 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4913 parameters from another module. Reported by Dan Katz.
4914 (verilog-auto, verilog-auto-assign-modport)
4915 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4916 AUTOINOUTMODPORT for UVM interface module shell generation.
4917 Reported by Brad Dobbie.
4918 (verilog-auto-inst-interfaced-ports): Make default nil, as more
4919 standard behavior.
4920 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4921 Reported by Matt Martin.
4922
4923 2012-09-25 Martin Rudalics <rudalics@gmx.at>
4924
4925 * window.el (window--resize-child-windows): When resizing child
4926 windows proportionally, process them in reverse order to
4927 preserve the "when splitting a window the new one gets the odd
4928 line" behavior.
4929 (window--resize-root-window-vertically): When resizing the
4930 minibuffer window try to affect only windows at the bottom of the
4931 frame. (Bug#12419)
4932
4933 2012-09-25 Chong Yidong <cyd@gnu.org>
4934
4935 * subr.el (declare): Doc fix.
4936
4937 * help-fns.el (help-fns--obsolete): Handle macros properly.
4938
4939 2012-09-25 Chong Yidong <cyd@gnu.org>
4940
4941 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4942 this function obsolete.
4943
4944 * calendar/cal-x.el (calendar-two-frame-setup)
4945 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4946 * calendar/calendar.el (american-calendar, european-calendar)
4947 (calendar-for-loop):
4948 * comint.el (comint-dynamic-simple-complete)
4949 (comint-dynamic-complete-as-filename, comint-unquote-filename):
4950 * desktop.el (desktop-load-default):
4951 * dired-x.el (dired-omit-here-always)
4952 (dired-hack-local-variables, dired-default-directory):
4953 * emacs-lisp/derived.el (derived-mode-class):
4954 * emacs-lisp/timer.el (timer-set-time-with-usecs):
4955 * emacs-lock.el (toggle-emacs-lock):
4956 * epa.el (epa-display-verify-result):
4957 * epg.el (epg-sign-keys, epg-start-sign-keys)
4958 (epg-passphrase-callback-function):
4959 * eshell/esh-util.el (eshell-for):
4960 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4961 (eshell-add-to-window-buffer-names):
4962 * files.el (locate-file-completion):
4963 * imenu.el (imenu-example--create-c-index)
4964 (imenu-example--create-lisp-index)
4965 (imenu-example--lisp-extract-index-name)
4966 (imenu-example--name-and-position):
4967 * international/mule-cmds.el (princ-list):
4968 * international/mule-diag.el (decode-codepage-char):
4969 * international/mule-util.el (detect-coding-with-priority):
4970 * iswitchb.el (iswitchb-read-buffer):
4971 * mail/mailalias.el (mail-complete):
4972 * mail/sendmail.el (mail-sent-via):
4973 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4974 (mouse-major-mode-menu):
4975 * password-cache.el (password-read-and-add):
4976 * pcomplete.el (pcomplete-parse-comint-arguments):
4977 * progmodes/sh-script.el (sh-maybe-here-document):
4978 * replace.el (query-replace-regexp-eval):
4979 * savehist.el (savehist-load):
4980 * simple.el (choose-completion-delete-max-match):
4981 * term.el (term-dynamic-simple-complete):
4982 * vc/ediff-init.el (ediff-check-version):
4983 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4984 * vc/vc.el (vc-diff-switches-list):
4985 * view.el (view-return-to-alist-update): Likewise.
4986
4987 * subr.el (eval-next-after-load, makehash, insert-string)
4988 (assoc-ignore-representation, assoc-ignore-case): Use declare to
4989 mark obsolete.
4990 (mode-line-inverse-video): Variable deleted.
4991
4992 * international/mule-util.el (string-to-sequence): Remove.
4993
4994 * calendar/calendar.el (calendar-version):
4995 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
4996 (icalendar-convert-diary-to-ical):
4997 * cus-edit.el (custom-mode):
4998 * ansi-color.el (ansi-color-unfontify-region):
4999 * international/latin1-disp.el (latin1-char-displayable-p):
5000 * progmodes/cwarn.el (turn-on-cwarn-mode):
5001 * progmodes/which-func.el (which-func-update-1):
5002 Use define-obsolete-function-alias.
5003
5004 * net/newst-backend.el (newsticker-cache-filename):
5005 * net/newst-treeview.el (newsticker-groups-filename):
5006 Fix incorrect obsolescence declaration.
5007
5008 * allout.el (allout-passphrase-hint-string): Likewise.
5009 (allout-init): Use a declare form to mark obsolete.
5010
5011 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5012 this applies to functions.
5013
5014 * iswitchb.el (iswitchb-read-buffer): Move code of
5015 iswitchb-define-mode-map here, and delete that obsolete function.
5016
5017 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5018 font-lock-reference-face.
5019
5020 2012-09-25 Glenn Morris <rgm@gnu.org>
5021
5022 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5023 Doc fixes.
5024
5025 * eshell/em-term.el (eshell-term-name):
5026 Default to term-term-name. (Bug#12485)
5027
5028 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5029
5030 * progmodes/python.el (python-shell-send-buffer): Better handling
5031 of "if __name__ == '__main__':" conditionals when sending the buffer.
5032
5033 2012-09-24 Glenn Morris <rgm@gnu.org>
5034
5035 * eshell/esh-cmd.el (eshell-find-alias-function):
5036 Tighten up file-name regexp. (Bug#12499)
5037
5038 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5039
5040 Enhancements for triple-quote string syntax.
5041 * progmodes/python.el (python-quote-syntax): Remove.
5042 (python-syntax-propertize-function): New value.
5043 (python-syntax-count-quotes, python-syntax-stringify):
5044 New functions.
5045
5046 2012-09-24 Chong Yidong <cyd@gnu.org>
5047
5048 * mail/supercite.el (sc-version): Remove obsolete function.
5049 (sc-describe): Don't mark as obsolete, since it is bound.
5050 (sc-submit-bug-report): Remove.
5051
5052 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5053 (cvs-commit-buffer-require-final-newline): Remove.
5054 (log-edit-require-final-newline)
5055 (log-edit-changelog-full-paragraphs): Default to t.
5056
5057 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5058 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5059 * vc/vc.el (vc-checkout-carefully): Likewise.
5060
5061 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5062 (emerge-version): Remove.
5063
5064 * progmodes/compile.el (compile-internal): Remove.
5065 (compilation-parse-errors-function): Fix typo.
5066
5067 * international/mule.el (set-char-table-default): Remove.
5068 (set-coding-priority, make-coding-system, generic-char-p)
5069 (charset-list, charset-bytes, charset-id): Use declare to mark
5070 functions as obsolete.
5071
5072 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5073 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5074 * vc/vc-hooks.el (vc-default-registered): Don't use
5075 vc-master-templates.
5076
5077 * font-lock.el (font-lock-reference-face):
5078 Use define-obsolete-variable-alias.
5079
5080 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5081 * calendar/calendar.el (calendar-font-lock-keywords):
5082 * calendar/diary-lib.el (diary-font-lock-keywords)
5083 (diary-fancy-font-lock-keywords):
5084 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5085 * textmodes/reftex-index.el (reftex-insert-index):
5086 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5087 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5088 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5089 * progmodes/prolog.el (prolog-font-lock-keywords):
5090 * progmodes/idlwave.el (idlwave-idl-keywords):
5091 * progmodes/ada-mode.el (ada-font-lock-keywords):
5092 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5093
5094 2012-09-24 Glenn Morris <rgm@gnu.org>
5095
5096 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5097
5098 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5099
5100 * progmodes/python.el (python-indent-line): More consistent cursor
5101 movement behavior.
5102
5103 2012-09-23 Stefan Merten <smerten@oekonux.de>
5104
5105 * textmodes/rst.el: Fix compiler warning.
5106
5107 2012-09-23 Roland Winkler <winkler@gnu.org>
5108
5109 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5110 Transcribe also LaTeX hyphenation.
5111 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5112 bibtex-reformat-previous-options.
5113
5114 2012-09-23 Roland Winkler <winkler@gnu.org>
5115
5116 * proced.el (proced-renice-command): New variable.
5117 (proced-marked-processes): New function.
5118 (proced-with-processes-buffer): New macro.
5119 (proced-send-signal): Use them.
5120 (proced-renice): New command bound to r.
5121
5122 2012-09-23 Roland Winkler <winkler@gnu.org>
5123
5124 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5125 ibuffer-saved-filter-groups has one element, shortcut the call of
5126 completing-read. (Bug#12331)
5127
5128 2012-09-23 Chong Yidong <cyd@gnu.org>
5129
5130 * bindings.el (mode-line-toggle-read-only):
5131 * bs.el (bs-toggle-readonly):
5132 * buff-menu.el (Buffer-menu-toggle-read-only):
5133 * dired.el (dired-toggle-read-only):
5134 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5135
5136 2012-09-23 Chong Yidong <cyd@gnu.org>
5137
5138 * image.el (image-type-available-p): Adapt to init-image-library
5139 argument changes.
5140
5141 2012-09-22 Juri Linkov <juri@jurta.org>
5142
5143 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5144 `dired-toggle-read-only'. (Bug#12462)
5145
5146 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5147
5148 * subr.el (temp-output-buffer-show): New function.
5149 (with-output-to-temp-buffer): Call temp-output-buffer-show
5150 instead of internal-temp-output-buffer-show.
5151
5152 2012-09-22 Chong Yidong <cyd@gnu.org>
5153
5154 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5155 (Bug#12462).
5156
5157 * repeat.el (repeat): Doc fix (Bug#12348).
5158
5159 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5160 (Bug#10909).
5161
5162 * simple.el (shell-command-on-region): Doc fix.
5163 (read-only-mode): Doc fix.
5164
5165 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5166
5167 * emacs-lisp/timer.el (run-with-idle-timer)
5168 (timer-activate-when-idle): Warn against reinvoking an idle timer
5169 from within its own timer action. (Bug#12447)
5170
5171 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5172
5173 * cus-start.el (window-combination-limit): Add new optional
5174 values.
5175 * window.el (temp-buffer-window-show)
5176 (window--try-to-split-window): Handle new values of
5177 window-combination-limit (Bug#1806).
5178 (split-window): Test window-combination-limit for t instead of
5179 non-nil.
5180 (display-buffer-at-bottom): New buffer display action function.
5181 * help.el (temp-buffer-resize-regexps): New option.
5182 (temp-buffer-resize-mode): Rewrite doc-string.
5183 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5184 Don't resize reused window. Suggested by Glenn Morris.
5185
5186 2012-09-22 Stefan Merten <smerten@oekonux.de>
5187
5188 * textmodes/rst.el: Revamp section title faces.
5189 (rst-official-version)
5190 (rst-package-emacs-version-alist): Sync with official version
5191 V1.4.0.
5192 (rst-faces-defaults, rst-set-level-default)
5193 (rst-level-face-max, rst-level-face-base-color)
5194 (rst-level-face-base-light, rst-level-face-format-light)
5195 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5196 (rst-adornment-faces-alist): Match new setup.
5197 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5198 (rst-level-5, rst-level-6): New faces.
5199
5200 2012-09-22 Chong Yidong <cyd@gnu.org>
5201
5202 * simple.el (undo): Handle indirect buffers (Bug#8207).
5203
5204 2012-09-21 Leo Liu <sdl.web@gmail.com>
5205
5206 IDO: Disable match re-ordering for buffer switching.
5207 * ido.el (ido-buffer-disable-smart-matches): New variable.
5208 (ido-set-matches-1): Use it. (Bug#2042)
5209
5210 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5211
5212 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5213 Fix 2011-05-17 change. (Bug#12418)
5214
5215 2012-09-21 Leo Liu <sdl.web@gmail.com>
5216
5217 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5218
5219 2012-09-21 Glenn Morris <rgm@gnu.org>
5220
5221 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5222 Be more robust about locating simple.el.
5223
5224 2012-09-21 Glenn Morris <rgm@gnu.org>
5225
5226 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5227
5228 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5229
5230 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5231
5232 2012-09-20 Juri Linkov <juri@jurta.org>
5233
5234 * replace.el (query-replace-read-from): Use `read-regexp' instead
5235 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5236 (occur-read-primary-args): Use `read-regexp' instead of
5237 `read-string'.
5238 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5239 `read-from-minibuffer'.
5240 * isearch.el (isearch-occur): Use `read-regexp' instead of
5241 `read-string'.
5242 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5243 `read-from-minibuffer'.
5244 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5245 of `read-string'. (Bug#7567)
5246
5247 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5248 and allow accepting a list of strings prepended to a list of
5249 standard default values. Doc fix. (Bug#12321)
5250
5251 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5252
5253 * replace.el (read-regexp): Don't add ": " when PROMPT already
5254 ends with a colon and space. (Bug#12321)
5255
5256 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5257
5258 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5259 error.
5260
5261 2012-09-20 Stefan Merten <smerten@oekonux.de>
5262
5263 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5264 Fixes feature request bug#11711.
5265 (rst-mode): Create `imenu-create-index-function'.
5266 (rst-get-stripped-line): Delete after refactoring.
5267 (rst-section-tree, rst-section-tree-rec)
5268 (rst-section-tree-point): Refactor and document properly.
5269 (rst-imenu-find-adornments-for-position)
5270 (rst-imenu-convert-cell, rst-imenu-create-index):
5271 New function.
5272
5273 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5276 (macroexp--expand-all): Use it.
5277 (macroexp--funcall-and-return): Remove by folding it into its sole
5278 caller (macroexp--warn-and-return).
5279 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5280 Use macroexp--obsolete-warning.
5281
5282 * calc/calc.el: Fix last change by removing the whole chunk, since it
5283 was only needed back when Calc was not bundled.
5284
5285 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5286
5287 * emacs-lisp/debug.el (debug): Restore assignment to
5288 debugger-old-buffer removed on 2012-09-08.
5289
5290 2012-09-20 Juri Linkov <juri@jurta.org>
5291
5292 * dired-aux.el (dired-diff): Remove (require 'diff) since
5293 `diff-latest-backup-file' is now autoloaded.
5294
5295 2012-09-20 Chong Yidong <cyd@gnu.org>
5296
5297 * vc/diff.el (diff-latest-backup-file): Autoload.
5298
5299 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5300
5301 * calc/calc.el: Remove redundant autoload shape check.
5302 (sel-mode): Don't defvar.
5303 (calc-get-stack-element): Add `sel-mode' arg instead.
5304 (calc-top, calc-top-list): Pass it this additional argument.
5305 * calc/calc-store.el (calc-store-map):
5306 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5307 (calc-map-equation, calc-outer-product, calc-inner-product):
5308 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5309
5310 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5311
5312 2012-09-19 Juri Linkov <juri@jurta.org>
5313
5314 * dired-aux.el (dired-diff): Add (require 'diff) because
5315 `diff-latest-backup-file' is not autoloaded.
5316 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5317 of `dired-get-filename' to t to not report error when there is
5318 no default file on the current line.
5319
5320 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5321
5322 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5323 macroexp--eval-if-compile.
5324 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5325 (macroexp--expand-all): Use them (bug#12371).
5326
5327 * doc-view.el (doc-view-guess-paper-size)
5328 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5329
5330 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5331
5332 New feature: set optimal slice from BoundingBox information.
5333 * doc-view.el (doc-view-mode-map): Add keybinding.
5334 (doc-view-menu): Add menu entry.
5335 (doc-view-set-slice): Adapt docstring.
5336 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5337 (doc-view-scale-bounding-box)
5338 (doc-view-set-slice-from-bounding-box): New functions.
5339 (doc-view-paper-sizes): New defvar.
5340
5341 2012-09-19 Glenn Morris <rgm@gnu.org>
5342
5343 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5344 (byte-compile-log-warning): Autoload. (Bug#12371)
5345
5346 * calendar/calendar.el (calendar-american-month-header)
5347 (calendar-european-month-header, calendar-iso-month-header)
5348 (calendar-month-header): New options.
5349 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5350 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5351
5352 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5353
5354 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5355
5356 2012-09-18 Juri Linkov <juri@jurta.org>
5357
5358 * dired-aux.el (dired-diff): Restore original functionality of
5359 getting the default value, but keep new feature of using the
5360 latest existing backup file (`diff-latest-backup-file').
5361
5362 2012-09-18 Juri Linkov <juri@jurta.org>
5363
5364 * dired.el (dired-mark): If the region is active in Transient Mark
5365 mode, mark all files in the active region. Doc fix.
5366 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5367 Doc fix. (Bug#10624)
5368
5369 2012-09-18 Juri Linkov <juri@jurta.org>
5370
5371 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5372 attributes for M-n are pulled from the file at point.
5373 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5374 Suggested by Drew Adams. (Bug#10624)
5375
5376 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5377
5378 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5379 whitespace after "end".
5380 (ruby-do-end-to-brace): Collapse block to one line if it fits
5381 within fill-column.
5382
5383 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5384
5385 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5386 value.
5387 (debug): Don't remove debugger window when debugger is expected
5388 to be back.
5389
5390 2012-09-18 Chong Yidong <cyd@gnu.org>
5391
5392 * custom.el (defface): Doc fix.
5393
5394 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5395
5396 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5397
5398 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5399 to initialize query-on-exit; then test that instead (bug#12288).
5400
5401 2012-09-17 Stefan Merten <smerten@oekonux.de>
5402
5403 * textmodes/rst.el: Add support for `testcover'.
5404 (rst-defcustom-testcover, rst-testcover-add-compose)
5405 (rst-testcover-add-1value): New functions.
5406 (rst-portable-mark-active-p): Replace by `use-region-p'.
5407 (rst-update-section, rst-classify-adornment)
5408 (rst-find-title-line): Mark `1value' forms.
5409 (rst-classify-adornment): Remove superfluous form.
5410 (rst-update-section, rst-get-adornments-around)
5411 (rst-adornment-complete-p, rst-get-next-adornment)
5412 (rst-adjust, rst-promote-region)
5413 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5414 (rst-find-pfx-in-region, rst-section-tree-rec)
5415 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5416 (rst-toc-node, rst-toc, rst-forward-section)
5417 (rst-iterate-leftmost-paragraphs)
5418 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5419 (rst-bullet-list-region)
5420 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5421 (rst-compile-find-conf, rst-compile)
5422 (rst-repeat-last-character): Fix style.
5423
5424 2012-09-17 Chong Yidong <cyd@gnu.org>
5425
5426 * comint.el (comint--complete-file-name-data): Don't add a space
5427 if the status is `sole'; that adds a gratuitous space in the
5428 completion-cycling case (Bug#12092).
5429
5430 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5431
5432 2012-09-17 Richard Stallman <rms@gnu.org>
5433
5434 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5435 only in the mime-shown mode, not in raw mode.
5436 (rmail-mime): Toggle off mime by displaying the message without
5437 mime processing. (Bug#12305)
5438
5439 * mail/rmail.el (rmail-retry-failure):
5440 Turn off mime processing first. (Bug#12037)
5441
5442 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5443
5444 2012-09-17 Chong Yidong <cyd@gnu.org>
5445
5446 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5447 (shell-dynamic-complete-functions): Convert to defcustom.
5448 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5449
5450 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5451 * comint.el (comint-prompt-read-only):
5452 * custom.el (defcustom):
5453 * hi-lock.el (hi-lock-mode):
5454 * ibuffer.el (ibuffer-formats):
5455 * ielm.el (ielm-prompt-read-only):
5456 * novice.el (disable-command):
5457 * saveplace.el (toggle-save-place):
5458 * speedbar.el (speedbar-supported-extension-expressions):
5459 * startup.el (auto-save-list-file-prefix, init-file-user)
5460 (after-init-hook, inhibit-startup-echo-area-message):
5461 * strokes.el (strokes-help):
5462 * time-stamp.el (time-stamp):
5463 * calendar/calendar.el (calendar, diary-file):
5464 * calendar/diary-lib.el (diary-mail-entries, diary)
5465 (diary-list-entries-hook):
5466 * calendar/holidays.el (holidays, calendar-holidays):
5467 * calendar/lunar.el (lunar-phases):
5468 * calendar/solar.el (sunrise-sunset):
5469 * emulation/edt.el (edt-load-keys):
5470 * emulation/viper.el (viper-mode):
5471 * eshell/em-alias.el (eshell-command-aliases-list):
5472 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5473 * international/ogonek.el (ogonek-information):
5474 * net/tramp-cmds.el (tramp-bug):
5475 * net/quickurl.el (quickurl-reread-hook-postfix):
5476 * play/decipher.el (decipher-font-lock-keywords):
5477 * progmodes/cc-styles.el (c-set-style):
5478 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5479 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5480 * progmodes/octave-mod.el (octave-mode):
5481 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5482 * progmodes/verilog-mode.el (verilog-read-defines):
5483 * textmodes/two-column.el (2C-mode): Likewise.
5484
5485 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5486
5487 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5488 that holds many addresses.
5489
5490 2012-09-16 Chong Yidong <cyd@gnu.org>
5491
5492 * align.el (align-areas): Call the indication function with
5493 positions instead of markers for arguments (Bug#12343).
5494
5495 * files.el (parse-colon-path): Use split-string (Bug#12351).
5496
5497 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5498 (display-buffer-function): Mark as obsolete.
5499
5500 * progmodes/compile.el (compilation-parse-errors): Accept list
5501 values similar to font-lock-keywords (Bug#12136).
5502 Suggested by Oleksandr Manzyuk.
5503 (compilation-error-regexp-alist): Doc fix.
5504
5505 2012-09-15 Glenn Morris <rgm@gnu.org>
5506
5507 * version.el (emacs-bzr-version-bzr): New function.
5508 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5509
5510 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5511 checkouts, check the parent dirstate matches the branch.
5512 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5513 empty string.
5514
5515 * version.el (emacs-bzr-version): Doc fix.
5516 (emacs-bzr-version-dirstate): New function.
5517 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5518 is local try and check that it matches the branch. If not, just
5519 use dirstate information. (Bug#12441)
5520
5521 2012-09-14 Juri Linkov <juri@jurta.org>
5522
5523 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5524 (Bug#12399)
5525
5526 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5527
5528 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5529
5530 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5531 Remove obsolete byte-compiler hack that tried to silence some warnings.
5532 (edebug-submit-bug-report): Remove.
5533 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5534 Remove aliases, use the un-prefixed name instead.
5535 (edebug-pop-to-buffer): Consider other frames.
5536 (edebug-original-read):: Make it more obvious that it's always defined.
5537 (edebug--make-form-data-entry, edebug--form-data-name)
5538 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5539 single-dashed name, and implement with cl-defstruct.
5540 (edebug-set-form-data-entry): Use the standard accessors.
5541 (edebug-make-top-form-data-entry): Use push.
5542 (edebug-no-match): Drop useless `funcall'.
5543 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5544 to functions.
5545 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5546 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5547 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5548 (easy-menu-define, with-custom-print): Remove redundant specs.
5549 (edebug-outside-overriding-local-map)
5550 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5551 (edebug--display): Bind unread-command-events directly to nil rather
5552 than binding it to unread-command-events and later setting it to nil.
5553 (edebug--display): Kill edebug-eval-buffer here...
5554 (edebug--recursive-edit): ...rather than here.
5555 Bind standard-output and standard-input.
5556 (edebug-eval): Check cl-macroexpand-all is fboundp.
5557 (edebug-temp-display-freq-count): Fix last change.
5558
5559 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5560 * subr.el (noreturn, 1value): Add `debug' spec.
5561 * emacs-lisp/advice.el: Require cl-lib.
5562 (ad-copy-tree): Remove, use copy-tree instead.
5563 (ad-dolist): Remove use dolist or cl-dolist instead.
5564 (ad-do-return): Remove, use cl-return instead.
5565 (defadvice): Add `debug' spec.
5566
5567 2012-09-13 Juri Linkov <juri@jurta.org>
5568
5569 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5570 (Bug#12399)
5571
5572 2012-09-13 Glenn Morris <rgm@gnu.org>
5573
5574 * calc/calc.el (math-compose-expr):
5575 * calc/calc-ext.el (math-compose-expr):
5576 * progmodes/cc-defs.el (cl-macroexpand-all):
5577 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5578 (cl-macroexpand-all): Update declarations.
5579
5580 * vc/vc.el: No need to require ediff.
5581 (ediff-load-version-control): Declare.
5582 (ediff-vc-internal): Fix declaration.
5583 (vc-version-ediff): Require ediff.
5584
5585 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5586
5587 Use a more backwards-compatible timer format (Bug#12430).
5588 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5589 being right after USECS, as that better supports old code that
5590 inadvisedly looked directly at the timer vector.
5591
5592 2012-09-13 Kenichi Handa <handa@gnu.org>
5593
5594 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5595 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5596 `coding-priority' property of these language environment.
5597
5598 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5599
5600 Fix glitches caused by addition of psec to timers (Bug#12430).
5601 * image.el (image-animate-timer):
5602 * time.el (display-time-world-timer):
5603 Use timer--function and timer--args rather than raw access to
5604 timer vector.
5605
5606 2012-09-13 Glenn Morris <rgm@gnu.org>
5607
5608 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5609 If not compiling a file, try using load-file-name.
5610
5611 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5612
5613 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5614 Fix last change.
5615 (edebug-update-eval-list): Use `push'.
5616
5617 * emacs-lisp/edebug.el: Use lexical-binding.
5618 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5619 Mark unused args with underscore.
5620 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5621 (edebug-form-data): Use defvar-local.
5622 (edebug-make-before-and-after-form, edebug-make-after-form):
5623 Use backquote.
5624 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5625 Not dynamically scoped any more.
5626 (edebug--enter-trace): Add arguments `function' and `args'.
5627 Rename from edebug-enter-trace.
5628 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5629 (edebug--update-coverage): Add `after-index' and `value' args.
5630 Rename from edebug-update-coverage.
5631 (edebug-slow-after): Call it accordingly.
5632 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5633 edebug-recursive-edit.
5634 (edebug--display): Call it accordingly. Add args `value',
5635 `offset-index', and `arg-mode'. Rename from edebug-display.
5636 (edebug-debugger, edebug): Call it accordingly.
5637 (edebug-eval-display-list): Use dolist.
5638
5639 2012-09-12 Juri Linkov <juri@jurta.org>
5640
5641 * info.el (Info-search): Don't check for isearch-mode and
5642 isearch-regexp before let-binding search-spaces-regexp to
5643 Info-search-whitespace-regexp.
5644 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5645 search-whitespace-regexp if isearch-lax-whitespace or
5646 isearch-regexp-lax-whitespace is non-nil.
5647 (Info-mode): Don't set local variable search-whitespace-regexp.
5648 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5649
5650 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5651
5652 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5653 (debugger-env-macro): Remove support for unread-command-char.
5654
5655 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5656 the temporary map re-appearing on emulation-mode-map-alists.
5657
5658 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5659 since 22.1.
5660
5661 * ehelp.el (with-electric-help): Accept functions in
5662 electric-help-form-to-execute.
5663 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5664 And replace unread-command-char -> unread-command-events.
5665
5666 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
5667
5668 Sync with Tramp 2.2.6.
5669
5670 * net/tramp.el (tramp-accept-process-output): Don't use
5671 JUST-THIS-ONE in the XEmacs case.
5672
5673 * net/trampver.el: Update release number.
5674
5675 2012-09-12 Martin Rudalics <rudalics@gmx.at>
5676
5677 * emacs-lisp/debug.el (debugger-previous-window-height):
5678 New variable.
5679 (debug): When debugger-jumping-flag is non-nil try to restore
5680 height of debugger window. (Bug#8789)
5681
5682 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5683
5684 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5685 overriding-local-map and pre/post-command-hook here.
5686 (edebug-recursive-edit): Do it here instead (bug#12345).
5687 (edebug-outside-unread-command-char): Remove all uses of
5688 unread-command-char.
5689
5690 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5691 inhibit-debugger is bound instead.
5692
5693 2012-09-11 Bastien Guerry <bzg@gnu.org>
5694
5695 * subr.el (set-temporary-overlay-map): Add a docstring.
5696 (Bug#12346)
5697
5698 2012-09-11 Bastien Guerry <bzg@gnu.org>
5699
5700 * minibuffer.el (completion-table-subvert): Fix docstring.
5701 (Bug#12347)
5702
5703 2012-09-11 Bastien Guerry <bzg@gnu.org>
5704
5705 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
5706
5707 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5708
5709 * progmodes/sql.el: Version 3.1
5710 (sql-db2-escape-newlines): New variable.
5711 (sql-escape-newlines-filter): Use it.
5712
5713 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
5714
5715 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5716
5717 2012-09-10 Dan Nicolaescu <dann@gnu.org>
5718
5719 * vc/diff-mode.el (diff-mode-menu):
5720 Bind diff-remove-trailing-whitespace.
5721
5722 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5723
5724 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
5725 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5726 (emacs-lisp-byte-code-mode): New functions.
5727 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5728 (eval-defun-2): Remove bogus interactive spec.
5729 (lisp-indent-line): Remove redundant whole-exp code, now done in
5730 indent-according-to-mode.
5731 (save-match-data): Remove redundant indent data.
5732
5733 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5734 Use `declare'.
5735
5736 2012-09-09 Juri Linkov <juri@jurta.org>
5737
5738 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5739 (replace-lax-whitespace, query-replace-regexp)
5740 (query-replace-regexp-eval, replace-regexp): Doc fix.
5741 (perform-replace, replace-highlight): Let-bind
5742 isearch-lax-whitespace to replace-lax-whitespace and
5743 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5744
5745 * isearch.el (isearch-query-replace): Let-bind
5746 replace-lax-whitespace to isearch-lax-whitespace and
5747 replace-regexp-lax-whitespace to
5748 isearch-regexp-lax-whitespace. (Bug#10885)
5749
5750 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5751
5752 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5753
5754 2012-09-09 Alan Mackenzie <acm@muc.de>
5755
5756 * progmodes/cc-engine.el (c-state-cache-init):
5757 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5758 (c-record-parse-state-state):
5759 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
5760
5761 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
5762
5763 * register.el (register-separator): Rename from
5764 separator-register. All uses changed. Doc fix.
5765 (register): Fix version.
5766
5767 2012-09-09 Chong Yidong <cyd@gnu.org>
5768
5769 * replace.el (query-replace-map): Bind four new symbols for
5770 requesting window scrolling.
5771
5772 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5773 query-replace-map (Bug#8948).
5774
5775 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5776
5777 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5778 since they are now in query-replace-map.
5779
5780 * window.el (scroll-other-window-down): Make the arg optional.
5781
5782 2012-09-09 Chong Yidong <cyd@gnu.org>
5783
5784 * files.el (hack-local-variables-confirm): Use quit-window to kill
5785 the *Local Variables* buffer.
5786
5787 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5788
5789 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5790 not just expect to be at its beginning. Adjust callees.
5791 Succeed when do-end block has no space before the pipe character.
5792 (ruby-brace-to-do-end): When the original block is one-liner,
5793 convert to multiline. Reindent the result.
5794
5795 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
5796
5797 * register.el (register): New group.
5798 (separator-register): New user option.
5799 (increment-register): Route it to `append-to-register', if
5800 register contains text. Implication is that `C-x r +' can now be
5801 used for appending to a text register (bug#12217).
5802 (append-to-register, prepend-to-register): Add separator based on
5803 `separator-register'.
5804
5805 2012-09-08 Alan Mackenzie <acm@muc.de>
5806
5807 AWK Mode: make auto-newline work when there's "==" in the pattern.
5808 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5809 correctly.
5810 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5811 Test more rigorously for "=" token.
5812
5813 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5814
5815 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5816 Only fail when reached LIMIT.
5817
5818 2012-09-08 Chong Yidong <cyd@gnu.org>
5819
5820 * dired.el (dired-mode-map): Don't bind M-=.
5821
5822 * dired-aux.el (dired-diff): Use backup file as default.
5823
5824 2012-09-08 Drew Adams <drew.adams@oracle.com>
5825
5826 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5827
5828 2012-09-08 Chong Yidong <cyd@gnu.org>
5829
5830 * subr.el (syntax-after, syntax-class): Doc fix.
5831
5832 2012-09-08 Martin Rudalics <rudalics@gmx.at>
5833
5834 * window.el (display-buffer-in-previous-window): New buffer
5835 display action function.
5836
5837 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5838 (debugger-previous-window): New variable.
5839 (debug): Rewrite using display-buffer-in-previous-window,
5840 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5841
5842 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5843
5844 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5845
5846 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5847
5848 * progmodes/python.el (python-shell-send-string):
5849 When default-directory is remote, create temp file on remote
5850 filesystem.
5851 (python-shell-send-file): When file is remote, pass local view of
5852 file paths to remote Python interpreter. (Bug#12340)
5853
5854 2012-09-07 Chong Yidong <cyd@gnu.org>
5855
5856 * window.el (switch-to-buffer): Doc fix (Bug#12181).
5857
5858 * files.el (after-find-file): Don't fail on a read-only buffer if
5859 require-final-newline is `visit' or `visit-save' (Bug#11156).
5860
5861 * subr.el (read-char-choice): Allow quitting via ESC ESC.
5862
5863 * userlock.el (ask-user-about-supersession-threat):
5864 Use read-char-choice (Bug#12093).
5865
5866 2012-09-07 Chong Yidong <cyd@gnu.org>
5867
5868 * subr.el (buffer-narrowed-p): New function.
5869
5870 * ses.el (ses-widen):
5871 * simple.el (count-words--buffer-message):
5872 * net/browse-url.el (browse-url-of-buffer): Use it.
5873
5874 * simple.el (count-words-region): Don't signal an error if there
5875 is a non-nil prefix arg and the mark is not set.
5876
5877 * help.el (describe-key-briefly): Allow the message to be seen
5878 when invoked from the minibuffer (Bug#7014).
5879
5880 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5881
5882 * progmodes/ruby-mode.el (ruby-end-of-defun)
5883 (ruby-beginning-of-defun): Simplify, allow indentation before
5884 block beginning and end keywords.
5885 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5886 (ruby-end-of-defun): Expect that the point is at the beginning of
5887 the defun.
5888
5889 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5890
5891 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5892 (bug#12367).
5893 (cl--make-usage-args): Strip _ from argument names.
5894
5895 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5896
5897 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5898 obsolete alias speedbar-key-map.
5899 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5900 (vhdl-index-menu-init): Don't use obsolete variable
5901 font-lock-maximum-size.
5902
5903 2012-09-06 Chong Yidong <cyd@gnu.org>
5904
5905 * frame.el (window-system-version): Mark as obsolete.
5906
5907 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5908 of obsolete variable speedbar-key-map.
5909
5910 2012-09-06 Juri Linkov <juri@jurta.org>
5911
5912 * replace.el (replace-lax-whitespace): New defcustom.
5913 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5914 (replace-string, replace-regexp): Mention it in docstrings.
5915 (perform-replace, replace-highlight): Let-bind
5916 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5917 to the values of replace-lax-whitespace and regexp-flag.
5918 Don't let-bind search-whitespace-regexp. (Bug#10885)
5919
5920 * isearch.el (isearch-query-replace): Let-bind
5921 replace-lax-whitespace instead of let-binding
5922 replace-search-function and replace-re-search-function.
5923 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5924 and isearch-regexp-lax-whitespace to lazy-highlight variables.
5925 (isearch-toggle-symbol): Set isearch-regexp to nil
5926 in isearch-word mode (like in isearch-toggle-word).
5927
5928 2012-09-06 Juri Linkov <juri@jurta.org>
5929
5930 * replace.el (replace-search-function)
5931 (replace-re-search-function): Set default values to nil.
5932 (perform-replace): Let-bind isearch-related variables based on
5933 replace-related values, call `isearch-search-fun' and let-bind
5934 the result to `search-function'. Remove code that sets
5935 `search-function' and `search-string' separately for
5936 `delimited-flag'.
5937 (replace-highlight): Add new argument `delimited-flag' and
5938 rename other arguments to the names used in `perform-replace'.
5939 Let-bind `isearch-word' to the argument `delimited-flag'.
5940 (Bug#10885, bug#10887)
5941
5942 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5943
5944 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5945 ruby-beginning-of-indent, simplify, allow all keywords to have
5946 indentation before them.
5947 (ruby-beginning-of-indent): Adjust for above. Search until the
5948 found point is not inside a string or comment.
5949 (ruby-font-lock-keywords): Allow symbols to start with "@"
5950 character, give them higher priority than variables.
5951 (ruby-syntax-propertize-function)
5952 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5953 matchers. Expression expansions are not comments when inside a
5954 string, and there comment syntax status is irrelevant.
5955 (ruby-match-expression-expansion): New function. Check that
5956 expression expansion is inside a string, and it's not escaped.
5957 (ruby-font-lock-keywords): Use it.
5958
5959 2012-09-05 Martin Rudalics <rudalics@gmx.at>
5960
5961 * help.el (temp-buffer-max-height): New default value.
5962 (temp-buffer-resize-frames): New option.
5963 (resize-temp-buffer-window): Optionally resize frame.
5964
5965 * window.el (fit-frame-to-buffer-bottom-margin): New option.
5966 (fit-frame-to-buffer): New function.
5967
5968 2012-09-05 Glenn Morris <rgm@gnu.org>
5969
5970 * emulation/cua-rect.el (cua--init-rectangles):
5971 * textmodes/picture.el (picture-mode-map):
5972 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5973 like forward-char and backward-char. (Bug#12317)
5974
5975 2012-09-05 Leo Liu <sdl.web@gmail.com>
5976
5977 * progmodes/flymake.el (flymake-warning-re): New variable.
5978 (flymake-parse-line): Use it.
5979
5980 2012-09-05 Glenn Morris <rgm@gnu.org>
5981
5982 * calendar/holidays.el (holiday-christian-holidays):
5983 Rename an entry. (Bug#12289)
5984
5985 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5986
5987 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5988 (bug#12222).
5989
5990 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5991
5992 * loadup.el: Load macroexp. Remove hack.
5993 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5994 (macroexp--expand-all): Use it to get better warnings.
5995 (macroexp--backtrace, macroexp--trim-backtrace-frame)
5996 (internal-macroexpand-for-load): New functions.
5997 (macroexp--pending-eager-loads): New var.
5998 (emacs-startup-hook): New hack to replace one in loadup.el.
5999 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6000 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6001 (cl-psetf): Simplify.
6002 (cl-defstruct): Add indent rule.
6003
6004 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6005
6006 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6007 over `user-mail-address' for the SMTP MAIL FROM envelope.
6008 (smtpmail-via-smtp): Ditto.
6009
6010 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6011
6012 * progmodes/ruby-mode.el: Clean up keybindings.
6013 (ruby-mode-map): Don't bind ruby-electric-brace,
6014 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6015 backward-kill-word, reindent-then-newline-and-indent.
6016 (ruby-mark-defun): Remove.
6017 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6018 (ruby-mode): Set local beginning-of-defun-function and
6019 end-of-defun-function values.
6020
6021 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6022
6023 * window.el (temp-buffer-window-setup-hook)
6024 (temp-buffer-window-show-hook): New hooks.
6025 (temp-buffer-window-setup, temp-buffer-window-show)
6026 (with-temp-buffer-window): New functions.
6027 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6028 (special-display-popup-frame): Make sure the window used shows BUFFER.
6029
6030 * help.el (temp-buffer-resize-mode): Fix doc-string.
6031 (resize-temp-buffer-window): New optional argument WINDOW.
6032
6033 * files.el (recover-file, save-buffers-kill-emacs):
6034 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6035
6036 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6037
6038 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6039 remote definition of `default-directory', ensure we can connect.
6040
6041 2012-09-02 Juri Linkov <juri@jurta.org>
6042
6043 Toggle whitespace matching mode with M-s SPC.
6044 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6045
6046 * isearch.el (search-whitespace-regexp): Doc fix.
6047 Remove cons cell customization.
6048 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6049 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6050 New variables.
6051 (isearch-forward, isearch-forward-regexp): Doc fix.
6052 (isearch-toggle-lax-whitespace): New command.
6053 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6054 (re-search-forward-lax-whitespace)
6055 (re-search-backward-lax-whitespace): New functions.
6056 (isearch-whitespace-regexp): Remove function.
6057 (isearch-query-replace): Let-bind replace-search-function and
6058 replace-re-search-function.
6059 (isearch-occur): Let-bind search-spaces-regexp according to the
6060 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6061 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6062 condition for C-q SPC.
6063 (isearch-search-fun-default): Use new functions mentioned above.
6064 (isearch-search-forward, isearch-search-backward): Remove functions.
6065 (isearch-search): Don't let-bind search-spaces-regexp.
6066 (isearch-lazy-highlight-space-regexp): Remove variable.
6067 (isearch-lazy-highlight-lax-whitespace)
6068 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6069 (isearch-lazy-highlight-new-loop): Use them.
6070 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6071
6072 2012-09-02 Chong Yidong <cyd@gnu.org>
6073
6074 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6075
6076 2012-09-02 Glenn Morris <rgm@gnu.org>
6077
6078 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6079
6080 2012-09-01 Glenn Morris <rgm@gnu.org>
6081
6082 * term.el: Tidy up menu definitions.
6083 (term-mode-map): Use easymenu for In/Out, Complete menus.
6084 (term-pager-break-map): Initialize in the defvar.
6085 (term-terminal-menu, term-signals-menu): Define with easymenu.
6086 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6087 (term-pager-menu): New, extracted from term-process-pager.
6088 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6089 (term-update-mode-line): Propertize line/char and page items.
6090 (term-process-pager): Move keymap initialization elsewhere.
6091
6092 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6093
6094 * window.el (switch-to-prev-buffer): Handle additional values of
6095 BURY-OR-KILL argument. Don't switch in minibuffer window.
6096 (switch-to-next-buffer): Don't switch in minibuffer window.
6097 (quit-restore-window): New function based on quit-window.
6098 Handle additional values of former KILL argument.
6099 (quit-window): Call quit-restore-window with appropriate
6100 interpretation of KILL argument.
6101 (display-buffer-below-selected): New buffer display action
6102 function.
6103
6104 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6105
6106 * minibuffer.el (completion-at-point-functions): Complete docstring
6107 (bug#12254).
6108
6109 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6110
6111 Better seed support for (random).
6112 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6113 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6114 * play/mpuz.el, play/tetris.el, play/zone.el:
6115 * calc/calc-comb.el (math-init-random-base):
6116 * play/blackbox.el (bb-init-board):
6117 * play/life.el (life):
6118 * server.el (server-use-tcp):
6119 * type-break.el (type-break):
6120 Remove unnecessary call to (random t).
6121 * net/sasl.el (sasl-unique-id-function):
6122 Change (random t) to (random), now that the latter is more random.
6123 * play/life.el (life-initialized): Remove no-longer-needed var.
6124
6125 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6126
6127 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6128 Consider frame's buffer predicate when choosing the buffer.
6129 (Bug#12081)
6130
6131 2012-08-30 Richard Stallman <rms@gnu.org>
6132
6133 * simple.el (special-mode-map): Delete binding for `z'.
6134
6135 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6136
6137 * progmodes/compile.el (compilation-always-kill): Doc fix.
6138
6139 2012-08-30 Chong Yidong <cyd@gnu.org>
6140
6141 * window.el (display-buffer-reuse-frames): Make the obsolescence
6142 message more informative.
6143
6144 2012-08-30 Glenn Morris <rgm@gnu.org>
6145
6146 * paren.el (show-paren-delay):
6147 Add a :set function. Doc fix. (Bug#12297)
6148
6149 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6150
6151 * progmodes/compile.el (compilation-always-kill): New var.
6152 (compilation-start): Use it.
6153
6154 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6155
6156 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6157 * files.el (read-only-mode): Move to simple.el.
6158
6159 * files.el (read-only-mode): New minor mode.
6160 (toggle-read-only): Use it and mark obsolete.
6161 (find-file--read-only):
6162 * vc/vc.el (vc-next-action, vc-checkout):
6163 * vc/vc-cvs.el (vc-cvs-checkout):
6164 * obsolete/vc-mcvs.el (vc-mcvs-update):
6165 * ffap.el (ffap--toggle-read-only): Update callers.
6166
6167 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6168
6169 * eshell/esh-ext.el (eshell-external-command): Do not examine
6170 remote shell scripts.
6171 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6172
6173 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6174 "/usr/local/sbin".
6175
6176 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6177
6178 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6179
6180 2012-08-28 Leo Liu <sdl.web@gmail.com>
6181
6182 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6183 completion-at-point. (Bug#12220)
6184
6185 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6186
6187 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6188
6189 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6190
6191 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6192 be buffer-local; add delete-trailing-whitespace (bug#12259).
6193
6194 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6195
6196 * progmodes/hideif.el (hif-compress-define-list):
6197 Fix typo. (Bug#11951)
6198
6199 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6200
6201 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6202 buffer local setting.
6203
6204 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6205 rcirc-encode-coding-system.
6206
6207 2012-08-28 Leo Liu <sdl.web@gmail.com>
6208
6209 * net/rcirc.el (rcirc-split-message): New function.
6210 (rcirc-send-message): Use it. (Bug#12051)
6211
6212 2012-08-28 Juri Linkov <juri@jurta.org>
6213
6214 * info.el (Info-fontify-node): Hide empty lines at the end of
6215 the node. (Bug#12272)
6216
6217 2012-08-27 Drew Adams <drew.adams@oracle.com>
6218
6219 * dired.el (dired-pop-to-buffer): Make window start at beginning
6220 of buffer (Bug#12281).
6221
6222 2012-08-26 Chong Yidong <cyd@gnu.org>
6223
6224 * window.el (special-display-regexps, special-display-frame-alist)
6225 (special-display-buffer-names, special-display-function)
6226 (display-buffer-reuse-frames): Mark as obsolete.
6227
6228 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6229
6230 * help.el (help-print-return-message): Don't treat
6231 display-buffer-reuse-frames specially.
6232
6233 2012-08-26 Chong Yidong <cyd@gnu.org>
6234
6235 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6236 New variable, replacing gdb-frame-parameters.
6237 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6238 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6239 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6240 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6241 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6242 the functions directly with gdb-display-buffer-other-frame-action.
6243 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6244 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6245 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6246 (gdb-display-registers-buffer): Define directly.
6247 (def-gdb-display-buffer): Macro deleted.
6248 (gdb-display-buffer): Remove second and third args, callers don't
6249 use them. Defer to the default display-buffer behavior, apart
6250 from making windows dedicated.
6251 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6252
6253 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6254
6255 * window.el (display-buffer-pop-up-frame): Handle a
6256 pop-up-frame-parameters alist entry.
6257 (display-buffer): Document it.
6258
6259 2012-08-26 Chong Yidong <cyd@gnu.org>
6260
6261 * isearch.el (search-whitespace-regexp): Make string and nil
6262 values apply to both ordinary and regexp search. Allow a cons
6263 cell value to distinguish between the two.
6264 (isearch-whitespace-regexp, isearch-search-forward)
6265 (isearch-search-backward): New functions.
6266 (isearch-occur, isearch-search-fun-default, isearch-search)
6267 (isearch-lazy-highlight-new-loop): Use them.
6268 (isearch-forward, isearch-forward-regexp): Doc fix.
6269
6270 2012-08-26 Chong Yidong <cyd@gnu.org>
6271
6272 * faces.el (help-argument-name): Always inherit from italic
6273 (Bug#12213).
6274
6275 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6276
6277 * window.el (window--even-window-heights): Even heights when
6278 WINDOW and the selected window form a vertical combination.
6279 (display-buffer-use-some-window): Provide that window used gets
6280 sized back by quit-window. (Bug#11880) and (Bug#12091)
6281
6282 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6283
6284 Fix file time stamp problem with bzr and CVS (Bug#12001).
6285 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6286 in the file's time stamp, since the version control system loses
6287 that information.
6288
6289 2012-08-22 Juri Linkov <juri@jurta.org>
6290
6291 * info.el (Info-fontify-node): Hide the suffix of the
6292 Info file name in the header line. (Bug#12187)
6293
6294 2012-08-22 Glenn Morris <rgm@gnu.org>
6295
6296 * calendar/cal-tex.el (cal-tex-weekly-common):
6297 Restore leading blank page.
6298
6299 2012-08-22 Le Wang <l26wang@gmail.com>
6300
6301 * misc.el (forward-to-word, backward-to-word): Activate or extend
6302 the region under `shift-select-mode'. (Bug#12231)
6303
6304 2012-08-22 Bastien Guerry <bzg@gnu.org>
6305
6306 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6307 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6308 gives details on why the space is never needed.
6309
6310 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6311
6312 * window.el (walk-window-tree, window-with-parameter):
6313 New optional argument MINIBUF to control whether these functions
6314 should run on the minibuffer window.
6315 (window-at-side-list): Don't operate on minibuffer window.
6316 (window-in-direction): Simplify and rewrite doc-string.
6317 (window--size-ignore): Rename to window--size-ignore-p.
6318 Update callers.
6319 (display-buffer-in-atom-window, window--major-non-side-window)
6320 (window--major-side-window, display-buffer-in-major-side-window)
6321 (delete-side-window, display-buffer-in-side-window):
6322 New functions.
6323 (window--side-check, window-deletable-p, delete-window)
6324 (delete-other-windows, split-window): Handle side windows and
6325 atomic windows appropriately.
6326 (window--display-buffer): Call display-buffer-record-window also
6327 when the window buffer did not change.
6328
6329 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6330
6331 * help-fns.el (help-fns--key-bindings):
6332 Abbreviate non-symbol remap targets. (Bug#12174)
6333
6334 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6335
6336 * dired.el (dired-mark-remembered): Don't clobber point.
6337 (Bug#11795)
6338
6339 2012-08-22 Glenn Morris <rgm@gnu.org>
6340
6341 * progmodes/bug-reference.el (bug-reference): New custom group.
6342 (bug-reference-bug-regexp): Make it a defcustom.
6343
6344 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6345
6346 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6347 (js-paren-indent-offset, js-square-indent-offset)
6348 (js-curly-indent-offset): Add :safe (Bug#12257).
6349
6350 2012-08-22 Edward O'Connor <hober0@gmail.com>
6351
6352 * json.el (json-key-format): Add error properties.
6353 (json-encode-key): New function.
6354 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6355 Use json-encode-key.
6356
6357 2012-08-22 Glenn Morris <rgm@gnu.org>
6358
6359 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6360 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6361 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6362 Update for above change.
6363
6364 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6365
6366 * cus-face.el (custom-face-attributes): Fix customize type for the
6367 :underline attribute. (Bug#11805)
6368
6369 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6370
6371 * window.el (window-point-1, set-window-point-1): Remove.
6372 (window-in-direction, record-window-buffer)
6373 (set-window-buffer-start-and-point, split-window-below)
6374 (window--state-get-1, display-buffer-record-window):
6375 Replace calls to window-point-1 and set-window-point-1 by calls to
6376 window-point and set-window-point respectively.
6377
6378 2012-08-21 Glenn Morris <rgm@gnu.org>
6379
6380 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6381 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6382 Use it.
6383
6384 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6385 (cal-tex-shortday): New function.
6386 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6387 (cal-tex-cursor-filofax-daily): Use the above.
6388
6389 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6390 New functions.
6391 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6392 (cal-tex-cursor-filofax-week): Use them.
6393
6394 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6395 New constants.
6396 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6397 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6398
6399 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6400 (cal-tex-end-document): Don't rely on buffer name.
6401
6402 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6403 Use cal-tex-vspace.
6404 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6405 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6406 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6407 Use cal-tex-arg.
6408
6409 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6410 (cal-tex-cursor-week, cal-tex-cursor-week2)
6411 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6412 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6413 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6414 (cal-tex-insert-preamble, cal-tex-b-document)
6415 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6416 Improve cal-tex-cmd usage.
6417
6418 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6419 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6420 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6421 (cal-tex-weekly-paper): New function.
6422 (cal-tex-cursor-week, cal-tex-cursor-week2)
6423 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6424 (cal-tex-cursor-day): Use it.
6425
6426 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6427 (cal-tex-cursor-filofax-week): Remove leading blank page.
6428
6429 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6430 Add autoload cookie. For now at least, don't use color, since
6431 no other cal-tex function does.
6432
6433 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6434 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6435 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6436
6437 2012-08-21 Juri Linkov <juri@jurta.org>
6438
6439 * info.el (Info-file-attributes): New variable.
6440 (info-insert-file-contents): Add file attributes to
6441 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6442 `Info-toc-nodes' when previous modtime of the Info file is less
6443 than new modtime.
6444 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6445 of info.el. (Bug#12230)
6446
6447 2012-08-20 Glenn Morris <rgm@gnu.org>
6448
6449 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6450 * calendar/holidays.el (calendar-holiday-list):
6451 Report errors with display-warning rather than beep'n'sleep.
6452
6453 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6454
6455 * net/tramp.el (tramp-accept-process-output): Accept only output
6456 from PROC. Otherwise, process filters and sentinels might be
6457 confused. (Bug#12145)
6458
6459 2012-08-20 Chong Yidong <cyd@gnu.org>
6460
6461 * descr-text.el (describe-text-properties-1): Use overlays-in to
6462 report on empty overlays (Bug#3322).
6463
6464 2012-08-20 Glenn Morris <rgm@gnu.org>
6465
6466 * mail/rmailout.el (rmail-output-read-file-name):
6467 Trap and report errors in rmail-output-file-alist elements.
6468
6469 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6470 since most non-font-lock faces are not also variables).
6471
6472 2012-08-20 Edward Reingold <reingold@iit.edu>
6473
6474 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6475 New function. (Bug12160)
6476
6477 2012-08-19 Glenn Morris <rgm@gnu.org>
6478
6479 * mail/rmailout.el (rmail-output-read-file-name):
6480 Fix previous change (when the alist is nil or does not match).
6481
6482 2012-08-19 Chong Yidong <cyd@gnu.org>
6483
6484 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6485 (Bug#12228).
6486
6487 2012-08-18 Chong Yidong <cyd@gnu.org>
6488
6489 * simple.el (yank-handled-properties): New defcustom.
6490 (yank-excluded-properties): Add font-lock-face and category.
6491 (yank): Doc fix.
6492
6493 * subr.el (remove-yank-excluded-properties):
6494 Obey yank-handled-properties. The special handling of font-lock-face
6495 and category is now done this way, instead of being hard-coded.
6496 (insert-for-yank-1): Remove font-lock-face handling.
6497 (yank-handle-font-lock-face-property)
6498 (yank-handle-category-property): New function.
6499
6500 2012-08-17 Glenn Morris <rgm@gnu.org>
6501
6502 * mail/rmailout.el (rmail-output-read-file-name):
6503 Check rmail-output-file-alist against the full message body
6504 in the correct rmail buffer. (Bug#12214)
6505
6506 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
6507
6508 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6509 Eliminate superfluous prompt. (Bug#12203)
6510
6511 2012-08-17 Chong Yidong <cyd@gnu.org>
6512
6513 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6514 font spec, set the font directly (Bug#3228).
6515
6516 2012-08-17 Martin Rudalics <rudalics@gmx.at>
6517
6518 * window.el (delete-window): Fix last fix.
6519
6520 2012-08-16 Martin Rudalics <rudalics@gmx.at>
6521
6522 * window.el (window-valid-p): Move to window.c.
6523 (window-child, window-child-count, window-last-child)
6524 (window-normalize-window, window-combined-p)
6525 (window-combinations, window-atom-root, window-min-size)
6526 (window-sizable, window-sizable-p, window-size-fixed-p)
6527 (window-min-delta, window-max-delta, window--resizable)
6528 (window--resizable-p, window-resizable, window-total-size)
6529 (window-full-height-p, window-full-width-p, window-body-size)
6530 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6531 (minimize-window, window-deletable-p, delete-window)
6532 (delete-other-windows, set-window-buffer-start-and-point)
6533 (next-buffer, previous-buffer, split-window, balance-windows-2)
6534 (set-window-text-height, window-buffer-height)
6535 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6536 (truncated-partial-width-window-p): Minor code adjustments.
6537 In doc-strings state whether the argument window has to denote a
6538 live, valid or any window.
6539
6540 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6541
6542 * progmodes/subword.el (subword-forward-function)
6543 (subword-backward-function, subword-forward-regexp)
6544 (subword-backward-regexp): New variables.
6545 (subword-forward, subword-forward-internal, subword-backward-internal):
6546 Use new variables, eg so that different "word" definitions
6547 can be easily used. (Bug#11411)
6548
6549 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6550
6551 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6552 for composite selectors.
6553 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6554 operation just because we can't find a previous revision.
6555
6556 2012-08-15 Chong Yidong <cyd@gnu.org>
6557
6558 * frame.el (set-frame-font): Accept font objects.
6559
6560 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6561
6562 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6563
6564 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6565
6566 * man.el (Man-overstrike-face, Man-underline-face)
6567 (Man-reverse-face): Remove variables.
6568 (Man-overstrike, Man-underline, Man-reverse): New faces.
6569 (Man-fontify-manpage): Use them instead of the variables.
6570 (Man-cleanup-manpage): Comment change.
6571 (Man-ansi-color-map): New variable.
6572 (Man-fontify-manpage): Use it.
6573 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6574
6575 Implement ANSI SGR parameters 22-27 (bug#12146).
6576 * ansi-color.el (ansi-colors): Doc fix.
6577 (ansi-color-context, ansi-color-context-region): Doc fix.
6578 (ansi-color--find-face): New function.
6579 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6580 Rename the local variable `face' to `codes' since it is now a list of
6581 ansi codes. Doc fix.
6582 (ansi-color-get-face): Remove.
6583 (ansi-color-parse-sequence): New function, derived from
6584 ansi-color-get-face.
6585 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6586 codes 22-27.
6587
6588 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6589
6590 * subr.el (read-passwd): Allow use from a minibuffer.
6591
6592 2012-08-14 Eli Zaretskii <eliz@gnu.org>
6593
6594 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6595 inside comments and strings as identifiers.
6596
6597 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6598 expression to evaluate. This allows to evaluate expressions with
6599 embedded whitespace.
6600 (gud-tooltip-tips): Add a blank before the newline in the
6601 message-box text, for the benefit of message-box emulation on
6602 MS-Windows.
6603
6604 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6605 messages from GDB, pop them up in a tooltip to give feedback to
6606 user.
6607 (gdb-tooltip-print-1): Quote the expression to evaluate.
6608 This allows to evaluate expressions with embedded whitespace.
6609 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6610 if the TTY name is nil or empty (which happens when communicating
6611 with the inferior via pipes, e.g. on MS-Windows).
6612 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6613 don't send that to the GUD buffer.
6614
6615 2012-08-14 Glenn Morris <rgm@gnu.org>
6616
6617 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6618 Optimize away setq-default with no args, as for setq. (Bug#12195)
6619
6620 2012-08-14 Chong Yidong <cyd@gnu.org>
6621
6622 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6623
6624 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6625 (Bug#12085).
6626
6627 2012-08-14 Glenn Morris <rgm@gnu.org>
6628
6629 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6630
6631 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
6632
6633 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6634 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6635 Use cached shell name.
6636
6637 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6638
6639 * progmodes/python.el (python-shell-send-string):
6640 (python-shell-send-setup-code): Do not use `format' with `message'.
6641
6642 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6643
6644 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6645 (ruby-percent-literal-beg-re): New constant.
6646 (ruby-syntax-general-delimiters-goto-beg): Rename to
6647 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6648 (ruby-syntax-propertize-general-delimiters): Rename to
6649 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6650 popular term. Adjust comments everywhere.
6651 (ruby-syntax-propertize-percent-literal): Only propertize when not
6652 inside a simple string or comment. When the literal is unclosed,
6653 leave the text after it unpropertized.
6654 (ruby-syntax-methods-before-regexp): New constant.
6655 (ruby-syntax-propertize-function): Use it to recognize regexps.
6656 Don't look at the text after regexp, just use the whitelist.
6657
6658 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6659
6660 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6661 non-nil always load the compiled file if it exists. (Bug#12197)
6662
6663 2012-08-14 Chong Yidong <cyd@gnu.org>
6664
6665 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6666 (hi-lock-set-pattern): When deciding whether to use font lock or
6667 overlays, look at font-lock-mode instead of font-lock-fontified
6668 (Bug#12168).
6669 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6670 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6671
6672 2012-08-14 Daiki Ueno <ueno@unixuser.org>
6673
6674 * subr.el (internal--after-with-selected-window): Fix typo
6675 (Bug#12193).
6676
6677 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6678
6679 Use `completion-table-dynamic' for completion functions.
6680 * progmodes/python.el
6681 (python-shell-completion--do-completion-at-point)
6682 (python-shell-completion--get-completions):
6683 Remove functions.
6684 (python-shell-completion-complete-at-point): New function.
6685 (python-completion-complete-at-point): Use it.
6686
6687 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
6688
6689 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6690 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6691
6692 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6693
6694 * subr.el (function-get): Refine `autoload' arg so it can also
6695 autoload functions for gv.el (bug#12191).
6696 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6697 autoloads macros.
6698
6699 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6700 Prefer pcase-let over destructuring-bind.
6701 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6702 Also, remove whitespace as we go, rather than after accumulating the
6703 various places.
6704
6705 * subr.el (internal--before-with-selected-window)
6706 (internal--after-with-selected-window): Fix typo seleted->selected.
6707 (with-selected-window): Adjust callers.
6708 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6709
6710 2012-08-13 Bastien Guerry <bzg@gnu.org>
6711
6712 * window.el (special-display-popup-frame): Minor docstring
6713 enhancement. (Bug#12172)
6714
6715 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6716
6717 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6718 type 1-6.
6719 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6720 extended headers.
6721
6722 * files.el (hack-local-variables-filter): Remove useless eval.
6723
6724 2012-08-13 Martin Rudalics <rudalics@gmx.at>
6725
6726 * subr.el (with-selected-window): Fix last change.
6727
6728 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6729
6730 * subr.el (internal--before-with-seleted-window)
6731 (internal--after-with-seleted-window): New functions.
6732 (with-selected-window): Use them, to replace dependency on
6733 tty-top-frame.
6734
6735 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6736
6737 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6738 binding for `newline'.
6739 (ruby-move-to-block): When moving backward, stop at block opening,
6740 not indentation.
6741 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6742 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6743 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6744 `ruby-toggle-block'.
6745
6746 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6747
6748 * ibuffer.el (ibuffer-do-toggle-read-only):
6749 * dired.el (dired-toggle-read-only):
6750 * buff-menu.el (Buffer-menu-toggle-read-only):
6751 * bindings.el (mode-line-toggle-read-only):
6752 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6753
6754 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
6755
6756 * descr-text.el (describe-char): Put the overlays over the
6757 "displayed as" character.
6758
6759 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
6760
6761 * calc/calc-units.el (math-default-units-table): Give an
6762 initial value.
6763 (math-put-default-units): Add options to put composite units and
6764 unit systems in the default units table.
6765 (calc-convert-units): Send composite units to
6766 `math-put-default-units' when appropriate.
6767
6768 2012-08-11 Glenn Morris <rgm@gnu.org>
6769
6770 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6771
6772 * tutorial.el (help-with-tutorial):
6773 * emacs-lisp/copyright.el (copyright-update-directory):
6774 * emacs-lisp/autoload.el (autoload-find-generated-file)
6775 (autoload-find-file): Disable local eval: (for insurance).
6776
6777 * files.el (hack-local-variables-filter): If an eval: form is not
6778 known to be safe, and enable-local-variables is :safe, then ignore
6779 the form totally, as is done for non-eval forms. (Bug#12155)
6780 This is CVE-2012-3479.
6781
6782 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6783
6784 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6785 (rx-form): Simplify.
6786
6787 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
6788
6789 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6790 ?, _, and : are symbol constituents, ! is not (but kinda should be).
6791 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6792 (ruby-syntax-propertize-function): Adjust for changes in
6793 `ruby-syntax-propertize-heredoc'.
6794
6795 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6796
6797 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6798 binding (use `M-;' instead).
6799 (ruby-singleton-class-p): New function.
6800 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
6801
6802 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6803
6804 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6805
6806 2012-08-10 Chong Yidong <cyd@gnu.org>
6807
6808 * progmodes/python.el (python-shell-get-process-name): Don't mess
6809 with same-window-buffer-names.
6810
6811 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6812 (eshell-remove-from-window-buffer-names): Make obsolete.
6813 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6814 (eshell): Just use pop-to-buffer-same-window instead.
6815
6816 2012-08-10 Chong Yidong <cyd@gnu.org>
6817
6818 * bindings.el: Bind M-= back to count-words-region.
6819
6820 * simple.el (count-words-region): Accept a prefix arg for acting
6821 on the entire buffer.
6822 (count-words--buffer-message): New helper function.
6823
6824 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6825
6826 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6827 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6828 (event-start, event-end): Use posn-at-point to return a more
6829 informative posn.
6830 (posnp): New function.
6831 * mouse.el (popup-menu-normalize-position): Use it.
6832
6833 2012-08-10 Masatake YAMATO <yamato@redhat.com>
6834
6835 * mouse.el (popup-menu-normalize-position): New function.
6836 (popup-menu): Use `popup-menu-normalize-position' to normalize
6837 the form for POSITION argument.
6838
6839 * term/x-win.el (x-menu-bar-open):
6840 Use the value returend from (posn-at-point) as position
6841 passed to `popup-menu'.
6842
6843 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6844
6845 * calc/calccomp.el (math-compose-expr): Add extra argument
6846 indicating that parentheses should be put around products in
6847 denominators. Give multiplication precedence over division during
6848 composition.
6849
6850 2012-08-09 Chong Yidong <cyd@gnu.org>
6851
6852 * man.el (Man-switches, Man-sed-command, Man-awk-command)
6853 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6854 (Man-untabify-command, manual-program): Convert to defcustom
6855 (Bug#10429).
6856
6857 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6858
6859 * descr-text.el (describe-char): Don't insert extra newlines
6860 (Bug#10127).
6861
6862 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6863 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6864
6865 * align.el (align-region): Delete temporary markers (Bug#10047).
6866 Plus some code cleanups.
6867
6868 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6869
6870 * progmodes/python.el (python-pdbtrack-tracked-buffer)
6871 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6872 (python-shell-internal-last-output): Use make-local-variable
6873 instead of make-variable-buffer-local.
6874
6875 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6876
6877 * progmodes/python.el: Enhancements to forward-sexp.
6878 (python-nav-forward-sexp): Rename from
6879 python-nav-forward-sexp-function.
6880 (python-nav--forward-sexp, python-nav--backward-sexp):
6881 New functions.
6882
6883 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6884
6885 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6886 modes and simplification modes.
6887
6888 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6889
6890 * delsel.el (delete-selection-pre-hook): Don't propagate the
6891 file-supersession signals (bug#12161).
6892
6893 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6894
6895 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6896 (cl-map-extents): Add compatibility aliases (bug#12135).
6897
6898 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
6899
6900 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6901 tests by `ignore-error'.
6902 (tramp-find-shell): Open also a new shell, when cache is already
6903 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
6904
6905 2012-08-08 Juri Linkov <juri@jurta.org>
6906
6907 * bookmark.el: Add `defaults' property to the bookmark record.
6908 (bookmark-current-buffer): Doc fix.
6909 (bookmark-make-record): Add `defaults' property with default values
6910 to the bookmark record.
6911 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6912 with `bookmark-insert-current-bookmark'.
6913 (bookmark-set): Get `defaults' property from the bookmark record
6914 and use it in `read-from-minibuffer'.
6915 (bookmark-insert-current-bookmark): Remove function.
6916
6917 * info.el (Info-bookmark-make-record): Add `defaults' property
6918 with values of canonical Info node name, the current Info file
6919 name and the current Info node name. (Bug#12107)
6920
6921 2012-08-08 Juri Linkov <juri@jurta.org>
6922
6923 * files.el (basic-save-buffer): Use `buffer-name' as the default
6924 of `read-file-name' when buffer is not visiting a file (bug#12128).
6925
6926 2012-08-08 Juri Linkov <juri@jurta.org>
6927
6928 * info.el (Info-isearch-search): Doc fix.
6929 (Info-search): Change search-failed message from "initial node" to
6930 "end of node" (bug#12078).
6931 (Info-isearch-search): Change `isearch-string-state' to
6932 `isearch--state-string'.
6933
6934 2012-08-08 Glenn Morris <rgm@gnu.org>
6935
6936 * language/persian.el: Remove file.
6937 * language/misc-lang.el: Move unique part of persian.el here.
6938 * loadup.el: Remove language/persian.
6939
6940 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6941
6942 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6943
6944 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6945
6946 * progmodes/python.el: Fix defsubst warning.
6947 (python-syntax-context) Rename from python-info-ppss-context.
6948 (python-syntax-context-type): Rename from
6949 python-info-ppss-context-type.
6950 (python-syntax-comment-or-string-p): Rename from
6951 python-info-ppss-comment-or-string-p.
6952
6953 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6954
6955 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6956
6957 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6958
6959 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6960 a defcustom that is quoted with backquote.
6961
6962 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6963 Fix handling of interactive spec when the body uses return.
6964 (math-do-arg-check, math-define-function-body): Use backquote forms.
6965 * calc/calc-ext.el (math-defcache): Likewise.
6966 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6967 * allout.el (allout-new-exposure): Likewise.
6968 * calc/calcalg2.el (math-tracing-integral): Likewise.
6969 * info.el (Info-last-menu-item): Likewise.
6970 * emulation/vip.el (vip-loop): Likewise.
6971 * textmodes/artist.el (artist-funcall): Likewise.
6972 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6973 Construct menu-item directly.
6974
6975 * progmodes/autoconf.el (font-lock-syntactic-keywords):
6976 Don't declare.
6977
6978 2012-08-07 Chong Yidong <cyd@gnu.org>
6979
6980 * simple.el (deactivate-mark): Preserve text properties when
6981 saving the primary selection (Bug#8384).
6982
6983 2012-08-07 Kevin Ryde <user42@zip.com.au>
6984
6985 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6986 (woman-parse-numeric-value): On a bad .IP line, issue a warning
6987 and continue processing (Bug#12110).
6988
6989 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6990
6991 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6992 syntax-propertize-function (bug#10095).
6993
6994 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6995
6996 * help-fns.el (help-fns--key-bindings, help-fns--signature)
6997 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6998 describe-function-1.
6999 (describe-function-1): Use them. Move compiler macro after sig.
7000 (help-fns--compiler-macro): Use function-get. Assume we're already in
7001 standard-output. Adjust layout to new call order.
7002
7003 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7004 re-binding a symbol that has a symbol-macro (bug#12119).
7005
7006 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7007
7008 * language/persian.el: New file. (Bug#11812)
7009 * loadup.el: Add language/persian.el.
7010
7011 2012-08-06 Chong Yidong <cyd@gnu.org>
7012
7013 * window.el (window--maybe-raise-frame): New function.
7014 (window--display-buffer): Split off from here.
7015 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7016 (display-buffer-pop-up-window, display-buffer-use-some-window):
7017 Obey an inhibit-switch-frame action alist entry.
7018 (display-buffer): Update doc.
7019
7020 * replace.el (occur-after-change-function): Avoid losing focus by
7021 using the inhibit-switch-frame display parameter (Bug#12139).
7022
7023 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7024
7025 Make internal shell process buffer names start with space.
7026 * progmodes/python.el (python-shell-make-comint): Add optional
7027 argument INTERNAL.
7028 (run-python-internal): Use it.
7029 (python-shell-internal-get-or-create-process): Check for new
7030 internal buffer names.
7031
7032 2012-08-06 Glenn Morris <rgm@gnu.org>
7033
7034 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7035 Do less getting and setting of environment variables.
7036
7037 2012-08-05 Chong Yidong <cyd@gnu.org>
7038
7039 * proced.el (proced): Add substitution string to docstring to
7040 trigger autoloading of the proced library on C-h f (Bug#1768).
7041
7042 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7043 Don't show defvars which have no second argument (Bug#8638).
7044
7045 * imenu.el (imenu-generic-expression): Move documentation here
7046 from imenu--generic-function.
7047 (imenu--generic-function): Refer to imenu-generic-expression.
7048
7049 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7050
7051 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7052 indentation declaration.
7053 (viper-loop): Add indentation declaration (Bug#7025).
7054
7055 2012-08-05 Chong Yidong <cyd@gnu.org>
7056
7057 * help-fns.el (describe-variable): Add hyperlink for
7058 directory-local variables files. Improve buffer-local and
7059 permanent-local reporting; suggested by MON KEY (Bug#6644).
7060
7061 * help-mode.el (help-dir-local-var-def): New button type.
7062
7063 * files.el (kill-buffer-hook): Provide a defvar.
7064
7065 2012-08-05 Glenn Morris <rgm@gnu.org>
7066
7067 * eshell/esh-ext.el (eshell/addpath):
7068 Also update eshell-path-env. (Bug#12013)
7069
7070 2012-08-05 Chong Yidong <cyd@gnu.org>
7071
7072 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7073
7074 * fringe.el (fringe-styles): Add docstring.
7075 (fringe--check-mode): New function.
7076 (set-fringe-mode, set-fringe-style): Use it.
7077 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7078
7079 * files.el (set-auto-mode): Fix invalid setq call.
7080
7081 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7082
7083 * isearch.el: Misc simplification; use defstruct.
7084 (isearch-mode-map): Dense maps now work like sparse ones.
7085 (isearch--state): New defstruct.
7086 (isearch-string-state, isearch-message-state, isearch-point-state)
7087 (isearch-success-state, isearch-forward-state)
7088 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7089 (isearch-wrapped-state, isearch-barrier-state)
7090 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7091 replaced by defstruct's accessors.
7092 (isearch--set-state): Rename from isearch-top-state and change
7093 calling convention.
7094 (isearch-push-state): Use new isearch--get-state.
7095 (isearch-toggle-word): Disable regexp when enabling word.
7096 (isearch-message-prefix): Remove unused arg _c-q-hack.
7097 (isearch-message-suffix): Remove unused arg _ellipsis.
7098
7099 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7100
7101 * simple.el (list-processes--refresh): For a server use :host or
7102 :local as the address.
7103 (list-processes): Doc fix.
7104
7105 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7106
7107 * lisp/mpc.el: Support password in host argument.
7108 (mpc--proc-connect): Parse and use new password element.
7109 Set mpc-proc variable instead of returning process.
7110 (mpc-proc): Adjust accordingly.
7111
7112 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7113
7114 * whitespace.el (whitespace-display-mappings): Use Unicode
7115 codepoints, instead of emacs-mule codepoints. See
7116 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7117 for the details.
7118
7119 * files.el (file-truename): Don't skip symlink-chasing part on
7120 windows-nt. Incorporate the resolution of 8+3 short aliases on
7121 Windows into the loop that recursively chases symlinks.
7122 Compare directory and its parent case-insensitively on MS-Windows and
7123 MS-DOS.
7124
7125 2012-08-03 Chong Yidong <cyd@gnu.org>
7126
7127 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7128
7129 * sort.el (sort-regexp-fields): Doc fix.
7130
7131 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7132
7133 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7134 labels regex position point at the expected place.
7135
7136 2012-08-03 MON KEY <monkey@sandpframing.com>
7137
7138 * net/imap.el (imap-interactive-login, imap-authenticate)
7139 (imap-mailbox-lsub, imap-mailbox-list)
7140 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7141 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7142 (imap-parse-response): Doc fix.
7143
7144 2012-08-03 João Távora <joaotavora@gmail.com>
7145
7146 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7147 if sexp scanning does not move point (Bug#5734).
7148
7149 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7150
7151 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7152 Add listings, minted, and ctable packages.
7153 (reftex-label-alist-builtin): Move listings, minted, and ctable
7154 entries before LaTeX.
7155 (reftex-label-alist): Docfix.
7156
7157 2012-08-02 Bastien Guerry <bzg@gnu.org>
7158
7159 * replace.el (occur): Fix docstring (bug#12122).
7160
7161 2012-08-02 Glenn Morris <rgm@gnu.org>
7162
7163 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7164
7165 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7166
7167 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7168 * international/mule-cmds.el: Create
7169 inactivate-current-input-method-function as an obsolete alias for
7170 deactivate-current-input-method-function. See Katsumi Yamaoka in
7171 <http://bugs.gnu.org/10150#46>.
7172
7173 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7174
7175 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7176 of nested `if's.
7177
7178 2012-08-01 Glenn Morris <rgm@gnu.org>
7179
7180 * progmodes/autoconf.el (autoconf-definition-regexp):
7181 Add AH_TEMPLATE, adjust submatch numbering.
7182 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7183 (autoconf-current-defun-function): Update for above change.
7184 (autoconf-current-defun-function): First skip to end of current word.
7185
7186 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7187
7188 * calendar/cal-html.el (cal-html-insert-agenda-days):
7189 Fix typo. (Bug#12018)
7190
7191 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7192
7193 Shell processes: enhancements to startup and CEDET compatibility.
7194 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7195 (python-shell-make-comint): accept-process-output at startup.
7196 (run-python-internal): Set inferior-python-mode-hook to nil.
7197 (python-shell-internal-get-or-create-process): call sit-for.
7198 (python-preoutput-result): Add obsolete alias.
7199 (python-shell-internal-send-string): Use it.
7200 (python-shell-send-setup-code): Remove call to
7201 accept-process-output.
7202
7203 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7204
7205 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7206 (Bug#12108)
7207
7208 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7209
7210 * calc-mode.el (calc-basic-simplification-mode): Rename from
7211 `calc-limited-simplification-mode'.
7212 (calc-alg-simplification-mode): New function.
7213 (calc-set-simplify-mode): Adjust message.
7214
7215 * calc.el (calc-set-mode-line): Adjust mode line display for
7216 basic simplification mode.
7217
7218 * calc-help.el (calc-m-prefix-help): Update help message.
7219
7220 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7221 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7222
7223 2012-07-31 Bastien Guerry <bzg@gnu.org>
7224
7225 * man.el (man): Fix comment. (bug#12101)
7226
7227 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7228
7229 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7230 Don't return a non-nil value when no suitable buffer was found.
7231
7232 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7233
7234 * progmodes/python.el (run-python-internal): Disable font lock for
7235 internal shells.
7236
7237 2012-07-30 Stefan Merten <smerten@oekonux.de>
7238
7239 * textmodes/rst.el: Silence `checkdoc-ispell'.
7240 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7241 (rst-official-version, rst-official-cvs-rev)
7242 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7243 (rst-mode-map): New key binding.
7244
7245 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7246
7247 Update .PHONY listings in makefiles.
7248 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7249 autoloads, update-subdirs, updates, bzr-update, update-authors,
7250 compile-onefile, compile-calc, backup-compiled-files,
7251 compile-after-backup, compile-one-process, mh-autoloads,
7252 bootstrap-clean, distclean, maintainer-clean.
7253
7254 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7255
7256 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7257 (calc-set-mode-line): Don't display "AlgSimp ".
7258
7259 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7260 (calc-lim-simplify-mode): New function.
7261 (calc-set-simplify-mode): Default to 'alg.
7262 (calc-default-simplify-mode): Make algebraic simplifications
7263 the default.
7264
7265 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7266 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7267
7268 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7269 indicate new simplification modes.
7270
7271 * calc/README: Mention new default simplification mode.
7272
7273 * calc/calc.el (math-normalize-error): New variable.
7274 (math-normalize): Set `math-normalize-error' to t
7275 when there's an error.
7276
7277 * calc/calc-alg.el (math-simplify): Don't simplify when
7278 `math-normalize' returns an error.
7279
7280 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7281
7282 * international/mule-cmds.el (set-locale-environment): Revert last
7283 change, since display-graphic-p returns nil when this function is
7284 called during startup. Instead...
7285
7286 * term/w32console.el (terminal-init-w32console): ...setup the
7287 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7288
7289 2012-07-29 Juri Linkov <juri@jurta.org>
7290
7291 * simple.el (goto-line): Don't display default line number in the
7292 prompt because it should be displayed by `read-number' (bug#9952).
7293 Add the current line number to the defaults of `goto-line' to
7294 allow its easier modification by users with `M-n' (bug#9201).
7295
7296 * subr.el (read-number): Support multiple default values like in
7297 other minibuffer reading functions. Replace `read' with
7298 `string-to-number' for consistency with `number-to-string'.
7299
7300 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7301
7302 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7303 * emulation/viper-init.el (viper-deactivate-input-method-action):
7304 Rename from viper-inactivate-input-method-action.
7305 (viper-deactivate-input-method):
7306 Rename from viper-inactivate-input-method.
7307 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7308 * international/mule-cmds.el (deactivate-input-method):
7309 Rename from inactivate-input-method.
7310 Also run input-method-deactivate-hook.
7311 (deactivate-current-input-method-function):
7312 Rename from inactivate-current-input-method-function.
7313 (input-method-deactivate-hook): New hook.
7314 (input-method-inactivate-hook): Mark obsolete.
7315 (inactivate-input-method): Mark obsolete.
7316
7317 * international/quail.el (quail-activate):
7318 Also run quail-deactivate-hook.
7319 (quail-deactivate): Rename from quail-inactivate.
7320 * international/robin.el (robin-activate):
7321 Also run robin-deactivate-hook.
7322 (robin-deactivate): Rename from robin-inactivate.
7323
7324 2012-07-29 Chong Yidong <cyd@gnu.org>
7325
7326 * simple.el (indicate-copied-region): New function.
7327 (kill-ring-save): Split off from here.
7328
7329 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7330 (kill-rectangle): Set deactivate-mark to t on read-only error.
7331
7332 * register.el (copy-to-register, copy-rectangle-to-register):
7333 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7334 (append-to-register, prepend-to-register): Call indicate-copied-region.
7335
7336 2012-07-29 Juri Linkov <juri@jurta.org>
7337
7338 * simple.el (async-shell-command-buffer): New defcustom.
7339 (shell-command): Use it. (Bug#4719)
7340
7341 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7342
7343 * international/mule-cmds.el (set-locale-environment): In a
7344 console session on MS-Windows, set up keyboard and terminal
7345 encoding from the OEM codepage, not the ANSI codepage.
7346 (Bug#12055)
7347
7348 2012-07-28 Chong Yidong <cyd@gnu.org>
7349
7350 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7351 gdb-get-location.
7352
7353 2012-07-28 Leo Liu <sdl.web@gmail.com>
7354
7355 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7356 the alist (bug#12029).
7357
7358 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7359
7360 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7361 (compile-always, compile-first)
7362 ($(lisp)/calendar/cal-loaddefs.el)
7363 ($(lisp)/calendar/diary-loaddefs.el)
7364 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7365 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7366 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7367 instead of on update-subdirs.
7368 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7369
7370 2012-07-28 Chong Yidong <cyd@gnu.org>
7371
7372 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7373 directory if vc-deduce-backend returns nil (Bug#7350).
7374
7375 * simple.el (delete-trailing-lines): New option.
7376 (delete-trailing-whitespace): Obey it (Bug#11879).
7377
7378 2012-07-28 David Engster <deng@randomsample.de>
7379
7380 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7381 Explanation of new 'symbol-qnames feature in doc-strings.
7382 (xml-maybe-do-ns): Return expanded names as plain symbols if
7383 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7384 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7385
7386 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7387
7388 Consistent completion in inferior python with emacs -nw.
7389 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7390 binding in inferior-python-mode-map with "\t".
7391 (python-shell-completion-complete-at-point)
7392 (python-completion-complete-at-point): Remove interactive spec.
7393
7394 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7395
7396 * calc/calccomp.el (math-compose-expr): Undo previous change.
7397
7398 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7399
7400 * progmodes/python.el (python-mode-map): Add keybinding for
7401 run-python.
7402 (python-shell-make-comint): Fix pop-to-buffer call.
7403 (run-python): Autoload. New arg SHOW.
7404 (python-shell-get-or-create-process): Do not pop python process
7405 buffer.
7406
7407 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7408
7409 * notifications.el (notifications-on-action-signal)
7410 (notifications-on-closed-signal): Use also the bus address for the map.
7411 (notifications-notify, notifications-close-notification)
7412 (notifications-get-capabilities): Add optional argument BUS.
7413
7414 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7415
7416 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7417 Add support for the lstlisting and minted environments, and for the
7418 ctable macro.
7419 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7420 labels written in keyvals syntax.
7421
7422 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7423
7424 * calc/calccomp.el (math-compose-expr): Use parentheses when
7425 there is a product in the denominator of a fraction.
7426
7427 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7428
7429 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7430 ($(lisp)/calendar/diary-loaddefs.el)
7431 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7432 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7433 Fixes failures in parallel bootstrap because subdirs.el is being
7434 rewritten while the autoload files are built at the same time,
7435 which needs to load subdirs.el.
7436
7437 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7438
7439 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7440 (mouse-drag-line): Don't exit tracking when a switch-frame or
7441 switch-window event occurs (Bug#12006).
7442
7443 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7444
7445 * mouse.el (popup-menu): Fix last change.
7446
7447 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7448
7449 Autoload from Lisp with more care. Follow aliases when looking for
7450 function properties.
7451 * subr.el (autoloadp): New function.
7452 (symbol-file): Use it.
7453 (function-get): New function.
7454 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7455 autoload-do-load.
7456 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7457 (lisp-indent-function):
7458 * emacs-lisp/gv.el (gv-get):
7459 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7460 * emacs-lisp/byte-opt.el (byte-optimize-form):
7461 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7462 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7463 Use function-get.
7464 * emacs-lisp/cl.el: Don't propagate function properties any more.
7465
7466 * speedbar.el (speedbar-add-localized-speedbar-support):
7467 * emacs-lisp/disass.el (disassemble-internal):
7468 * desktop.el (desktop-load-file):
7469 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7470 (describe-function-1):
7471 * emacs-lisp/find-func.el (find-function-noselect):
7472 * emacs-lisp/elp.el (elp-instrument-function):
7473 * emacs-lisp/advice.el (ad-has-proper-definition):
7474 * apropos.el (apropos-safe-documentation, apropos-macrop):
7475 * emacs-lisp/debug.el (debug-on-entry):
7476 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7477 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7478 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7479
7480 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7481
7482 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7483 function, not an obsolete variable (Bug#12046).
7484
7485 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7486
7487 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7488
7489 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7490
7491 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7492 window only if it is still live (Bug#12034).
7493
7494 2012-07-25 Martin Rudalics <rudalics@gmx.at>
7495
7496 * subr.el (redirect-frame-focus): Add advertised calling
7497 convention (Bug#12030).
7498
7499 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7500
7501 Prefer typical American spelling for "acknowledgment".
7502 * vc/add-log.el (change-log-acknowledgment): Rename from
7503 change-log-acknowledgement, with an alias for the old name.
7504
7505 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7506
7507 * calc-alg.el (math-simplify-divide): Don't cross multiply
7508 in an equation when the lhs is a variable.
7509
7510 2012-07-24 Julien Danjou <julien@danjou.info>
7511
7512 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7513 Remove, unused.
7514
7515 2012-07-23 Eli Zaretskii <eliz@gnu.org>
7516
7517 * startup.el (command-line): Don't display an empty user name in
7518 the error message about non-existent home directory, when
7519 init-file-user was set to an empty string. See
7520 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7521 for the details and context.
7522
7523 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7524
7525 * ses.el (ses-cell-formula-aset): New macro.
7526 (ses-cell-references-aset): New macro.
7527 (ses-cell-p): New function.
7528 (ses-rename-cell): Do no longer rely on complex operations like
7529 ses-cell-set-formula or ses-set-cell to change the cell and handle
7530 the undo at the same time, but rather use lower level new macros
7531 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7532 the undo directly. Refresh the mode line.
7533
7534 2012-07-21 Leo Liu <sdl.web@gmail.com>
7535
7536 * progmodes/cc-cmds.el (c-defun-name):
7537 Use match-string-no-properties instead for consistency.
7538
7539 2012-07-20 Leo Liu <sdl.web@gmail.com>
7540
7541 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7542 (Bug#7879)
7543
7544 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7545
7546 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7547
7548 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7549 * progmodes/bug-reference.el, misearch.el: Provide themselves
7550 (bug#11915).
7551
7552 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7553 of narrowed buffer (bug#11966).
7554
7555 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7556
7557 * ses.el (ses-rename-cell): Set new name also in reference list of
7558 cells of which the renamed cell depends.
7559
7560 2012-07-20 Masatake YAMATO <yamato@redhat.com>
7561
7562 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7563 to check whether menu-bar is shown or not. If not shown,
7564 show the menu-bar as a popup menu instead of using tmm.
7565 * mouse.el (popup-menu): Accept `point' as `position' argument.
7566
7567 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7568
7569 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7570 up inside string symbol literal (bug#11923).
7571
7572 2012-07-20 Eli Zaretskii <eliz@gnu.org>
7573
7574 * startup.el (fancy-startup-text): Read the whole tutorial, not
7575 just its first 256 bytes. Prevents gibberish in display of the
7576 tutorial title.
7577
7578 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7579
7580 Drop idle buffer compaction due to an absence of the
7581 proved efficiency.
7582 * compact.el: Remove.
7583
7584 2012-07-19 Sam Steingold <sds@gnu.org>
7585
7586 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7587 vc-bzr-pull & vc-bzr-merge-branch.
7588 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7589 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7590 for consistency with compilation-error-regexp-alist.
7591 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7592 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7593 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7594 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7595
7596 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7597
7598 * emacs-lisp/chart.el: Use lexical-binding.
7599 (chart-emacs-storage): Don't hardcode the list of entries.
7600
7601 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7602
7603 Next round of tweaks caused by Fgarbage_collect changes.
7604 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7605
7606 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7607
7608 Compact buffers when idle.
7609 * compact.el: New file.
7610
7611 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7612
7613 * subr.el (eventp): Presume that if it looks vaguely like an event,
7614 it's an event (bug#10190).
7615
7616 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7617
7618 Enhancements to ppss related code (thanks Stefan).
7619 * progmodes/python.el (python-indent-context)
7620 (python-indent-calculate-indentation, python-indent-dedent-line)
7621 (python-indent-electric-colon, python-nav-forward-block)
7622 (python-mode-abbrev-table)
7623 (python-info-assignment-continuation-line-p): Simplify checks
7624 for ppss context.
7625 (python-info-continuation-line-p): Cleanup.
7626 (python-info-ppss-context): Do not catch 'quote.
7627 (python-info-ppss-context-type)
7628 (python-info-ppss-comment-or-string-p): Simplify.
7629
7630 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7631
7632 * progmodes/python.el: Enhancements to eldoc support.
7633 (python-info-current-symbol): New function.
7634 (python-eldoc-at-point): Use python-info-current-symbol.
7635 (python-info-current-defun): Fix cornercase on first defun scan.
7636 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7637 and signal error when no inferior python process is available.
7638
7639 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7640
7641 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7642 assume it's always t.
7643 (vc-git-registered): Remove caching, the function is only called
7644 once.
7645 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7646
7647 2012-07-18 Chong Yidong <cyd@gnu.org>
7648
7649 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7650
7651 * simple.el (count-words): Report on narrowing (Bug#9959).
7652
7653 * bindings.el: Bind M-= to count-words.
7654
7655 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7656
7657 2012-07-18 Masatake YAMATO <yamato@redhat.com>
7658
7659 * progmodes/sh-script.el (sh-imenu-generic-expression):
7660 Capture a function with `function' keyword and without parentheses
7661 like "function FOO" (bug#11856).
7662
7663 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7664
7665 * window.el (split-window-sensibly): Make WINDOW argument
7666 optional.
7667
7668 2012-07-18 Chong Yidong <cyd@gnu.org>
7669
7670 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7671
7672 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7673 and make C-x 8 RET exit isearch (Bug#11439).
7674
7675 * international/iso-transl.el: Move isearch-mode-map key
7676 definitions to isearch.el.
7677
7678 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7679
7680 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7681 (eieio-defclass): Use gv-define-setter when possible.
7682
7683 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7684
7685 Reflect recent changes in Fgarbage_collect.
7686 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7687 reflect new format of data returned by Fgarbage_collect.
7688
7689 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7690
7691 New utility functions + python-info-ppss-context fix (Bug#11910).
7692 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7693 (python-info-ppss-comment-or-string-p): New functions.
7694 (python-info-ppss-context): Small fix for string check.
7695
7696 2012-07-17 Juri Linkov <juri@jurta.org>
7697
7698 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7699 (dired-do-async-shell-command): Don't add `*' at the end of the
7700 command (Bug#11815).
7701 (dired-do-shell-command): Doc fix.
7702 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7703 Join the individual commands using either "&" or ";" as the
7704 separator depending on the values of these trailing characters.
7705 At the end re-add the trailing "&". (Bug#10598)
7706
7707 * simple.el (async-shell-command): Sync the interactive spec with
7708 `shell-command'. Doc fix.
7709 (shell-command): Doc fix.
7710
7711 2012-07-17 Juri Linkov <juri@jurta.org>
7712
7713 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7714
7715 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7716
7717 Final renames and doc fixes for movement commands (bug#11899).
7718 * progmodes/python.el (python-nav-beginning-of-statement):
7719 Rename from python-nav-statement-start.
7720 (python-nav-end-of-statement): Rename from
7721 python-nav-statement-end.
7722 (python-nav-beginning-of-block): Rename from
7723 python-nav-block-start.
7724 (python-nav-end-of-block): Rename from python-nav-block-end.
7725
7726 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7727
7728 * progmodes/python.el (python-shell-send-string-no-output):
7729 Allow accept-process-output to quit, keeping shell process ready for
7730 future interactions (Bug#11868).
7731
7732 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7733
7734 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7735
7736 * emacs-lisp/elint.el (elint-find-args-in-code):
7737 Use help-function-arglist, so as to handle lexical byte-code.
7738
7739 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7740 change (bug#11826).
7741
7742 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7743
7744 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7745 Avoid spuriously marking the buffer as modified because of c-is-sws.
7746
7747 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7748 as not-a-comment (bug#11946).
7749
7750 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7751 for uninterned vars.
7752
7753 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7754 Use read-event since we don't really want to read chars but bytes.
7755
7756 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7757 $$..$$ but also $..$ using regexps (bug#11953).
7758 Use tex-verbatim for \url and \path.
7759 (tex-font-lock-keywords): Define as defconst like the others.
7760 (tex-common-initialization): Don't use font-lock-syntax-table any more.
7761
7762 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
7763
7764 * international/mule-cmds.el (ucs-insert): Make it an obsolete
7765 alias for insert-char.
7766
7767 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7768
7769 * progmodes/python.el: Simplified imenu implementation.
7770 (python-nav-jump-to-defun): Remove command.
7771 (python-mode-map): Use `imenu' instead.
7772 (python-nav-list-defun-positions-cache)
7773 (python-imenu-include-defun-type, python-imenu-make-tree)
7774 (python-imenu-subtree-root-label, python-imenu-index-alist):
7775 Remove vars.
7776 (python-nav-list-defun-positions, python-nav-read-defun)
7777 (python-imenu-tree-assoc, python-imenu-make-element-tree)
7778 (python-imenu-make-tree, python-imenu-create-index):
7779 Remove functions.
7780 (python-mode): Update to interact with imenu by setting
7781 `imenu-extract-index-name-function' only.
7782
7783 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7784
7785 * progmodes/python.el: Enhancements to navigation commands.
7786 (python-nav-backward-sentence)
7787 (python-nav-forward-sentence): Remove.
7788 (python-nav-backward-statement, python-nav-forward-statement)
7789 (python-nav-statement-start, python-nav-statement-end)
7790 (python-nav-backward-block, python-nav-forward-block)
7791 (python-nav-block-start, python-nav-block-end)
7792 (python-nav-forward-sexp-function)
7793 (python-info-current-line-comment-p)
7794 (python-info-current-line-empty-p): New functions.
7795 (python-indent-context): Use `python-nav-statement-start'.
7796
7797 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
7798
7799 * eshell/em-ls.el (eshell/ls): Use `apply'.
7800
7801 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7802 multi-hops, instead of Tramp internals.
7803
7804 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7805
7806 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7807 when F1 and F2 are located on different hosts.
7808
7809 2012-07-14 Chong Yidong <cyd@gnu.org>
7810
7811 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7812 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7813 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7814 (xterm-mouse--read-event-sequence-1000)
7815 (xterm-mouse--read-event-sequence-1006): New functions. For old
7816 mouse protocol, handle M-mouse-X events correctly.
7817 (xterm-mouse-event): New arg specifying mouse protocol.
7818 (turn-on-xterm-mouse-tracking-on-terminal)
7819 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
7820 sequence to toggle extended coordinates on newer XTerms.
7821 This appears to be harmless on terminals which do not support this.
7822
7823 2012-07-14 Leo Liu <sdl.web@gmail.com>
7824
7825 Add fringe bitmap indicators for flymake. (Bug#11253)
7826 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7827 (flymake-make-overlay): New arg BITMAP.
7828 (flymake-error-bitmap, flymake-warning-bitmap)
7829 (flymake-fringe-indicator-position): New user variables.
7830
7831 * fringe.el: New bitmap exclamation-mark.
7832
7833 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7834
7835 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7836 also (Bug#7879).
7837
7838 2012-07-14 Chong Yidong <cyd@gnu.org>
7839
7840 * electric.el (electric-pair-post-self-insert-function): Fix pair
7841 insertion in empty-region case (Bug#11520).
7842
7843 2012-07-14 Chong Yidong <cyd@gnu.org>
7844
7845 * bindings.el: Consolidate ctl-x-r-map bindings.
7846 Bind copy-rectangle-as-kill to C-x r w.
7847
7848 * rect.el, register.el: Move bindings to bindings.el.
7849
7850 2012-07-14 Reuben Thomas <rrt@sc3d.org>
7851
7852 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7853
7854 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
7855
7856 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
7857
7858 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
7859
7860 * bindings.el (top): Use `mapc' instead of `mapcar'.
7861
7862 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7863
7864 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
7865
7866 * progmodes/sql.el (sql-comint): Suppress the check for program on
7867 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
7868 (Bug#11908)
7869
7870 2012-07-13 Chong Yidong <cyd@gnu.org>
7871
7872 * bindings.el: Assign a non-nil permanent-local property to
7873 per-buffer variables which lack a default value (Bug#11930).
7874
7875 * help-fns.el (describe-variable): In the "automatically becomes
7876 local" notice, take note of permanent-local variables.
7877
7878 2012-07-13 Chong Yidong <cyd@gnu.org>
7879
7880 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
7881 to allow printing the message when called from Lisp.
7882
7883 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7884 Remove toggle-read-only.
7885
7886 * bs.el (bs-toggle-readonly):
7887 * buff-menu.el (Buffer-menu-toggle-read-only):
7888 Remove with-no-warnings around toggle-read-only.
7889
7890 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7891 Remove with-no-warnings around toggle-read-only.
7892 (ffap-read-only, ffap-read-only-other-window)
7893 (ffap-read-only-other-frame): Callers changed.
7894
7895 * help-mode.el: Don't require view package.
7896 (help-mode-finish): Set buffer-read-only instead of calling
7897 toggle-read-only.
7898
7899 * bindings.el (mode-line-toggle-read-only):
7900 * dired.el (dired-toggle-read-only):
7901 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7902 with non-nil second arg.
7903
7904 * emacs-lisp/eieio-custom.el (eieio-customize-object):
7905 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7906 directly.
7907
7908 2012-07-12 Eli Zaretskii <eliz@gnu.org>
7909
7910 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7911 not incf.
7912
7913 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
7914
7915 More CL cleanups and reduction of use of cl.el.
7916 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7917 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7918 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7919 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7920 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7921 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7922 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7923 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7924 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7925 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7926 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7927 * eshell/em-cmpl.el, eshell/em-banner.el:
7928 * calendar/parse-time.el: Use cl-lib.
7929 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7930 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7931 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7932 * term/ns-win.el, term.el, shell.el, ps-samp.el:
7933 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7934 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7935 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7936 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7937 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7938 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7939 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7940 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7941 `lambda' rather than with `quote'.
7942 (eshell-do-opt): Adjust accordingly.
7943 (eshell-process-option): Simplify.
7944 * eshell/esh-var.el:
7945 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7946 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7947 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7948 to `pcase--dontcare'.
7949 * emacs-lisp/cl.el (labels): Mark obsolete.
7950 (cl--letf, letf): Move to cl-lib.
7951 (cl--letf*, letf*): Remove.
7952 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7953 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7954 (cl-progv): Rewrite.
7955 (cl--letf, cl-letf): Move from cl.el.
7956 (cl-letf*): New macro.
7957 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7958
7959 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
7960
7961 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7962
7963 2012-07-11 Chong Yidong <cyd@gnu.org>
7964
7965 * vc/log-edit.el (log-edit-vc-backend): New variable.
7966 (log-edit): Doc fix.
7967
7968 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7969 argument of log-edit to set up all local variables.
7970 (vc-start-logentry): New optional arg specifying VC backend.
7971
7972 * vc/vc.el (vc-checkin): Use it.
7973 (vc-deduce-fileset): Handle Log Edit buffers.
7974 (vc-diff): Make first argument optional too.
7975
7976 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7977
7978 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
7979
7980 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7981 command, just in case. The function is not needed anymore.
7982 (eshell-external-command): Do not call `eshell-remote-command'.
7983
7984 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
7985
7986 Reduce use of (require 'cl).
7987 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7988 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7989 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7990 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7991 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7992 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7993 * battery.el, avoid.el, abbrev.el: Use cl-lib.
7994 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
7995 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
7996 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
7997 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7998 * calculator.el, autorevert.el, apropos.el: Don't require CL.
7999 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8000 (byte-compile-unfold-bcf, byte-compile-check-variable):
8001 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8002 (byte-compile-nilconstp):
8003 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8004 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8005
8006 * emacs-lisp/gv.el (cond): Make it a valid place.
8007 (if): Simplify slightly.
8008
8009 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8010 (pcase--self-quoting-p): New function.
8011 (pcase--u1): Use it.
8012
8013 2012-07-10 Glenn Morris <rgm@gnu.org>
8014
8015 * emacs-lisp/authors.el (authors-fixed-entries):
8016 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8017
8018 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8019
8020 Rename configure.in to configure.ac (Bug#11603).
8021 * emacs-lisp/authors.el (authors-canonical-file-name):
8022 * progmodes/autoconf.el (autoconf-mode):
8023 Prefer configure.ac to configure.in.
8024
8025 2012-07-08 Chong Yidong <cyd@gnu.org>
8026
8027 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8028 Implement the mouse-1-click-follows-link handling properly.
8029
8030 * info.el (Info-link-keymap): Use follow-link mechanism for
8031 header-line links (Bug#374).
8032
8033 * simple.el (deactivate-mark): Do not set the primary selection
8034 if another program has acquired it (Bug#11772).
8035
8036 2012-07-07 Kevin Ryde <user42@zip.com.au>
8037
8038 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8039 (woman-decode-region): Replace escaped-escapes without destroying
8040 bold or underline (Bug#11552).
8041 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8042
8043 2012-07-07 Chong Yidong <cyd@gnu.org>
8044
8045 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8046 (interprogram-cut-function, interprogram-paste-function):
8047 Mention that we typically mean the clipboard.
8048
8049 2012-07-06 Glenn Morris <rgm@gnu.org>
8050
8051 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8052
8053 * files.el (toggle-read-only): Restrict message to interactive use.
8054
8055 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8056
8057 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8058
8059 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8060
8061 2012-07-06 Glenn Morris <rgm@gnu.org>
8062
8063 * Makefile.in (compile-one-process): Rename from "recompile".
8064
8065 * Makefile.in (bzr-update): "compile" is the same as "recompile
8066 autoloads", but parallelizable, so use that instead.
8067
8068 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8069
8070 * window.el (quit-window): Always restore window height when
8071 it's saved in quit-restore parameter (Bug#11810).
8072
8073 2012-07-06 Glenn Morris <rgm@gnu.org>
8074
8075 * simple.el (kill-whole-line): Doc tweak.
8076
8077 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8078
8079 * files.el (file-relative-name): Compare file names
8080 case-insensitively if on MS-Windows or MS-DOS, or if
8081 read-file-name-completion-ignore-case is non-nil. Don't use
8082 case-fold-search for this purpose. (Bug#11827)
8083
8084 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8085
8086 * calendar/cal-dst.el (calendar-current-time-zone):
8087 Return calendar-current-time-zone-cache if non-nil.
8088
8089 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8090 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8091
8092 * calendar/cal-dst.el (calendar-current-time-zone):
8093 Return calendar-current-time-zone-cache if non-nil.
8094
8095 2012-07-06 Glenn Morris <rgm@gnu.org>
8096
8097 * Makefile.in (cvs-update): Remove old alias.
8098
8099 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8100
8101 Sync with Tramp 2.2.6-pre.
8102
8103 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8104 compatible declaration.
8105
8106 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8107 Protect `list-load-path-shadows' call.
8108
8109 * net/tramp-compat.el (top): Require packages, which aren't
8110 autoloaded anymore for XEmacs. Protect call of
8111 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8112 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8113 it hurts at least for SXEmacs.
8114 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8115 standard-value for `temporary-file-directory'.
8116
8117 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8118 Redirect stderr to /dev/null.
8119 (tramp-sh-handle-write-region): uid and gid can be floats.
8120 Reported by Russell Sim <russell.sim@gmail.com>.
8121 (tramp-sh-handle-vc-registered): Hide errors.
8122 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8123 and `start-file-process'.
8124 (tramp-maybe-open-connection): Check also whether `non-essential'
8125 is bound.
8126
8127 2012-07-04 Chong Yidong <cyd@gnu.org>
8128
8129 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8130 (xml-parse-tag): Likewise, and avoid changing entity tables.
8131 (xml-syntax-table): Define from scratch, making sure not to give
8132 x2000 and other Unicode spaces whitespace syntax, since those are
8133 not spaces in XML.
8134 (xml-parse-fragment): Delete unused function.
8135 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8136 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8137 (xml-entity-ref, xml-pe-reference-re)
8138 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8139 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8140 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8141 (xml-entity-value-re): Use syntax references in regexps where
8142 possible; no need to define inside a let-binding.
8143 (xml-parse-dtd): Use xml-pe-reference-re.
8144 (xml-entity-or-char-ref-re): New defconst.
8145 (xml-parse-string, xml-substitute-special): Use it.
8146
8147 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8148
8149 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8150 (find-file--read-only): New function.
8151 (find-file-read-only, find-file-read-only-other-window)
8152 (find-file-read-only-other-frame): Use it.
8153 (insert-file-contents-literally): Don't `fset'.
8154 (get-free-disk-space): Use locate-dominating-file.
8155
8156 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8157 function is already compiled.
8158
8159 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8160
8161 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8162
8163 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8164 files on the same host.
8165
8166 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8167
8168 * help-fns.el (describe-function-1): Only call
8169 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8170
8171 2012-07-03 Chong Yidong <cyd@gnu.org>
8172
8173 * xml.el: Protect parser against XML bombs.
8174 (xml-entity-expansion-limit): New variable.
8175 (xml-parse-string, xml-substitute-special): Use it.
8176 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8177
8178 2012-07-03 Glenn Morris <rgm@gnu.org>
8179
8180 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8181 Allow linking to specific messages in debbugs reports (eg 123#5).
8182
8183 2012-07-02 Chong Yidong <cyd@gnu.org>
8184
8185 * xml.el: Fix entity and character reference expansion, allowing
8186 them to expand into markup as per XML spec.
8187 (xml-default-ns): New variable.
8188 (xml-entity-alist): Use XML spec definitions for lt and amp.
8189 (xml-parse-region): Make first two arguments optional.
8190 Discard text properties.
8191 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8192 All callers changed.
8193 (xml-parse-tag): Call xml-parse-tag-1. For backward
8194 compatibility, this function should not modify buffer contents.
8195 (xml-parse-tag-1): Fix opening-tag regexp.
8196 (xml-parse-string): Rewrite, handling entity and character
8197 references properly.
8198 (xml--entity-replacement-text): Signal an error if a parameter
8199 entity is undefined.
8200
8201 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8202
8203 * comint.el (comint-output-filter): Filter out repeated prompts.
8204
8205 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8206 and file-name-absolute-p.
8207 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8208 internal calls.
8209
8210 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8211
8212 Spelling fixes.
8213 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8214 Rename from byte-compile--refiy-function. All uses changed.
8215
8216 2012-07-01 Chong Yidong <cyd@gnu.org>
8217
8218 * xml.el (xml--parse-buffer): New function. Move most of
8219 xml-parse-region here.
8220 (xml-parse-region): Copy region into a temporary buffer, since
8221 parameter entity substitution requires changing buffer contents.
8222 Use xml--parse-buffer.
8223 (xml-parse-file): Use xml--parse-buffer.
8224 (xml-parse-dtd): Make parameter entity substitution work right.
8225 Use proper regexps for ELEMENT declarations (Bug#7172).
8226
8227 2012-06-30 Glenn Morris <rgm@gnu.org>
8228
8229 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8230
8231 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8232 Remove outdated and unnecessary dbus declarations.
8233
8234 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8235
8236 * emacs-lisp/timer.el (timer-until): Subtract results of
8237 float-time, instead of taking float-time of the result of
8238 time-subtract, since float-time signals an error for negative time
8239 arguments.
8240
8241 2012-06-30 Chong Yidong <cyd@gnu.org>
8242
8243 * xml.el (xml-*-re): Convert defvars into defconsts, and
8244 eval-and-compile them so eval-and-compile works on derivatives.
8245 (xml--entity-replacement-text): Use eval-and-comple.
8246
8247 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8248
8249 * vc/vc-git.el (vc-git-registered): Use cache property
8250 `git-registered'.
8251 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8252 `vc-git-working-revision' in order to benefit from the cache.
8253 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8254
8255 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8256
8257 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8258 removed (likely outside Emacs). (Bug#11757)
8259
8260 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8261
8262 * emacs-lisp/cl-lib.el: Require macroexp.
8263
8264 2012-06-30 Chong Yidong <cyd@gnu.org>
8265
8266 * xml.el: Implement XML parameter entities.
8267 (xml-parameter-entity-alist): New variable.
8268 (xml-parse-region, xml-parse-fragment): Preserve previous values
8269 of xml-entity-alist and xml-parameter-entity-alist, so that
8270 repeated calls on different documents do not change them.
8271 (xml-parse-tag): Fix doctype regexp.
8272 (xml--entity-replacement-text): New function.
8273 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8274 properly requires url retrieval which is unimplemented.
8275 (xml-escape-string): Doc fix.
8276
8277 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8278
8279 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8280
8281 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8282
8283 * fringe.el (fringe-mode): Doc fix.
8284
8285 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8286
8287 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8288 is non-nil.
8289 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8290 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8291
8292 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8293
8294 * calendar/cal-dst.el (calendar-current-time-zone):
8295 Return calendar-current-time-zone-cache if non-nil.
8296
8297 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8298
8299 * progmodes/which-func.el (which-func-format):
8300 Add mouse-face. (Bug#11698)
8301
8302 2012-06-29 Leo Liu <sdl.web@gmail.com>
8303
8304 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8305
8306 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8307
8308 * minibuffer.el (minibuffer-confirm-exit-commands):
8309 Add completion-at-point (bug#11725).
8310
8311 2012-06-29 Glenn Morris <rgm@gnu.org>
8312
8313 * progmodes/f90.el (f90-font-lock-keywords-2):
8314 Add some preprocessor elements. (Bug#10499)
8315
8316 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8319 Use syntax-propertize (bug#11739).
8320
8321 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8322
8323 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8324
8325 2012-06-28 Julien Danjou <julien@danjou.info>
8326
8327 * term.el (term-handle-colors-array): Use a set of new faces to
8328 color the terminal. Also uses :inverse-video property.
8329 (term-default-fg-color): Set to nil by default, deprecate in favor
8330 of `term-face'.
8331 (term-default-bg-color): Set to nil by default, deprecate in favor
8332 of `term-face'.
8333 (term-current-face): Use `term-face' by default.
8334 (term-bold-attribute): Variable deleted.
8335
8336 2012-06-28 Glenn Morris <rgm@gnu.org>
8337
8338 * simple.el (completion-list-mode-finish):
8339 Don't use toggle-read-only. (Since completion-list-mode has
8340 a special mode-class, it wasn't doing anything extra anyway.)
8341
8342 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8343
8344 Make inlining of other-mode interpreted functions work (bug#11799).
8345 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8346 (byte-compile): Use it to fix compilation of lexical-binding closures.
8347 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8348 function, if needed.
8349
8350 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8351
8352 * help-mode.el (help-make-xrefs): Don't just withstand
8353 cyclic-variable-indirection but any error in documentation-property.
8354
8355 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8356 memory use.
8357 * bindings.el (bindings--define-key): New function.
8358 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8359 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8360 * bindings.el: Use it to purecopy define-key bindings.
8361
8362 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8363
8364 * emacs-lisp/cl.el (flet): Mark obsolete.
8365 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8366 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8367 * progmodes/js.el (js-c-fill-paragraph):
8368 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8369 (ebrowse-switch-member-buffer-to-derived-class):
8370 * play/5x5.el (5x5-solver): Use cl-flet.
8371
8372 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8373 (cl--symbol-function): New macro.
8374 (cl--letf, cl--letf*): Use it.
8375
8376 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8377 Strip "toggle-" if any.
8378
8379 2012-06-27 Glenn Morris <rgm@gnu.org>
8380
8381 * info.el (Info-default-directory-list): Move here from paths.el.
8382 * paths.el: Remove file, which is now empty.
8383 * loadup.el: No longer load "paths".
8384
8385 * custom.el (custom-initialize-delay): Doc fix.
8386
8387 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8388 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8389 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8390 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8391 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8392 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8393 * eshell/eshell.el (eshell-defgroup): Remove alias.
8394
8395 2012-06-27 Chong Yidong <cyd@gnu.org>
8396
8397 * help.el (help-enable-auto-load): New variable.
8398
8399 * help-fns.el (help-fns--autoloaded-p): New function.
8400 (describe-function-1): Refer to a function as "autoloaded" if it
8401 was autoloaded at any time in the past. Perform autoloading if
8402 help-enable-auto-load is non-nil.
8403
8404 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8405
8406 * makefile.w32-in (compile, compile-always): Depend on
8407 update-subdirs, not on subdirs.el. Otherwise, several different
8408 sub-targets of 'bootstrap' running in parallel could
8409 simultaneously write to subdirs.el, producing a garbled file.
8410
8411 2012-06-26 Sam Steingold <sds@gnu.org>
8412
8413 * files.el (file-name-base): New convenience function.
8414 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8415 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8416 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8417 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8418 * textmodes/ispell.el, textmodes/reftex-ref.el:
8419 * textmodes/tex-mode.el: Use it.
8420 Did not touch cedet and org because they are maintained elsewhere.
8421
8422 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8423
8424 * calendar/calendar.el (calendar-exit): Don't try to delete or
8425 iconify last frame. See:
8426 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8427
8428 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8429
8430 * server.el (server-process-filter): Remember dir in the
8431 process's `server-client-directory' properties.
8432
8433 2012-06-24 Chong Yidong <cyd@gnu.org>
8434
8435 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8436 non-tag text.
8437
8438 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8439
8440 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8441
8442 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8443
8444 * help-fns.el (describe-variable): Don't croak when doc is not found.
8445 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8446 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8447 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8448 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8449 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8450 ((lambda ..) ..).
8451 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8452
8453 2012-06-23 Chong Yidong <cyd@gnu.org>
8454
8455 * info.el (Info-mouse-follow-link): Accept symbol values of
8456 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8457 (Info-fontify-node): Use Info-link-keymap for all navigation
8458 buttons, with link-args property to perform the desired action.
8459 (Info-link-keymap): Doc fix.
8460 (Info-next-link-keymap, Info-prev-link-keymap)
8461 (Info-up-link-keymap): Delete now-unused keymaps.
8462
8463 2012-06-23 Chong Yidong <cyd@gnu.org>
8464
8465 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8466
8467 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8468 system abbrevs.
8469
8470 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8471
8472 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8473
8474 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8475 (bug#11719).
8476
8477 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8478 the requote function doesn't work properly (bug#11714).
8479
8480 2012-06-23 Glenn Morris <rgm@gnu.org>
8481
8482 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8483
8484 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 Further GV/CL cleanups.
8487 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8488 gv-expander.
8489 (gv--defun-declaration): New function.
8490 (defun-declarations-alist): Use it.
8491 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8492 (gv-place): Autoload.
8493 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8494 original definition of dotimes and dolist.
8495 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8496 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8497 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8498 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8499 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8500 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8501 to the function's definition.
8502 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8503 * window.el:
8504 * files.el:
8505 * faces.el:
8506 * env.el: Don't use CL.
8507
8508 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8509
8510 Support higher-resolution time stamps (Bug#9000).
8511
8512 * calendar/time-date.el (with-decoded-time-value): New arg
8513 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8514 (encode-time-value): New optional arg PICO. New type 3.
8515 (time-to-seconds) [!float-time]: Support the new picoseconds
8516 component if it's used.
8517 (seconds-to-time, time-subtract, time-add):
8518 Support ps-resolution time stamps as well.
8519
8520 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8521 (timerp): Timer vectors now have length 9, not 8.
8522 (timer--time): Support new-style (4-part) time stamps.
8523 (timer-next-integral-multiple-of-time): Time stamps now have
8524 picosecond resolution, so take a bit more care about rounding.
8525 (timer-relative-time, timer-inc-time): New optional arg psecs.
8526 (timer-set-time-with-usecs): Set psecs to 0.
8527 (timer--activate): Check psecs component, too.
8528
8529 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8530
8531 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8532
8533 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8534 Move the non-essential binding to the post/pre-command-hook where it is
8535 more obviously correct.
8536
8537 * subr.el (read-passwd): Don't use a history at all.
8538 * savehist.el (savehist-save): Remove password saved accidentally
8539 because of the above bug.
8540
8541 2012-06-22 Bastien Guerry <bzg@gnu.org>
8542
8543 * files.el (toggle-read-only): Display a message telling whether
8544 the buffer is read-only or not (bug#11726).
8545
8546 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8547
8548 * emacs-lisp/gv.el: New file.
8549 * subr.el (push, pop): Extend to generalized variables.
8550 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8551 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8552 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8553 gv-define-simple-setter, and gv-define-expander.
8554 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8555 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8556 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8557 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8558 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8559 gv-letplace.
8560 (cl-defstruct): Don't define setf-method any more.
8561 * emacs-lisp/cl.el (flet): Don't autoload.
8562 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8563 (define-setf-expander, defsetf, define-modify-macro)
8564 (cl-struct-setf-expander): Move from cl-lib.el.
8565 * emacs-lisp/syntax.el:
8566 * emacs-lisp/ewoc.el:
8567 * emacs-lisp/smie.el:
8568 * emacs-lisp/cconv.el:
8569 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8570 (timer--time): Use gv-define-simple-setter.
8571 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8572 to avoid coding-system problems in subr.el. Adjust all users.
8573 (macroexp--maxsize, macroexp-small-p): New functions.
8574 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8575 * scroll-bar.el (scroll-bar-mode):
8576 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8577 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8578 * winner.el (winner-configuration, winner-make-point-alist)
8579 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8580 * files.el (locate-file-completion-table): Avoid list*.
8581
8582 2012-06-22 Chong Yidong <cyd@gnu.org>
8583
8584 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8585 (dired-create-files): Doc fix (Bug#11329).
8586 (dired-do-copy): Doc fix (Bug#11334).
8587 (dired-mark-read-string): Doc fix (Bug#11553).
8588
8589 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8590 Doc fix (Bug#11326).
8591 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8592 (dired-dwim-target): Doc fix.
8593
8594 * wdired.el (wdired-mode): Doc fix.
8595
8596 2012-06-22 Glenn Morris <rgm@gnu.org>
8597
8598 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8599 (pcmpl-rpm-cache-stamp-file): New constant.
8600 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8601 (pcmpl-rpm-packages): Optionally cache list of packages.
8602
8603 * pcmpl-rpm.el (pcmpl-rpm): New group.
8604 (pcmpl-rpm-query-options): New option.
8605 (pcmpl-rpm-packages): No need to inline it.
8606 Use pcmpl-rpm-query-options.
8607
8608 * calendar/calendar.el (calendar-in-read-only-buffer):
8609 Avoid some needless mode changes.
8610
8611 2012-06-21 Chong Yidong <cyd@gnu.org>
8612
8613 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8614 (desktop-path): Remove . from the default value (Bug#10977).
8615 (desktop-read): Use user-emacs-directory if desktop-path is nil.
8616
8617 2012-06-20 Chong Yidong <cyd@gnu.org>
8618
8619 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8620
8621 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8622
8623 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8624 (bug#11201).
8625
8626 2012-06-20 Chong Yidong <cyd@gnu.org>
8627
8628 * term.el (term-window-width): Handle the case of a missing right
8629 fringe (Bug#8837).
8630 (term-check-size): Use window-text-height (Bug#5445).
8631 (term-mode): Use define-derived-mode. Minor cleanups.
8632 Set font-lock-defaults (Bug#7692).
8633 (term-move-columns, term-insert-char, term-emulate-terminal)
8634 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
8635
8636 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
8637
8638 * net/ange-ftp.el (ange-ftp-get-passwd):
8639 Bind `enable-recursive-minibuffers'.
8640 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8641
8642 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8643
8644 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8645
8646 2012-06-19 Glenn Morris <rgm@gnu.org>
8647
8648 * progmodes/python.el (python-mode): Derive from prog-mode.
8649
8650 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8651
8652 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8653 (edt-user-menu-bar-update-buffers): New functions.
8654 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8655
8656 2012-06-19 Chong Yidong <cyd@gnu.org>
8657
8658 * subr.el (with-selected-window): Preserve the selected window's
8659 terminal's top-frame (Bug#4702).
8660
8661 * window.el (save-selected-window): Likewise.
8662
8663 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8664
8665 * progmodes/python.el (python-rx-constituents): Move backquote.
8666 (python-skeleton-define, python-define-auxiliary-skeleton):
8667 Use `declare'.
8668
8669 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
8670
8671 * minibuffer.el (read-file-name-default): Revert the patch from
8672 2012-06-17.
8673
8674 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8675
8676 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8677 (pcase--u1, pcase--q1): Don't use apply-partially.
8678
8679 2012-06-18 Glenn Morris <rgm@gnu.org>
8680
8681 * progmodes/python.el (python-proc, python-buffer)
8682 (python-send-receive, python-send-string): Fix obsolete versions.
8683
8684 2012-06-18 Martin Rudalics <rudalics@gmx.at>
8685
8686 * window.el (special-display-p): Completely remove stringp
8687 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8688
8689 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
8690
8691 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8692
8693 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8694
8695 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8696 * net/tramp-sh.el (tramp-maybe-open-connection):
8697 Throw if `non-essential' is non-nil.
8698
8699 2012-06-17 Martin Rudalics <rudalics@gmx.at>
8700
8701 * window.el (special-display-p): Signal an error if BUFFER-NAME
8702 is not a string (Bug#11713).
8703
8704 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8705
8706 * progmodes/python.el (python-info-beginning-of-backslash):
8707 Rename from python-info-beginning-of-backlash, as a spelling fix.
8708
8709 2012-06-17 Chong Yidong <cyd@gnu.org>
8710
8711 * term.el (term-emulate-terminal): If term-check-size is called,
8712 move point to the process mark without resetting point (Bug#4635).
8713
8714 2012-06-17 Glenn Morris <rgm@gnu.org>
8715
8716 * international/mule-cmds.el (mule-menu-keymap)
8717 (set-language-environment, set-locale-environment): Doc tweaks.
8718
8719 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8720
8721 * cus-face.el (custom-face-attributes): Add wave-style underline
8722 attribute.
8723 * faces.el (set-face-attribute): Update docstring to describe
8724 wave-style underline attribute.
8725
8726 2012-06-16 Chong Yidong <cyd@gnu.org>
8727
8728 * term/xterm.el (terminal-init-xterm): Discard input before
8729 querying background mode (Bug#10959).
8730
8731 2012-06-16 Stefan Merten <smerten@oekonux.de>
8732
8733 * textmodes/rst.el: Added and corrected some comments.
8734 (rst-re-alist-def): Improve symbol syntax.
8735 (rst-mode-syntax-table): Correct syntax entries.
8736 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8737 (rst-official-version, rst-official-cvs-rev): Update version
8738 information.
8739
8740 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
8741
8742 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8743 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8744
8745 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
8746
8747 * progmodes/python.el: New python.el merge.
8748 (python-guess-indent): Obsolete var.
8749 (python-indent-guess-indent-offset): New defcustom.
8750 (python-indent): Obsolete var.
8751 (python-indent-offset): New defcustom.
8752 (python-python-command, python-jython-command): Delete var.
8753 (python-shell-interpreter): New defcustom.
8754 (python-pdbtrack-do-tracking-p): Delete var.
8755 (python-pdbtrack-activate): New defcustom.
8756 (python-use-skeletons): Obsolete var.
8757 (python-skeleton-autoinsert): New defcustom.
8758 (inferior-python-filter-regexp, python-continuation-offset)
8759 (python-honour-comment-indentation, python-indent-string-contents)
8760 (python-jython-packages, python-mode-hook)
8761 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8762 (python-shell-prompt-alist)
8763 (python-source-modes): Delete defcustoms.
8764 (python-check-buffer-name, python-eldoc-setup-code)
8765 (python-eldoc-string-code, python-ffap-setup-code)
8766 (python-ffap-string-code, python-fill-comment-function)
8767 (python-fill-decorator-function, python-fill-paren-function)
8768 (python-fill-string-function, python-imenu-include-defun-type)
8769 (python-imenu-make-tree, python-imenu-subtree-root-label)
8770 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8771 (python-shell-compilation-regexp-alist)
8772 (python-shell-completion-module-string-code)
8773 (python-shell-completion-pdb-string-code)
8774 (python-shell-completion-setup-code)
8775 (python-shell-completion-string-code)
8776 (python-shell-enable-font-lock, python-shell-exec-path)
8777 (python-shell-extra-pythonpaths)
8778 (python-shell-internal-buffer-name, python-shell-interpreter-args)
8779 (python-shell-process-environment)
8780 (python-shell-prompt-block-regexp)
8781 (python-shell-prompt-output-regexp)
8782 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8783 (python-shell-send-setup-max-wait, python-shell-setup-codes)
8784 (python-shell-virtualenv-path): New defcustoms.
8785 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8786 (inferior-python-mode-syntax-table, python--prompt-regexp)
8787 (python-buffer, python-command python-python-command)
8788 (python-default-template, python-imports, python-indent-index)
8789 (python-indent-list, python-indent-list-length)
8790 (python-mode-running, python-pdbtrack-is-tracking-p)
8791 (python-preoutput-continuation, python-preoutput-leftover)
8792 (python-preoutput-result, python-preoutput-skip-next-prompt)
8793 (python-prev-dir/file, python-recursing)
8794 (python-saved-check-command, python-version-checked)
8795 (python-which-func-length-limit)
8796 (view-return-to-alist): Delete vars.
8797 (python-check-custom-command, python-dotty-syntax-table)
8798 (python-imenu-index-alist, python-indent-current-level)
8799 (python-indent-dedenters, python-indent-levels)
8800 (python-nav-beginning-of-defun-regexp)
8801 (python-nav-list-defun-positions-cache)
8802 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8803 (python-shell-internal-buffer)
8804 (python-skeleton-available): New vars.
8805 (def-python-skeleton): Delete macro.
8806 (python-skeleton-define): New macro.
8807 (python-define-auxiliary-skeleton, python-rx): New macros.
8808 (python-insert-class): Delete command.
8809 (python-skeleton-class): New command.
8810 (python-insert-def): Delete command.
8811 (python-skeleton-def): New command.
8812 (python-insert-for): Delete command.
8813 (python-skeleton-for): New command.
8814 (python-insert-if): Delete command.
8815 (python-skeleton-if): New command.
8816 (python-insert-try/except, python-insert-try/finally): Delete commands.
8817 (python-skeleton-try): New command.
8818 (python-insert-while): Delete command.
8819 (python-skeleton-while): New command.
8820 (python-backspace): Delete command.
8821 (python-indent-dedent-line-backspace): New command.
8822 (python-electric-colon): Delete command.
8823 (python-indent-electric-colon): New command.
8824 (python-guess-indent): Delete command.
8825 (python-indent-guess-indent-offset): New command.
8826 (python-shift-left): Delete command.
8827 (python-indent-shift-left): New command.
8828 (python-shift-right): Delete command.
8829 (python-indent-shift-right): New command.
8830 (python-find-function): Delete command.
8831 (python-nav-jump-to-defun): New command.
8832 (python-next-statement): Delete command.
8833 (python-nav-forward-sentence): New command.
8834 (python-previous-statement): Delete command.
8835 (python-nav-backward-sentence): New command.
8836 (python-fill-paragraph): Delete command.
8837 (python-fill-paragraph-function): New command.
8838 (python-send-buffer): Delete command.
8839 (python-shell-send-buffer): New command.
8840 (python-send-defun): Delete command.
8841 (python-shell-send-defun): New command.
8842 (python-send-region, python-send-region-and-go): Delete commands.
8843 (python-shell-send-region)
8844 (python-shell-switch-to-shell): New commands.
8845 (python-send-string): Delete command.
8846 (python-shell-send-string): New command.
8847 (python-switch-to-python): Delete command.
8848 (python-shell-switch-to-shell): New command.
8849 (python-describe-symbol): Delete command.
8850 (python-eldoc-at-point): New command.
8851 (python--set-prompt-regexp, python-args-to-list)
8852 (python-after-info-look, python-check-version)
8853 (python-check-comint-prompt, python-find-imports)
8854 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8855 (python-unload-function, python-expand-template)
8856 (python-maybe-jython, python-preoutput-filter)
8857 (python-pdbtrack-get-source-buffer)
8858 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8859 (python-pdbtrack-toggle-stack-tracking)
8860 (python-pdbtrack-track-stack-file, python-initial-text)
8861 (python-first-word, python-comment-line-p, python-send-command)
8862 (python-setup-brm, python-sentinel, python-set-proc)
8863 (python-skip-out, python-input-filter, python-outdent-p)
8864 (python-outline-level, python-backslash-continuation-line-p)
8865 (python-end-of-block, python-end-of-statement, python-mark-block)
8866 (python-beginning-of-block, python-beginning-of-statement)
8867 (python-blank-line-p, python-beginning-of-string)
8868 (python-open-block-statement-p): Delete functions.
8869 (python-indent-line, python-indent-line-1): Delete functions.
8870 (python-indent-line): New function.
8871 (python-indentation-levels): Delete function.
8872 (python-indent-calculate-levels): New function.
8873 (python-proc): Delete function.
8874 (python-shell-get-process): New function.
8875 (python-send-receive): Delete function.
8876 (python-shell-send-string-no-output): New function.
8877 (python-module-path): Delete function.
8878 (python-ffap-module-path): New function.
8879 (python-completion-at-point)
8880 (python-symbol-completions): Delete functions.
8881 (python-completion-complete-at-point): New function.
8882 (python-load-file): Delete function.
8883 (python-shell-send-file): New function.
8884 (python-calculate-indentation): Delete function.
8885 (python-indent-calculate-indentation): New function.
8886 (python-skip-comments/blanks): Delete function.
8887 (python-util-forward-comment): New function.
8888 (python-continuation-line-p): Delete function.
8889 (python-info-continuation-line-p): New function.
8890 (python-which-func, python-current-defun): Delete function.
8891 (python-info-current-defun): New function.
8892 (python-beginning-of-defun): Delete function.
8893 (python-nav-beginning-of-defun): New function.
8894 (python-close-block-statement-p)
8895 (python-block-end-p): Delete function.
8896 (python-info-closing-block): New function.
8897 (python-comint-output-filter-function)
8898 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8899 (python-fill-comment, python-fill-decorator, python-fill-paren)
8900 (python-fill-string, python-imenu-make-element-tree)
8901 (python-imenu-make-tree, python-imenu-tree-assoc)
8902 (python-indent-context, python-indent-dedent-line)
8903 (python-indent-line-function)
8904 (python-indent-post-self-insert-function)
8905 (python-indent-toggle-levels)
8906 (python-info-assignment-continuation-line-p)
8907 (python-info-beginning-of-backlash)
8908 (python-info-block-continuation-line-p)
8909 (python-info-closing-block-message)
8910 (python-info-line-ends-backslash-p)
8911 (python-info-looking-at-beginning-of-defun)
8912 (python-info-ppss-context, python-info-ppss-context-type)
8913 (python-nav-list-defun-positions, python-nav-read-defun)
8914 (python-nav-sentence-end, python-nav-sentence-start)
8915 (python-pdbtrack-comint-output-filter-function)
8916 (python-pdbtrack-set-tracked-buffer)
8917 (python-shell-calculate-exec-path)
8918 (python-shell-calculate-process-environment)
8919 (python-shell-completion--do-completion-at-point)
8920 (python-shell-completion--get-completions)
8921 (python-shell-completion-complete-at-point)
8922 (python-shell-completion-complete-or-indent)
8923 (python-shell-get-or-create-process)
8924 (python-shell-get-process-name)
8925 (python-shell-internal-get-or-create-process)
8926 (python-shell-internal-get-process-name)
8927 (python-shell-internal-send-string, python-shell-make-comint)
8928 (python-shell-parse-command, python-shell-send-setup-code)
8929 (python-skeleton-add-menu-items)
8930 (python-util-clone-local-variables, python-util-position)
8931 (run-python-internal, python-indentation-levels)
8932 (python-nav-beginning-of-defun)
8933 (python-completion-complete-at-point): New functions.
8934 (run-python): Change arguments. New API requirements.
8935
8936 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8937
8938 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8939 (bug#11649).
8940
8941 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8942 (macroexp--expand-all): Use it.
8943
8944 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8945 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8946 Use `cl-function' instead.
8947
8948 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
8949
8950 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8951 Suggested by Stefan Monnier while discussing bug#11657.
8952
8953 2012-06-14 Sam Steingold <sds@gnu.org>
8954
8955 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8956
8957 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8958
8959 * play/doctor.el (doctor-doc): Remove parameter and use
8960 doctor-sent instead of sent.
8961 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
8962
8963 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8964
8965 * files.el: Require cl-lib.
8966 (file-name-non-special): Replace case -> cl-case.
8967
8968 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8969
8970 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8971 mapping from #' to function*.
8972
8973 2012-06-13 Chong Yidong <cyd@gnu.org>
8974
8975 * mouse.el (mouse-drag-track): Do not set the mark if the user
8976 releases the mouse without selecting anything (Bug#11588).
8977
8978 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8979
8980 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8981 as well (bug#11646).
8982
8983 * loadup.el: Count byte-code functions as well.
8984
8985 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8986 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8987
8988 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8989 (bug#11649). Add cl-defun and cl-defmacro.
8990
8991 2012-06-13 Drew Adams <drew.adams@oracle.com>
8992
8993 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8994 Fix last change.
8995
8996 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
8997
8998 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8999 Otherwise, it blocks in batch mode.
9000
9001 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9002
9003 * help-mode.el (bookmark-make-record-default): Declare.
9004
9005 2012-06-13 Chong Yidong <cyd@gnu.org>
9006
9007 * emacs-lisp/package.el (list-packages): Compute a list of
9008 packages that are newly-available since the last list-packages
9009 invocation.
9010 (package-menu--new-package-list): New var.
9011 (package-menu--generate, package-menu--print-info)
9012 (package-menu--status-predicate, package-menu-mark-install):
9013 Handle new status label "new".
9014
9015 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9016
9017 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9018 conversion to backquotes.
9019
9020 2012-06-12 Chong Yidong <cyd@gnu.org>
9021
9022 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9023 Rename from gud-inhibit-global-bindings.
9024
9025 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9026
9027 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9028 hook from nxml-glyph-set-hook.
9029
9030 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9031 declaration.
9032
9033 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9034
9035 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9036 Convert to defcustom.
9037
9038 2012-06-12 Drew Adams <drew.adams@oracle.com>
9039
9040 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9041 New functions.
9042 (help-mode): Use them.
9043
9044 2012-06-11 Glenn Morris <rgm@gnu.org>
9045
9046 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9047 Use preprocessor face for directives.
9048 (fortran-directive-re): Doc fix.
9049
9050 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9051
9052 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9053 conversion to backquotes (bug#11652).
9054
9055 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9056 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9057 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9058 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9059 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9060 (cl-ninth, cl-tenth): Mark them as inlinable.
9061 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9062 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9063 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9064 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9065 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9066 (cl-list*, cl-adjoin): Don't put an autoload manually.
9067 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9068 (cl--compiler-macro-list*): Add autoload cookie.
9069 (cl--compiler-macro-cXXr): New function.
9070
9071 * help-fns.el (help-fns--compiler-macro): New function extracted from
9072 describe-function-1; follow aliases and use `compiler-macro' property.
9073 (describe-function-1): Use it.
9074
9075 2012-06-11 Chong Yidong <cyd@gnu.org>
9076
9077 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9078 is uninstalled, if imagemagick is installed.
9079
9080 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9081
9082 * emacs-lisp/cl-lib.el: Use lexical-binding.
9083 (cl-map-extents, cl-maclisp-member): Remove.
9084 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9085 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9086 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9087 * emacs-lisp/cl-extra.el: Use lexical-binding.
9088 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9089 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9090 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9091 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9092 * emacs-lisp/cl-seq.el: Use lexical-binding.
9093 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9094 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9095 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9096 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9097 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9098 CL's internals.
9099
9100 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9101
9102 Sync with Tramp 2.2.6-pre.
9103
9104 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9105 `print-length' and `print-level' to nil, in order to avoid
9106 truncation. Reported by Christopher Schmidt
9107 <christopher@ristopher.com>.
9108
9109 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9110
9111 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9112 New defmacro.
9113 (tramp-compat-copy-directory): Add optional argument
9114 COPY-CONTENTS. It is not handled yet.
9115
9116 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9117 (tramp-ftp-file-name-p): Simplify.
9118
9119 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9120 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9121 connection vector.
9122
9123 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9124 (tramp-methods): Do not use `tramp-password-end-of-line'.
9125 (tramp-completion-function-alist-putty): Handle UNIX case.
9126 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9127 (tramp-do-file-attributes-with-stat)
9128 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9129 gid as real numbers. They could run out of integer range on cygwin.
9130 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9131 (tramp-sh-handle-expand-file-name): Handle hops.
9132 (tramp-open-connection-setup-interactive-shell):
9133 Use `tramp-cleanup'. Move check for busyboxes ...
9134 (tramp-find-shell): ... here. Simplify implementation.
9135 Set "remote-shell" property also for alternative shells.
9136 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9137 If failing, a regular file would be written otherwise.
9138 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9139 (tramp-find-inline-encoding): Cache the coding commands in the
9140 process cache. Apply test command on the remote side, if defined.
9141 (tramp-find-inline-compress): Cache the compress commands in the
9142 process cache.
9143 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9144 when requested. Handle hops.
9145 (tramp-current-connection): New defvar.
9146 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9147 Throw `suppress', if there was a failed connection shortly before.
9148 Handle user interrupt. (Bug#10187)
9149 (tramp-get-inline-compress, tramp-get-inline-coding):
9150 Read connection properties from the process cache.
9151
9152 * net/tramp-smb.el (tramp-smb-server-version)
9153 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9154 New defconsts.
9155 (tramp-smb-prompt): Extend for powershell prompt.
9156 (tramp-smb-file-name-handler-alist): Add handlers for
9157 `process-file', `shell-command' and `start-file-process'.
9158 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9159 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9160 (tramp-smb-file-name-p): Simplify.
9161 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9162 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9163 (tramp-smb-shell-quote-argument): New defuns.
9164 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9165 Implement using "tar". By this, time-stamps are preserved.
9166 (tramp-smb-handle-copy-file): Handle also the case of directories.
9167 (tramp-smb-do-file-attributes-with-stat)
9168 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9169 Use `tramp-get-connection-buffer').
9170 (tramp-smb-handle-rename-file): Use "rename", when source and
9171 target are on the same share.
9172 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9173 Use `tramp-smb-server-version'.
9174 (tramp-smb-wait-for-output): Remove prompt.
9175
9176 * net/tramp.el (top): Require 'cl.
9177 (tramp-methods, tramp-rsh-end-of-line):
9178 Remove `tramp-password-end-of-line' from docstring.
9179 (tramp-save-ad-hoc-proxies): New defcustom.
9180 (tramp-completion-function-alist): Adapt docstring.
9181 (tramp-default-password-end-of-line): Remove defcustom.
9182 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9183 (tramp-user-regexp, tramp-file-name-regexp-unified)
9184 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9185 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9186 (tramp-remote-file-name-spec-regexp): New defconst.
9187 (tramp-file-name-structure): Extend structure for hops.
9188 (tramp-get-method-parameter): Move up.
9189 (tramp-file-name-p, tramp-dissect-file-name)
9190 (with-parsed-tramp-file-name): Handle hops.
9191 (tramp-file-name-hop): New defun.
9192 (tramp-make-tramp-file-name): New optional arg HOP.
9193 (tramp-message-show-progress-reporter-message): New defvar.
9194 (tramp-with-progress-reporter): Use it. We cannot use
9195 `tramp-message-show-message' here, because this suppresses also
9196 error buffers.
9197 (tramp-error-with-buffer): Suppress buffer view, if
9198 `tramp-message-show-message' is nil.
9199 Use `tramp-get-connection-buffer'.
9200 (tramp-cleanup): New defun.
9201 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9202 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9203 an error unchanged.
9204 (tramp-completion-handle-file-name-all-completions): Handle hops.
9205 Fix an error when called from ido.
9206 (tramp-completion-dissect-file-name): Use better local variable
9207 name. Add hop to the vector.
9208 (tramp-handle-insert-file-contents): Use progress-reporter for the
9209 whole scenario.
9210 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9211 to `t'.
9212 (tramp-check-for-regexp): Simplify search.
9213 (tramp-enter-password): Remove it. Move implementation ...
9214 (tramp-action-password): ... here.
9215 (tramp-mode-string-to-int, tramp-local-host-p)
9216 (tramp-make-tramp-temp-file, tramp-read-passwd)
9217 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9218 Set tramp-autoload cookie.
9219
9220 * net/trampver.el: Update release number.
9221
9222 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9223 Michael Albinus <michael.albinus@gmx.de>
9224
9225 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9226 (tramp-parse-group, tramp-parse-file)
9227 (tramp-parse-shostkeys-sknownhosts): New defuns.
9228 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9229 (tramp-parse-shosts-group, tramp-parse-sconfig)
9230 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9231 (tramp-parse-sknownhosts, tramp-parse-hosts)
9232 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9233 Use them.
9234 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9235 (tramp-parse-putty-group): Don't narrow.
9236 (tramp-parse-putty): Make a loop.
9237 (tramp-file-name-handler): Catch the `suppress' signal.
9238
9239 2012-06-11 Chong Yidong <cyd@gnu.org>
9240
9241 * image.el (imagemagick-register-types): Put the ImageMagick entry
9242 at the end of image-type-file-name-regexps.
9243
9244 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9245
9246 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9247 (pcase, pcase-let*, pcase-dolist): Use them.
9248
9249 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9250
9251 * emacs-lisp/pcase.el (pcase--let*): New function.
9252 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9253 (pcase--expand): Use macroexp-let².
9254
9255 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9256
9257 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9258 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9259 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9260 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9261 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9262 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9263
9264 2012-06-10 Glenn Morris <rgm@gnu.org>
9265
9266 * mail/rmail.el (rmail-yank-current-message): Leave point at
9267 correct position. (Bug#11660)
9268
9269 2012-06-10 Chong Yidong <cyd@gnu.org>
9270
9271 * allout-widgets.el: Fix code header.
9272
9273 2012-06-10 Chong Yidong <cyd@gnu.org>
9274
9275 * cus-edit.el (customize-changed-options-previous-release):
9276 Bump to 24.1.
9277
9278 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9279
9280 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9281
9282 2012-06-09 Chong Yidong <cyd@gnu.org>
9283
9284 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9285
9286 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9287
9288 * window.el (special-display-popup-frame): Don't use
9289 window--display-buffer (Bug#11651).
9290
9291 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9292
9293 Fix parallel builds: make sure loaddefs.el is not being written
9294 while Lisp files are compiled.
9295 (compile): Don't depend on 'mh-autoloads'.
9296 (compile-CMD, compile-SH): Depend on 'autoloads'.
9297 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9298
9299 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9300
9301 2012-06-09 Chong Yidong <cyd@gnu.org>
9302
9303 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9304 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9305 Doc fixes (Bug#11225).
9306
9307 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9308
9309 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9310 a function if there's a clear indication that it has a compiler-macro.
9311 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9312 (macro-declarations-alist): Add arglist to declaration functions.
9313 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9314 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9315 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9316 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9317 Also add autoload to find the compiler macro.
9318 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9319 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9320 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9321 (cl--compiler-macro-get): New functions, replacing calls to
9322 cl-define-compiler-macro.
9323 (cl-typep) [compiler-macro]: Use macroexp-let².
9324
9325 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9326
9327 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9328 string properly, fixes Bug#11473.
9329
9330 2012-06-08 Chong Yidong <cyd@gnu.org>
9331
9332 * faces.el (set-face-attribute): Doc fix.
9333 (modify-face): Don't use :bold and :italic.
9334 (error, warning, success): Tweak definitions.
9335
9336 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9337 (custom-modified, custom-set, custom-changed, custom-themed)
9338 (custom-saved, custom-button, custom-button-mouse)
9339 (custom-button-pressed, custom-state, custom-comment-tag)
9340 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9341 (custom-group-subtitle): Use new-style face specs.
9342 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9343 (custom-set-face, custom-changed-face, custom-saved-face)
9344 (custom-button-face, custom-button-pressed-face)
9345 (custom-documentation-face, custom-state-face)
9346 (custom-comment-face, custom-comment-tag-face)
9347 (custom-variable-tag-face, custom-variable-button-face)
9348 (custom-face-tag-face, custom-group-tag-face-1)
9349 (custom-group-tag-face): Remove obsolete face alias.
9350
9351 * epa.el (epa-validity-high, epa-validity-medium)
9352 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9353 (epa-field-name, epa-field-body):
9354 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9355 (font-lock-keyword-face, font-lock-builtin-face)
9356 (font-lock-function-name-face, font-lock-variable-name-face)
9357 (font-lock-type-face, font-lock-constant-face):
9358 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9359 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9360 * speedbar.el (speedbar-button-face, speedbar-file-face)
9361 (speedbar-directory-face, speedbar-tag-face)
9362 (speedbar-selected-face, speedbar-highlight-face)
9363 (speedbar-separator-face):
9364 * whitespace.el (whitespace-newline, whitespace-space)
9365 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9366 (whitespace-line, whitespace-space-before-tab)
9367 (whitespace-space-after-tab, whitespace-indentation)
9368 (whitespace-empty):
9369 * emulation/cua-base.el (cua-global-mark):
9370 * eshell/em-prompt.el (eshell-prompt):
9371 * net/newst-plainview.el (newsticker-new-item-face)
9372 (newsticker-old-item-face, newsticker-immortal-item-face)
9373 (newsticker-obsolete-item-face, newsticker-date-face)
9374 (newsticker-statistics-face, newsticker-default-face):
9375 * net/newst-reader.el (newsticker-feed-face)
9376 (newsticker-extra-face, newsticker-enclosure-face):
9377 * net/newst-treeview.el (newsticker-treeview-face)
9378 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9379 (newsticker-treeview-immortal-face)
9380 (newsticker-treeview-obsolete-face)
9381 (newsticker-treeview-selection-face):
9382 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9383 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9384 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9385 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9386 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9387 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9388 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9389 (mpuz-text):
9390 * progmodes/vera-mode.el (vera-font-lock-number)
9391 (vera-font-lock-function, vera-font-lock-interface):
9392 * textmodes/table.el (table-cell): Use new-style face specs, and
9393 don't use the old :bold and :italic attributes.
9394
9395 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9396 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9397 (ebrowse-member-class, ebrowse-progress): Likewise.
9398 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9399 (ebrowse-file-name-face, ebrowse-default-face)
9400 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9401 (ebrowse-progress-face): Remove obsolete faces.
9402
9403 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9404 Inherit from error and warning faces respectively.
9405
9406 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9407 Likewise.
9408 (flyspell-incorrect-face, flyspell-duplicate-face):
9409 Remove obsolete aliases.
9410
9411 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9412
9413 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9414 Avoid infloop.
9415
9416 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9417
9418 * startup.el (argv, argi): Make lexically scoped.
9419 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9420 * emacs-lisp/cl-macs.el: Use lexical-binding.
9421 Rename cl-bind-* to cl--bind-*.
9422 * files.el: Don't require `cl' since it doesn't use it.
9423 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9424
9425 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9426
9427 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9428 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9429 instead of calling external sort utility.
9430 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9431
9432 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9433
9434 * descr-text.el (describe-char): Mention how to insert the
9435 character, if the current input method doesn't support it.
9436 See the discussion in this thread for the details:
9437 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9438
9439 2012-06-08 Sam Steingold <sds@gnu.org>
9440
9441 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9442 XF86Back to previous-buffer.
9443 (minibuffer-local-map): Bind them to next-history-element and
9444 previous-history-element respectively.
9445 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9446 help-go-back respectively.
9447 * info.el (Info-mode-map): Bind them to Info-history-forward and
9448 Info-history-back respectively.
9449 These are the keys next to Up on the ThinkPad keyboard.
9450
9451 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9452
9453 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9454 * emacs-lisp/cl-macs.el: Provide itself.
9455 (cl--labels-convert-cache): New var.
9456 (cl--labels-convert): New function.
9457 (cl-flet, cl-labels): New implementation with new semantics, relying on
9458 lexical-binding.
9459 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9460 (cl-closure-vars, cl--function-convert-cache)
9461 (cl--function-convert): Move from cl-macs.el.
9462 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9463 rename by removing the "cl-" prefix.
9464 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9465
9466 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9467
9468 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9469 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9470 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9471 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9472 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9473 (cl-hash-table-count): Add old compatibility aliases.
9474
9475 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9476 Use macroexpand-all-environment instead.
9477 (cl--old-macroexpand): New var.
9478 (cl--sm-macroexpand): New function.
9479 (cl-symbol-macrolet): Use it during macro expansion.
9480 (cl--function-convert-cache): New var.
9481 (cl--function-convert): New function, extracted from
9482 cl-macroexpand-all.
9483 (cl-lexical-let): Use it.
9484
9485 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9486 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9487 (cl-member): Remove old alias.
9488
9489 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9490 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9491 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9492 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9493 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9494 (cl-macroexpand-cmacs): Remove var.
9495 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9496 Use macroexpand-all instead.
9497
9498 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9499
9500 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9501 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9502 (macroexp-copyable-p): New functions and macros.
9503 * emacs-lisp/edebug.el (edebug-unwrap):
9504 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9505 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9506 (pcase--let*): Remove.
9507 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9508 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9509 macroexp-const-p instead.
9510 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9511
9512 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9513 instead of "cl-" for internal definitions. Use macroexp-const-p.
9514 (cl-old-bc-file-form): Remove var.
9515 (cl-const-exprs-p): Remove fun.
9516 (cl-labels, cl-macrolet): Use backquote.
9517 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9518 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9519 (cl-define-setf-expander): Rename from cl-define-setf-method.
9520 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9521
9522 * international/mule-cmds.el: Don't require CL.
9523 (view-hello-file): Don't use `letf'.
9524
9525 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9526
9527 * tmm.el (tmm-prompt): Use string-prefix-p.
9528 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9529 (tmm-add-prompt): Use minibuffer-completion-help.
9530 (tmm-delete-map): Remove.
9531
9532 * subr.el (kbd): Make it its own function.
9533
9534 2012-06-07 Stefan Merten <smerten@oekonux.de>
9535
9536 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9537 Silence compiler warnings. Fix versions.
9538 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9539 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9540 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9541 (rst-package-emacs-version-alist): Correct Emacs version to
9542 represent major merge with upstream.
9543 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9544
9545 2012-06-06 Glenn Morris <rgm@gnu.org>
9546
9547 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9548 Only print environment variables if set.
9549
9550 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9551
9552 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9553 (macroexp--cons): Rename from maybe-cons.
9554 (macroexp--accumulate): Rename from macroexp-accumulate.
9555 (macroexp--all-forms): Rename from macroexpand-all-forms.
9556 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9557 (macroexp--expand-all): Rename from macroexpand-all-1.
9558
9559 2012-06-06 Sam Steingold <sds@gnu.org>
9560
9561 * calendar/calendar.el (calendar-in-read-only-buffer):
9562 Call `special-mode' to enable the standard read-only keybindings.
9563
9564 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9565
9566 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9567 with "loading" messages (bug#11635).
9568
9569 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
9570
9571 * files.el (enable-remote-dir-locals): New option.
9572 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9573
9574 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9575 Ensure, that the temp directory is local.
9576
9577 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9578 `temporary-file-directory'.
9579
9580 * progmodes/python.el (python-send-region): Ensure, that the
9581 temporary file is created also in the remote case.
9582
9583 2012-06-06 Glenn Morris <rgm@gnu.org>
9584
9585 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9586 (vc-rcs-update-changelog): Use it.
9587
9588 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9589
9590 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9591 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9592 (vc-sccs-diff): Replace use of the external vcdiff script.
9593
9594 2012-06-05 Glenn Morris <rgm@gnu.org>
9595
9596 * ledit.el: Move to obsolete/.
9597
9598 2012-06-05 Sam Steingold <sds@gnu.org>
9599
9600 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9601 patch (Bug#11140).
9602
9603 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9604
9605 * emacs-lisp/cust-print.el: Move to obsolete.
9606
9607 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9608 compiler-macro expansion.
9609
9610 Add native compiler-macro support.
9611 * emacs-lisp/macroexp.el (macroexpand-all-1):
9612 Support compiler-macros directly. Properly follow aliases and apply
9613 the compiler macros more thoroughly.
9614 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9615 macroexpand now properly follows aliases.
9616 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9617 (cl-compiler-macroexpand): Use new prop.
9618 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9619
9620 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9621
9622 2012-06-05 Martin Rudalics <rudalics@gmx.at>
9623
9624 * window.el (get-lru-window, get-mru-window, get-largest-window):
9625 New argument NOT-SELECTED to avoid picking the selected window.
9626 (window--display-buffer-1, window--display-buffer-2): Replace by
9627 new function window--display-buffer
9628 (display-buffer-same-window, display-buffer-reuse-window)
9629 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9630 Use window--display-buffer.
9631 (display-buffer-use-some-window): Remove temporary dedication
9632 hack by calling get-lru-window and get-largest-window with
9633 NOT-SELECTED argument non-nil. Call window--display-buffer.
9634
9635 2012-06-05 Glenn Morris <rgm@gnu.org>
9636
9637 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9638 Replace external vcdiff script.
9639
9640 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9641
9642 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9643
9644 2012-06-04 Chong Yidong <cyd@gnu.org>
9645
9646 * image.el (imagemagick-types-inhibit): Revert last change.
9647 Add INFO and M.
9648 (imagemagick-enabled-types): Remove CIN and EPS*.
9649
9650 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9651
9652 * emacs-lisp/cl-lib.el: Rename from cl.el.
9653 * emacs-lisp/cl.el: New compatibility file.
9654 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9655 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9656 to obey the "cl-" prefix.
9657 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9658
9659 2012-06-03 Glenn Morris <rgm@gnu.org>
9660
9661 * emacs-lisp/authors.el (authors-aliases): Addition.
9662
9663 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9664 Fix :version.
9665
9666 2012-06-03 Stefan Merten <smerten@oekonux.de>
9667
9668 * textmodes/rst.el: Add comments.
9669 (rst-transition, rst-adornment): New faces.
9670 (rst-adornment-faces-alist): Make default safe to reevaluate.
9671 Fixes
9672 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9673 Improve customization tags.
9674 (rst-define-level-faces): Clarify meaning.
9675
9676 2012-06-03 Chong Yidong <cyd@gnu.org>
9677
9678 * progmodes/compile.el (compilation-mode-line-fail)
9679 (compilation-mode-line-run, compilation-mode-line-exit):
9680 New faces.
9681 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9682
9683 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9684
9685 * progmodes/which-func.el (which-func-update-ediff-windows):
9686 New function. Use it in ediff-select-hook (Bug#11478).
9687
9688 2012-06-03 Chong Yidong <cyd@gnu.org>
9689
9690 * bindings.el: Remove explicit help text from format-mode-line.
9691 It is now supplied by mode-line-default-help-echo.
9692 (mode-line-front-space, mode-line-end-spaces)
9693 (mode-line-misc-info): New variables.
9694 (mode-line-modes, mode-line-position): Move the default value to
9695 the variable definition.
9696 (mode-line-default-help-echo): New defcustom.
9697 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9698 (mode-line-modified-help-echo): New functions.
9699 (mode-line-mule-info, mode-line-modified): Use them.
9700 (mode-line-eol-desc, propertized-buffer-identification):
9701 Consistency fixes for help text.
9702 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9703 set-buffer-file-coding-system (Bug#289).
9704 (mode-line-mule-info-help-echo): Update help text.
9705
9706 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9707
9708 * simple.el (execute-extended-command): Set real-this-command
9709 (bug#11506).
9710
9711 2012-06-02 Chong Yidong <cyd@gnu.org>
9712
9713 Remove incorrect uses of "modeline" in comments, docstrings, and
9714 function/variable names (Bug#10329).
9715
9716 * cus-edit.el (mode-line):
9717 * dframe.el (dframe-mouse-hscroll):
9718 * emacs-lisp/re-builder.el:
9719 * emacs-lisp/easy-mmode.el (define-minor-mode):
9720 * frame.el (set-frame-name):
9721 * help.el (lookup-minor-mode-from-indicator):
9722 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9723 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9724 (c-toggle-hungry-state):
9725 * progmodes/antlr-mode.el (antlr-language-alist):
9726 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9727 * progmodes/vhdl-mode.el (vhdl-mode):
9728 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9729 * term/ns-win.el (ns-face-at-pos):
9730 * term/sup-mouse.el (sup-mouse-report):
9731 * textmodes/flyspell.el (flyspell-mode-line-string):
9732 * textmodes/ispell.el (ispell-highlight-face):
9733 * textmodes/reftex-global.el:
9734 * vc/vc-arch.el (vc-arch-mode-line-string):
9735 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9736 * vc/vc-git.el (vc-git-mode-line-string):
9737 * vc/vc-hooks.el (vc-display-status)
9738 (vc-default-mode-line-string):
9739 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9740
9741 * ansi-color.el (ansi-color-faces-vector): Change default faces.
9742
9743 * dired.el (dired-sort-set-mode-line): Rename from
9744 dired-sort-set-modeline. All callers changed.
9745
9746 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9747 eshell-status-in-modeline.
9748
9749 * foldout.el (foldout-mode-line-string): Rename from
9750 foldout-modeline-string. All callers changed.
9751 (foldout-update-mode-line): Rename from foldout-update-modeline.
9752
9753 * subr.el (redraw-modeline): Make into obsolete alias.
9754
9755 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9756 timeclock-modeline-display. Make old name an alias.
9757 (timeclock-update-mode-line): Likewise. All callers changed.
9758 (timeclock-mode-line-display): No need to check before using
9759 add-hook.
9760 (timeclock-relative, timeclock-day-over-hook)
9761 (timeclock-use-elapsed, timeclock-mode-string)
9762 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9763
9764 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9765 crisp-mode-modeline-string.
9766
9767 * play/solitaire.el (solitaire-build-mode-line): Rename from
9768 solitaire-build-modeline. All callers changed.
9769
9770 * play/zone.el (zone-hiding-mode-line): Rename from
9771 zone-hiding-modeline. All callers changed.
9772 (zone): Remove unusued `modeline-hidden-level' property.
9773
9774 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9775 xscheme-modeline-initialize. All callers changed.
9776
9777 * strokes.el (strokes-lighter): Rename from
9778 strokes-modeline-string.
9779
9780 * textmodes/sgml-mode.el (html-face-tag-alist)
9781 (html-tag-face-alist): Use mode-line face instead of obsolete
9782 alias modeline.
9783
9784 2012-06-02 Stefan Merten <smerten@oekonux.de>
9785
9786 * textmodes/rst.el: Always require `cl'.
9787 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
9788
9789 2012-06-02 Chong Yidong <cyd@gnu.org>
9790
9791 * image.el (imagemagick-enabled-types): Rename from
9792 imagemagick-types-enable. Add many more types.
9793 (imagemagick-types-inhibit): Change default to nil.
9794 (imagemagick-filter-types): Caller changed.
9795
9796 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9797
9798 * emacs-lisp/cl-macs.el: Use backquotes.
9799 (cl-transform-function-property): Use eval-and-compile rather than
9800 abusing `require'.
9801 (defstruct): Use declare-function instead of with-no-warnings.
9802
9803 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9804 (byte-compile-output-docform): Re-add the print-circle bindings.
9805 (byte-compile-fix-header): Use #$ just because it's shorter.
9806 (byte-compile-output-file-form): Remove defun/defmacro.
9807
9808 2012-06-01 Martin Rudalics <rudalics@gmx.at>
9809
9810 * simple.el (choose-completion): Remove now obsolete binding for
9811 owindow.
9812
9813 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
9814
9815 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9816 in order to avoid "Stack overflow in regexp matcher".
9817
9818 2012-05-31 Glenn Morris <rgm@gnu.org>
9819
9820 * image.el: For clarity, call imagemagick-register-types at
9821 top-level, rather than relying on a custom :initialize.
9822 (imagemagick-types-enable): New option. (Bug#11557)
9823 (imagemagick-filter-types): New function. (Bug#7406)
9824 (imagemagick-register-types): Use imagemagick-filter-types.
9825 If disabling support, remove elements altogether rather
9826 than using an impossible regexp.
9827 (imagemagick-types-inhibit): Give it the default init function.
9828
9829 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9830
9831 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9832 Handle arbitrary file name lengths (Bug#11585).
9833
9834 2012-05-31 Martin Rudalics <rudalics@gmx.at>
9835
9836 * desktop.el (desktop-read): Clear previous and next buffers for
9837 all windows and bury *Messages* buffer (bug#11556).
9838
9839 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9840
9841 Add `declare' for `defun'. Align `defmacro's with it.
9842 * emacs-lisp/easy-mmode.el (define-minor-mode)
9843 (define-globalized-minor-mode): Don't autoload the var definitions.
9844 * emacs-lisp/byte-run.el: Use lexical-binding.
9845 (defun-declarations-alist, macro-declarations-alist): New vars.
9846 (defmacro, defun): Use them.
9847 (make-obsolete, define-obsolete-function-alias)
9848 (make-obsolete-variable, define-obsolete-variable-alias):
9849 Use `declare'.
9850 (macro-declaration-function): Mark obsolete.
9851 * emacs-lisp/autoload.el: Use lexical-binding.
9852 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
9853
9854 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9855
9856 * textmodes/ispell.el (ispell-with-no-warnings):
9857 Define as a macro.
9858 (ispell-kill-ispell, ispell-change-dictionary):
9859 Use `called-interactively-p' for Emacs instead of obsolete
9860 `interactive-p'.
9861
9862 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9863
9864 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9865 (macro-declaration-function): Move var from C code.
9866 (macro-declaration-function): Define function with defalias.
9867 * emacs-lisp/macroexp.el (macroexpand-all-1):
9868 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9869 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9870 defun/defmacro any more.
9871 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9872 Provide fallback for unknown arglist.
9873 (byte-compile-arglist-warn): Change calling convention.
9874 (byte-compile-output-file-form): Move print-vars binding.
9875 (byte-compile-output-docform): Simplify accordingly.
9876 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9877 (byte-compile-defmacro-declaration): Remove.
9878 (byte-compile-file-form-defmumble): Generalize to defalias.
9879 (byte-compile-output-as-comment): Return byte-positions.
9880 Simplify callers accordingly.
9881 (byte-compile-lambda): Use `assert'.
9882 (byte-compile-defun, byte-compile-defmacro): Remove.
9883 (byte-compile-file-form-defalias):
9884 Use byte-compile-file-form-defmumble.
9885 (byte-compile-defalias-warn): Remove.
9886
9887 2012-05-29 Stefan Merten <smerten@oekonux.de>
9888
9889 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
9890 possible. Fix authors. Improve comments. Improve loading of `cl'.
9891
9892 (rst-mode-abbrev-table): Merge definition.
9893 (rst-mode): Make sure `font-lock-defaults' is buffer local.
9894 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9895
9896 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
9897
9898 * calendar/icalendar.el
9899 (icalendar-export-region): Export UID properly.
9900
9901 2012-05-29 Leo Liu <sdl.web@gmail.com>
9902 * calendar/icalendar.el (icalendar-import-format):
9903 Add `icalendar-import-format-uid' (Bug#11525).
9904 (icalendar-import-format-uid): New.
9905 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9906 Export UID.
9907
9908 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9909
9910 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9911 different alternative patterns.
9912 (pcase-codegen): Be more careful to preserve identity.
9913 (pcase--u1): Don't forget to mark vars as used.
9914
9915 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9916 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9917 (byte-compile-from-buffer): ...rather than here.
9918
9919 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9920 functions from byte-compile-function-environment.
9921
9922 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
9923
9924 * window.el (window-deletable-p): Avoid deleting the root window
9925 of a frame with an active minibuffer.
9926
9927 2012-05-29 Martin Rudalics <rudalics@gmx.at>
9928
9929 * simple.el (choose-completion): Use quit-window (Bug#11567).
9930
9931 2012-05-29 Chong Yidong <cyd@gnu.org>
9932
9933 * whitespace.el (whitespace-cleanup): Fix usage of
9934 whitespace-empty-at-bob-regexp (Bug#11492).
9935
9936 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9937
9938 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9939 revert (Bug#11488).
9940
9941 2012-05-29 Juri Linkov <juri@jurta.org>
9942
9943 * isearch.el (isearch-mode-map): Bind `M-s _' to
9944 `isearch-toggle-symbol'. Bind `M-s c' to
9945 `isearch-toggle-case-fold'.
9946 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9947 (isearch-forward): Add `M-s _' to the docstring.
9948 (isearch-forward-symbol, isearch-toggle-case-fold)
9949 (isearch-symbol-regexp): New functions. (Bug#11381)
9950
9951 2012-05-29 Juri Linkov <juri@jurta.org>
9952
9953 * isearch.el (isearch-word): Add docstring. (Bug#11381)
9954 (isearch-occur, isearch-search-and-update): If `isearch-word' is
9955 a function, call it to get the regexp.
9956 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9957 property `isearch-message-prefix' instead of the string "word ".
9958 (isearch-search-fun-default): For the case of `isearch-word',
9959 return a lambda that calls re-search-forward/re-search-backward
9960 with a regexp returned by `word-search-regexp' or by the function
9961 in `isearch-word'.
9962
9963 2012-05-29 Juri Linkov <juri@jurta.org>
9964
9965 * isearch.el (isearch-search-fun-default): New function.
9966 (isearch-search-fun): Move default part to the new function
9967 `isearch-search-fun-default'.
9968 (isearch-search-fun-function): Set the default value to
9969 `isearch-search-fun-default'. (Bug#11381)
9970
9971 * comint.el (comint-history-isearch-end):
9972 Use `isearch-search-fun-default'.
9973 (comint-history-isearch-search): Use `isearch-search-fun-default'
9974 and remove spacial case for `isearch-word'.
9975 (comint-history-isearch-wrap): Remove spacial case for
9976 `isearch-word'.
9977
9978 * hexl.el (hexl-isearch-search-function):
9979 Use `isearch-search-fun-default'.
9980
9981 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9982 Use `word-search-regexp' for `isearch-word'.
9983
9984 * misearch.el (multi-isearch-search-fun):
9985 Use `isearch-search-fun-default'.
9986
9987 * simple.el (minibuffer-history-isearch-search):
9988 Use `isearch-search-fun-default' and remove spacial case for
9989 `isearch-word'.
9990 (minibuffer-history-isearch-wrap): Remove spacial case for
9991 `isearch-word'.
9992
9993 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
9994 Remove spacial case for `isearch-word'.
9995 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
9996
9997 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9998
9999 Decrease XEmacs incompatibilities.
10000 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10001 Use `string-match'.
10002 (flyspell-delete-region-overlays): Use alternative definition for
10003 XEmacs.
10004 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10005 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10006 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10007 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10008 `define-obsolete-face-alias' under XEmacs, but old method.
10009
10010 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10011 `with-no-warnings' definition or Emacs alias.
10012 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10013 (ispell-word): Do not use `region-p' if XEmacs.
10014
10015 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10016
10017 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10018 Check for `ispell-dictionary-base-alist' instead of full
10019 `ispell-dictionary-alist'.
10020 (ispell-init-process): Show spellchecker when starting new Ispell
10021 process.
10022
10023 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10024
10025 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10026 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10027
10028 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10029
10030 * version.el (motif-version-string, gtk-version-string)
10031 (ns-version-string): Declare.
10032
10033 2012-05-27 Juri Linkov <juri@jurta.org>
10034
10035 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10036 after the `eval-defun-1' specialcaseing
10037 like in `edebug-eval-defun' (bug#10181).
10038
10039 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10040 like in `eval-defun-1'.
10041
10042 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10043
10044 * mail/sendmail.el (mail-yank-region):
10045 Recognize rmail-yank-current-message in addition to insert-buffer.
10046 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10047 a *mail* buffer created through rmail-start-mail with sendmail as
10048 mail-user-agent.
10049
10050 2012-05-27 Chong Yidong <cyd@gnu.org>
10051
10052 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10053 Default to 256 (Bug#11267).
10054
10055 * help.el (describe-mode): Doc fix.
10056
10057 2012-05-26 Glenn Morris <rgm@gnu.org>
10058
10059 * w32-fns.el (w32-init-info): Remove.
10060 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10061
10062 * info.el (info-initialize): For self-contained NS builds, put the
10063 included info/ directory at the front. (Bug#2791)
10064
10065 * paths.el (Info-default-directory-list): Make it a defcustom,
10066 mainly so that we can use custom-initialize-delay.
10067
10068 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10069
10070 * subr.el (buffer-has-markers-at): Mark obsolete.
10071
10072 * subr.el (lambda): Use declare.
10073
10074 * emacs-lisp/lisp-mode.el (lambda):
10075 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10076
10077 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10078
10079 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10080
10081 2012-05-26 Glenn Morris <rgm@gnu.org>
10082
10083 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10084
10085 2012-05-25 Glenn Morris <rgm@gnu.org>
10086
10087 * paths.el: Remove no-byte-compile.
10088 * loadup.el: No need to load paths.el uncompiled.
10089
10090 * image.el (imagemagick-types-inhibit): Doc fix.
10091
10092 * version.el: Remove no-byte-compile and associated formatting.
10093 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10094 is ancient code from when there was an "inc-vers.el".
10095
10096 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10097
10098 * progmodes/gdb-mi.el: Minor style changes.
10099 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10100 Turn into minor modes.
10101 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10102 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10103 (gdb-shell): Remove unneeded let-binding.
10104 (gdb-get-many-fields): Eliminate O(n²) behavior.
10105
10106 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10107
10108 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10109 platforms that don't link in fontset.c.
10110
10111 2012-05-25 Juri Linkov <juri@jurta.org>
10112
10113 Use the same diff color scheme as in modern VCSes (bug#10181).
10114
10115 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10116 to avoid confusion with `diff-added' that now uses green colors.
10117 (diff-removed): Use shades of red.
10118 (diff-added): Use shades of green.
10119 (diff-changed): Leave just the yellow color.
10120 (diff-use-changed-face): New variable.
10121 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10122 how to highlight context diff changes.
10123 (diff-refine-change): Use shades of yellow.
10124 (diff-refine-removed): New face that uses shades of red.
10125 (diff-refine-added): New face that uses shades of green.
10126 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10127 `diff-refine-removed' in the call to `smerge-refine-subst'
10128 depending on the value of `diff-use-changed-face'.
10129
10130 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10131 (smerge-other): Use shades of green.
10132 (smerge-base): Use shades of yellow.
10133 (smerge-refined-change): Empty face.
10134 (smerge-refined-removed): New face that uses shades of red.
10135 (smerge-refined-added): New face that uses shades of green.
10136 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10137 args `props-r' and `props-a', and use them. Doc fix.
10138 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10139 on its value use different faces `smerge-refined-change',
10140 `smerge-refined-removed', `smerge-refined-added' in the call to
10141 `smerge-refine-subst'.
10142
10143 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10144 Add face condition `min-colors 88' with shades of red.
10145 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10146 `min-colors 88' with shades of green.
10147 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10148 `min-colors 88' with shades of yellow.
10149
10150 2012-05-24 Glenn Morris <rgm@gnu.org>
10151
10152 * paths.el (prune-directory-list, remote-shell-program): Move to...
10153 * files.el (prune-directory-list, remote-shell-program): ...here.
10154 For the latter, delay initialization, prefer ssh, just search PATH.
10155
10156 * paths.el (term-file-prefix): Move to faces.el (the only user).
10157 * faces.el (term-file-prefix): Move here, make it a defcustom.
10158
10159 * paths.el (news-directory, news-path, news-inews-program):
10160 Move to gnus/nnspool.el.
10161
10162 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10163
10164 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10165 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10166 Make the latter a defcustom, with a delayed initialization.
10167
10168 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10169 These were deleted from Gnus itself late 2010.
10170
10171 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10172
10173 * progmodes/which-func.el (which-func-ff-hook):
10174 Check against user-error, not error.
10175
10176 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10177 cl-specs.el, which no longer exists.
10178
10179 2012-05-22 Glenn Morris <rgm@gnu.org>
10180
10181 * info.el (info-emacs-bug): New command.
10182 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10183 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10184
10185 2012-05-21 Glenn Morris <rgm@gnu.org>
10186
10187 * makefile.w32-in (update-subdirs-SH):
10188 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10189
10190 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10191
10192 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10193
10194 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10195 Simplify Maven regexp, and make sure the file can't start with a space
10196 (bug#11517).
10197
10198 2012-05-21 Glenn Morris <rgm@gnu.org>
10199
10200 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10201 Scrap superfluous subshells.
10202
10203 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10204
10205 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10206 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10207
10208 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10209
10210 * calc/calc.el (calc-ensure-consistent-units): New variable.
10211
10212 * calc/calc-units.el (math-consistent-units-p)
10213 (math-check-unit-consistency): New functions.
10214 (calc-quick-units, calc-convert-units):
10215 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10216 is non-nil.
10217 (calc-extract-units): Fix typo.
10218
10219 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10220
10221 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10222
10223 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10224 (flyspell-default-deplacement-commands): Don't spell check after
10225 repeated window/frame switches (e.g. triggered by mouse-movement).
10226 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10227 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10228 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10229 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10230 Remove unused vars.
10231 (flyspell-get-casechars, flyspell-get-not-casechars):
10232 Simplify; Don't bother removing a ] just to add it back.
10233 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10234
10235 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10236
10237 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10238 New functions.
10239 (math-function-table): Add support for more C functions.
10240
10241 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10242
10243 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10244 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10245 Protect delay handling for otherchars against empty otherchars.
10246
10247 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10248
10249 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10250 their respective macro declarations.
10251 * skeleton.el (define-skeleton):
10252 * progmodes/compile.el (define-compilation-mode):
10253 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10254 (define-ibuffer-filter):
10255 * emacs-lisp/generic.el (define-generic-mode):
10256 * emacs-lisp/easy-mmode.el (define-minor-mode)
10257 (define-globalized-minor-mode):
10258 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10259 * emacs-lisp/byte-run.el (defsubst):
10260 * custom.el (deftheme): Add doc-string metadata.
10261
10262 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10263
10264 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10265
10266 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10267
10268 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10269
10270 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10271 * emacs-lisp/cl-macs.el: Idem.
10272 * emacs-lisp/cl-specs.el: Remove.
10273
10274 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10275
10276 Minor renaming of internal CL functions and variables.
10277 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10278 (cl--position): Rename from cl-position.
10279 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10280 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10281 (cl--random-state): Rename from *random-state*.
10282
10283 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10284
10285 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10286 parens around the arg list (bug#11499).
10287
10288 2012-05-17 Juri Linkov <juri@jurta.org>
10289
10290 * isearch.el (word-search-regexp, word-search-backward)
10291 (word-search-forward, word-search-backward-lax)
10292 (word-search-forward-lax): Move functions from search.c
10293 (bug#10145, bug#11381).
10294
10295 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10296
10297 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10298 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10299 Delay for otherchars as for normal word components.
10300
10301 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10302
10303 * minibuffer.el (completion--sifn-requote): Fix last change.
10304 (minibuffer-local-must-match-filename-map):
10305 Move define-obsolete-variable-alias before its var.
10306
10307 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10308
10309 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10310
10311 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10312 behavior.
10313 (completion--string-equal-p): New function.
10314 (completion--twq-all): Use it to get better assertion failure data.
10315
10316 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10317 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10318 (shell--requote-argument): New functions.
10319 (shell-completion-vars): Use them.
10320 (shell--parse-pcomplete-arguments): Rename from
10321 shell-parse-pcomplete-arguments.
10322 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10323 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10324 Obey comint-file-name-quote-list.
10325
10326 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10327 (smie-indent-keyword): Use it.
10328
10329 2012-05-14 Stefan Merten <smerten@oekonux.de>
10330
10331 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10332
10333 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10334
10335 * net/rlogin.el (rlogin-mode-map): Fix last change.
10336
10337 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10338
10339 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10340 the following \r\n using a single `process-send-string', since the
10341 Lotus SMTP server refuses to accept any commands if they are sent
10342 with two `process-send-string's (Bug#11444).
10343
10344 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10345
10346 * shell.el (shell-parse-pcomplete-arguments):
10347 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10348
10349 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10350
10351 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10352 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10353 (image-transform-width, image-transform-fit-width): New functions.
10354 (image-transform-properties): Use them.
10355 (image-transform-check-size): New function.
10356 (image-toggle-display-image): Use it (for testing).
10357 (image-transform-set-rotation): Reduce angle mod 360.
10358 Delete obsolete comment.
10359
10360 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10361
10362 * image-mode.el: Fix scaling (bug#11399).
10363 (image-transform-resize): Doc fix.
10364 (image-transform-properties): Default scale is 1 and height should
10365 be an integer.
10366
10367 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10368
10369 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10370 than hard-coding `car', to fix misbehavior when moving forward.
10371
10372 2012-05-13 Chong Yidong <cyd@gnu.org>
10373
10374 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10375 (tabulated-list-entries, tabulated-list-padding)
10376 (tabulated-list-sort-key): Make permanent-local.
10377
10378 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10379 (electric-buffer-list): Put electric buffer menu
10380 command descriptions in this docstring, instead of the docstring
10381 of electric-buffer-menu-mode. Code cleanups.
10382 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10383 Electric-buffer-menu-mode.
10384 (electric-buffer-update-highlight): Minor code cleanup.
10385
10386 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10387
10388 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10389 (Bug#11447)
10390
10391 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10392
10393 Move define-obsolete-variable-alias before the var's definition.
10394 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10395 * tooltip.el (tooltip-hook):
10396 * textmodes/reftex-toc.el (reftex-toc-map):
10397 * textmodes/reftex-sel.el (reftex-select-label-map)
10398 (reftex-select-bib-map):
10399 * textmodes/reftex-index.el (reftex-index-map)
10400 (reftex-index-phrases-map):
10401 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10402 * progmodes/meta-mode.el (meta-mode-map):
10403 * novice.el (disabled-command-hook):
10404 * loadhist.el (unload-hook-features-list):
10405 * frame.el (blink-cursor):
10406 * files.el (find-file-not-found-hooks, write-file-hooks)
10407 (write-contents-hooks):
10408 * emulation/tpu-edt.el (GOLD-map):
10409 * emacs-lock.el (emacs-lock-from-exiting):
10410 * emacs-lisp/generic.el (generic-font-lock-defaults):
10411 * emacs-lisp/chart.el (chart-map):
10412 * dos-fns.el (register-name-alist):
10413 * dired-x.el (dired-omit-files-p):
10414 * desktop.el (desktop-enable):
10415 * cus-edit.el (custom-mode-hook):
10416 * buff-menu.el (buffer-menu-mode-hook):
10417 * bookmark.el (bookmark-read-annotation-text-func)
10418 (bookmark-exit-hooks):
10419 * allout.el (allout-mode-deactivate-hook)
10420 (allout-exposure-change-hook, allout-structure-added-hook)
10421 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10422 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10423 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10424 comes before the corresponding variable's definition.
10425
10426 2012-05-12 Chong Yidong <cyd@gnu.org>
10427
10428 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10429 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10430 (Buffer-menu-mode-map): Bind it.
10431 (Buffer-menu--pretty-name): Add a mouse-face property.
10432
10433 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10434
10435 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10436 (prolog-upper-case-string, prolog-lower-case-string)
10437 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10438 (prolog-use-smie, prolog-smie-grammar): New vars.
10439 (prolog-smie-forward-token, prolog-smie-backward-token)
10440 (prolog-smie-rules): New funs.
10441 (prolog-comment-indent): Remove.
10442 (prolog-mode-variables): Use default comment indentation instead.
10443 Setup SMIE.
10444 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10445 (prolog-mode): Don't call them any more.
10446 (prolog-electric-colon, prolog-electric-dash)
10447 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10448
10449 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10450
10451 * minibuffer.el (completion--twq-all): Again, allow case differences.
10452
10453 * term.el: Move keymap initialization code to be more idiomatic.
10454 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10455 (term-terminal-menu): Move initialization into declaration.
10456 (term-escape-char): Let the user set it in her .emacs.
10457
10458 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10459 Provide SMIE-based indentation (not enabled by default yet).
10460 (sh-mode-map): Don't bind electric keys.
10461 Use electric-pair-mode instead of skeleton-pair.
10462 (sh-assignment-regexp): Fit within 80 columns.
10463 (sh-indent-supported): Specify actual shell name instead of boolean.
10464 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10465 (sh-maybe-here-document): Use it. Make obsolete.
10466 (sh-electric-here-document-mode) New minor mode.
10467 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10468 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10469 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10470 (sh-smie-rc-grammar, sh-use-smie): New vars.
10471 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10472 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10473 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10474 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10475 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10476 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10477 (sh-set-shell): Use smie-setup if requested.
10478
10479 * term.el (term-set-escape-char): Properly set term-escape-char.
10480 See http://stackoverflow.com/questions/10524656.
10481
10482 2012-05-10 Chong Yidong <cyd@gnu.org>
10483
10484 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10485 Use url-generic-parse-url, and handle host names and Windows
10486 filenames properly.
10487 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10488 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10489 URL schemes to work on.
10490 (ffap--toggle-read-only): New function.
10491 (ffap-read-only, ffap-read-only-other-window)
10492 (ffap-read-only-other-frame): Use it.
10493 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10494 necessary for ffap-url-unwrap-remote.
10495
10496 2012-05-10 Dave Abrahams <dave@boostpro.com>
10497
10498 * cus-start.el (create-lockfiles): Add it.
10499
10500 2012-05-09 Chong Yidong <cyd@gnu.org>
10501
10502 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10503 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10504
10505 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10506
10507 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10508
10509 2012-05-09 Chong Yidong <cyd@gnu.org>
10510
10511 * ansi-color.el (ansi-color-process-output): Check for validity of
10512 comint-last-output-start before using it. This avoids a bad
10513 interaction with gdb-mi's input/output buffer.
10514
10515 2012-05-09 Glenn Morris <rgm@gnu.org>
10516
10517 * files.el (dir-locals-read-from-file):
10518 Mention dir-locals in any error message.
10519
10520 2012-05-09 Chong Yidong <cyd@gnu.org>
10521
10522 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10523 package (Bug#11410).
10524
10525 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10526 variables into description.
10527
10528 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10529
10530 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10531 shell-delimiter-argument-list (bug#11348).
10532 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10533
10534 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
10535
10536 * textmodes/rst.el: Silence byte-compiler warnings.
10537 (rst-re-alist, rst-reset-section-caches): Move around.
10538 (rst-re): Use `characterp', not `char-valid-p'.
10539 (font-lock-beg, font-lock-end): Declare.
10540
10541 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10542 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10543
10544 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10545
10546 2012-05-08 Glenn Morris <rgm@gnu.org>
10547
10548 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10549
10550 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10551
10552 * vc/log-edit.el: Add GNU coding standards highlighting.
10553 (log-edit-font-lock-gnu-style)
10554 (log-edit-font-lock-gnu-keywords): New vars.
10555 (log-edit-font-lock-keywords): New fun.
10556 (log-edit-mode): Don't fold case in font-lock.
10557 (log-edit-font-lock-keywords): Do not assume case-folding.
10558
10559 * imenu.el: Misc cleanup. Make docstrings out of comments.
10560 Use lexical-binding.
10561 (imenu--index-alist, imenu--last-menubar-index-alist)
10562 (imenu-menubar-modified-tick): Use defvar-local.
10563 (imenu--split-menu): Remove unused var.
10564 (imenu--cleanup-seen): Declare as global.
10565 (imenu--cleanup): Use dolist.
10566
10567 * subr.el (defvar-local): Add debug spec and doc-string position.
10568
10569 2012-05-08 Glenn Morris <rgm@gnu.org>
10570
10571 * language/burmese.el, language/cham.el, language/czech.el:
10572 * language/english.el, language/georgian.el, language/greek.el:
10573 * language/japanese.el, language/khmer.el, language/korean.el:
10574 * language/lao.el, language/misc-lang.el, language/romanian.el:
10575 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10576 * language/thai.el, language/utf-8-lang.el:
10577 Remove no-byte-compile setting.
10578
10579 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10580
10581 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10582
10583 * progmodes/make-mode.el (makefile-browse):
10584 Remove unnecessary interactive. (Bug#11324)
10585
10586 2012-05-07 Glenn Morris <rgm@gnu.org>
10587
10588 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10589
10590 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10591
10592 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10593
10594 * loadup.el: Preload newcomment.el.
10595 * newcomment.el: Move autoload-only code to toplevel.
10596
10597 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10598 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10599 Handle new :right-align column property.
10600 (tabulated-list-print-col): Idem, plus use `display' text-property to
10601 try and preserve alignment for variable pitch fonts.
10602
10603 2012-05-07 Chong Yidong <cyd@gnu.org>
10604
10605 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10606 (tabulated-list-use-header-line): New var.
10607 (tabulated-list-init-header): Use it.
10608 (tabulated-list-print-fake-header): New function.
10609 (tabulated-list-print): Use it.
10610 (tabulated-list-sort-button-map): Add non-header-line commands.
10611 (tabulated-list-init-header): Add column name property to basic
10612 labels as well.
10613 (tabulated-list-col-sort): Handle non-header-line button case.
10614 (tabulated-list--sort-by-column-name): Fix a corner case.
10615
10616 * buff-menu.el (list-buffers--refresh):
10617 Handle Buffer-menu-use-header-line.
10618
10619 2012-05-06 Chong Yidong <cyd@gnu.org>
10620
10621 * buff-menu.el: Convert to Tabulated List mode.
10622 (Buffer-menu-buffer+size-width): Make obsolete.
10623 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10624 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10625 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10626 documentation into docstring of buffer-menu.
10627 (Buffer-menu-toggle-files-only): Add an informative message.
10628 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10629 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10630 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10631 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10632 (Buffer-menu-execute, Buffer-menu-select)
10633 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10634 (Buffer-menu-bury): Use Tabulated List machinery.
10635 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10636 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
10637 Delete.
10638 (list-buffers--refresh): New function.
10639 (list-buffers-noselect): Use it.
10640 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10641 (Buffer-menu--pretty-file-name): New helper functions.
10642
10643 * loadup.el: Preload tabulated-list.
10644
10645 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10646 tabulated-list-sort-column.
10647 (tabulated-list-init-header): Add the initial aligning space even
10648 if tabulated-list-padding is zero.
10649
10650 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10651
10652 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10653 whose cdr is not a cons cell correctly (bug#11038).
10654
10655 2012-05-06 Chong Yidong <cyd@gnu.org>
10656
10657 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10658 Accept additional plist in column descriptors.
10659 (tabulated-list-init-header): Obey it.
10660 (tabulated-list-get-entry): New function.
10661 (tabulated-list-put-tag): Use it. Use string-width instead of
10662 length.
10663 (tabulated-list--column-number): New function.
10664 (tabulated-list-print): Use it.
10665 (tabulated-list-print-col): New function.
10666 Set `tabulated-list-column-name' property on each column's text.
10667 (tabulated-list-print-entry): Use it.
10668 (tabulated-list-delete-entry, tabulated-list-set-col):
10669 New functions.
10670 (tabulated-list-sort-column): New command (Bug#11337).
10671
10672 * buff-menu.el (list-buffers): Move C-x C-b binding from
10673 buff-menu.el to bindings.el.
10674
10675 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10676 :advertised-binding feature.
10677
10678 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10679
10680 * progmodes/compile.el (compilation-internal-error-properties):
10681 Calculate start position correctly when end-col is set but
10682 end-line is not (Bug#11382).
10683
10684 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10685
10686 * man.el (Man-unindent): Use text-property-default-nonsticky to
10687 prevent untabify from inheriting face properties (Bug#11408).
10688
10689 2012-05-05 Stefan Merten <smerten@oekonux.de>
10690
10691 * textmodes/rst.el: Major merge with upstream development up to
10692 Docutils SVN r7399 / rst.el V1.2.1.
10693
10694 Clarify maintainership and authors.
10695
10696 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10697 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10698 (rst-official-version, rst-official-cvs-rev, rst-version)
10699 (rst-package-emacs-version-alist): New functions and variables
10700 for version information.
10701
10702 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10703 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10704 (rst-mode-syntax-table, rst-mode): New and corrected functions
10705 and variables representing reStructuredText features.
10706
10707 (rst-re): New function for reStructuredText regexes. Use in
10708 many places.
10709
10710 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10711 (rst-mode-map): Rebind keys.
10712
10713 (rst-mode-lazy, rst-font-lock-keywords)
10714 (rst-font-lock-extend-region)
10715 (rst-font-lock-extend-region-internal)
10716 (rst-font-lock-extend-region-extend)
10717 (rst-font-lock-find-unindented-line-limit)
10718 (rst-font-lock-find-unindented-line-match)
10719 (rst-adornment-level, rst-font-lock-adornment-level)
10720 (rst-font-lock-adornment-match)
10721 (rst-font-lock-handle-adornment-pre-match-form)
10722 (rst-font-lock-handle-adornment-matcher): Major revision of
10723 font-locking. Integrate with other code. Use `jit-lock-mode'.
10724
10725 (rst-preferred-adornments, rst-adjust-hook)
10726 (rst-new-adornment-down, rst-preferred-bullets)
10727 (rst-preferred-bullets, rst-indent, rst-indent-width)
10728 (rst-indent-field, rst-indent-literal-normal)
10729 (rst-indent-literal-minimized, rst-indent-comment): Change,
10730 extend and improve customization.
10731
10732 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10733 (rst-normalize-cursor-position, rst-get-decoration)
10734 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10735 (rst-rstrip, rst-toc-insert-find-delete-contents)
10736 (rst-shift-fill-region, rst-compute-bullet-tabs)
10737 (rst-debug-print-tabs, rst-debug-mark-found)
10738 (rst-shift-region-guts, rst-shift-region-right)
10739 (rst-shift-region-left, rst-use-char-classes)
10740 (rst-font-lock-keywords-function)
10741 (rst-font-lock-indentation-point)
10742 (rst-font-lock-find-unindented-line-begin)
10743 (rst-font-lock-find-unindented-line-end)
10744 (rst-font-lock-find-unindented-line)
10745 (rst-font-lock-adornment-point, rst-font-lock-level)
10746 (rst-adornment-level-alist): Remove functions and variables.
10747
10748 (rst-compare-adornments, rst-get-adornment-match)
10749 (rst-suggest-new-adornment, rst-get-adornments-around)
10750 (rst-adornment-complete-p, rst-get-next-adornment)
10751 (rst-adjust-adornment, rst-display-adornments-hierarchy)
10752 (rst-straighten-adornments): Standardize function names to
10753 use "adornment" instead of "decoration". Correct callers.
10754 Similar standardizing in many places.
10755
10756 (rst-update-section, rst-adjust, rst-promote-region)
10757 (rst-enumerate-region, rst-bullet-list-region)
10758 (rst-repeat-last-character): Correct use of `interactive'.
10759
10760 (rst-classify-adornment, rst-find-all-adornments)
10761 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10762 (rst-find-leftmost-column, rst-repeat-last-character):
10763 Refactor functions.
10764
10765 (rst-find-title-line, rst-reset-section-caches)
10766 (rst-get-adornments-around, rst-adjust-adornment-work)
10767 (rst-arabic-to-roman, rst-roman-to-arabic)
10768 (rst-insert-list-pos, rst-insert-list-new-item)
10769 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10770 New functions.
10771
10772 (rst-all-sections, rst-section-hierarchy)
10773 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10774 New variables.
10775
10776 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10777 configuration instead of only buffer. Change where necessary.
10778
10779 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10780 (rst-shift-region, rst-adaptive-fill): New functions for
10781 indentation and filling.
10782
10783 (rst-comment-line-break, rst-comment-indent)
10784 (rst-comment-insert-comment, rst-comment-region)
10785 (rst-uncomment-region): New functions for handling comments.
10786
10787 (rst-compile): Quote shell arguments.
10788
10789 (rst-compile-pdf-preview, rst-compile-slides-preview):
10790 Delete temporary files after use.
10791
10792 2012-05-05 Glenn Morris <rgm@gnu.org>
10793
10794 * calendar/cal-html.el: Optionally include holidays in the output.
10795 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10796 (cal-html-holidays): New option.
10797 (cal-html-css-default): Add holiday entry.
10798 (holiday-in-range): Autoload it.
10799 (cal-html-htmlify-entry): Add optional class argument.
10800 (cal-html-htmlify-list): Add optional holidays argument.
10801 (cal-html-insert-agenda-days): Include holidays in the output.
10802 (cal-html-one-month): Maybe include holidays.
10803
10804 * calendar/holidays.el (holiday-in-range):
10805 Move here from cal-tex-list-holidays.
10806 * calendar/cal-tex.el (cal-tex-list-holidays):
10807 Make it an obsolete alias for holiday-in-range. Update all callers.
10808
10809 2012-05-05 Chong Yidong <cyd@gnu.org>
10810
10811 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10812 Nextstep.
10813
10814 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10815
10816 * files.el (file-auto-mode-skip): New var.
10817 (set-auto-mode-1): Use it.
10818
10819 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10820
10821 * repeat.el: Use lexical-binding.
10822 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10823 (repeat-undo-count): Remove.
10824 (repeat):
10825 * progmodes/octave-mod.el (octave-abbrev-start):
10826 * progmodes/f90.el (f90-abbrev-start):
10827 * face-remap.el (text-scale-adjust):
10828 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10829
10830 * emacs-lisp/pcase.el (pcase--let*): New function.
10831 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10832 a bit more.
10833 (pcase--split-pred): Be more clever about ruling out overlap between
10834 a predicate and some constant pattern.
10835 (pcase--q1): Use `null' instead of (eq foo nil).
10836
10837 * subr.el (setq-local, defvar-local): New macros.
10838 (kbd): Redefine as an alias.
10839 (with-selected-window): Leave unrelated frames alone.
10840 (set-temporary-overlay-map): New function.
10841
10842 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10843
10844 * subr.el (user-error): New function.
10845 * window.el (switch-to-buffer):
10846 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10847 (smerge-match-conflict):
10848 * simple.el (previous-matching-history-element)
10849 (next-matching-history-element, goto-history-element, undo-more)
10850 (undo-start):
10851 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10852 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10853 (next-file, tags-loop-scan, list-tags, complete-tag):
10854 * progmodes/compile.el (compilation-loop):
10855 * mouse.el (mouse-minibuffer-check):
10856 * man.el (Man-bgproc-sentinel, Man-goto-page):
10857 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10858 (Info-history-forward, Info-follow-reference, Info-menu)
10859 (Info-extract-menu-item, Info-extract-menu-counting)
10860 (Info-forward-node, Info-backward-node, Info-next-menu-item)
10861 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10862 (Info-next-reference, Info-prev-reference, Info-index)
10863 (Info-index-next, Info-follow-nearest-node)
10864 (Info-copy-current-node-name):
10865 * imenu.el (imenu--make-index-alist)
10866 (imenu-default-create-index-function, imenu-add-to-menubar):
10867 * files.el (basic-save-buffer, recover-file):
10868 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10869 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10870 (checkdoc-message-text, checkdoc-defun):
10871 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10872 * cus-edit.el (customize-changed-options, customize-rogue)
10873 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10874 (custom-variable-mark-to-reset-standard)
10875 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10876 (custom-file):
10877 * completion.el (check-completion-length):
10878 * comint.el (comint-search-arg)
10879 (comint-previous-matching-input-string-position)
10880 (comint-previous-matching-input)
10881 (comint-replace-by-expanded-history-before-point, comint-send-input)
10882 (comint-copy-old-input, comint-backward-matching-input)
10883 (comint-goto-process-mark, comint-set-process-mark):
10884 * calendar/calendar.el (calendar-cursor-to-date): Use it.
10885 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10886
10887 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10888
10889 * dabbrev.el (dabbrev--ignore-case-p): New function.
10890 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10891 Use it.
10892
10893 * files.el (automount-dir-prefix): Mark as obsolete.
10894
10895 2012-05-04 Glenn Morris <rgm@gnu.org>
10896
10897 * patcomp.el, play/bruce.el: Move to obsolete/.
10898
10899 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
10900
10901 Fix minor Y10k bugs.
10902 * arc-mode.el (archive-unixdate):
10903 * autoinsert.el (auto-insert-alist):
10904 * calc/calc-forms.el (math-this-year):
10905 * emacs-lisp/copyright.el (copyright-current-year)
10906 (copyright-update-year, copyright):
10907 * tar-mode.el (tar-clip-time-string):
10908 * time.el (display-time-update):
10909 Don't assume years have 4 digits.
10910
10911 2012-05-04 Chong Yidong <cyd@gnu.org>
10912
10913 * dos-w32.el (file-name-buffer-file-type-alist)
10914 (direct-print-region-use-command-dot-com):
10915 * ffap.el (ffap-menu-regexp):
10916 * find-file.el (ff-special-constructs):
10917 * follow.el (follow-debug):
10918 * forms.el (forms--debug):
10919 * iswitchb.el (iswitchb-all-frames):
10920 * ido.el (ido-all-frames):
10921 * emacs-lisp/timer.el (timer-max-repeats):
10922 * mail/feedmail.el (feedmail-mail-send-hook)
10923 (feedmail-mail-send-hook-queued):
10924 * mail/footnote.el (footnote-signature-separator):
10925 * mail/mailabbrev.el (mail-alias-separator-string)
10926 (mail-abbrev-mode-regexp):
10927 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10928 * progmodes/idlwave.el (idlwave-libinfo-file)
10929 (idlwave-default-completion-case-is-down)
10930 (idlwave-library-routines): Convert defvars to defcustoms.
10931
10932 * mail/rmail.el (rmail-decode-mime-charset):
10933 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10934 (idlwave-shell-fix-inserted-breaks)
10935 (idlwave-shell-activate-alt-keybindings)
10936 (idlwave-shell-use-breakpoint-glyph):
10937 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10938
10939 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10940
10941 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10942
10943 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10944
10945 * progmodes/verilog-mode.el (font-lock-keywords):
10946 Fix mis-highligting auto. Reported by Craig Barner.
10947 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
10948 defines from global name space. Reported by Dan Dever.
10949 (verilog-auto-reset, verilog-auto-reset-widths)
10950 (verilog-auto-tieoff): Support using unbased numbers for
10951 AUTORESET and AUTOTIEOFF.
10952 (verilog-submit-bug-report): Update variable list.
10953 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
10954 parenthesis from not matching. Reported by Michael Rytting.
10955 (verilog-auto-template-lint): Fix hash error when linting modules
10956 with no used templates.
10957 (verilog-warn, verilog-warn-error)
10958 (verilog-warn-fatal): When non-interactive report multiple
10959 warnings before exiting. Suggested by Brad Dobbie.
10960 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10961 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10962 to report unused template errors. Reported by Brad Dobbie.
10963 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
10964 nets, bug438. Reported by Vns Blore.
10965 (verilog-auto-inout-module, verilog-auto-reg)
10966 (verilog-read-decls, verilog-read-sub-decls-sig)
10967 (verilog-signals-edit-wire-reg, verilog-signals-with):
10968 Fix passing of Verilog data types in ANSI input/output ports
10969 such as "output logic" into the AUTOs. Special case "wire" and
10970 "reg" for backwards compatibility presuming Verilog 2001.
10971 (verilog-auto-ascii-enum): Add "auto enum" as alias.
10972 (verilog-preprocess): Fix replication of preprocess output.
10973 Reported by Brad Dobbie.
10974 (verilog-auto-inst-interfaced-ports):
10975 Create verilog-auto-inst-interfaced-ports, bug429.
10976 Reported by Julian Gorfajn.
10977 (verilog-after-save-font-hook)
10978 (verilog-before-save-font-hook): New variable.
10979 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10980 (verilog-save-font-mods): Wrap disabling fontification, reported
10981 by David Rogoff.
10982 (verilog-do-indent, verilog-pretty-declarations-auto)
10983 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10984 Reported by Pierre-David Pfister.
10985 (verilog-set-auto-endcomments): Fix endtask auto comments outside
10986 of class declarations, bug292. Reported by Kevin Heilman.
10987 (verilog-read-decls): Fix 'parameter type' not appearing in
10988 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
10989 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
10990 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
10991 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10992 Reported by David Kravitz.
10993
10994 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
10995
10996 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
10997 assignment with tests in ifs and for loops.
10998 (verilog-extended-complete-re, verilog-complete-reg): Change so
10999 that DPI inport functions don't look like fuction declarations.
11000 (verilog-pretty-expr): Don't line up assignment
11001 operations to the test and increment in if and for loops
11002 (verilog-extended-complete-re, verilog-complete-reg): Change so
11003 that DPI inport functions don't look like fuction declarations.
11004
11005 2012-05-03 Kenichi Handa <handa@m17n.org>
11006
11007 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11008 decoding, and show a warning message without signaling an error
11009 (Bug#11282).
11010
11011 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11012
11013 * emacs-lisp/bytecomp.el
11014 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11015 since cconv.el might have introduced :fun-body, internal-make-closure,
11016 and friends for bytecomp to handle (bug#11391).
11017 * custom.el (defcustom): Avoid ((λ ..) ..).
11018
11019 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11020
11021 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11022
11023 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11024
11025 * notifications.el (dbus-debug):
11026 * term/linux.el (gpm-mouse-enable):
11027 * term/screen.el (xterm-register-default-colors): Declare.
11028
11029 2012-05-02 Chong Yidong <cyd@gnu.org>
11030
11031 * cus-start.el (gc-cons-percentage, exec-suffixes)
11032 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11033 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11034 (make-cursor-line-fully-visible, void-text-area-pointer)
11035 (font-list-limit): Add customization data.
11036
11037 * allout.el (allout-exposure-change-functions)
11038 (allout-structure-added-functions)
11039 (allout-structure-deleted-functions)
11040 (allout-structure-shifted-functions): Rename abnormal hooks from
11041 *-hook, and convert to defcustoms.
11042 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11043 Convert to defcustoms.
11044 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11045
11046 * allout-widgets.el: Hook callers changed.
11047
11048 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11049
11050 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11051 the yanked message in preference to the default value of
11052 buffer-file-coding-system.
11053
11054 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11055
11056 * window.el (display-buffer--action-function-custom-type):
11057 Fix entry.
11058
11059 2012-05-02 Alan Mackenzie <acm@muc.de>
11060
11061 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11062
11063 2012-05-01 Glenn Morris <rgm@gnu.org>
11064
11065 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11066
11067 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11068
11069 * cus-edit.el (custom-variable-documentation): Simplify with format.
11070
11071 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11072 Stefan Monnier <monnier@iro.umontreal.ca>
11073
11074 * simple.el (suggest-key-bindings, execute-extended-command):
11075 Move from keyboard.c.
11076
11077 2012-05-01 Chong Yidong <cyd@gnu.org>
11078
11079 * follow.el: Eliminate advice.
11080 (set-process-filter, process-filter, sit-for): Advice deleted.
11081 (follow-mode-off-hook): Obsolete hook removed.
11082 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11083 Vars deleted.
11084 (follow-auto): Use a :set function.
11085 (follow-mode): Rewritten. Don't advise process filters.
11086 (follow-switch-to-current-buffer-all, follow-scroll-up)
11087 (follow-scroll-down): Assume follow-mode is bound.
11088 (follow-comint-scroll-to-bottom)
11089 (follow-align-compilation-windows): New functions.
11090 (follow--window-sorter): New function.
11091 (follow-all-followers): Use it to explicitly sort windows by their
11092 positions; don't make assumptions about next-window order.
11093 (follow-windows-start-end, follow-delete-other-windows-and-split)
11094 (follow-calc-win-start): Doc fix.
11095 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11096 vertical-motion unnecessarily.
11097 (follow-adjust-window): New function.
11098 (follow-post-command-hook): Use it.
11099 (follow-call-set-process-filter, follow-call-process-filter)
11100 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11101 (follow-stop-intercept-process-output, follow-generic-filter):
11102 Functions deleted.
11103 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11104 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11105 New functions, replacing advice on scroll-bar-* commands.
11106 (follow-mwheel-scroll): New function (Bug#4112).
11107
11108 * comint.el (comint-adjust-point): New function.
11109 (comint-postoutput-scroll-to-bottom): Use it.
11110 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11111
11112 2012-05-01 Glenn Morris <rgm@gnu.org>
11113
11114 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11115 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11116 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11117 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11118 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11119 Remove no-byte-compile setting.
11120
11121 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11122
11123 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11124 all-completions code to not return a number in the last cdr.
11125
11126 2012-04-30 Leo Liu <sdl.web@gmail.com>
11127
11128 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11129 read-only error.
11130
11131 2012-04-29 Chong Yidong <cyd@gnu.org>
11132
11133 * follow.el (follow-calc-win-end): Rewrite to handle partial
11134 screen lines correctly (Bug#8390).
11135 (follow-avoid-tail-recenter): Minor cleanup.
11136
11137 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11138
11139 Avoid the obsolete `assoc' package.
11140 * speedbar.el (speedbar-refresh): Avoid adelete.
11141 (speedbar-file-lists): Simplify and avoid aput.
11142 * man.el (Man--sections, Man--refpages): New vars, replacing
11143 Man-sections-alist and Man-refpages-alist.
11144 (Man-build-section-alist, Man-build-references-alist):
11145 Use them; avoid aput.
11146 (Man--last-section, Man--last-refpage): New vars.
11147 (Man-follow-manual-reference): Use them.
11148 Use the `default' arg of completing-read.
11149 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11150
11151 2012-04-27 Chong Yidong <cyd@gnu.org>
11152
11153 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11154
11155 * startup.el (x-apply-session-resources): New function.
11156
11157 * term/ns-win.el (ns-initialize-window-system):
11158 * term/w32-win.el (w32-initialize-window-system):
11159 * term/x-win.el (x-initialize-window-system): Use it to properly
11160 set menu-bar-mode and other vars from X resources, even if the
11161 initial frame is not a window-system frame (Bug#2299).
11162
11163 * subr.el (read-key): Avoid running filter function when setting
11164 up temporary tool bar entries (Bug#9922).
11165
11166 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11167
11168 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11169 (Bug#11344)
11170
11171 2012-04-27 Chong Yidong <cyd@gnu.org>
11172
11173 * select.el (xselect--encode-string): New function, split from
11174 xselect-convert-to-string.
11175 (xselect-convert-to-string): Use it.
11176 (xselect-convert-to-filename, xselect-convert-to-os)
11177 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11178 returned strings are properly encoded (Bug#11315).
11179
11180 2012-04-27 Chong Yidong <cyd@gnu.org>
11181
11182 * simple.el (delete-active-region): Move to killing custom group.
11183
11184 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11185
11186 * progmodes/which-func.el (which-func-current): Quote %
11187 characters for mode-line processing.
11188
11189 2012-04-27 Chong Yidong <cyd@gnu.org>
11190
11191 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11192 reaching eob (Bug#11286).
11193
11194 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11195
11196 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11197 (gdb): Make it buffer-local and init to zero.
11198 (gdb-control-commands-regexp): New variable.
11199 (gdb-send): Don't wrap in "-interpreter-exec console" if
11200 gdb-control-level is positive. Increment gdb-control-level
11201 whenever the command matches gdb-control-commands-regexp, and
11202 decrement it each time the command is "end". (Bug#11279)
11203
11204 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11205
11206 * window.el (adjust-window-trailing-edge, enlarge-window)
11207 (shrink-window, window-resize):
11208 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11209 windows (Bug#11276).
11210
11211 2012-04-27 Chong Yidong <cyd@gnu.org>
11212
11213 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11214 fix "missing prefix" warning. All callers changed.
11215
11216 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11217
11218 * emacs-lisp/assoc.el: Move to obsolete/.
11219
11220 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11221
11222 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11223
11224 * term/ns-win.el (ns-define-service):
11225 * progmodes/pascal.el (pascal-goto-defun):
11226 * progmodes/js.el (js--read-tab):
11227 * progmodes/etags.el (tags-lazy-completion-table):
11228 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11229 * emacs-lisp/ewoc.el (ewoc--wrap):
11230 * emacs-lisp/assoc.el (aput, adelete, amake):
11231 * doc-view.el (doc-view-convert-current-doc):
11232 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11233
11234 2012-04-26 Chong Yidong <cyd@gnu.org>
11235
11236 * image.el (image-type-from-buffer): Only return supported image
11237 type (Bug#9045).
11238
11239 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11240 value, for symmetry with diff-end-of-hunk.
11241 (diff-split-hunk, diff-find-source-location)
11242 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11243 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11244 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11245 compute the relevant hunk or file properly (Bug#6005).
11246 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11247
11248 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11249
11250 * vc/vc-mtn.el:
11251 * vc/vc-hg.el:
11252 * vc/vc-git.el:
11253 * vc/vc-dir.el:
11254 * vc/vc-cvs.el:
11255 * vc/vc-bzr.el:
11256 * vc/vc-arch.el:
11257 * vc/vc.el: Replace lexical-let by lexical-binding.
11258 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11259 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11260 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11261
11262 2012-04-26 Chong Yidong <cyd@gnu.org>
11263
11264 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11265 (diff-mode-shared-map): Bind it to / and [remap undo].
11266
11267 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11268 (ediff-window-setup-function): Use it as the default, to set up
11269 windows based on whether the current frame is graphical (Bug#2138).
11270 (ediff-choose-window-setup-function-automatically): Make obsolete.
11271
11272 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11273
11274 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11275
11276 * ffap.el: Remove old code for obsolete package.
11277 (ffap-complete-as-file-p): Remove.
11278
11279 Use completion-table-with-quoting for comint and pcomplete.
11280 * comint.el (comint--unquote&requote-argument)
11281 (comint--unquote-argument, comint--requote-argument): New functions.
11282 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11283 (comint-quote-filename): Use regexp-opt-charset.
11284 (comint--common-suffix, comint--common-quoted-suffix)
11285 (comint--table-subvert): Remove.
11286 (comint-unquote-function, comint-requote-function): New vars.
11287 (comint--complete-file-name-data): Use them with
11288 completion-table-with-quoting.
11289 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11290 * pcomplete.el (pcomplete-arg-quote-list)
11291 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11292 (pcomplete-unquote-argument-function): Default to non-nil.
11293 (pcomplete-unquote-argument): Simplify.
11294 (pcomplete--common-quoted-suffix): Remove.
11295 (pcomplete-requote-argument-function): New var.
11296 (pcomplete--common-suffix): New function.
11297 (pcomplete-completions-at-point): Use completion-table-with-quoting
11298 and completion-table-subvert.
11299
11300 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11301 (minibuffer--double-dollars): Preserve properties.
11302 (completion--sifn-requote): New function.
11303 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11304
11305 * minibuffer.el: Add support for completion of quoted/escaped data.
11306 (completion-table-with-quoting, completion-table-subvert): New funs.
11307 (completion--twq-try, completion--twq-all): New functions.
11308 (completion--nth-completion): New function.
11309 (completion-try-completion, completion-all-completions): Use it.
11310
11311 2012-04-25 Leo Liu <sdl.web@gmail.com>
11312
11313 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11314 Use compilation-message if available to find real filename.
11315
11316 2012-04-25 Chong Yidong <cyd@gnu.org>
11317
11318 * vc/diff-mode.el (diff-setup-whitespace): New function.
11319 (diff-mode): Use it.
11320
11321 * vc/diff.el (diff-sentinel):
11322 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11323 Whitespace mode variables based on diff style (Bug#8612).
11324
11325 2012-04-25 Leo Liu <sdl.web@gmail.com>
11326
11327 * progmodes/python.el (python-send-region): Add suffix .py to the
11328 temp file.
11329
11330 * files.el (auto-mode-alist): Use javascript-mode instead.
11331
11332 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11333
11334 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11335
11336 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11337 (soap-resolve-references-for-array-type): Hack to prevent self
11338 references, see Bug#9.
11339 (soap-parse-envelope): Report the contents of the 'detail' node
11340 when receiving a fault reply.
11341 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11342
11343 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11344 (soap-inspect-simple-type): New function.
11345
11346 * net/soap-client.el (soap-simple-type): New struct.
11347 (soap-default-xsd-types, soap-default-soapenc-types)
11348 (soap-decode-basic-type, soap-encode-basic-type):
11349 support unsignedInt and double basic types.
11350 (soap-resolve-references-for-simple-type)
11351 (soap-parse-simple-type, soap-encode-simple-type): New function.
11352 (soap-parse-schema): Parse xsd:simpleType declarations.
11353
11354 * net/soap-client.el (soap-default-xsd-types)
11355 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11356 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11357 the local name of "soapenc:Array".
11358 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11359 decoding integer, byte and anyURI xsd types.
11360
11361 2012-04-25 Chong Yidong <cyd@gnu.org>
11362
11363 * cus-edit.el (custom-buffer-create-internal): Update header text.
11364
11365 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11366
11367 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11368 settings on 'system-type', not on 'window-system'. On MS-Windows,
11369 set interactive-mode on in GDB.
11370
11371 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11372
11373 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11374 (ruby-syntax-propertize-regexp): Remove.
11375 (ruby-syntax-propertize-function): Split regexp into chunks.
11376 Match following code directly.
11377
11378 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11379
11380 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11381 (ruby-syntax-propertize-regexp): New function.
11382 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11383 by a special keyword.
11384
11385 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11386 (ruby-syntax-general-delimiters-goto-beg)
11387 (ruby-syntax-propertize-general-delimiters): New functions.
11388 (ruby-syntax-propertize-function): Use them to handle GDL.
11389 (ruby-font-lock-keywords): Move old handling of GDL...
11390 (ruby-font-lock-syntactic-keywords): .. to here.
11391 (ruby-calculate-indent): Adjust indentation for GDL.
11392
11393 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11394
11395 * notifications.el (top): Remove unneeded declarations.
11396 (notifications-specification-version): Change to "1.2".
11397 (notifications-interface, notifications-notify-method)
11398 (notifications-close-notification-method): Fix docstring.
11399 (notifications-get-capabilities-method): New defconst.
11400 (notifications-notify): Add :action-items, :resident and
11401 :transient hints. Change "image_data" to "image-data" and
11402 "image_path" to "image-path".
11403 (notifications-get-capabilities): New defun.
11404
11405 2012-04-24 Leo Liu <sdl.web@gmail.com>
11406
11407 * progmodes/python.el: Move hideshow setup to the end.
11408
11409 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11410
11411 * window.el (handle-select-window): Clear echo area since this is
11412 no more done by read_char (Bug#11304).
11413
11414 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11415
11416 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11417 and `/ M' to filter-derived-mode.
11418 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11419 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11420 (ibuffer-mark-by-mode): Use default rather than initial-input.
11421 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11422
11423 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11424
11425 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11426 (ibuffer-filter-by-derived-mode): New filter.
11427 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11428
11429 2012-04-23 Andreas Politz <politza@fh-trier.de>
11430
11431 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11432
11433 2012-04-23 Chong Yidong <cyd@gnu.org>
11434
11435 * cus-edit.el (customize-apropos, customize-apropos-options):
11436 Disable matching of non-option variables (Bug#11176).
11437 (customize-option, customize-option-other-window)
11438 (customize-changed-options): Doc fix.
11439 (customize-apropos-options, customize-apropos-faces)
11440 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11441
11442 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11443 Fix word list splitting (Bug#11132).
11444 (apropos-symbol, apropos-keybinding, apropos-label)
11445 (apropos-property, apropos-function-button)
11446 (apropos-variable-button, apropos-misc-button): New faces.
11447 (apropos-symbol-face, apropos-keybinding-face)
11448 (apropos-label-face, apropos-property-face, apropos-match-face):
11449 Variables removed (Bug#8396).
11450 (apropos-library-button, apropos-format-plist, apropos-print)
11451 (apropos-print-doc, apropos-describe-plist): Callers changed.
11452
11453 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11454
11455 * net/xesam.el (xesam-mode-map): Use let-bound map in
11456 initialization. (Bug#11292)
11457
11458 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11459
11460 Preserve ispell session localwords when switching back to
11461 original buffer.
11462
11463 * textmodes/ispell.el (ispell-buffer-session-localwords):
11464 New buffer-local variable to hold buffer session localwords.
11465 (ispell-kill-ispell): Add option 'clear to delete session
11466 localwords.
11467 (ispell-command-loop, ispell-change-dictionary)
11468 (ispell-buffer-local-words): Preserve session localwords when
11469 needed.
11470
11471 * textmodes/flyspell.el (flyspell-process-localwords)
11472 (flyspell-do-correct): Preserve session localwords when needed.
11473
11474 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11475
11476 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11477 using obsolete `translation-table-for-input'.
11478 (ispell-word, ispell-process-line, ispell-complete-word):
11479 Use plain `insert' instead of removed `ispell-insert-word'.
11480
11481 2012-04-22 Chong Yidong <cyd@gnu.org>
11482
11483 * cus-edit.el (custom-variable-menu)
11484 (custom-variable-reset-saved, custom-face-menu)
11485 (custom-face-reset-saved): If there is no saved value, make the
11486 "reset-saved" operation bring back the default (Bug#9509).
11487 (custom-face-state): Properly detect themed faces.
11488
11489 * faces.el (face-spec-set): Stop supporting deprecated form of
11490 third arg.
11491
11492 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
11493
11494 Move functions from C to Lisp. Make non-blocking method calls
11495 the default. Implement further D-Bus standard interfaces.
11496
11497 * net/dbus.el (dbus-message-internal): Declare function.
11498 Remove unneeded function declarations.
11499 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11500 (dbus-message-type-method-return, dbus-message-type-error)
11501 (dbus-message-type-signal): Declare variables. Remove local
11502 definitions.
11503 (dbus-interface-dbus, dbus-interface-peer)
11504 (dbus-interface-introspectable, dbus-interface-properties)
11505 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11506 Adapt docstring.
11507 (dbus-interface-objectmanager): New defconst.
11508 (dbus-call-method, dbus-call-method-asynchronously)
11509 (dbus-send-signal, dbus-method-return-internal)
11510 (dbus-method-error-internal, dbus-register-service)
11511 (dbus-register-signal, dbus-register-method): New defuns, moved
11512 from dbusbind.c
11513 (dbus-call-method-handler, dbus-setenv)
11514 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11515 New defuns.
11516 (dbus-call-method-non-blocking): Make it an obsolete function.
11517 (dbus-unregister-object, dbus-unregister-service)
11518 (dbus-handle-event, dbus-register-property)
11519 (dbus-property-handler): Obey the new structure of
11520 `bus-registered-objects'.
11521 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11522 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11523 Use `dbus-call-method'.
11524
11525 2012-04-22 Chong Yidong <cyd@gnu.org>
11526
11527 * cus-edit.el (custom-commands, custom-reset-menu)
11528 (Custom-reset-standard): Tweak labels.
11529 (custom-reset-button-menu): Change default to t.
11530 (custom-buffer-create-internal): For the custom-reset-button-menu
11531 case, put the revert button first.
11532 (custom-group-subtitle): New face.
11533 (custom-group-value-create): Align docstring to a specific column.
11534
11535 * wid-edit.el (widget-documentation-link-add): Don't handle
11536 indentation in this function.
11537 (widget-documentation-string-indent-to): New function.
11538 (widget-documentation-string-value-create): Use it.
11539
11540 * autorevert.el (auto-revert):
11541 * epg-config.el (epg):
11542 * ibuffer.el (ibuffer):
11543 * mpc.el (mpc):
11544 * ses.el (ses):
11545 * eshell/eshell.el (eshell):
11546 * net/ange-ftp.el (ange-ftp):
11547 * progmodes/ebnf2ps.el (postscript):
11548 * progmodes/flymake.el (flymake):
11549 * progmodes/prolog.el (prolog):
11550 * progmodes/verilog-mode.el (verilog-mode):
11551 * progmodes/which-func.el (which-func):
11552 * term/xterm.el (xterm):
11553 * textmodes/picture.el (picture):
11554 * textmodes/tildify.el (tildify):
11555 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11556 customization buffers.
11557
11558 2012-04-22 Alan Mackenzie <acm@muc.de>
11559
11560 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11561 Adding a ) can hide the resulting (..) from searches. Fix it.
11562 Bound the backward search to the position of the existing (.
11563
11564 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
11565
11566 * progmodes/verilog-mode.el (verilog-mode): Check whether
11567 which-func-modes is t before adding verilog-mode.
11568 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11569
11570 2012-04-21 Leo Liu <sdl.web@gmail.com>
11571
11572 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11573
11574 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11575
11576 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11577 filling of the last column of a table (Bug#5635).
11578 (woman-find-next-control-line): New arg, specifying an additional
11579 regexp component for the control line.
11580 (woman2-roff-buffer): Use it.
11581 (woman-break-table): New function.
11582 (woman2-TS): Use it.
11583
11584 2012-04-21 Chong Yidong <cyd@gnu.org>
11585
11586 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11587 (woman-horizontal-escapes, woman-negative-vertical-space)
11588 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11589 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11590
11591 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11592
11593 * minibuffer.el (completion-file-name-table): Complete user names.
11594
11595 2012-04-20 Leo Liu <sdl.web@gmail.com>
11596
11597 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11598 and pcase-let*.
11599
11600 2012-04-20 Chong Yidong <cyd@gnu.org>
11601
11602 * server.el (server-execute): Respect initial-buffer-choice if it
11603 is a string and there are no files to open (Bug#2825).
11604 (server-create-window-system-frame, server-create-tty-frame):
11605 Don't switch buffers here.
11606 (server-process-filter): Only try to open a window system frame if
11607 compiled with graphical support (Bug#8314).
11608
11609 2012-04-20 Dan Nicolaescu <dann@gnu.org>
11610
11611 * battery.el (battery-echo-area-format): Display remaining time
11612 for sysfs backend too (Bug#11269).
11613 (battery-linux-sysfs): Fix conditional for the charge.
11614
11615 2012-04-20 Chong Yidong <cyd@gnu.org>
11616
11617 * progmodes/gdb-mi.el (gdb): Revert previous change.
11618 (gdb-inferior-io--init-proc): New function.
11619 (gdb-init-1): Use it.
11620 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11621 responsible for allocating a new pty and hooking it to gdb when
11622 the old pty gets an EIO due to process exit.
11623 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11624 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11625 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11626
11627 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11628
11629 * window.el (window-min-size, window-sizable, window-min-delta)
11630 (window-max-delta, window--resizable, window-resizable)
11631 (window-total-size, window-full-height-p, window-full-width-p)
11632 (window-in-direction, window--resize-mini-window, window-resize)
11633 (window--resize-child-windows-normal)
11634 (window--resize-child-windows, window--resize-siblings)
11635 (window--resize-this-window, adjust-window-trailing-edge)
11636 (enlarge-window, shrink-window): Doc fixes.
11637
11638 2012-04-20 Chong Yidong <cyd@gnu.org>
11639
11640 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11641 New function to call delete-process on the gdb-inferior buffer's pty.
11642 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11643 pty process (Bug#11273).
11644 (gdb-update): New arg to suppress talking to the gdb process.
11645 (gdb-done-or-error): Use it.
11646 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11647 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11648 sentinel not being called.
11649
11650 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11651
11652 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11653
11654 2012-04-20 Glenn Morris <rgm@gnu.org>
11655
11656 * net/network-stream.el (open-network-stream): Doc fix.
11657
11658 2012-04-20 Chong Yidong <cyd@gnu.org>
11659
11660 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11661
11662 2012-04-20 Alan Mackenzie <acm@muc.de>
11663
11664 Ensure searching for keywords is case sensitive.
11665
11666 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11667 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11668 (c-defun-name, c-mark-function, c-cpp-define-name)
11669 (c-comment-indent, c-scan-conditionals, c-indent-defun)
11670 (c-context-line-break): Bind case-fold-search to nil.
11671
11672 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11673 Bind case-fold-search to nil.
11674
11675 2012-04-20 Chong Yidong <cyd@gnu.org>
11676
11677 * mail/sendmail.el (mail-bury): Call return action with the right
11678 Rmail buffer (Bug#11242).
11679
11680 * server.el (server-process-filter): Handle corner case where both
11681 tty and nowait options are present (Bug#11102).
11682
11683 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11684
11685 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
11686 (top level): Put into the executable the ident-style '$Id:' tag on
11687 windows-nt as well.
11688
11689 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11690
11691 * electric.el (electric-indent-post-self-insert-function): Check that
11692 electric-indent-mode is enabled in current buffer.
11693
11694 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11695
11696 * imenu.el (imenu-progress-message): Restore; it is "used" in
11697 erc/erc-imenu.el and net/snmp-mode.el.
11698
11699 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11700
11701 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11702 (mouse-avoidance-nudge-mouse): Remove unused binding.
11703
11704 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11705
11706 * descr-text.el (describe-char):
11707 * progmodes/python.el (python-describe-symbol):
11708 Don't call `toggle-read-only', set `buffer-read-only'.
11709
11710 * imenu.el (imenu-default-goto-function): Mark unused args.
11711 (imenu-progress-message): Remove obsolete macro; all callers changed.
11712
11713 * subr.el (keymap-canonicalize): Remove unused binding.
11714 (read-passwd): Mark unused arg.
11715
11716 * tutorial.el (tutorial--display-changes): Remove unused binding.
11717 (tutorial--save-tutorial-to): Remove unused variable.
11718
11719 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11720 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11721 (package-generate-autoloads, package-menu--generate)
11722 (package-menu--find-upgrades): Remove unused bindings.
11723
11724 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11725 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11726 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11727 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11728 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11729 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11730 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11731 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11732 (cua-delete-char-rectangle): Mark unused args.
11733 (cua-align-rectangle): Remove unused binding.
11734
11735 * mail/rmail.el (compilation--message->loc)
11736 (epa--find-coding-system-for-mime-charset): Declare.
11737
11738 * net/dbus.el (dbus-register-service): Declare.
11739 (dbus-name-owner-changed-handler): Remove unused binding.
11740
11741 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11742 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11743 (nxml-scan-backward-within): Mark unused arg.
11744 (nxml-dynamic-markup-word): Remove unused binding.
11745
11746 * mouse.el (mouse-menu-major-mode-map):
11747 * emacs-lisp/authors.el (authors-scan-change-log)
11748 (authors-add-to-author-list):
11749 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11750 * emacs-lisp/smie.el (smie-auto-fill):
11751 * mail/sendmail.el (mail-bury):
11752 * mail/unrmail.el (unrmail):
11753 * net/tls.el (open-tls-stream):
11754 * textmodes/picture.el (picture-mouse-set-point):
11755 Remove unused bindings.
11756
11757 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
11758
11759 * net/tramp.el (tramp-action-password): Let-bind
11760 `enable-recursive-minibuffers' to t.
11761
11762 2012-04-18 Sam Steingold <sds@gnu.org>
11763
11764 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11765 instead of 'string to accommodate values like [f11].
11766 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11767 * progmodes/gdb-mi.el: Likewise.
11768
11769 2012-04-18 Leo Liu <sdl.web@gmail.com>
11770
11771 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11772 current buffer.
11773 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11774 LOCAL is nil.
11775
11776 2012-04-18 Chong Yidong <cyd@gnu.org>
11777
11778 * simple.el (line-move): Use forward-line if in batch mode
11779 (Bug#11053).
11780
11781 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
11782
11783 * files.el (after-find-file): Do not try to add a final newline if
11784 the buffer is read-only (Bug#11156).
11785
11786 2012-04-17 Richard Stallman <rms@gnu.org>
11787
11788 * mail/rmail.el (rmail-start-mail):
11789 Pass (rmail-mail-return...) for the return-action.
11790 Pass (rmail-yank-current-message...) for the yank-action.
11791 (rmail-yank-current-message): New function.
11792 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11793 (rmail-reply): Likewise.
11794 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11795
11796 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
11797 buffer, not the last. Reject temp buffers. Use the rmail-mode
11798 buffer, not newbuf.
11799
11800 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
11801
11802 * server.el (server-ensure-safe-dir): Simplify.
11803
11804 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11805
11806 * emacs-lisp/smie.el: Provide smarter auto-filling.
11807 (smie-auto-fill): New function.
11808 (smie-setup): Use it.
11809
11810 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11811
11812 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
11813
11814 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11815 (comment-indent): Use it.
11816
11817 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
11818
11819 * ses.el: The overall change is to add cell renaming, that is
11820 setting fancy names for cell symbols other than name matching
11821 "\\`[A-Z]+[0-9]+\\'" regexp .
11822 (ses-localvars): Add ses--renamed-cell-symb-list.
11823 (ses-create-cell-variable): New defun.
11824 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
11825 (ses-relocate-formula): Relocate formulas only for cells the
11826 symbols of which are not renamed, i.e. symbols whose names do not
11827 match regexp "\\`[A-Z]+[0-9]+\\'".
11828 (ses-relocate-all): Relocate values only for cells the symbols of
11829 which are not renamed.
11830 (ses-load): Create cells variables as the (ses-cell ...) are read,
11831 in order to check row col consistency with cell symbol name only
11832 for cells that are not renamed.
11833 (ses-replace-name-in-formula): New defun.
11834 (ses-rename-cell): New defun.
11835
11836 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11837
11838 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11839 New option (bug#11118).
11840 (perl-calculate-indent): Respect it.
11841
11842 2012-04-17 Glenn Morris <rgm@gnu.org>
11843
11844 * dired-aux.el (dired-mark-read-string): Doc fix.
11845
11846 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11847
11848 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11849 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11850
11851 2012-04-17 Glenn Morris <rgm@gnu.org>
11852
11853 * mouse.el (mouse-drag-track):
11854 * speedbar.el (speedbar-frame-mode):
11855 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11856
11857 2012-04-16 Leo Liu <sdl.web@gmail.com>
11858
11859 * progmodes/python.el: Trivial cleanup.
11860
11861 2012-04-16 Glenn Morris <rgm@gnu.org>
11862
11863 * vc/vc.el (vc-string-prefix-p):
11864 * vc/pcvs-util.el (cvs-string-prefix-p):
11865 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11866 * mpc.el (mpc-string-prefix-p):
11867 Make all of these into obsolete aliases for string-prefix-p.
11868 Update callers.
11869 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11870
11871 * textmodes/two-column.el: Move custom options to the start.
11872 (frame-width): Remove compat definition.
11873 (2C-associate-buffer, 2C-dissociate):
11874 Use with-current-buffer rather than save-excursion.
11875 (2C-dissociate): Force a mode-line update.
11876 (2C-autoscroll): Use ignore-errors.
11877
11878 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11879 Autoload trivia.
11880
11881 * emacs-lisp/cl-extra.el (*random-state*):
11882 Remove unnecessary declaration.
11883
11884 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11885
11886 * play/cookie1.el (cookie-snarf):
11887 Give an explicit error if input file cannot be read.
11888
11889 * play/yow.el (yow-file): Use expand-file-name rather than concat.
11890
11891 * progmodes/perl-mode.el (c-macro-expand):
11892 Remove unnecessary autoload (it is in loaddefs.el).
11893
11894 * textmodes/picture.el (picture-desired-column)
11895 (picture-update-desired-column): Convert comments to doc-strings.
11896 (picture-substitute): Remove function.
11897 (picture-mode-map): Initialize in the defvar.
11898
11899 * woman.el: Remove eval-after-load for tar-mode.
11900 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11901 (woman-tar-extract-file): Autoload it.
11902
11903 * frame.el (automatic-hscrolling): Make this alias obsolete.
11904
11905 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11906
11907 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
11908 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
11909 (ispell-dictionary-base-alist): Revert to original XEmacs
11910 friendly version for default. [:alpha:] will be added in
11911 `ispell-set-spellchecker-params' if needed.
11912
11913 2012-04-16 Chong Yidong <cyd@gnu.org>
11914
11915 * image.el (imagemagick--file-regexp): New variable.
11916 (imagemagick-register-types): Use it.
11917 (imagemagick-types-inhibit): Add :set function. Allow new value
11918 of t to inhibit all types.
11919
11920 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11921 so we can preload it.
11922
11923 * loadup.el (fboundp): Preload regexp-opt, needed by
11924 imagemagick-register-types.
11925
11926 2012-04-15 Chong Yidong <cyd@gnu.org>
11927
11928 * frame.el (scrolling): Remove nearly unused customization group.
11929
11930 * scroll-all.el (scroll-all-mode): Move to windows group.
11931
11932 2012-04-15 Chong Yidong <cyd@gnu.org>
11933
11934 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11935
11936 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11937
11938 Avoid the use of ((lambda ...) ...) in lexical-binding code.
11939 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
11940
11941 2012-04-15 Glenn Morris <rgm@gnu.org>
11942
11943 * simple.el (process-file-side-effects): Doc fix.
11944
11945 2012-04-15 Glenn Morris <rgm@gnu.org>
11946
11947 * international/mule-cmds.el (set-language-environment): Doc fix.
11948
11949 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
11950
11951 * server.el (server-auth-key, server-generate-key): Doc fixes.
11952 (server-get-auth-key): Doc fix. Use `string-match-p'.
11953 (server-start): Reflow docstring.
11954
11955 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11956
11957 * server.el (server-generate-key): `called-interactively-p'
11958 requires a parameter.
11959
11960 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
11961
11962 * server.el (server-auth-key): New variable.
11963 (server-generate-key, server-get-auth-key): New function.
11964 (server-start): Use the new variable and functions to allow
11965 setting a permanent server key (bug#9423).
11966
11967 2012-04-14 Leo Liu <sdl.web@gmail.com>
11968
11969 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11970
11971 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
11972
11973 Spelling fixes.
11974 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11975 Emacs uses American spelling.
11976
11977 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
11978
11979 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11980 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
11981 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11982 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
11983
11984 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11985
11986 * progmodes/which-func.el (which-func-modes): Change default.
11987
11988 2012-04-14 Kim F. Storm <storm@cua.dk>
11989
11990 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11991 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11992
11993 2012-04-14 Chong Yidong <cyd@gnu.org>
11994
11995 * custom.el (custom-theme-set-variables): Doc fix.
11996
11997 2012-04-14 Glenn Morris <rgm@gnu.org>
11998
11999 * international/mule.el (set-auto-coding-for-load): Doc fix.
12000
12001 2012-04-14 Alan Mackenzie <acm@muc.de>
12002
12003 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12004 imenu work again for Objective C Mode. Correct the *-index values,
12005 these having been disturbed by a previous change in 2011-08.
12006
12007 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12008 Correct two search limits.
12009
12010 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12011
12012 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12013
12014 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12015
12016 * international/characters.el: Fix sorting.
12017
12018 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12019
12020 * international/characters.el: Add more missing Latin case pairs.
12021
12022 2012-04-14 Glenn Morris <rgm@gnu.org>
12023
12024 * files.el (dir-locals-set-class-variables): Doc fix.
12025
12026 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12027
12028 * international/characters.el: Add set-case-syntax-pair call for
12029 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12030 counterpart. (Bug#11209)
12031
12032 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12033
12034 2012-04-14 Glenn Morris <rgm@gnu.org>
12035
12036 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12037
12038 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12039
12040 * textmodes/ispell.el (ispell-dictionary-base-alist):
12041 Add data for Hebrew.
12042
12043 2012-04-14 Chong Yidong <cyd@gnu.org>
12044
12045 * net/rcirc.el (rcirc-cmd-quit):
12046 Revert 2012-03-18 change (Bug#11192).
12047
12048 2012-04-14 Glenn Morris <rgm@gnu.org>
12049
12050 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12051
12052 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12053
12054 * minibuffer.el (completion-in-region-mode-map):
12055 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12056
12057 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12058
12059 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12060
12061 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12062
12063 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12064 to allow `C-M-f' and `C-M-b' to move to the nearest path
12065 separator (bug#9511).
12066
12067 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12068
12069 * avoid.el: Require cl when compiling. And also move the
12070 `provide' to the end.
12071
12072 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12073
12074 * avoid.el (mouse-avoidance-banish-position): New variable.
12075 (mouse-avoidance-banish-destination): Use it (bug#10165).
12076
12077 2012-04-13 Leo Liu <sdl.web@gmail.com>
12078
12079 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12080
12081 2012-04-13 Ken Brown <kbrown@cornell.edu>
12082
12083 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12084 this is no longer needed now that cygstart understands file:// URLs.
12085 (browse-url-filename-alist): For the same reason, don't modify
12086 file:// URLs on Cygwin.
12087
12088 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12089
12090 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12091 the region on shift if the binding is already shifted (bug#11221).
12092
12093 2012-04-12 Glenn Morris <rgm@gnu.org>
12094
12095 * mail/mailpost.el: Move to obsolete/.
12096
12097 2012-04-12 Drew Adams <drew.adams@oracle.com>
12098
12099 * imenu.el (imenu--generic-function): Ignore invisible definitions
12100 (bug#10123).
12101
12102 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12103
12104 * hexl.el (hexl-bits): New variable.
12105 (hexl-options): Mention the variable in the doc string.
12106 (hexl-rulerise, hexl-line-displen): New functions.
12107 (hexl-mode): Mention the new variable.
12108 (hexl-mode, hexl-current-address, hexl-current-address):
12109 Use the displen.
12110 (hexl-ascii-start-column): New function.
12111 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12112 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12113
12114 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12115
12116 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12117 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12118 the encoding, as expected by hunspell.
12119
12120 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12121
12122 * battery.el (battery--linux-sysfs-regexp): New const.
12123 (battery-status-function): Use it. Remove yeeloong special case.
12124 (battery-yeeloong-sysfs): Remove.
12125 (battery-echo-area-format): Remove yeeloong special case.
12126
12127 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12128
12129 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12130 Reported by Noah Friedman.
12131
12132 * subr.el (read-passwd): Use read-string.
12133
12134 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12135
12136 * vcursor.el (vcursor-move): Increase the priority of the overlay
12137 (bug#9663).
12138
12139 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12140
12141 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12142 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12143
12144 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12145
12146 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12147 define-minor-mode (bug#10760).
12148
12149 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12150
12151 * progmodes/grep.el (rgrep): Tweak the find command line so
12152 that directories matching `grep-find-ignored-files' won't be
12153 pruned (bug#10351).
12154
12155 2012-04-11 Chong Yidong <cyd@gnu.org>
12156
12157 * startup.el (command-line): Remove support for long-obsolete
12158 variable font-lock-face-attributes.
12159
12160 2012-04-11 Glenn Morris <rgm@gnu.org>
12161
12162 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12163
12164 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12165
12166 * window.el (window--state-get-1): Obey window-point-insertion-type.
12167
12168 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12169
12170 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12171 to previous function when point is on the first character of a
12172 function. Take care of that in `narrow-to-defun' (bug#6157).
12173
12174 2012-04-11 Glenn Morris <rgm@gnu.org>
12175
12176 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12177 not just file-errors.
12178
12179 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12180 (vc-bzr-sha1): Use internal sha1.
12181
12182 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12183
12184 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12185
12186 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12187
12188 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12189 that start in the middle of the line (bug#10496).
12190
12191 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12192
12193 * battery.el (battery-linux-proc-acpi): Only one battery is
12194 discharged at a time, but that seems to confuse battery.el when
12195 computing `rate-type' for the battery not being discharged
12196 (bug#10332).
12197
12198 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12199
12200 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12201
12202 * international/quail.el: Use dolist and simplify.
12203 (quail-define-package, quail-update-keyboard-layout)
12204 (quail-define-rules): Use dolist.
12205 (quail-insert-kbd-layout, quail-get-translation): CSE.
12206
12207 * tmm.el: Use dolist, remove left over hook.
12208 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12209 Use dolist.
12210 (calendar-load-hook): Don't mess with it.
12211
12212 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12213 Use derived-mode-p. Run the diff asynchronously.
12214
12215 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12216
12217 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12218
12219 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12220
12221 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12222 (list-dynamic-libraries--loaded): New function.
12223 (list-dynamic-libraries--refresh): Use it.
12224
12225 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12226
12227 * progmodes/python.el (python-fill-paragraph):
12228 Make python-fill-region in a multiline string work when font-lock is
12229 disabled (bug#7018).
12230
12231 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12232
12233 * language/european.el (cp775): Add oem/legacy (en)coding on
12234 DOS/MS Windows for the Baltic languages. There are still plenty
12235 of texts written in this encoding/codepage (bug#6519).
12236
12237 2012-04-10 Glenn Morris <rgm@gnu.org>
12238
12239 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12240 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12241
12242 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12243
12244 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12245 next-line "n" and previous-line "p" in order to make recentf more
12246 consistent with ibuffer, dired or org-mode (bug#9387).
12247
12248 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12249
12250 * image.el (put-image): Return the overlay created instead of the
12251 optional input string (bug#7834). Note that this may break code
12252 that is (for some reason or other) depending on `put-image'
12253 returning the string.
12254
12255 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12256
12257 * simple.el (zap-to-char): Allow zapping using input methods
12258 (bug#1580).
12259
12260 * textmodes/fill.el (fill-region): Leave point and mark where they
12261 were before filling (bug#5399).
12262
12263 2012-04-09 Glenn Morris <rgm@gnu.org>
12264
12265 * version.el (emacs-bzr-get-version):
12266 Handle lightweight checkouts of local branches.
12267
12268 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12269
12270 * international/characters.el: Recover lost case pairs. (Bug#11209)
12271
12272 2012-04-09 Chong Yidong <cyd@gnu.org>
12273
12274 * custom.el (custom-variable-p): Return nil for non-symbol
12275 arguments instead of signaling an error.
12276 (user-variable-p): Obsolete alias for custom-variable-p.
12277
12278 * apropos.el (apropos-variable):
12279 * files-x.el (read-file-local-variable):
12280 * simple.el (set-variable):
12281 * woman.el (woman-mini-help):
12282 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12283
12284 2012-04-09 Glenn Morris <rgm@gnu.org>
12285
12286 * startup.el (normal-top-level): Don't look for leim-list.el
12287 in places where it will not be found. (Bug#910)
12288
12289 * international/mule-cmds.el (set-default-coding-systems):
12290 * files.el (normal-mode):
12291 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12292 This function was removed with ucs-tables.el in 2008.
12293
12294 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12295
12296 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12297 ispell-encoding8-command to "-i", without a trailing space.
12298 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12299 separate command-line arguments, to specify the encoding, since
12300 that's how hunspell expects it.
12301
12302 2012-04-08 Glenn Morris <rgm@gnu.org>
12303
12304 * loadup.el: Load bindings before cus-start.
12305 This reduces somewhat the number of "rogue" settings in emacs -Q.
12306
12307 2012-04-07 Glenn Morris <rgm@gnu.org>
12308
12309 * version.el (emacs-bzr-get-version): New function.
12310 (emacs-bzr-version): New variable.
12311 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12312 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12313
12314 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12315
12316 * international/uni-bidi.el, international/uni-category.el:
12317 * international/uni-combining.el, international/uni-decimal.el:
12318 * international/uni-decomposition.el, international/uni-digit.el:
12319 * international/uni-lowercase.el, international/uni-mirrored.el:
12320 * international/uni-name.el, international/uni-numeric.el:
12321 * international/uni-titlecase.el, international/uni-uppercase.el:
12322 Update for Unicode 6.1.
12323
12324 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12325
12326 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12327
12328 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12329
12330 * window.el (shrink-window): Mention the `window-min-height'
12331 variable in the doc string.
12332
12333 2012-04-05 Bastien Guerry <bzg@altern.org>
12334
12335 * color.el (color-lighten-name): Fix typo.
12336
12337 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12338
12339 * server.el (server--on-display-p): New function.
12340 (server--on-display-p): Use it.
12341
12342 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12343
12344 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12345 (bug#11145).
12346
12347 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12348
12349 * comint.el (comint--common-quoted-suffix): Check string boundary
12350 before comparing (bug#11158).
12351 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12352
12353 2012-04-04 Chong Yidong <cyd@gnu.org>
12354
12355 * minibuffer.el (completion-extra-properties): Doc fix.
12356
12357 * subr.el (delayed-warnings-hook): Doc fix.
12358
12359 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12360
12361 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12362 selection (Bug#11159).
12363 (epa-insert-keys): Inform that the default public key will be
12364 exported if no key is selected.
12365
12366 2012-04-04 Richard Stallman <rms@gnu.org>
12367
12368 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12369
12370 2012-04-03 Chong Yidong <cyd@gnu.org>
12371
12372 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12373 mail-insert-file, not its obsolete alias mail-attach-file.
12374
12375 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12376
12377 * notifications.el (notifications-notify): Fix docstring.
12378
12379 2012-04-02 Glenn Morris <rgm@gnu.org>
12380
12381 * emacs-lisp/authors.el (authors-aliases): Another addition.
12382
12383 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12384
12385 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12386 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12387 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12388
12389 2012-04-01 Chong Yidong <cyd@gnu.org>
12390
12391 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12392 Handle root directory properly.
12393 (copy-directory): Caller changed.
12394
12395 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12396 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12397
12398 2012-03-31 Glenn Morris <rgm@gnu.org>
12399
12400 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12401
12402 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12403
12404 * calendar/calendar.el (calendar-window-list)
12405 (calendar-hide-window): Restore. (Bug#11140)
12406 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12407
12408 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12409
12410 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12411
12412 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12413 Check if file is a symlink (Bug#10489).
12414
12415 * files.el (copy-directory): Likewise.
12416
12417 2012-03-30 Chong Yidong <cyd@gnu.org>
12418
12419 * image.el (imagemagick-types-inhibit)
12420 (imagemagick-register-types): Doc fix.
12421
12422 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12423
12424 * textmodes/ispell.el (ispell-get-extended-character-mode):
12425 Disable extended-char-mode for hunspell. hunspell does not support it
12426 and treats ~word as ordinary words in pipe mode.
12427
12428 2012-03-30 Glenn Morris <rgm@gnu.org>
12429
12430 * tutorial.el (help-with-tutorial): Ensure local variables don't
12431 happen to make the buffer read-only. (Bug#11127)
12432
12433 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12434
12435 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12436 (perl-calculate-indent): Return `noindent' in strings.
12437
12438 2012-03-28 Sam Steingold <sds@gnu.org>
12439
12440 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12441 instead of the broken adhockery which does not prevent calendar
12442 buffers from being displayed at random after exit.
12443 (calendar-window-list, calendar-hide-window): Remove the broken
12444 adhockery.
12445
12446 2012-03-28 Glenn Morris <rgm@gnu.org>
12447
12448 * replace.el (query-replace-map): Doc fix.
12449
12450 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12451
12452 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12453 contents. (Bug#11109)
12454
12455 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12456
12457 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12458 (bug#11077).
12459 (avl-tree--check, avl-tree--check-node): New funs.
12460
12461 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12462
12463 * window.el (switch-to-visible-buffer): New option.
12464 (switch-to-prev-buffer, switch-to-next-buffer):
12465 Observe switch-to-visible-buffer. Make sure that checking for a window
12466 showing a buffer already is done on the same frame.
12467
12468 2012-03-27 Glenn Morris <rgm@gnu.org>
12469
12470 * startup.el (mail-host-address): Doc fix.
12471
12472 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12473
12474 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12475 than 197 variables.
12476
12477 2012-03-26 Ami Fischman <ami@fischman.org>
12478
12479 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12480
12481 2012-03-26 Glenn Morris <rgm@gnu.org>
12482
12483 * files.el (save-buffers-kill-emacs): Doc fix.
12484
12485 * startup.el (normal-top-level, command-line, command-line-1):
12486 Give them doc strings.
12487
12488 2012-03-25 Eli Zaretskii <eliz@gnu.org>
12489
12490 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12491 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12492
12493 2012-03-25 Chong Yidong <cyd@gnu.org>
12494
12495 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12496 theme if it was previously enabled before (Bug#11031).
12497
12498 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12499 spec with custom-face-get-current-spec if its :shown-value is not
12500 determined yet (Bug#9337).
12501 (customize-create-theme, custom-theme-revert): Doc fixes.
12502
12503 * button.el (button-at): Minor addition to docstring.
12504
12505 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
12506
12507 * vc/vc.el (vc-merge): Fix a prompt.
12508
12509 2012-03-24 Chong Yidong <cyd@gnu.org>
12510
12511 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12512 point (Bug#9623).
12513
12514 * button.el (button-at): Minor addition to docstring.
12515
12516 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12517
12518 * newcomment.el (comment-choose-indent): No space after BOL.
12519
12520 2012-03-22 Sam Steingold <sds@gnu.org>
12521
12522 * window.el (switch-to-prev-buffer): Revert last patch because the
12523 bug turned out to be an advertised feature (Elisp manual 28.14).
12524
12525 2012-03-22 Glenn Morris <rgm@gnu.org>
12526
12527 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12528 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12529
12530 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12531
12532 * net/network-stream.el (network-stream-open-starttls): Make error
12533 message under Windows be less misleading.
12534
12535 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12536
12537 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12538 understands (bug#9942).
12539
12540 2012-03-22 Chong Yidong <cyd@gnu.org>
12541
12542 * simple.el (end-of-visible-line): Handle return value of
12543 next-single-property-change properly (Bug#9371).
12544
12545 2012-03-22 Kenichi Handa <handa@m17n.org>
12546
12547 * international/quail.el (quail-insert-kbd-layout): Fix previous
12548 change. To avoid unwanted bidi reordering, use
12549 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12550
12551 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12552
12553 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12554 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12555 (ruby-beginning-of-indent): Be more careful with the difference
12556 between word-boundary and symbol boundary.
12557 (ruby-mode-syntax-table): Make : a symbol constituent.
12558
12559 2012-03-21 Andreas Politz <politza@fh-trier.de>
12560
12561 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12562
12563 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12564
12565 * progmodes/etags.el (tags-completion-at-point-function):
12566 Improve last fix.
12567
12568 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12569
12570 2012-03-21 Sam Steingold <sds@gnu.org>
12571
12572 * progmodes/etags.el (tags-completion-at-point-function):
12573 Avoid the error when point is inside the pattern.
12574
12575 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12576
12577 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12578 line (Bug#10855).
12579
12580 2012-03-21 Drew Adams <drew.adams@oracle.com>
12581
12582 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12583
12584 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12585
12586 * ido.el (ido-set-current-directory, ido-read-internal)
12587 (ido-choose-completion-string, ido-completion-help): Handle nil
12588 value of ido-completion-buffer (Bug#11008).
12589
12590 2012-03-21 Sam Steingold <sds@gnu.org>
12591
12592 * window.el (switch-to-prev-buffer): Do not switch to a visible
12593 window previous buffer, just like with the frame previous buffers.
12594
12595 2012-03-21 Chong Yidong <cyd@gnu.org>
12596
12597 * faces.el (make-face, make-empty-face, copy-face):
12598 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12599 Doc fixes.
12600
12601 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12602
12603 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12604 (widget-complete): Remove broken use of it.
12605
12606 2012-03-20 Chong Yidong <cyd@gnu.org>
12607
12608 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12609 Use string-width and truncate-string-width to handle arbitrary
12610 characters.
12611
12612 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12613
12614 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12615 to draw rectangles, not squares. (Regression introduced by revno
12616 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12617
12618 2012-03-18 Chong Yidong <cyd@gnu.org>
12619
12620 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12621 it is not yet defined (for temacs).
12622
12623 2012-03-18 Leo Liu <sdl.web@gmail.com>
12624
12625 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12626 prefix.
12627
12628 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12629
12630 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12631 (ispell-choices-win-default-height, ispell-silently-savep)
12632 (ispell-dictionary-alist, ispell-encoding8-command)
12633 (ispell-check-version, ispell-aspell-find-dictionary)
12634 (ispell-valid-dictionary-list, ispell-words-keyword)
12635 (ispell-get-word, ispell-internal-change-dictionary)
12636 (ispell-region, ispell-skip-region-list)
12637 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12638 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12639 (ispell-message-text-end, ispell-message)
12640 (ispell-buffer-local-parsing): Doc fix.
12641
12642 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
12643
12644 * htmlfontify.el: Add support for code block fontification for ODT
12645 export (Bug #9914).
12646 (hfy-optimisations): Define new option
12647 `body-text-only'
12648 (hfy-fontify-buffer): Honor above setting.
12649 (hfy-begin-span, hfy-end-span): New routines factored out form
12650 `hfy-fontify-buffer'.
12651 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12652 that permit insertion of custom tags.
12653 (hfy-fontify-buffer): Use above handlers.
12654 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12655 (hfy-face-to-css): Re-defined to be a variable.
12656 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
12657 over multiple runs. This is made possible by having the caller let
12658 bind a special variable `hfy-user-sheet-assoc'.
12659 (htmlfontify-string): New defun.
12660 (hfy-compile-face-map): Make sure that the last char in the
12661 buffer is correctly fontified.
12662 (hfy-face-resolve-face): Whitespace only change.
12663
12664 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12665
12666 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12667 message more clear.
12668
12669 2012-03-16 Leo Liu <sdl.web@gmail.com>
12670
12671 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12672
12673 2012-03-16 Alan Mackenzie <acm@muc.de>
12674
12675 Further optimize the handling of large macros.
12676
12677 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12678 limit to a call of `c-literal-limits'.
12679 (c-determine-+ve-limit): New function.
12680 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12681 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
12682 In CASE 5B, restrict a search limit to 500.
12683 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12684
12685 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12686 Restrict macro bounds to +-500 from after-change's BEG END.
12687
12688 2012-03-16 Leo Liu <sdl.web@gmail.com>
12689
12690 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12691
12692 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12693
12694 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
12695 `special-mode' setting of `buffer-read-only'. (Bug#11010)
12696
12697 2012-03-16 Glenn Morris <rgm@gnu.org>
12698
12699 * view.el (view-buffer, view-buffer-other-window)
12700 (view-buffer-other-frame): Doc fixes re special mode-class.
12701
12702 * subr.el (eval-after-load): If named feature is provided not from
12703 a file, run after-load forms. (Bug#10946)
12704
12705 * calendar/calendar.el (calendar-insert-at-column):
12706 Handle non-unit-width characters a bit better. (Bug#10978)
12707
12708 2012-03-15 Chong Yidong <cyd@gnu.org>
12709
12710 * emacs-lisp/ring.el (ring-extend): New function.
12711 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12712
12713 * comint.el (comint-read-input-ring)
12714 (comint-add-to-input-history): Grow comint-input-ring lazily.
12715
12716 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12717
12718 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12719 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12720
12721 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12722 (imenu-add-to-menubar): Don't add a redundant index.
12723 (imenu-update-menubar): Handle a dynamically composed keymap.
12724
12725 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12726
12727 * mail/sendmail.el (mail-encode-header):
12728 Bind rfc2047-encode-encoded-words to nil.
12729
12730 2012-03-13 Glenn Morris <rgm@gnu.org>
12731
12732 * calendar/calendar.el (calendar-string-spread):
12733 Handle non-unit-width characters a bit better. (Bug#10978)
12734
12735 2012-03-13 Leo Liu <sdl.web@gmail.com>
12736
12737 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12738 directory and file as argument (Bug#10822).
12739
12740 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12741
12742 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12743 For dynamically generated code, follow $PC.
12744 (gdb-disassembly-handler-custom): Handle no function name case.
12745
12746 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
12747
12748 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12749 * emulation/ws-mode.el (ws-query-replace):
12750 * sort.el (sort-regexp-fields):
12751 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
12752
12753 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12754
12755 * dabbrev.el: Fix cycle completion order (bug#10963).
12756 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12757 (dabbrev-completion): Don't use an obarray; provide
12758 a cycle-sort-function.
12759
12760 2012-03-12 Leo Liu <sdl.web@gmail.com>
12761
12762 * simple.el (kill-new): Use equal-including-properties for comparison.
12763 (kill-do-not-save-duplicates): Doc fix.
12764
12765 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12766
12767 * dabbrev.el: Fix cycle completion (bug#10963).
12768 Use lexical binding and wrap to 80 columns.
12769 (dabbrev-completion): Delay computing the list of completions.
12770
12771 2012-03-12 Kenichi Handa <handa@m17n.org>
12772
12773 * international/quail.el (quail-insert-kbd-layout): Surround each
12774 row by LRO and PDF instead of inserting many LRMs. Pad the left
12775 and right of each non-spacing marks. Insert invisible space
12776 between lower and upper characters to prevent composition.
12777
12778 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12779
12780 * minibuffer.el (minibuffer-complete): Don't get confused when the
12781 function is run twice via different commands (bug#10958).
12782 (complete-with-action): Fix docstring.
12783
12784 2012-03-12 Chong Yidong <cyd@gnu.org>
12785
12786 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12787 (nxml-completion-at-point-function): New function.
12788 (nxml-mode): Use it.
12789 (nxml-bind-meta-tab-to-complete-flag): Default to t.
12790
12791 * emacs-lisp/package.el (package-unpack, package-unpack-single):
12792 Load generated autoloads file before byte compiling (Bug#10970).
12793 (package--make-autoloads-and-compile): New helper fun.
12794
12795 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12796
12797 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12798
12799 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
12800
12801 * autorevert.el (auto-revert-handler): Ensure, that
12802 file-readable-p is applied only for local files or in
12803 auto-revert-tail-mode.
12804
12805 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12806
12807 * server.el (server-eval-at): Handle non-tcp connections.
12808 Decode result string.
12809
12810 * server.el (server-msg-size): New constant.
12811 (server-reply-print): New function.
12812 (server-eval-and-print): Use it.
12813 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12814 Handle -print-nonl.
12815
12816 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12817
12818 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12819 (Bug#10987).
12820
12821 2012-03-11 Chong Yidong <cyd@gnu.org>
12822
12823 * simple.el (goto-line): Doc fix (Bug#9938).
12824
12825 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12826
12827 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12828 when finished (Bug#10963).
12829
12830 2012-03-11 Martin Rudalics <rudalics@gmx.at>
12831
12832 * window.el (split-window-below): Fix bug in case where
12833 split-window-keep-point is nil (Bug#10971).
12834
12835 2012-03-11 Juri Linkov <juri@jurta.org>
12836
12837 * replace.el (replace-highlight): Set isearch-word to nil
12838 unconditionally. (Bug#10887)
12839
12840 2012-03-10 Eli Zaretskii <eliz@gnu.org>
12841
12842 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12843 mairix-replace-illegal-chars; all callers changed. Don't remove
12844 ^, ~, and = characters: they are meaningful in mairix search specs.
12845 (mairix-widget-create-query): Add usage information about mairix
12846 search forms: negating words, searching for substrings, etc.
12847
12848 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12849
12850 * international/fontset.el (font-encoding-alist): Add an entry for
12851 ksx1001 (Bug#5667).
12852
12853 2012-03-10 Richard Stallman <rms@gnu.org>
12854
12855 * mail/sendmail.el (mail-encode-header):
12856 Set rfc2047-encode-encoded-words.
12857
12858 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12859
12860 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12861 view buffer means not swapped.
12862 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12863 (rmail-write-region-annotate): Error if real text has disappeared.
12864
12865 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12866
12867 2012-03-10 Chong Yidong <cyd@gnu.org>
12868
12869 * emulation/cua-rect.el (cua--init-rectangles):
12870 * emulation/cua-base.el (cua--init-keymaps):
12871 Add delete-forward-char to remappings (Bug#9666).
12872
12873 2012-03-10 Martin Rudalics <rudalics@gmx.at>
12874
12875 * speedbar.el (speedbar-unhighlight-one-tag-line):
12876 Avoid unhighlighting due to frame switching (Bug#10275).
12877
12878 2012-03-10 Chong Yidong <cyd@gnu.org>
12879
12880 * minibuffer.el (completion-in-region, completion-help-at-point):
12881 Give the completion field overlay a high priority (Bug#6830).
12882
12883 * dired.el (dired-goto-file): Recognize absolute file name
12884 listings (Bug#7126).
12885 (dired-goto-file-1): New helper function.
12886 (dired-toggle-read-only): Inhibit warnings.
12887
12888 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
12889
12890 * net/dbus.el (dbus-property-handler): Return empty array if
12891 there are no properties.
12892
12893 2012-03-09 Leo Liu <sdl.web@gmail.com>
12894
12895 * savehist.el (savehist-printable): Stricter check for string
12896 value (Bug#10937).
12897
12898 2012-03-09 Eli Zaretskii <eliz@gnu.org>
12899
12900 * mail/smtpmail.el (smtpmail-send-it):
12901 Bind coding-system-for-write to *-unix, so that FCC files are kept in
12902 valid mbox format.
12903
12904 2012-03-09 Glenn Morris <rgm@gnu.org>
12905
12906 * files.el (dir-locals-find-file):
12907 Don't check result is regular, readable.
12908 (dir-locals-read-from-file): Demote errors.
12909
12910 2012-03-08 Eli Zaretskii <eliz@gnu.org>
12911
12912 * international/quail.el (quail-insert-kbd-layout):
12913 Insert invisible LRM characters before each character in a keyboard
12914 layout cell, to prevent their reordering by bidi display engine.
12915 For details, see the discussion in
12916 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12917
12918 2012-03-08 Alan Mackenzie <acm@muc.de>
12919
12920 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12921 the starting position; make it extend the marked region when
12922 invoked repeatedly - all under appropriate circumstances.
12923 Fixes bugs #5525, #10906.
12924
12925 2012-03-08 Glenn Morris <rgm@gnu.org>
12926
12927 * files.el (locate-dominating-file, dir-locals-find-file):
12928 Undo 2012-03-06 change.
12929
12930 2012-03-07 Eli Zaretskii <eliz@gnu.org>
12931
12932 * international/quail.el (quail-help):
12933 Force bidi-paragraph-direction be left-to-right. See discussion in
12934 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12935 for the reason.
12936
12937 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
12938
12939 Avoid superfluous registering of signals. (Bug#10807)
12940
12941 * notifications.el (notifications-on-action-object)
12942 (notifications-on-close-object): New defvars.
12943 (notifications-on-action-signal, notifications-on-closed-signal):
12944 Unregister the signal if not needed any longer.
12945 (notifications-notify): Register `notifications-action-signal' or
12946 `notifications-closed-signal', if :on-action or :on-close has been
12947 passed as argument.
12948
12949 2012-03-07 Chong Yidong <cyd@gnu.org>
12950
12951 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12952 non-X platforms.
12953
12954 2012-03-06 Glenn Morris <rgm@gnu.org>
12955
12956 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12957 (x-disown-selection-internal, x-get-selection-internal):
12958 Doc fix (add arglist signatures). (Bug#10783)
12959
12960 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12961
12962 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12963 Handle breakpoints with no "type".
12964
12965 2012-03-06 Glenn Morris <rgm@gnu.org>
12966
12967 * files.el (locate-dominating-file): Add optional predicate argument.
12968 (dir-locals-find-file): Make use of above change.
12969
12970 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
12971
12972 * info.el (Info-insert-dir): Also try "dir.gz".
12973
12974 2012-03-06 Glenn Morris <rgm@gnu.org>
12975
12976 * files.el (dir-locals-find-file):
12977 Ignore non-readable or non-regular files. (Bug#10928)
12978
12979 * files.el (locate-dominating-file): Doc fix.
12980
12981 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
12982
12983 * calendar/calendar.el (calendar-set-mode-line):
12984 `getenv' returns a string. (Bug#10951)
12985
12986 2012-03-05 Leo Liu <sdl.web@gmail.com>
12987
12988 * simple.el (backward-delete-char-untabify): Constrain point to
12989 field (Bug#10939).
12990
12991 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12992
12993 2012-03-05 Chong Yidong <cyd@gnu.org>
12994
12995 * simple.el (count-words): If called from Lisp, return the word
12996 count, for symmetry with `count-lines'. Arglist changed.
12997 (count-words--message): Args changed. Consolidate counting code
12998 from count-words and count-words-region.
12999 (count-words-region): Caller changed.
13000 (count-lines-region): Make it an obsolete alias.
13001
13002 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13003
13004 * saveplace.el (save-place-to-alist)
13005 (save-place-ignore-files-regexp): Allow value nil to disable this
13006 feature.
13007
13008 2012-03-04 Chong Yidong <cyd@gnu.org>
13009
13010 * faces.el (face-spec-reset-face): For the default face, reset the
13011 attributes to default values (Bug#10748).
13012
13013 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13014
13015 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13016 previous patch: Check `message-send-mail-function', and not the
13017 default function (bug#10897).
13018
13019 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13020
13021 * notifications.el (notifications-on-action-signal)
13022 (notifications-on-closed-signal): Check for unique service name of
13023 incoming event. Fix error in removing entry.
13024 (top): Register for signals with wildcard service name.
13025 (notifications-notify): Use daemon unique service name for map entries.
13026
13027 2012-03-04 Chong Yidong <cyd@gnu.org>
13028
13029 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13030
13031 2012-03-04 Glenn Morris <rgm@gnu.org>
13032
13033 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13034 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13035 (expand-abbrev, define-abbrev-table): Doc fixes.
13036
13037 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13038
13039 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13040 `message-default-send-mail-function' and not `send-mail-function'
13041 when doing the prompting for `sendmail-query-once' before sending
13042 in Message buffers (bug#10897).
13043
13044 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13045 This is inconsistent with all the other stream functions, which leave
13046 the setting up to the higher levels (if so wanted) (bug#10931).
13047
13048 2012-03-02 Alan Mackenzie <acm@muc.de>
13049
13050 Depessimize the handling of very large macros.
13051
13052 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13053 (c-macro-cache-syntactic): New variables to implement a one
13054 element macro cache.
13055 (c-invalidate-macro-cache): New function.
13056 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13057 Adapt to use the new cache.
13058 (c-state-safe-place): Use better the cache of safe positions.
13059 (c-state-semi-nonlit-pos-cache)
13060 (c-state-semi-nonlit-pos-cache-limit):
13061 New variables for...
13062 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13063 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13064 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13065 Use c-state-semi-safe-place.
13066
13067 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13068 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13069
13070 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13071
13072 * jka-compr.el (jka-compr-call-process):
13073 Apply `file-accessible-directory-p' only when the default directory is
13074 not remote.
13075
13076 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13077
13078 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13079 access of FILE2, if FILE1 does not exist.
13080
13081 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13082 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13083
13084 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13085 Add "PAGER=" to `process-environment'.
13086
13087 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13088
13089 * progmodes/sql.el: Bug fix
13090 (sql-get-login-ext): Save login values in globals.
13091 (sql-get-login): Use new version of `sql-get-login-ext'.
13092 (sql-interactive-mode): Set global `sql-connection' to nil.
13093 (sql-connect): Set global values for connection.
13094 (sql-product-interactive): Save global values as buffer local.
13095
13096 2012-02-29 Leo Liu <sdl.web@gmail.com>
13097
13098 * abbrev.el (define-abbrevs): Reset sys to nil.
13099
13100 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13101
13102 * files.el (file-equal-p): Rename from `files-equal-p'.
13103 Return nil when one or both files don't exist.
13104 (file-subdir-of-p): Now only top directory must exists,
13105 return nil if it doesn't.
13106 (copy-directory): No need to test with `file-subdir-of-p' after
13107 creating dir.
13108 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13109 to `file-equal-p'.
13110
13111 2012-02-28 Glenn Morris <rgm@gnu.org>
13112
13113 * shell.el (shell-mode):
13114 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13115 * play/landmark.el (landmark-font-lock-face-O):
13116 * play/handwrite.el (handwrite):
13117 * play/gomoku.el (gomoku-O):
13118 * net/browse-url.el (browse-url-browser-display):
13119 * international/mule.el (define-charset):
13120 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13121 * filesets.el (filesets-find-file-delay):
13122 * eshell/em-xtra.el (eshell-xtra):
13123 * eshell/em-unix.el (eshell-grep):
13124 * emulation/viper.el (viper-mode):
13125 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13126 * emacs-lisp/easymenu.el (easy-menu-define):
13127 * calendar/timeclock.el (timeclock-use-display-time):
13128 * bs.el (bs-mode):
13129 * bookmark.el (bookmark-save-flag):
13130 Doc fix (standardize possessive apostrophe usage).
13131
13132 2012-02-27 Chong Yidong <cyd@gnu.org>
13133
13134 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13135 Fix key-binding lookup for ESC key (Bug#9146).
13136
13137 * font-lock.el (font-lock-specified-p): Rename from
13138 font-lock-spec-present. Callers changed.
13139
13140 2012-02-27 Daniel Hackney <dan@haxney.org>
13141
13142 * emacs-lisp/package.el (package-compute-transaction):
13143 Handle holding a package version to t in package-load-list.
13144
13145 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13146
13147 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13148 (tramp-get-inode, tramp-get-device): Use cached values.
13149
13150 2012-02-26 Alan Mackenzie <acm@muc.de>
13151
13152 Check there is a font-lock specification before doing initial
13153 fontification.
13154
13155 * font-core.el (font-lock-mode): Move the conditional from
13156 :after-hook to font-lock-initial-fontify.
13157 (font-lock-default-function): Move the check for a specification
13158 to font-lock-spec-present.
13159
13160 * font-lock.el (font-lock-initial-fontify): Call ...
13161 (font-lock-spec-present): New function.
13162
13163 2012-02-26 Jim Blandy <jimb@red-bean.com>
13164
13165 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13166 (gdb-send): Apply it to the operand of the '-interpreter-exec
13167 console' command, so that we can pass arguments with (say) quotes
13168 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13169
13170 2012-02-26 Chong Yidong <cyd@gnu.org>
13171
13172 * help-fns.el (describe-function-1): Clarify description of
13173 remapping (Bug#10844).
13174
13175 * files.el (files-equal-p): Doc fix.
13176 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13177 and quit the loop once a mismatch is found.
13178
13179 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13180
13181 * bs.el (bs--show-with-configuration): Don't throw an error
13182 if the window cannot be split; otherwise, subsequent calls to
13183 bs-show fail, restoring a stale window config. (Bug#10882)
13184
13185 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13186
13187 * term/ns-win.el (global-map): Bind ns-drag-file to
13188 ns-find-file (Bug#5855, Bug#10050).
13189
13190 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13191
13192 * calendar/parse-time.el (parse-time-string): Allow extractor to
13193 return nil.
13194
13195 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13196
13197 * net/tramp.el (tramp-file-name-for-operation):
13198 Add `files-equal-p' and `file-subdir-of-p'.
13199
13200 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13201 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13202 Add COPY-CONTENTS argument.
13203
13204 2012-02-25 Chong Yidong <cyd@gnu.org>
13205
13206 Add custom groups for VC backends, for consistency with vc-bzr.
13207
13208 * vc/vc-arch.el (vc-arch):
13209 * vc/vc-cvs.el (vc-cvs):
13210 * vc/vc-git.el (vc-git):
13211 * vc/vc-hg.el (vc-hg):
13212 * vc/vc-mtn.el (vc-mtn):
13213 * vc/vc-rcs.el (vc-rcs):
13214 * vc/vc-sccs.el (vc-sccs):
13215 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13216 All relevant defcustoms reassigned.
13217
13218 2012-02-25 Chong Yidong <cyd@gnu.org>
13219
13220 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13221
13222 * term/x-win.el (x-initialize-window-system): Reduce default for
13223 x-selection-timeout to 5 seconds (Bug#8869).
13224
13225 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13226
13227 * files.el (files-equal-p, file-subdir-of-p): New functions.
13228 (copy-directory): Error when trying to copy a directory on itself.
13229 Add missing copy-contents arg to tramp handler.
13230 * dired-aux.el (dired-copy-file-recursive): Same.
13231 (dired-create-files): Modify destination when source is equal to
13232 dest when copying files.
13233 Return also when dest is a subdir of source. (Bug#10489)
13234
13235 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13236
13237 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13238 (Bug#10874)
13239
13240 2012-02-23 Alan Mackenzie <acm@muc.de>
13241
13242 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13243 parameter "after-hook:" to allow the expansion to run code after
13244 the execution of the mode hooks.
13245
13246 * font-lock.el (font-lock-initial-fontify): New function extracted
13247 from font-lock-mode-internal.
13248
13249 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13250 :after-hook.
13251
13252 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13253
13254 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13255 (completion--cache-all-sorted-completions): New function.
13256 (completion-all-sorted-completions): Use it.
13257 (completion--do-completion, minibuffer-force-complete):
13258 Use it to re-instate the flush hook.
13259
13260 * icomplete.el (icomplete-completions): Replace last fix with a better
13261 one (bug#10850).
13262
13263 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13264
13265 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13266 when it might call us back infinitely (bug#10797).
13267
13268 2012-02-23 Glenn Morris <rgm@gnu.org>
13269
13270 * minibuffer.el (completion-category-overrides): Doc fix.
13271
13272 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13273
13274 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13275 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13276
13277 2012-02-23 Glenn Morris <rgm@gnu.org>
13278
13279 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13280 (authors-obsolete-files-regexps, authors-ignored-files)
13281 (authors-ambiguous-files, authors-renamed-files-alist):
13282 Add more entries.
13283
13284 2012-02-23 Juri Linkov <juri@jurta.org>
13285
13286 * isearch.el (isearch-occur): Sync interactive spec with occur's
13287 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13288
13289 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13290
13291 2012-02-22 Juri Linkov <juri@jurta.org>
13292
13293 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13294 (ucs-insert): Doc fix. Check for hex digits in the string.
13295 Don't display `nil' in the error message. (Bug#10857)
13296
13297 2012-02-22 Alan Mackenzie <acm@muc.de>
13298
13299 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13300
13301 2012-02-22 Glenn Morris <rgm@gnu.org>
13302
13303 * ffap.el (ffap-c-path):
13304 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13305
13306 2012-02-22 Chong Yidong <cyd@gnu.org>
13307
13308 * custom.el (load-theme): Doc fix.
13309
13310 2012-02-22 Glenn Morris <rgm@gnu.org>
13311
13312 * dired-x.el (dired-guess-shell-alist-default):
13313 Remove escape sequences from nroff output. (Bug#172)
13314
13315 2012-02-21 Glenn Morris <rgm@gnu.org>
13316
13317 * vc/emerge.el (emerge-defvar-local):
13318 Set `permanent-local' property rather than unused `preserved'.
13319
13320 * textmodes/picture.el (picture-delete-char): New alias.
13321 (picture-mode-map): Use it. (Bug#10860)
13322 (picture-mode): Doc fix.
13323
13324 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13325
13326 * newcomment.el (uncomment-region-default): Remove unused binding.
13327
13328 2012-02-21 Glenn Morris <rgm@gnu.org>
13329
13330 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13331 (picture-self-insert, picture-tab-chars): Doc fix.
13332 (picture-mode-map): Fix C-a, C-e.
13333
13334 2012-02-20 Glenn Morris <rgm@gnu.org>
13335
13336 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13337
13338 2012-02-20 Leo Liu <sdl.web@gmail.com>
13339
13340 * icomplete.el (icomplete-completions): Check FROM arg before
13341 passing to substring (Bug#10850).
13342
13343 2012-02-19 Chong Yidong <cyd@gnu.org>
13344
13345 * comint.el: Require ansi-color.
13346 (comint-output-filter-functions): Add ansi-color-process-output.
13347
13348 * ansi-color.el: Don't set comint-output-filter-functions; it is
13349 now in the initial value defined in comint.el.
13350 (ansi-color-apply-face-function): New variable.
13351 (ansi-color-apply-on-region): Use it.
13352 (ansi-color-apply-overlay-face): New function.
13353
13354 * shell.el (shell): No need to require ansi-color.
13355 (shell-mode): Use ansi-color-apply-face-function to highlight
13356 color escapes using font-lock-face property (Bug#10835).
13357
13358 2012-02-19 Chong Yidong <cyd@gnu.org>
13359
13360 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13361 mode-line formats (Bug#10839).
13362
13363 2012-02-18 Glenn Morris <rgm@gnu.org>
13364
13365 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13366
13367 * mail/undigest.el (unforward-rmail-message): Doc fix.
13368
13369 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13370
13371 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13372
13373 * international/characters.el (script-list): Sync with the latest
13374 Unicode Character Database.
13375
13376 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13377
13378 * international/titdic-cnv.el: Remove duplicate coding tag.
13379 * language/cham.el: Likewise.
13380 * language/tai-viet.el: Likewise.
13381
13382 2012-02-18 Glenn Morris <rgm@gnu.org>
13383
13384 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13385 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13386 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13387 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13388 * calendar/holidays.el (holiday-bahai-holidays)
13389 (calendar-holidays, list-holidays):
13390 Use utf-8 Bahá'í in doc-strings, menus, etc.
13391
13392 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13393
13394 * saveplace.el (save-place-ignore-files-regexp): New variable
13395 allowing for excluding files from saving their location of point.
13396 The default value matches the temporary commit message editing
13397 files from Git, SVN, Bazaar, and Mercurial.
13398 (save-place-to-alist): Use it.
13399
13400 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13401 Stefan Monnier <monnier@iro.umontreal.ca>
13402
13403 * newcomment.el (uncomment-region-default): Don't leave extra space
13404 when an arg is provided (bug#8150).
13405
13406 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13407
13408 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13409
13410 2012-02-17 Glenn Morris <rgm@gnu.org>
13411
13412 * net/socks.el: Require network-stream. (Bug#10599)
13413
13414 2012-02-17 Kenichi Handa <handa@m17n.org>
13415
13416 * international/charprop.el:
13417 * international/uni-name.el:
13418 * international/uni-old-name.el:
13419 * international/uni-comment.el: Regenerate.
13420
13421 2012-02-16 Glenn Morris <rgm@gnu.org>
13422
13423 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13424 Interactively in calendar buffer, give an error if not on a date.
13425
13426 2012-02-15 Glenn Morris <rgm@gnu.org>
13427
13428 * shell.el (shell-delimiter-argument-list):
13429 Revert 2011-02-17 change. (Bug#8027)
13430
13431 2012-02-15 Chong Yidong <cyd@gnu.org>
13432
13433 * minibuffer.el (completion-at-point-functions): Doc fix.
13434
13435 * custom.el (defcustom): Doc fix; note use of defvar.
13436
13437 2012-02-15 Glenn Morris <rgm@gnu.org>
13438
13439 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13440 Doc fixes.
13441
13442 2012-02-14 Glenn Morris <rgm@gnu.org>
13443
13444 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13445
13446 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13447
13448 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13449 way the ports list is computed.
13450 (smtpmail-query-smtp-server): Prompt the user for a port number if
13451 we can't connect to any of the standard ports (bug#10810).
13452
13453 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13454
13455 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13456
13457 2012-02-13 Glenn Morris <rgm@gnu.org>
13458
13459 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13460
13461 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13462
13463 * net/gnutls.el (gnutls-trustfiles): New variable.
13464 (gnutls-negotiate): Use it.
13465
13466 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13467
13468 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13469 does its stuff if Gnus is running.
13470
13471 2012-02-13 Alan Mackenzie <acm@muc.de>
13472
13473 Fix a loop in c-set-fl-decl-start.
13474
13475 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13476 c-backward-syntactic-ws actually moves backwards.
13477
13478 2012-02-13 Leo Liu <sdl.web@gmail.com>
13479
13480 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13481 beginning so that all \C-o chars are removed.
13482
13483 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13484
13485 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13486
13487 2012-02-12 Alan Mackenzie <acm@muc.de>
13488
13489 Fix infinite loop with long macros.
13490 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13491
13492 2012-02-12 Chong Yidong <cyd@gnu.org>
13493
13494 * window.el (display-buffer): Doc fix (Bug#10785).
13495
13496 2012-02-12 Glenn Morris <rgm@gnu.org>
13497
13498 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13499 (x-disown-selection-internal, x-get-selection-internal):
13500 Sync docs with the xselect.c versions.
13501
13502 * allout-widgets.el: Add missing license notice.
13503
13504 2012-02-11 Glenn Morris <rgm@gnu.org>
13505
13506 * select.el (x-get-selection-internal, x-own-selection-internal)
13507 (x-disown-selection-internal):
13508 * x-dnd.el (x-get-selection-internal): Update declarations.
13509
13510 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13511
13512 * window.el (window-sides-slots):
13513 * tool-bar.el (tool-bar-position):
13514 * term/xterm.el (xterm-extra-capabilities):
13515 * ses.el (ses-self-reference-early-detection):
13516 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13517 (verilog-auto-wire-type)
13518 (verilog-auto-delete-trailing-whitespace)
13519 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13520 (verilog-auto-tieoff-declaration):
13521 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13522 (sql-oracle-statement-starters, sql-oracle-scan-on):
13523 * progmodes/prolog.el (prolog-align-comments-flag)
13524 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13525 (prolog-left-indent-regexp, prolog-paren-indent-p)
13526 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13527 (prolog-types, prolog-mode-specificators)
13528 (prolog-determinism-specificators, prolog-directives)
13529 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13530 (prolog-electric-dot-flag)
13531 (prolog-electric-dot-full-predicate-template)
13532 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13533 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13534 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13535 (prolog-program-switches, prolog-prompt-regexp)
13536 (prolog-debug-on-string, prolog-debug-off-string)
13537 (prolog-trace-on-string, prolog-trace-off-string)
13538 (prolog-zip-on-string, prolog-zip-off-string)
13539 (prolog-use-standard-consult-compile-method-flag)
13540 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13541 (prolog-imenu-max-lines, prolog-info-predicate-index)
13542 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13543 (prolog-char-quote-workaround):
13544 * progmodes/cc-vars.el (c-defun-tactic):
13545 * net/tramp.el (tramp-encoding-command-interactive)
13546 (tramp-local-end-of-line):
13547 * net/soap-client.el (soap-client):
13548 * net/netrc.el (netrc-file):
13549 * net/gnutls.el (gnutls):
13550 * minibuffer.el (completion-category-overrides)
13551 (completion-cycle-threshold)
13552 (completion-pcm-complete-word-inserts-delimiters):
13553 * man.el (Man-name-local-regexp):
13554 * mail/feedmail.el (feedmail-display-full-frame):
13555 * international/characters.el (glyphless-char-display-control):
13556 * eshell/em-ls.el (eshell-ls-date-format):
13557 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13558 (lisp-lambda-list-keyword-parameter-indentation)
13559 (lisp-lambda-list-keyword-parameter-alignment):
13560 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13561 * dired-x.el (dired-omit-verbose):
13562 * cus-theme.el (custom-theme-allow-multiple-selections):
13563 * calc/calc.el (calc-highlight-selections-with-faces)
13564 (calc-lu-field-reference, calc-lu-power-reference)
13565 (calc-note-threshold):
13566 * battery.el (battery-mode-line-limit):
13567 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13568 (archive-7z-update):
13569 * allout.el (allout-prefixed-keybindings)
13570 (allout-unprefixed-keybindings)
13571 (allout-inhibit-auto-fill-on-headline)
13572 (allout-flattened-numbering-abbreviation):
13573 * allout-widgets.el (allout-widgets-auto-activation)
13574 (allout-widgets-icons-dark-subdir)
13575 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13576 (allout-widgets-theme-dark-background)
13577 (allout-widgets-theme-light-background)
13578 (allout-widgets-item-image-properties-emacs)
13579 (allout-widgets-item-image-properties-xemacs)
13580 (allout-widgets-run-unit-tests-on-load)
13581 (allout-widgets-time-decoration-activity)
13582 (allout-widgets-hook-error-post-time)
13583 (allout-widgets-track-decoration):
13584 Add missing :version tags to new defcustoms and defgroups.
13585
13586 * progmodes/sql.el (sql-ansi-statement-starters)
13587 (sql-oracle-statement-starters): Add custom type.
13588
13589 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13590 (prolog-system-version): Give it a type.
13591
13592 2012-02-11 Eli Zaretskii <eliz@gnu.org>
13593
13594 * term/pc-win.el (x-select-text, x-selection-owner-p)
13595 (x-own-selection-internal, x-disown-selection-internal)
13596 (x-get-selection-internal): Sync doc strings and argument lists
13597 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13598
13599 2012-02-11 Leo Liu <sdl.web@gmail.com>
13600
13601 * progmodes/python.el (python-end-of-statement): Fix infinite
13602 loop. (Bug#10788)
13603
13604 2012-02-10 Glenn Morris <rgm@gnu.org>
13605
13606 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13607 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13608
13609 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13610
13611 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13612 about SMTP before checking the From header.
13613
13614 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13615 into own function for reuse by emacsbug.el.
13616
13617 2012-02-10 Leo Liu <sdl.web@gmail.com>
13618
13619 * subr.el (condition-case-unless-debug): Rename from
13620 condition-case-no-debug. All callers changed.
13621 (with-demoted-errors): Fix caller.
13622
13623 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13624 * nxml/rng-valid.el (rng-do-some-validation):
13625 * emacs-lisp/package.el (package-refresh-contents)
13626 (package-menu-execute):
13627 * desktop.el (desktop-create-buffer):
13628 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
13629
13630 2012-02-10 Glenn Morris <rgm@gnu.org>
13631
13632 * textmodes/bibtex.el:
13633 Add missing :version tags for new/changed defcustoms.
13634
13635 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13636
13637 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
13638
13639 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13640 (smtpmail-via-smtp): Use it, or fall back on the From address.
13641 (smtpmail-send-it): Ditto.
13642
13643 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13644
13645 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13646 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13647 (byte-compile-tmp-var): New const.
13648 (byte-compile-defvar): Use it to minimize .elc size.
13649 Just use `defvar' rather than simulate it (bug#10761).
13650
13651 2012-02-09 Glenn Morris <rgm@gnu.org>
13652
13653 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13654
13655 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13656 Add :version tags.
13657
13658 * progmodes/compile.el (compilation-error-screen-columns)
13659 (compilation-first-column, compilation-filter-start): Doc fixes.
13660
13661 * vc/log-view.el (log-view-toggle-entry-display):
13662 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13663
13664 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13665 (report-emacs-bug-can-use-xdg-email):
13666 (report-emacs-bug-insert-to-mailer): Doc fixes.
13667 (report-emacs-bug): Message fix.
13668
13669 * net/browse-url.el (browse-url-can-use-xdg-open)
13670 (browse-url-xdg-open): Doc fixes.
13671
13672 * electric.el (electric-indent-mode, electric-pair-mode)
13673 (electric-layout-rules, electric-layout-mode): Doc fixes.
13674 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13675
13676 2012-02-08 Martin Rudalics <rudalics@gmx.at>
13677
13678 * server.el (server-unselect-display): Don't inadvertently kill
13679 the current buffer. (Bug#10729)
13680
13681 2012-02-08 Glenn Morris <rgm@gnu.org>
13682
13683 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13684 (sql-list-table): Doc fixes.
13685
13686 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13687 Comment out (does nothing).
13688
13689 * completion.el (dynamic-completion-mode):
13690 * dirtrack.el (dirtrack-debug-mode):
13691 * electric.el (electric-layout-mode):
13692 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13693 * face-remap.el (text-scale-mode, buffer-face-mode):
13694 * iimage.el (iimage-mode):
13695 * image-mode.el (image-transform-mode):
13696 * minibuffer.el (completion-in-region-mode):
13697 * scroll-lock.el (scroll-lock-mode):
13698 * simple.el (next-error-follow-minor-mode):
13699 * tar-mode.el (tar-subfile-mode):
13700 * tooltip.el (tooltip-mode):
13701 * vcursor.el (vcursor-use-vcursor-map):
13702 * wid-browse.el (widget-minor-mode):
13703 * emulation/tpu-edt.el (tpu-edt-mode):
13704 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13705 * international/iso-ascii.el (iso-ascii-mode):
13706 * language/thai-util.el (thai-word-mode):
13707 * mail/supercite.el (sc-minor-mode):
13708 * net/goto-addr.el (goto-address-mode):
13709 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13710 * progmodes/cwarn.el (cwarn-mode):
13711 * progmodes/flymake.el (flymake-mode):
13712 * progmodes/glasses.el (glasses-mode):
13713 * progmodes/hideshow.el (hs-minor-mode):
13714 * progmodes/pascal.el (pascal-outline-mode):
13715 * textmodes/enriched.el (enriched-mode):
13716 * vc/smerge-mode.el (smerge-mode):
13717 Doc fixes (minor mode argument).
13718
13719 2012-02-07 Eli Zaretskii <eliz@gnu.org>
13720
13721 * ls-lisp.el (ls-lisp-sanitize): New function.
13722 (ls-lisp-insert-directory): Use it to fix or remove any elements
13723 in file-alist with missing attributes. (Bug#4673)
13724
13725 2012-02-07 Alan Mackenzie <acm@muc.de>
13726
13727 Fix spurious recognition of c-in-knr-argdecl.
13728
13729 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13730 putative K&R region.
13731
13732 2012-02-07 Alan Mackenzie <acm@muc.de>
13733
13734 * progmodes/cc-engine.el (c-forward-objc-directive):
13735 Prevent looping in "#pragma mark @implementation".
13736
13737 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
13738
13739 * notifications.el (notifications-on-closed-signal): Make `reason'
13740 optional. (Bug#10744)
13741
13742 2012-02-07 Glenn Morris <rgm@gnu.org>
13743
13744 * emacs-lisp/easy-mmode.el (define-minor-mode):
13745 Doc fixes for the macro and the mode it defines.
13746
13747 * image.el (imagemagick-types-inhibit): Doc fix.
13748
13749 * cus-start.el (imagemagick-render-type): Add it.
13750
13751 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
13752
13753 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13754 Set the default at load time, too, so that `font-lock-fontify-buffer'
13755 can be called without setting up the entire mode first. This fixes
13756 a bug in `mm-inline-text' with C MIME parts.
13757
13758 2012-02-06 Chong Yidong <cyd@gnu.org>
13759
13760 * simple.el (list-processes--refresh): Delete exited processes
13761 (Bug#8094).
13762
13763 * comint.el (comint-next-prompt): next-single-char-property-change
13764 and prev-single-char-property-change never return nil (Bug#8657).
13765
13766 * custom.el (defcustom): Doc fix (Bug#9711).
13767
13768 2012-02-05 Chong Yidong <cyd@gnu.org>
13769
13770 * cus-edit.el (custom-variable-reset-backup): Quote the value
13771 before storing it in the customized-value property (Bug#6712).
13772 (custom-display): Add a customization type tag.
13773 (custom-buffer-create-internal): Improve tooltip message.
13774
13775 * wid-edit.el (widget-field-value-get): New optional arg to
13776 suppress trailing whitespace truncation.
13777 (character): Use it (Bug#2689).
13778
13779 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
13780
13781 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13782 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13783
13784 2012-02-05 Chong Yidong <cyd@gnu.org>
13785
13786 * cus-edit.el (custom-variable-value-create): For mismatched
13787 types, show the current value (Bug#7600).
13788
13789 * custom.el (defcustom): Doc fix.
13790
13791 2012-02-05 Glenn Morris <rgm@gnu.org>
13792
13793 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13794
13795 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
13796
13797 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13798 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13799 (pp-last-sexp): Use `looking-at-p'.
13800
13801 2012-02-04 Glenn Morris <rgm@gnu.org>
13802
13803 * files.el (revert-buffer):
13804 Doc fix (mention revert-buffer-in-progress-p).
13805
13806 * emacs-lisp/ert-x.el (ert-simulate-command):
13807 Check deferred-action-list (which is obsolete) is bound.
13808
13809 * subr.el (with-wrapper-hook): Doc fixes.
13810
13811 * simple.el (filter-buffer-substring-functions)
13812 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13813
13814 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13815
13816 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13817 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13818
13819 2012-02-04 Leo Liu <sdl.web@gmail.com>
13820
13821 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13822
13823 2012-02-04 Glenn Morris <rgm@gnu.org>
13824
13825 * image.el (image-extension-data): Add obsolete alias.
13826
13827 * isearch.el (isearch-update): Doc fix.
13828
13829 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13830
13831 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13832
13833 2012-02-03 Glenn Morris <rgm@gnu.org>
13834
13835 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13836 (image-animate-timeout): Doc fix.
13837
13838 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13839
13840 2012-02-02 Glenn Morris <rgm@gnu.org>
13841
13842 * server.el (server-auth-dir): Doc fix.
13843 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13844
13845 * subr.el (run-mode-hooks): Doc fix.
13846
13847 2012-02-02 Juri Linkov <juri@jurta.org>
13848
13849 * image-mode.el (image-toggle-display-image): Remove tautological
13850 `major-mode' from the `derived-mode-p' test.
13851
13852 2012-02-02 Kenichi Handa <handa@m17n.org>
13853
13854 * composite.el (compose-region): Cancel previous change.
13855
13856 2012-02-02 Kenichi Handa <handa@m17n.org>
13857
13858 * composite.el (compose-region, compose-string): Signal error for
13859 a null string component (Bug#6988).
13860
13861 2012-02-01 Chong Yidong <cyd@gnu.org>
13862
13863 * view.el (view-buffer-other-window, view-buffer-other-frame):
13864 Handle special modes like view-buffer (Bug#10650).
13865 (view-buffer): Simplify.
13866
13867 * frame.el (set-frame-font): Tweak meaning of third argument.
13868
13869 * dynamic-setting.el (font-setting-change-default-font):
13870 Use set-frame-font (Bug#9982).
13871
13872 2012-02-01 Glenn Morris <rgm@gnu.org>
13873
13874 * progmodes/compile.el (compilation-internal-error-properties):
13875 Respect compilation-first-column in the "*compilation*" buffer.
13876
13877 * emacs-lisp/easy-mmode.el (define-minor-mode):
13878 Relax :variable's test for a named function.
13879
13880 2012-01-31 Alan Mackenzie <acm@muc.de>
13881
13882 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13883 off by one error.
13884
13885 2012-01-31 Chong Yidong <cyd@gnu.org>
13886
13887 * frame.el (set-frame-font): New arg ALL-FRAMES.
13888
13889 * menu-bar.el (menu-set-font): Use set-frame-font.
13890
13891 * faces.el (face-spec-reset-face): Don't apply unspecified
13892 attribute values to the default face.
13893
13894 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
13895
13896 * progmodes/cwarn.el (cwarn): Remove dead link.
13897 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13898 Remove * from defcustom docstrings.
13899 (turn-on-cwarn-mode): Make obsolete.
13900 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13901 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13902
13903 2012-01-31 Glenn Morris <rgm@gnu.org>
13904
13905 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
13906 Fix :variable handling of mode a symbol not equal to modefun.
13907 Allow named functions to be used as the cdr of :variable.
13908
13909 2012-01-30 Glenn Morris <rgm@gnu.org>
13910
13911 * emacs-lisp/authors.el (authors-fixed-entries):
13912 Remove reference to deleted file rnewspost.el.
13913
13914 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
13915
13916 * window.el (window-with-parameter): Remove unused variable `windows'.
13917 (window--side-check): Remove unused variable `code'.
13918 (window--resize-siblings): Remove unused variable `first'.
13919 (adjust-window-trailing-edge): Remove unused variable `failed'.
13920 (window-deletable-p, window--delete): Remove unused variable `buffer'.
13921 Use `let', not `let*'.
13922 (balance-windows-2): Remove unused variable `found'.
13923 (window--state-put-2): Remove unused variable `splits'.
13924 (window-state-put): Remove unused variable `selected'.
13925 (same-window-p): Use `string-match-p'.
13926 (display-buffer-assq-regexp): Remove unused variable `value'.
13927 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13928 Mark argument ALIST as ignored.
13929 (pop-to-buffer): Remove unused variable `old-window'.
13930
13931 2012-01-29 Eli Zaretskii <eliz@gnu.org>
13932
13933 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13934 and .lzma compressed files.
13935
13936 2012-01-29 Chong Yidong <cyd@gnu.org>
13937
13938 * frame.el (window-system-default-frame-alist): Doc fix.
13939
13940 * dynamic-setting.el (font-setting-change-default-font): Don't
13941 change the default face if SET-FONT argument is non-nil (Bug#9982).
13942
13943 2012-01-29 Samuel Bronson <naesten@gmail.com>
13944
13945 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13946
13947 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
13948
13949 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13950 breakpoints in files outside current directory (Bug#6098).
13951
13952 2012-01-29 Chong Yidong <cyd@gnu.org>
13953
13954 * progmodes/python.el: Require ansi-color at top-level.
13955
13956 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13957 Define and use in Emacs Lisp mode (Bug#9360).
13958 (lisp-mode-abbrev-table): Add doc.
13959 (lisp-mode-variables): Don't set local-abbrev-table.
13960 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13961
13962 2012-01-28 Roland Winkler <winkler@gnu.org>
13963
13964 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13965
13966 2012-01-28 Roland Winkler <winkler@gnu.org>
13967
13968 * textmodes/bibtex.el (bibtex-entry-alist): New function.
13969 (bibtex-set-dialect): Use it. Either set global values of
13970 dialect-dependent variables or bind these variables buffer-locally
13971 (Bug#10254).
13972 (bibtex-mode): Call bibtex-set-dialect via
13973 hack-local-variables-hook.
13974 (bibtex-dialect): Update docstring.
13975 Add safe-local-variable predicate.
13976 (bibtex-entry-alist, bibtex-field-alist): Initialize via
13977 bibtex-set-dialect.
13978 (bibtex-mode-map): Define menu for each dialect.
13979 (bibtex-entry): Fix docstring.
13980
13981 2012-01-28 Chong Yidong <cyd@gnu.org>
13982
13983 * eshell/esh-arg.el (eshell-quote-argument): New function.
13984
13985 * eshell/esh-ext.el (eshell-invoke-batch-file):
13986 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13987 first arg to eshell-parse-command (Bug#10523).
13988
13989 2012-01-28 Drew Adams <drew.adams@oracle.com>
13990
13991 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13992 `default-directory' is non-nil.
13993
13994 2012-01-28 Eli Zaretskii <eliz@gnu.org>
13995
13996 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
13997 line that displays system-configuration-options. (Bug#9924)
13998
13999 2012-01-28 Drew Adams <drew.adams@oracle.com>
14000
14001 * descr-text.el (describe-char): Show information about POS, in
14002 addition to information about the character at POS. Improve and
14003 update the doc string. Change "code point" to "code point in
14004 charset", to avoid confusion with the character's Unicode code
14005 point shown above that. (Bug#10129)
14006
14007 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14008
14009 * descr-text.el (describe-char): Show the raw character, not only
14010 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14011 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14012 for the reasons.
14013
14014 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14015
14016 * emacs-lisp/package.el (package-install):
14017 Run package-refresh-contents if there is no archive yet (Bug#9798).
14018
14019 2012-01-28 Chong Yidong <cyd@gnu.org>
14020
14021 * emacs-lisp/package.el (package-maybe-load-descriptor):
14022 New function, split from package-maybe-load-descriptor.
14023 (package-maybe-load-descriptor): Use it.
14024 (package-download-transaction): Fully load required packages
14025 inside the loop, so that `require' calls work (Bug#10593).
14026 (package-install): No need to call package-initialize now.
14027
14028 2012-01-28 Chong Yidong <cyd@gnu.org>
14029
14030 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14031
14032 * tooltip.el (tooltip-mode): Doc fix.
14033 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14034
14035 * frame.el (set-cursor-color): Doc fix (Bug#352).
14036
14037 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14038 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14039
14040 * cus-edit.el (custom-buffer-create-internal): Fix search button
14041 action (Bug#10542).
14042 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14043
14044 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14045
14046 * dired.el (dired-mark-files-regexp):
14047 Include any subdirectory components. (Bug#10445)
14048
14049 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14050
14051 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14052 Handle [host]:port syntax. (Bug#10533)
14053
14054 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14055
14056 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14057
14058 2012-01-26 Glenn Morris <rgm@gnu.org>
14059
14060 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14061 * term.el (term-raw-escape-map): Use Control-X-prefix.
14062 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14063
14064 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14065
14066 * window.el (window-state-get, window--state-get-1): Don't deal
14067 with fixed-sizeness of windows. Simplify code.
14068
14069 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14070
14071 * window.el (window--state-get-1, window--state-put-2):
14072 Don't save and restore the mark.
14073
14074 2012-01-25 Chong Yidong <cyd@gnu.org>
14075
14076 * custom.el (custom-variable-p): Doc fix.
14077
14078 2012-01-25 Glenn Morris <rgm@gnu.org>
14079
14080 * dired.el (dired-goto-file): Handle some of the more common
14081 characters that `ls -b' escapes. (Bug#10596)
14082
14083 * progmodes/compile.el (compilation-next-error-function):
14084 Respect compilation-first-column in the "*compilation*" buffer.
14085 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14086
14087 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14088
14089 2012-01-24 Glenn Morris <rgm@gnu.org>
14090
14091 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14092
14093 2012-01-24 Julien Danjou <julien@danjou.info>
14094
14095 * color.el (color-rgb-to-hsl): Fix value computing.
14096 (color-hue-to-rgb): New function.
14097 (color-hsl-to-rgb): New function.
14098 (color-clamp, color-saturate-hsl, color-saturate-name)
14099 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14100 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14101
14102 2012-01-24 Glenn Morris <rgm@gnu.org>
14103
14104 * vc/vc-rcs.el (vc-rcs-create-tag):
14105 * vc/vc-sccs.el (vc-sccs-create-tag):
14106 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14107
14108 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14109
14110 * eshell/esh-util.el (eshell-read-hosts-file):
14111 Skip comment lines. (Bug#10549)
14112
14113 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14114
14115 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14116
14117 * subr.el (display-delayed-warnings): Doc fix.
14118 (collapse-delayed-warnings): New function to collapse identical
14119 adjacent warnings.
14120 (delayed-warnings-hook): Add it.
14121
14122 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14123
14124 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14125
14126 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14127 (tramp-default-user-alist): Don't add "pscp".
14128 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14129 property "login-as", if set. (Bug#10530)
14130
14131 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14132
14133 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14134 "plink1" and "psftp". (Bug#10530)
14135
14136 2012-01-21 Kenichi Handa <handa@m17n.org>
14137
14138 * international/mule-cmds.el (prefer-coding-system): Show a
14139 warning message if the default value of file-name-coding-system
14140 was not changed.
14141
14142 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14143
14144 * windmove.el (windmove-reference-loc):
14145 Fix windmove-reference-loc miscalculation.
14146
14147 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14148
14149 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14150 default unit.
14151
14152 2012-01-21 Glenn Morris <rgm@gnu.org>
14153
14154 * international/mule.el (auto-coding-alist): Add .tbz.
14155
14156 * files.el (local-enable-local-variables): Doc fix.
14157 (inhibit-local-variables-regexps): Rename from
14158 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14159 Doc fix. Add some extensions from auto-coding-alist.
14160 (inhibit-local-variables-suffixes):
14161 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14162 (inhibit-local-variables-p):
14163 New function, extracted from set-auto-mode-1.
14164 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14165 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14166 (hack-local-variables): Doc fix. Make the mode-only case
14167 respect enable-local-variables and friends.
14168 Respect inhibit-local-variables-regexps for file-locals, but
14169 not for directory-locals.
14170 (set-visited-file-name):
14171 Take account of inhibit-local-variables-regexps.
14172 Whether it applies may change as the file name is changed.
14173 * jka-cmpr-hook.el (jka-compr-install):
14174 * jka-compr.el (jka-compr-uninstall):
14175 Update for inhibit-first-line-modes-suffixes name change.
14176
14177 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14178
14179 * help-macro.el (make-help-screen): Temporarily restore original
14180 binding for minor-mode-map-alist (Bug#10454).
14181
14182 2012-01-19 Julien Danjou <julien@danjou.info>
14183
14184 * color.el (color-name-to-rgb): Use the white color to find the max
14185 color component value and return correctly computed values.
14186 (color-name-to-rgb): Add missing float conversion for max value.
14187
14188 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14189
14190 * window.el (window--state-get-1, window-state-get): Do not use
14191 special state value for window-persistent-parameters.
14192 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14193 (window--state-put-2): Reset all window parameters to nil before
14194 assigning values of persistent parameters.
14195
14196 2012-01-18 Alan Mackenzie <acm@muc.de>
14197
14198 Eliminate sluggishness and hangs in fontification of "semicolon
14199 deserts".
14200
14201 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14202 Change value 10000 -> 3000.
14203 (c-state-safe-place): Reformulate so it doesn't stack up an
14204 infinite number of wrong entries in c-state-nonlit-pos-cache.
14205 (c-determine-limit-get-base, c-determine-limit): New functions to
14206 determine backward search limits disregarding literals.
14207 (c-find-decl-spots): Amend commenting.
14208 (c-cheap-inside-bracelist-p): New function which detects "={".
14209
14210 * progmodes/cc-fonts.el
14211 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14212 backward search.
14213 (c-font-lock-declarations): Fix an occurrence of point being
14214 undefined. Check additionally for point being in a bracelist or
14215 near a macro invocation without a semicolon so as to avoid a
14216 fruitless time consuming search for a declarator. Give a more
14217 precise search limit for declarators using the new
14218 c-determine-limit.
14219
14220 2012-01-18 Glenn Morris <rgm@gnu.org>
14221
14222 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14223 (set-auto-mode): Doc fixes.
14224
14225 2012-01-17 Glenn Morris <rgm@gnu.org>
14226
14227 * isearch.el (search-nonincremental-instead): Fix doc typo.
14228
14229 * dired.el (dired-insert-directory): Handle newlines in directory name.
14230 (dired-build-subdir-alist): Unescape newlines in directory name.
14231
14232 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14233
14234 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14235 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14236 (tramp-action-terminal): Use it. (Bug#10530)
14237
14238 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14239
14240 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14241
14242 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14243
14244 * window.el (window-state-ignored-parameters): Remove variable.
14245 (window--state-get-1): Rename argument MARKERS to IGNORE.
14246 Handle persistent window parameters. Make copy of clone-of
14247 parameter only if requested. (Bug#10348)
14248 (window--state-put-2): Install a window parameter only if it has
14249 a non-nil value or an existing parameter shall be overwritten.
14250
14251 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14252
14253 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14254
14255 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14256
14257 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14258 don't pass the (nil) value of `upnode' to string-match.
14259
14260 2012-01-14 Chong Yidong <cyd@gnu.org>
14261
14262 * startup.el (command-line): Fix X resource class for cursorColor.
14263 Fix values recognized by the cursorBlink resource.
14264
14265 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14266
14267 * epg.el (epg--make-temp-file): Avoid permission race condition
14268 when running on old Emacs versions (bug#10403).
14269
14270 2012-01-14 Glenn Morris <rgm@gnu.org>
14271
14272 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14273
14274 2012-01-13 Alan Mackenzie <acm@muc.de>
14275
14276 Fix filling for when filladapt mode is enabled.
14277
14278 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14279 c-mask-paragraph, pass in `fill-paragraph' rather than
14280 `fill-region-as-paragraph'. (This is a reversion of a previous
14281 change.)
14282 * progmodes/cc-mode.el (c-basic-common-init):
14283 Make fill-paragraph-handle-comment buffer local and set it to nil.
14284
14285 2012-01-13 Glenn Morris <rgm@gnu.org>
14286
14287 * dired.el (dired-switches-escape-p): New function.
14288 (dired-insert-directory): Use dired-switches-escape-p.
14289 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14290
14291 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14292
14293 2012-01-12 Glenn Morris <rgm@gnu.org>
14294
14295 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14296 changes in adaptive-fill-regexp. (Bug#10276)
14297
14298 2012-01-11 Alan Mackenzie <acm@muc.de>
14299
14300 Fix Emacs bug #10463 - put `widen's around the critical spots.
14301
14302 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14303 widen around each invocation of c-state-pp-to-literal. Remove an
14304 unused let variable.
14305
14306 2012-01-11 Glenn Morris <rgm@gnu.org>
14307
14308 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14309 Doc fix.
14310
14311 2012-01-10 Chong Yidong <cyd@gnu.org>
14312
14313 * net/network-stream.el (network-stream-open-starttls):
14314 Avoid emitting a confusing error message when the server gives a bad
14315 response to the capability command.
14316
14317 2012-01-10 Glenn Morris <rgm@gnu.org>
14318
14319 * mail/unrmail.el (unrmail): Tweak previous change.
14320
14321 2012-01-09 Chong Yidong <cyd@gnu.org>
14322
14323 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14324
14325 2012-01-08 Alan Mackenzie <acm@muc.de>
14326
14327 Optimize font locking in long enum definitions.
14328
14329 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14330 arm to a cond form to handle enums.
14331 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14332 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14333
14334 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14335
14336 * files.el (move-file-to-trash): Preserve default file modes on error.
14337 (Bug#10401)
14338
14339 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14340
14341 * faces.el (set-face-attribute): Clarify the meaning of the nil
14342 frame (bug#10294).
14343
14344 * subr.el (with-selected-frame): Mention that the selected frame
14345 is restored (bug#9980).
14346
14347 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14348 (bug#9759).
14349
14350 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14351 (password-read): Don't autoload unused function.
14352
14353 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14354
14355 * progmodes/which-func.el (which-func-mode): Turn into a
14356 non-interactive function and mark as obsolete (bug#10428).
14357
14358 2012-01-06 Chong Yidong <cyd@gnu.org>
14359
14360 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14361 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14362 functions, along with 1 and -1.
14363
14364 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14365
14366 * time.el (display-time-load-average)
14367 (display-time-default-load-average): Doc fixes. See the thread
14368 starting at
14369 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14370 for the details.
14371
14372 2012-01-06 Glenn Morris <rgm@gnu.org>
14373
14374 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14375 has no messages. (Bug#10377)
14376
14377 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14378 than Info-edit. (Bug#10385)
14379
14380 * time.el (display-time-load-average, display-time-next-load-average):
14381 Doc fixes.
14382
14383 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14384 local setting of buffer-read-only to the input buffer. (Bug#10419)
14385
14386 * calendar/calendar.el (calendar-mode):
14387 Locally set scroll-margin to 0. (Bug#10379)
14388
14389 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14390
14391 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14392
14393 2012-01-05 Glenn Morris <rgm@gnu.org>
14394
14395 * eshell/em-unix.el (diff-no-select): Autoload it.
14396 (eshell/diff): Use diff-no-select. (Bug#10420)
14397
14398 2012-01-05 Chong Yidong <cyd@gnu.org>
14399
14400 * shell.el (shell-dynamic-complete-functions): Revert last change.
14401 (shell-command-completion-function): New function.
14402 (shell-completion-vars): Use it to implement
14403 shell-completion-execonly (Bug#10417).
14404
14405 * custom.el (enable-theme): Don't set custom-safe-themes.
14406
14407 * cus-theme.el (custom-theme-merge-theme):
14408 Ignore custom-enabled-themes and custom-safe-themes.
14409
14410 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14411
14412 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14413 first prompt in `sql-interacive-mode'.
14414 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14415 keywords.
14416 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14417 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14418 context of original buffer. Invoke `sql-login-hook'.
14419
14420 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14421
14422 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14423 letters in cite-prefix.
14424
14425 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14426
14427 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14428
14429 2012-01-03 Chong Yidong <cyd@gnu.org>
14430
14431 * shell.el (shell-dynamic-complete-functions):
14432 Put pcomplete-completions-at-point, so as to try
14433 comint-filename-completion first (Bug#10417).
14434
14435 2012-01-02 Richard Stallman <rms@gnu.org>
14436
14437 * battery.el (battery-status-function):
14438 Detect when to use battery-yeeloong-sysfs.
14439 (battery-echo-area-format): Add string for Yeeloong.
14440 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14441 (battery-yeeloong-sysfs): New function.
14442
14443 2012-01-02 Chong Yidong <cyd@gnu.org>
14444
14445 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14446 (dirtrack): Merge code for handling relative filenames in prompt
14447 from shell-dir-cookie-watcher.
14448 (dirtrack-debug-message): New arg to avoid excess format calls.
14449
14450 * shell.el (shell-dir-cookie-re): Variable deleted.
14451 (shell-dir-cookie-watcher): Function deleted.
14452 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14453 with dirtrack-mode.
14454
14455 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14456
14457 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14458 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14459 libgnutls-26.dll.
14460
14461 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14462
14463 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14464
14465 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14466
14467 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14468 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14469
14470 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
14471
14472 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14473 also for alternative shells.
14474 (tramp-open-connection-setup-interactive-shell): Check, whether
14475 the shell is a busybox.
14476 (tramp-send-command): Don't suppress multiple prompts for
14477 busyboxes, it hurts.
14478
14479 2011-12-28 Chong Yidong <cyd@gnu.org>
14480
14481 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14482 (gdb-get-source-file): Move mode line update to
14483 gdb-get-source-file (Bug#10087).
14484
14485 2011-12-25 Chong Yidong <cyd@gnu.org>
14486
14487 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14488 gud-gdb-marker-filter without taking it as an argument.
14489 (gud-gdb-run-command-fetch-lines): Caller changed.
14490 (gud-gdb-completion-function): New variable.
14491 (gud-gdb-completion-at-point): Use it.
14492 (gud-gdb-completions-1): Split from gud-gdb-completions.
14493
14494 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14495 function as separate arguments.
14496 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14497 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14498 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14499 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14500 (gdb-stopped, def-gdb-auto-update-trigger)
14501 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14502 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14503 Callers changed.
14504 (gud-gdbmi-completions): New function.
14505 (gdb): Use it for generating the completion table.
14506
14507 2011-12-24 Alan Mackenzie <acm@muc.de>
14508
14509 Introduce a mechanism to widen the region used in context font
14510 locking. Use this to protect declarations from losing their contexts.
14511
14512 * progmodes/cc-langs.el (c-before-font-lock-functions):
14513 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14514 (c-before-context-fontification-functions): New defvar, a list of
14515 functions to be run just before context (etc.) font locking.
14516
14517 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14518 New, functionality extracted from
14519 c-neutralize-syntax-in-and-mark-CPP.
14520 (c-in-after-change-fontification): New variable.
14521 (c-after-change): Set c-in-after-change-fontification.
14522 (c-set-fl-decl-start): Rejig its interface, so it can be called
14523 from both after-change and context fontifying.
14524 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14525 New functions.
14526 (c-standard-font-lock-fontify-region-function): New variable.
14527 (c-font-lock-fontify-region): New function.
14528
14529 2011-12-24 Juri Linkov <juri@jurta.org>
14530
14531 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14532 (Bug#10348)
14533
14534 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
14535
14536 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14537 existence of source file. (Bug#10325)
14538
14539 2011-12-23 Alan Mackenzie <acm@muc.de>
14540
14541 Fix unstable fontification inside templates.
14542
14543 * progmodes/cc-langs.el (c-before-font-lock-functions):
14544 Newly created from the singular version. The (c c++ objc) entry now
14545 additionally has c-set-fl-decl-start. The other languages (apart
14546 from AWK) have that as a single entry.
14547
14548 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14549 The functionality for "local" declarations has been extracted to
14550 c-set-fl-decl-start.
14551
14552 * progmodes/cc-mode.el (c-common-init, c-after-change):
14553 Changes due to pluralisation of c-before-font-lock-functions.
14554 (c-set-fl-decl-start): New function, extracted from
14555 c-font-lock-enclosing-decls and enhanced.
14556
14557 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
14558
14559 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14560
14561 2011-12-22 Juri Linkov <juri@jurta.org>
14562
14563 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14564
14565 2011-12-22 Chong Yidong <cyd@gnu.org>
14566
14567 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14568
14569 2011-12-21 Drew Adams <drew.adams@oracle.com>
14570
14571 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14572
14573 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14574
14575 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14576
14577 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14578
14579 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14580 highlighting and support. Fix up comments for capitalization.
14581 (cfengine-mode-debug): New var.
14582 (cfengine3-mode): Change the modeline indicator to "CFE3".
14583 (cfengine3-font-lock-keywords): Improve defun highlighting.
14584 (cfengine2-actions): Rename from `cfengine-actions'.
14585 (cfengine2-font-lock-keywords): Rename from
14586 `cfengine-font-lock-keywords'.
14587 (cfengine2-imenu-expression): Rename from
14588 `cfengine-imenu-expression'.
14589 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14590 (cfengine2-beginning-of-defun): Rename from
14591 `cfengine-beginning-of-defun'.
14592 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14593 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14594 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14595 modeline indicator to "CFE2".
14596 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14597 (cfengine-mode-abbrevs): Mark obsolete.
14598
14599 2011-12-21 Chong Yidong <cyd@gnu.org>
14600
14601 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14602 filename argument.
14603
14604 2011-12-20 Martin Rudalics <rudalics@gmx.at>
14605
14606 * window.el (window-normalize-buffer-to-display): Remove.
14607 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14608
14609 2011-12-19 Chong Yidong <cyd@gnu.org>
14610
14611 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14612 Don't signal an error in a predicate function; return non-nil.
14613 (vc-dir-mark-file): Move the error here.
14614 (vc-dir-mark-unmark): If acting on the region, keep going if one
14615 of the entries cannot be marked/unmarked.
14616 (vc-dir-mark-all-files): If current entry is a directory, mark
14617 only child files, as documented.
14618
14619 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14620
14621 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14622 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14623 addition.
14624
14625 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14626
14627 * term/ns-win.el (ns-get-selection-internal)
14628 (ns-store-selection-internal): Declare.
14629 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14630 Declare as obsolete.
14631 (ns-get-pasteboard, ns-paste-secondary):
14632 Use ns-get-selection-internal.
14633 (ns-set-pasteboard, ns-copy-including-secondary):
14634 Use ns-store-selection-internal.
14635
14636 2011-12-17 Chong Yidong <cyd@gnu.org>
14637
14638 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
14639 (vc-deduce-fileset): Doc fix.
14640
14641 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14642
14643 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14644
14645 2011-12-13 Sam Steingold <sds@gnu.org>
14646
14647 * man.el (Man-getpage-in-background): When running under a
14648 window-system, ignore $MANWIDTH and $COLUMNS.
14649
14650 2011-12-15 Kenichi Handa <handa@m17n.org>
14651
14652 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14653 (setup-ethiopic-environment-internal): Comment out key-binding for
14654 ethio-toggle-punctuation.
14655
14656 2011-12-13 Alan Mackenzie <acm@muc.de>
14657
14658 Add the switch statement to AWK Mode.
14659
14660 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
14661 "default" to the keywords regexp.
14662
14663 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
14664 expression as the rest.
14665 (c-nonlabel-token-key): Allow string literals for AWK.
14666 Refactor for the other modes.
14667
14668 Large brace-block initialisation makes CC Mode slow: Fix.
14669 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
14670 routines. Limit backward searching in c-font-lock-enclosing.decl.
14671
14672 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14673 pp-state and literal type in addition to the limits.
14674 (c-state-safe-place): New defun, extracted from c-state-literal-at.
14675 (c-state-literal-at): Use the above new defun.
14676 (c-slow-in-literal, c-fast-in-literal): Remove.
14677 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
14678
14679 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14680 being in a literal. Add a limit for backward searching.
14681
14682 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14683 c-slow-in-literal.
14684
14685 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14686
14687 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14688
14689 2011-12-13 Martin Rudalics <rudalics@gmx.at>
14690
14691 * window.el (delete-other-windows): Use correct frame in call to
14692 window-with-parameter.
14693
14694 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14695
14696 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14697 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14698 (makefile-gmake-statements, makefile-makepp-statements):
14699 Use it and add new makepp keywords.
14700 (makefile-makepp-font-lock-keywords): Add new patterns.
14701 (makefile-match-function-end): Match new [...] and [[...]].
14702
14703 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
14704
14705 * ses.el (ses-call-printer-return, ses-cell-property-get)
14706 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14707 (ses-create-cell-variable, ses-reset-header-string)
14708 (ses-cell-set-formula, ses-repair-cell-reference-all)
14709 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14710 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14711 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14712 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14713 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14714 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14715 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14716 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14717 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14718 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14719 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14720 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14721
14722 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14723
14724 * ses.el: The overall change is to add cell renaming, that is
14725 setting fancy names for cell symbols other than name matching
14726 "\\`[A-Z]+[0-9]+\\'" regexp .
14727 (ses-create-cell-variable): New defun.
14728 (ses-relocate-formula): Relocate formulas only for cells the
14729 symbols of which are not renamed, i.e. symbols whose names do not
14730 match regexp "\\`[A-Z]+[0-9]+\\'".
14731 (ses-relocate-all): Relocate values only for cells the symbols of
14732 which are not renamed.
14733 (ses-load): Create cells variables as the (ses-cell ...) are read,
14734 in order to check row col consistency with cell symbol name only
14735 for cells that are not renamed.
14736 (ses-replace-name-in-formula): New defun.
14737 (ses-rename-cell): New defun.
14738
14739 2011-12-11 Chong Yidong <cyd@gnu.org>
14740
14741 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14742 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14743
14744 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
14745
14746 * window.el (other-window): Fix docstring.
14747
14748 2011-12-10 Eli Zaretskii <eliz@gnu.org>
14749
14750 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
14751 `from' or `to' address before taking its substring.
14752 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
14753 encoded name is chopped in the middle of the encoded string, and
14754 thus displayed encoded.
14755
14756 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
14757
14758 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14759
14760 2011-12-10 Eli Zaretskii <eliz@gnu.org>
14761
14762 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
14763 to use texinfo-update-node and commands that call it if the
14764 Texinfo file uses @node lines without next/prev/up pointers.
14765 Correct outdated description about texinfo-master-menu.
14766 (texinfo-all-menus-update, texinfo-master-menu)
14767 (texinfo-update-node, texinfo-every-node-update)
14768 (texinfo-multiple-files-update): Doc fix. Warn against updating
14769 all the @node lines.
14770 (texinfo-master-menu): Only call texinfo-update-node if the prefix
14771 argument is numeric. Explain better in the doc string what the
14772 function really does.
14773 (texinfo-insert-master-menu-list): Improve the error message
14774 displayed if there's no menu in the Top node.
14775 (Bug#2975) See also this thread:
14776 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14777
14778 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
14779
14780 * speedbar.el (speedbar-supported-extension-expressions):
14781 Add .adb and .ads, commonly used for Ada source code (bug#10256).
14782
14783 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
14784
14785 * printing.el (pr-mode-alist):
14786 * simple.el (filter-buffer-substring-functions)
14787 (completion-list-insert-choice-function):
14788 * window.el (window-with-parameter, window-atom-root)
14789 (window-sides-slots, window-size-fixed, window-min-delta)
14790 (window-max-delta, window--resize-mini-window)
14791 (window--resize-child-windows-normal, window-tree)
14792 (delete-other-windows, quit-window, split-window)
14793 (display-buffer-record-window, special-display-buffer-names)
14794 (special-display-regexps, special-display-popup-frame)
14795 (same-window-p, split-window-sensibly)
14796 (display-buffer-overriding-action, display-buffer-alist)
14797 (display-buffer-base-action, display-buffer, switch-to-buffer)
14798 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14799 (fit-window-to-buffer, recenter-positions)
14800 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14801 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14802 and remove unneeded backslashes in docstrings.
14803
14804 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14805
14806 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14807
14808 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14809 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14810 end in ".mk".
14811 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14812 when reading the makefile (bug#10116).
14813
14814 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14815
14816 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14817 (bug#10116).
14818
14819 2011-12-06 Glenn Morris <rgm@gnu.org>
14820
14821 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14822
14823 2011-12-06 Chong Yidong <cyd@gnu.org>
14824
14825 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14826
14827 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
14828
14829 * textmodes/table.el (table-shorten-cell): Fix typo.
14830
14831 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14832
14833 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14834
14835 2011-12-05 Eli Zaretskii <eliz@gnu.org>
14836
14837 * descr-text.el (describe-char): Fix display of strong
14838 right-to-left characters and directional embeddings and overrides.
14839
14840 * simple.el (what-cursor-position): Fix display of codepoints of
14841 strong right-to-left characters.
14842
14843 2011-12-05 Chong Yidong <cyd@gnu.org>
14844
14845 * faces.el (read-color): Doc fix.
14846
14847 2011-12-05 Glenn Morris <rgm@gnu.org>
14848
14849 * align.el (align--set-marker): Add doc-string.
14850 Don't try to move something that is not a marker. (Bug#10216)
14851
14852 2011-12-04 Glenn Morris <rgm@gnu.org>
14853
14854 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14855 overly zealous deletion of trailing whitespace.
14856
14857 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
14858
14859 * server.el (server-delete-client): On Windows, do not try to delete
14860 the only terminal.
14861 (server-process-filter): On Windows, treat requests for a tty frame as
14862 if they were for a GUI frame if the running server is in GUI mode.
14863
14864 2011-12-03 Glenn Morris <rgm@gnu.org>
14865
14866 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
14867
14868 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14869
14870 * electric.el: Streamline electric-indent's hook.
14871 (electric-indent-chars): Revert to simple list.
14872 (electric-indent-functions): New var.
14873 (electric-indent-post-self-insert-function): Use it.
14874
14875 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14876 there's no inferior buffer (bug#10196).
14877 (prolog-consult-compile): Don't use toggle-read-only.
14878
14879 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
14880
14881 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14882 interrupt. (Bug#10187)
14883
14884 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14885
14886 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14887 (bug#9160).
14888
14889 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14890 (bug#10191).
14891
14892 2011-12-02 Juri Linkov <juri@jurta.org>
14893
14894 * info.el (Info-search): Display "end of manual" when Isearch
14895 reaches the end of single-file Info manual. (Bug#9918)
14896
14897 2011-12-02 Eli Zaretskii <eliz@gnu.org>
14898
14899 * isearch.el (isearch-message-prefix): Run the input method part
14900 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
14901
14902 2011-12-02 Juri Linkov <juri@jurta.org>
14903
14904 * isearch.el (isearch-occur): Use `word-search-regexp' for
14905 `isearch-word'.
14906 (isearch-search-and-update): Add condition for `isearch-word' and
14907 call `word-search-regexp'. (Bug#10145)
14908
14909 2011-12-01 Glenn Morris <rgm@gnu.org>
14910
14911 * eshell/em-hist.el (eshell-hist-initialize):
14912 Handle eshell-history-size nil and HISTSIZE set or unset.
14913 (eshell-history-file-name, eshell-history-size): Fix custom type.
14914
14915 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14916
14917 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14918
14919 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
14920
14921 * progmodes/verilog-mode.el (verilog-pretty-expr):
14922 Rework verilog-pretty-expr to handle new assignment operators in system
14923 verilog, such as += *= and the like.
14924 (verilog-assignment-operator-re): Regular expression to find the
14925 assigment operator in a verilog assignment.
14926 (verilog-assignment-operation-re): Regular expression to find an
14927 assignment statement for pretty-expr.
14928 (verilog-in-attribute-p): Query returns true if point is in an
14929 attribute context; used to skip these for expression line up from
14930 pretty-expr.
14931 (verilog-in-parameter-p): Query returns true if point is in an
14932 parameter definition context; used to skip these for expression
14933 line up from pretty-expr.
14934 (verilog-in-parenthesis-p): Query returns true if point is in a
14935 parenthetical expression, specifically ( ) but not [ ] or { };
14936 used by pretty-expr.
14937 (verilog-just-one-space): If there is no space, don't add one.
14938 (verilog-get-lineup-indent-2): Specifically skip just attribute
14939 contexts for expression lineup, rather than skipping all
14940 parenthetical expressions.
14941 (verilog-calculate-indent): Fix comment, and fix indent.
14942 (verilog-do-indent): Indent declarations in lists (suggested by
14943 Joachim Lechner).
14944 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14945 skeleton items.
14946 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14947 by Alain Mellan).
14948
14949 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
14950
14951 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14952 parameters with embedded comments. Reported by Ray Stevens.
14953 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14954 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14955 Reported by Tim Holt.
14956 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14957 instantiated by upper module causing wrong expansion until AUTOed a
14958 second time. Reported by K C Buckenmaier.
14959 (verilog-diff-auto): Fix showing .* as a difference when
14960 `verilog-auto-star-save' off. Reported by Dan Dever.
14961 (verilog-auto-reset, verilog-read-always-signals)
14962 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14963 temporary signals in reset list if
14964 verilog-auto-reset-blocking-in-non is nil, and match assignment
14965 style to each signal's assignment type, bug381.
14966 Reported by Thomas Esposito.
14967 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14968 (verilog-uvm-statement-re): Support UVM indentation and
14969 highlighting, with old OVM keywords only.
14970 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
14971 Support AUTOTIEOFF creating non-wire data types.
14972 Suggested by Jonathan Greenlaw.
14973 (verilog-auto-insert-lisp, verilog-delete-to-paren)
14974 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14975 (verilog-inject-sense, verilog-read-inst-pins)
14976 (verilog-read-sub-decls, verilog-read-sub-decls-line):
14977 Fix mismatching parenthesis inside commented out code when deleting
14978 AUTOINST, bug383. Reported by Jonathan Greenlaw.
14979 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14980 non-numeric vector width. Reported by Alex Reed.
14981 (verilog-auto-ascii-enum): Add "onehot" option to work around not
14982 detecting signals with parameter widths. Reported by Alex Reed.
14983 (verilog-auto-delete-trailing-whitespace):
14984 With `verilog-auto-delete-trailing-whitespace' remove trailing
14985 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
14986 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14987 Fix verilog-scan-cache corruption when running user AUTO expansion
14988 hooks that call indentation routines.
14989 (verilog-simplify-range-expression): Fix typo ignoring lower case
14990 identifiers.
14991 (verilog-delete-auto): Fix delete-autos to also remove user created
14992 automatics, as long as they start with AUTO.
14993 (verilog-batch-diff-auto, verilog-diff-auto)
14994 (verilog-diff-function): Add `verilog-diff-auto' and bind to
14995 "C-c?" to report differences in AUTO expansion, ignoring spaces.
14996 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
14997 (verilog-in-paren-quick, verilog-re-search-backward-quick)
14998 (verilog-re-search-forward-quick, verilog-syntax-ppss):
14999 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15000 is disabled and its cache will get corrupt, causing AUTOS not to
15001 expand. Instead use only -quick functions.
15002 (verilog-scan-region): Fix scanning over escaped quotes.
15003 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15004 (verilog-re-search-backward-quick)
15005 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15006 related functions now ignore strings, to fix misparsing of strings
15007 with magic comments embedded in them.
15008 (verilog-read-auto-template):
15009 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15010 Reported by Brad Dobbie.
15011 (verilog-read-auto-template):
15012 Fix 'verilog-auto-inst-template-numbers' with comments.
15013 Reported by Brad Dobbie.
15014 (verilog-auto-inst, verilog-auto-inst-param)
15015 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15016 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15017 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15018 debugging templates without merge conflicts, bug357.
15019 Reported by Brad Dobbie.
15020 (verilog-read-auto-template):
15021 Fix verilog-auto-inst-template-numbers with multiple templates.
15022 Reported by Brad Dobbie.
15023 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15024 abbrevs so user won't be asked to save.
15025 (verilog-read-auto-lisp-present): Fix to start at beginning of
15026 buffer in case called outside of verilog-auto.
15027 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15028 to "X-2". Reported by Matthew Myers.
15029 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15030 all inputs from module templates. Reported by Leith Johnson.
15031 (verilog-module-inside-filename-p): Fix locating programs as with
15032 modules.
15033 (verilog-auto-inst-port): Fix vl-width expressions when using
15034 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15035 (verilog-decls-get-regs, verilog-decls-get-signals,
15036 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15037 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15038 verilog-read-decls): Combine reg and wire structures into one var
15039 structure to represent SystemVerilog concepts.
15040 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15041 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15042 (verilog-auto-wire-type, verilog-insert-definition):
15043 Add verilog-auto-wire-type and AUTOLOGIC to support using
15044 SystemVerilog "logic" keyword instead of "wire"/"reg".
15045 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15046 to declares outputs that also have assignments (presumably in an
15047 ifdef or generate if so there's not a driver conflict).
15048 Reported by Matthew Myers.
15049 (verilog-auto-declare-nettype, verilog-insert-definition):
15050 Add verilog-auto-declare-nettype to fix declarations using
15051 `default_nettype none. Reported by Julian Gorfajn.
15052 (verilog-read-always-signals-recurse, verilog-read-decls)
15053 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15054 malformed end statement, bug325. Reported by Joshua Wise and
15055 Andrew Drake.
15056 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15057 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15058 when expanding .* in interfaces, bug320.
15059 Reported by Pierre-David Pfister.
15060 (verilog-read-module-name): Fix import statements between module
15061 name and open parenthesis, bug317.
15062 Reported by Pierre-David Pfister.
15063 (verilog-simplify-range-expression): Fix simplification of
15064 multiplications inside AUTOWIRE connections, bug303.
15065 (verilog-auto-inst-port): Support parameter expansion in
15066 multidimensional arrays.
15067 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15068 after "assert property". Reported by Julian Gorfajn.
15069 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15070 with multiplication, bug303.
15071 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15072 Reported by Jan Frode Lonnum.
15073
15074 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15075
15076 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15077 (hfy-shell-file-name, hfy-shell):
15078 * international/fontset.el (x-decompose-font-name): Fix typos.
15079
15080 2011-11-29 Ken Brown <kbrown@cornell.edu>
15081
15082 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15083 (gdb-version): Remove defvar.
15084 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15085 (gdb-gud-context-command, gdb-non-stop-handler)
15086 (gdb-current-context-command, gdb-stopped): Use it.
15087 (gdb-init-1): Enable pretty printing here.
15088 (gdb-non-stop-handler): Don't enable pretty-printing here.
15089 Check to see if the target supports non-stop mode; if not, turn off
15090 non-stop mode. Use the following.
15091 (gdb-check-target-async): New defun.
15092 (gud-watch, gdb-stopped): Fix whitespace.
15093 (gdb-get-source-file): Don't try to display the source file if
15094 `gdb-main-file' is nil.
15095
15096 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15097
15098 * align.el: Try to generate fewer markers (bug#10047).
15099 (align--set-marker): New macro.
15100 (align-region): Use it.
15101
15102 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15103
15104 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15105
15106 2011-11-29 Chong Yidong <cyd@gnu.org>
15107
15108 * indent.el (indent-for-tab-command, indent-according-to-mode):
15109 Doc fix.
15110 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15111
15112 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15113
15114 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15115 aware of remote file names. (Bug#10124)
15116
15117 2011-11-29 Chong Yidong <cyd@gnu.org>
15118
15119 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15120
15121 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15122
15123 * files.el (find-file): Don't use force-same-window (bug#10144).
15124 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15125 use pop-to-buffer if the selected window can't be used.
15126 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15127
15128 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15129
15130 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15131 special-mode-map.
15132
15133 2011-11-28 Chong Yidong <cyd@gnu.org>
15134
15135 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15136
15137 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15138
15139 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15140 gdb-get-source-file-list on gdb-create-source-file-list.
15141
15142 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15143
15144 * whitespace.el (whitespace-newline): Use a different foreground
15145 color for 16-color light-background displays.
15146
15147 2011-11-24 Chong Yidong <cyd@gnu.org>
15148
15149 * window.el (display-buffer--special-action): Doc fix.
15150
15151 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15152
15153 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15154 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15155 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15156 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15157 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15158 (avl-tree-stack-first):
15159 * emacs-lisp/cconv.el (cconv--analyse-use):
15160 * net/gnutls.el (gnutls-negotiate): Fix typos.
15161
15162 2011-11-24 Glenn Morris <rgm@gnu.org>
15163
15164 * lpr.el (lpr-windows-system, lpr-lp-system):
15165 * mail/binhex.el (binhex-begin-line):
15166 * progmodes/grep.el (grep-history, grep-find-history):
15167 * textmodes/flyspell.el:
15168 * vc/pcvs-defs.el (cvs-global-menu):
15169 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15170 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15171 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15172
15173 * net/tls.el: Fix case of "GnuTLS".
15174
15175 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15176
15177 * version.el (emacs-build-system): Give it a doc-string.
15178
15179 2011-11-24 Juri Linkov <juri@jurta.org>
15180
15181 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15182
15183 2011-11-24 Glenn Morris <rgm@gnu.org>
15184
15185 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15186 if called on a non-mime message just toggle the headers. (Bug#8006)
15187
15188 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15189
15190 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15191 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15192 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15193 (allout-rebullet-heading, allout-open-sibtopic)
15194 (allout-toggle-current-subtree-encryption)
15195 (allout-toggle-subtree-encryption, allout-encrypt-string)
15196 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15197 (allout-distinctive-bullets-string, allout-auto-activation):
15198 * window.el (window-normalize-buffer-to-display):
15199 * progmodes/verilog-mode.el (verilog-batch-indent):
15200 * textmodes/bibtex.el (bibtex-field-braces-opt)
15201 (bibtex-field-strings-opt):
15202 * vc/cvs-status.el (cvs-tree-merge):
15203 Fix typos.
15204
15205 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15206
15207 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15208 `non-essential' to t, in order to avoid remote connections.
15209
15210 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15211
15212 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15213 On MS-DOS and MS-Windows, compare with loaddefs.el
15214 case-insensitively.
15215
15216 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15217
15218 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15219
15220 2011-11-23 Glenn Morris <rgm@gnu.org>
15221
15222 * paths.el (rmail-file-name): Reformat the doc-string so that it
15223 is picked up.
15224
15225 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15226 (rmail-auto-file): Ignore case in the "special" field names,
15227 as mail-fetch-field does for all others.
15228
15229 * mail/rmail.el (rmail-forward):
15230 * mail/rmailkwd.el (rmail-set-label):
15231 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15232 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15233
15234 * mail/rmail.el (rmail-current-message): Doc fix.
15235
15236 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15237
15238 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15239
15240 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15241
15242 2011-11-22 Glenn Morris <rgm@gnu.org>
15243
15244 * mail/rmailmm.el (test-rmail-mime-handler)
15245 (test-rmail-mime-bulk-handler)
15246 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15247
15248 2011-11-21 Juri Linkov <juri@jurta.org>
15249
15250 * calc/calc.el (calc-read-key-sequence):
15251 Let-bind `input-method-function' to nil. (Bug#10018)
15252
15253 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15254
15255 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15256 Tell the caller that the next line needs recomputation, even
15257 though it doesn't start a sexp (bug#10094).
15258
15259 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15260
15261 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15262
15263 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15264
15265 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15266 Use force-same-window.
15267
15268 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15269
15270 * descr-text.el (describe-char-unicode-data):
15271 * json.el (json-string-escape):
15272 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15273 (Footnote-unicode, Footnote-style-p):
15274 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15275
15276 2011-11-20 Chong Yidong <cyd@gnu.org>
15277
15278 * window.el (replace-buffer-in-windows): Restore interactive spec.
15279
15280 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15281
15282 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15283
15284 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15285 (byte-compile-global-not-obsolete-vars): New var.
15286 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15287 Use it.
15288 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15289
15290 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15291
15292 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15293 * progmodes/pascal.el (electric-pascal-equal):
15294 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15295 * xml.el (xml-substitute-special): Fix typos.
15296
15297 2011-11-20 Glenn Morris <rgm@gnu.org>
15298
15299 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15300 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15301 Doc fixes.
15302 (rmail-decode-mime-charset): Mark as obsolete.
15303
15304 * mail/rmailsum.el (rmail-message-regexp-p-1):
15305 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15306 Before using mime functions, check they are set. (Bug#10077)
15307
15308 2011-11-19 Juri Linkov <juri@jurta.org>
15309
15310 * info.el (Info-finder-find-node): Use `package--builtins' instead
15311 of `package-alist'. Use node names formed by the pattern "Keyword "
15312 and the keyword name.
15313
15314 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15315
15316 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15317
15318 2011-11-19 Juri Linkov <juri@jurta.org>
15319
15320 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15321 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15322 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15323 `old-history', `old-history-forward'. Add let-binding
15324 `window-selected'. Remove calls to `kill-buffer',
15325 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15326 before calling `Info-find-node', so `Info-find-node-2' will reread
15327 the Info file. Restore window positions only when `window-selected'
15328 is non-nil.
15329
15330 2011-11-19 Juri Linkov <juri@jurta.org>
15331
15332 * isearch.el (isearch-lazy-highlight-new-loop):
15333 Remove condition `(not isearch-error)'. (Bug#9918)
15334
15335 * misearch.el (multi-isearch-search-fun): Add condition
15336 `(not bound)' to ignore lazy-highlighting search.
15337 Add the search-failed message "end of multi" when the end of
15338 multi-sequence is reached. Uncapitalize the search-failed
15339 message "Repeat for next buffer".
15340
15341 * info.el (Info-search): Add the search-failed message
15342 "end of the manual" when the end of the manual is reached
15343 in Isearch mode.
15344
15345 2011-11-19 Juri Linkov <juri@jurta.org>
15346
15347 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15348 Use non-destructive `remove' instead of `delete' because
15349 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15350 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15351
15352 2011-11-19 Juri Linkov <juri@jurta.org>
15353
15354 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15355 to nil instead of binding `search-ring' and `regexp-search-ring'.
15356 (Bug#9185)
15357
15358 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15359
15360 * simple.el (line-move): Force movement by logical lines for any
15361 hscrolled window, not only when auto-hscroll-mode is on.
15362 (line-move-visual): Update doc string to that effect. (Bug#10076)
15363
15364 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15365
15366 * language/european.el (macintosh): Define as alias for mac-roman.
15367
15368 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15369
15370 * mail/rmailmm.el (rmail-mime-display-header)
15371 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15372 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15373 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15374 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15375 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15376 of a raw aref.
15377 (rmail-mime-entity-segment): To get past the tagline, move forward
15378 2 more lines, to account for the 2 empty lines that precede and
15379 follow the line with the buttons.
15380 (rmail-mime-update-tagline): Move one more line, to get past the
15381 empty line that follows the buttons in the tagline. (Bug#9520)
15382
15383 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15384
15385 * window.el (window-max-delta-1, window-min-delta-1)
15386 (window-min-size-1, window-state-get-1, window-state-put-1)
15387 (window-state-put-2): Use "window--" prefix.
15388
15389 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15390
15391 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15392 (smie-warning-count): New var.
15393 (smie-set-prec2tab): Use it.
15394 (smie-bnf->prec2): Improve warnings. Add docstring.
15395 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15396 (smie-bnf--set-class): New function.
15397 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15398 corner case.
15399
15400 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15401 (compilation-error-properties, compilation-move-to-column):
15402 Handle compilation-first-column while in the target buffer.
15403
15404 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15405 Don't hardcode point-min==1.
15406
15407 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15408 (eshell-rewrite-for-command): Remove workaround.
15409 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15410 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15411 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15412
15413 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15414
15415 2011-11-17 Glenn Morris <rgm@gnu.org>
15416
15417 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15418 Ignore buffer-local generated-autoload-file if it is the same
15419 as the global value. (Bug#10049)
15420
15421 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15422
15423 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15424 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15425 (reftex-toc-previous-heading, reftex-toc-max-level)
15426 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15427 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15428 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15429 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15430 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15431 (reftex-toc-rename-label, reftex-toc-visit-location)
15432 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15433 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15434 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15435 leaving "*toc*" only for references to the buffer.
15436
15437 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15438
15439 * window.el (window-resize, delete-window, split-window):
15440 Replace window-splits by window-combination-resize.
15441 * cus-start.el (window-splits): Replace by window-combination-resize.
15442
15443 2011-11-17 Glenn Morris <rgm@gnu.org>
15444
15445 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15446 Make bash entry derive from sh entry, not shell entry.
15447
15448 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15449
15450 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15451 local file name.
15452
15453 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15454
15455 * menu-bar.el (menu-bar-file-menu):
15456 * printing.el (pr-ps-utility):
15457 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15458 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15459 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15460 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15461 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15462 (icalendar--convert-cyclic-to-ical)
15463 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15464 (icalendar--convert-ical-to-diary)
15465 (icalendar--convert-recurring-to-diary)
15466 (icalendar--convert-non-recurring-all-day-to-diary)
15467 (icalendar-import-format-sample):
15468 * progmodes/idlw-shell.el (idlwave-shell-mode):
15469 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15470 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15471 (vhdl-ps-print-init): Fix typos.
15472
15473 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15474
15475 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15476 FSF and collapse date sequence, obscure author/maintainer email address
15477 better, remove extra version line, track relocation of author's webpage.
15478
15479 * progmodes/python.el (python-pdbtrack-input-prompt)
15480 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15481 regular python pdb prompts. Adjustments shamelessly taken exactly as
15482 suggested in EmacsWiki page (tiny change):
15483 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15484
15485 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15486
15487 * expand.el (expand-pos, expand-index, expand-point):
15488 Remove redundant info from docstring.
15489 (expand-add-abbrevs): Doc fix.
15490 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15491 (expand-sample-perl-mode-expand-list): Fix typos.
15492
15493 * net/dbus.el (dbus-event-member-name):
15494 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15495 * term/pc-win.el (msdos-create-frame-with-faces):
15496 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15497
15498 2011-11-16 Martin Rudalics <rudalics@gmx.at>
15499
15500 * window.el (split-window, window-state-get-1)
15501 (window-state-put-1, window-state-put-2): Rename occurrences of
15502 window-nest to window-combination-limit.
15503 * cus-start.el (window-nest): Rename to window-combination-limit.
15504
15505 2011-11-16 Chong Yidong <cyd@gnu.org>
15506
15507 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15508 regexp (Bug#10033).
15509
15510 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15511
15512 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15513 `completing-read' will remove *Completions* and will preserve
15514 current-buffer for us.
15515 (tmm-add-prompt): Users of *Completions* will always (re)set its
15516 major mode.
15517 (tmm-old-comp-map): Remove.
15518
15519 2011-11-16 Glenn Morris <rgm@gnu.org>
15520
15521 * mail/rmailedit.el: Require rmailmm when compiling.
15522 (rmail-old-mime-state): New declaration.
15523 (rmail-edit-current-message): If editing a mime message,
15524 edit the "raw" message from the mbox buffer.
15525 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15526
15527 2011-11-15 Glenn Morris <rgm@gnu.org>
15528
15529 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15530 which wasn't being used. Add optional arg to force given state.
15531 (rmail-mime): Add optional arg to force given state.
15532
15533 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15534
15535 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15536 * frame.el (display-mm-dimensions-alist):
15537 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15538 (outline-move-subtree-down):
15539 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15540 (newsticker--treeview-do-get-node):
15541 * net/quickurl.el (quickurl-list-buffer-name):
15542 * progmodes/dcl-mode.el (dcl-mode):
15543 * progmodes/gdb-mi.el (gdb-mapcar*):
15544 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15545
15546 2011-11-15 Glenn Morris <rgm@gnu.org>
15547
15548 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15549 in a boolean sense, so just make it a boolean, and fix the doc.
15550 (rmail-show-mime-function, rmail-mime-feature)
15551 (rmail-require-mime-maybe): Doc fixes.
15552 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15553
15554 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15555
15556 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15557
15558 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15559 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15560 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15561 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15562
15563 2011-11-15 Glenn Morris <rgm@gnu.org>
15564
15565 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15566 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15567 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15568 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15569 (rmail-mime, rmail-show-mime): Doc fixes.
15570
15571 * term/ns-win.el (mode-line-frame-identification):
15572 Leave it alone. (Bug#10051)
15573
15574 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15575
15576 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15577 Handle empty buffers. (Bug#9978)
15578
15579 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
15580
15581 * international/mule.el (define-charset):
15582 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15583 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15584 * progmodes/verilog-mode.el (verilog-backward-token):
15585 * textmodes/ispell.el (lookup-words):
15586 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15587
15588 2011-11-14 Glenn Morris <rgm@gnu.org>
15589
15590 * progmodes/executable.el
15591 (executable-make-buffer-file-executable-if-script-p):
15592 Handle file-modes returning nil.
15593
15594 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15595 message - not necessary, and causes problems. (Bug#9831)
15596
15597 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15598
15599 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15600
15601 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15602 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15603 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15604
15605 2011-11-12 Martin Rudalics <rudalics@gmx.at>
15606
15607 * window.el (window-resize, delete-window): Use window-splits
15608 variable instead of function.
15609 (window-state-get-1, window-state-put-2, window-state-put):
15610 Don't deal with windows' splits status.
15611
15612 2011-11-12 Glenn Morris <rgm@gnu.org>
15613
15614 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15615 (apropos-documentation): Doc fixes.
15616
15617 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
15618
15619 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15620 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15621
15622 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15623
15624 * electric.el (electric-indent-post-self-insert-function): Make it
15625 possible for a char to only indent in some circumstances.
15626 (electric-indent-mode): Simplify.
15627
15628 2011-11-11 Martin Rudalics <rudalics@gmx.at>
15629
15630 * window.el (windows-with-parameter): Remove unused function.
15631 (windows-at-side): Rename to window-at-side-list.
15632 (window-check, window-atom-check, window-atom-check-1)
15633 (window-side-check, window-size-ignore, window-size-fixed-1)
15634 (window-in-direction-2): Prefix with "window--".
15635 (window-tree-1): Rename to window--subtree, fix doc-string.
15636
15637 2011-11-11 Glenn Morris <rgm@gnu.org>
15638
15639 * subr.el (eval-after-load): If FILE is already loaded,
15640 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15641
15642 2011-11-10 Glenn Morris <rgm@gnu.org>
15643
15644 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15645 Call svn via vc-svn-command rather than vc-do-command.
15646 (vc-svn-command): Add --non-interactive. (Bug#9993)
15647 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15648
15649 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15650 Add toggle-read-only. (Bug#7292)
15651 * files.el (toggle-read-only): Mention that it should only
15652 be used interactively. (Bug#10006)
15653
15654 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15655
15656 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15657 Adjust regexp for OCaml warnings.
15658
15659 * electric.el (electric-pair-post-self-insert-function): Let user
15660 turn it off buffer-locally (bug#9932).
15661
15662 * progmodes/python.el (python-beginning-of-statement):
15663 Rewrite (bug#2703).
15664
15665 * progmodes/compile.el: Better handle TABs (bug#9749).
15666 (compilation-internal-error-properties)
15667 (compilation-next-error-function): Obey the target buffer's
15668 compilation-error-screen-columns.
15669
15670 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
15671
15672 * progmodes/meta-mode.el: Remove obsolete comments.
15673 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15674 Fix typos in docstrings.
15675
15676 2011-11-09 Martin Rudalics <rudalics@gmx.at>
15677
15678 * window.el (window-size-fixed-p): Rewrite doc-string.
15679 (window-resizable-p): Rename to window--resizable-p. Update callers.
15680 (window--resizable): New function. Make all callers of
15681 window-resizable call window--resizable instead.
15682 (window-resizable): Rewrite in terms of window--resizable.
15683
15684 2011-11-08 Glenn Morris <rgm@gnu.org>
15685
15686 * progmodes/delphi.el (delphi-mode-syntax-table):
15687 Let define-derived-mode define a proper syntax table. (Bug#9994)
15688
15689 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15690
15691 * window.el: Stay away from defsubst.
15692 (window-list-no-nils): Remove.
15693 (window-state-get-1, window-state-get): Use backquote instead.
15694
15695 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15696
15697 * emacs-lisp/find-func.el (find-function-read):
15698 Fix incorrect use of default argument in `completing-read'.
15699
15700 2011-11-08 Martin Rudalics <rudalics@gmx.at>
15701
15702 * window.el (display-buffer-function, special-display-function):
15703 Mention display-buffer-record-window but do not mention
15704 help-setup parameter in doc-strings.
15705 (window-min-delta): Fix doc-string typo.
15706
15707 2011-11-08 Chong Yidong <cyd@gnu.org>
15708
15709 * window.el (window-total-height, window-total-width): Doc fix.
15710 (window-body-size): Move from C.
15711 (window-body-height, window-body-width): Move to C.
15712
15713 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15714
15715 * window.el: Make special-display like display-buffer-alist (bug#9532).
15716 (display-buffer--special-action): New function, morphed
15717 from display-buffer--special.
15718 (display-buffer): Use it to handle special-display-buffers at higher
15719 priority (just after display-buffer-alist).
15720 (display-buffer-fallback-action, display-buffer--other-frame-action)
15721 (pop-to-buffer-same-window): Remove display-buffer--special.
15722
15723 2011-11-07 Glenn Morris <rgm@gnu.org>
15724
15725 * calendar/cal-menu.el (cal-menu-set-date-title):
15726 Do nothing if not in a calendar. (Bug#9976)
15727
15728 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15729
15730 * files.el (find-file): Always use selected-window.
15731
15732 2011-11-07 Martin Rudalics <rudalics@gmx.at>
15733
15734 * window.el (window-combinations): Make WINDOW argument
15735 mandatory. Rewrite doc-string.
15736 (walk-window-subtree, window-atom-check, window-min-delta)
15737 (window-max-delta, window--resize-this-window)
15738 (window--resize-root-window-vertically, window-tree)
15739 (balance-windows, window-state-put): Rewrite doc-strings as to
15740 not mention the term "subwindow".
15741 (window--resize-subwindows-skip-p): Rename to
15742 window--resize-child-windows-skip-p.
15743 (window--resize-subwindows-normal): Rename to
15744 window--resize-child-windows-normal.
15745 (window--resize-subwindows): Rename to
15746 window--resize-child-windows.
15747 (window-or-subwindow-p): Rename to window--in-subtree-p.
15748
15749 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15750
15751 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15752 Ensure that mbox format messages end in two newlines (Bug#9974).
15753
15754 2011-11-06 Chong Yidong <cyd@gnu.org>
15755
15756 * window.el (window-combination-p): Function deleted; its
15757 side-effect is not used in any existing code.
15758 (window-combinations, window-combined-p): Call window-*-child
15759 directly.
15760
15761 2011-11-05 Chong Yidong <cyd@gnu.org>
15762
15763 * window.el (window-valid-p): Rename from window-any-p.
15764 (window-size-ignore, window-state-get): Callers changed.
15765 (window-normalize-window): Rename from window-normalize-any-window.
15766 New arg LIVE-ONLY, replacing window-normalize-live-window.
15767 (window-normalize-live-window): Delete.
15768 (window-combination-p, window-combined-p, window-combinations)
15769 (walk-window-subtree, window-atom-root, window-min-size)
15770 (window-sizable, window-sizable-p, window-size-fixed-p)
15771 (window-min-delta, window-max-delta, window-resizable)
15772 (window-resizable-p, window-full-height-p, window-full-width-p)
15773 (window-current-scroll-bars, window-point-1, set-window-point-1)
15774 (window-at-side-p, window-in-direction, window-resize)
15775 (adjust-window-trailing-edge, maximize-window, minimize-window)
15776 (window-deletable-p, delete-window, delete-other-windows)
15777 (record-window-buffer, unrecord-window-buffer)
15778 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15779 (quit-window, split-window, window-state-put)
15780 (set-window-text-height, fit-window-to-buffer)
15781 (shrink-window-if-larger-than-buffer): Callers changed.
15782
15783 2011-11-04 Eli Zaretskii <eliz@gnu.org>
15784
15785 * mail/rmail.el (rmail-simplified-subject): Decode subject with
15786 rfc2047-decode-string.
15787 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15788 warnings.
15789
15790 * window.el (window-body-height, window-body-width): Mention in
15791 the doc string that the return values are in frame's canonical
15792 units. (Bug#9949)
15793
15794 2011-11-03 Alan Mackenzie <acm@muc.de>
15795
15796 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15797 change in cc-engine.el.
15798
15799 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15800
15801 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15802
15803 2011-11-02 Martin Rudalics <rudalics@gmx.at>
15804
15805 * window.el (quit-window): Call unrecord-window-buffer after
15806 showing another buffer in the window. (Bug#9937)
15807 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
15808
15809 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
15810
15811 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15812 Accept status with more than 9 shelves. (Bug#9935)
15813 Reported by Colin D Bennett <colin@gibibit.com>.
15814
15815 2011-11-01 Martin Rudalics <rudalics@gmx.at>
15816
15817 * help.el (with-help-window): Don't reference
15818 temp-buffer-show-specifiers in doc-string.
15819
15820 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15821
15822 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15823 menu-item.
15824
15825 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15826
15827 * whitespace.el: New version 13.2.2.
15828 (whitespace-newline-mode): Disable properly. Reported by Sarah
15829 <EmacsWiki>.
15830
15831 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
15832
15833 * net/newst-treeview.el: Remove "Time-stamp".
15834 (newsticker--group-manage-orphan-feeds): Do not call
15835 newsticker--treeview-tree-update.
15836 (newsticker-treeview-update, newsticker-treeview):
15837 Call newsticker--treeview-tree-update if necessary.
15838
15839 2011-10-30 Martin Rudalics <rudalics@gmx.at>
15840
15841 * window.el (window-iso-combination-p, window-iso-combined-p)
15842 (window-iso-combinations): Remove "iso-" infix.
15843 Suggested by Chong Yidong.
15844 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15845 (window-max-delta-1, window-resize, window--resize-siblings)
15846 (window--resize-this-window, adjust-window-trailing-edge)
15847 (split-window, balance-windows-1)
15848 (shrink-window-if-larger-than-buffer):
15849 * calendar/calendar.el (calendar-generate-window):
15850 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
15851
15852 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15853
15854 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15855 in place (bug#9907).
15856 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15857 (eshell-rewrite-if-command, eshell-rewrite-for-command)
15858 (eshell-structure-basic-command, eshell-rewrite-while-command)
15859 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15860 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15861 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15862 (eshell-do-pipelines-synchronously, eshell-eval-command):
15863 Use backquotes and prefer setq to set.
15864 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15865 (eshell-macrop): Use functionp.
15866 (eshell-do-eval): Handle multiple expressions in `while' body.
15867
15868 2011-10-30 Chong Yidong <cyd@gnu.org>
15869
15870 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15871 instead of set-mark (Bug#9810).
15872
15873 2011-10-30 Chong Yidong <cyd@gnu.org>
15874
15875 * window.el (split-window-below, split-window-right): Rename from
15876 split-window-above-each-other and split-window-side-by-side
15877 respectively. All callers changed.
15878 (split-window-sensibly, split-window-sensibly): Use them.
15879 (split-window-keep-point): Doc fix.
15880
15881 * isearch.el: Add isearch-scroll property to split-window-below
15882 and split-window-right.
15883
15884 * follow.el (follow-mode):
15885 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15886 * progmodes/ada-xref.el (ada-gdb-application):
15887 * emulation/vip.el (vip-buffer-in-two-windows):
15888 * image-dired.el (image-dired-dired-with-window-configuration):
15889 * dired-x.el (dired-do-find-marked-files):
15890 * dired.el (dired-pop-to-buffer):
15891 * bs.el (bs--show-with-configuration):
15892 * vc/emerge.el (emerge-setup-windows):
15893 * textmodes/two-column.el (2C-two-columns):
15894 * textmodes/reftex-toc.el (reftex-toc):
15895 * progmodes/gdb-mi.el (gdb-setup-windows):
15896 * progmodes/fortran.el (fortran-window-create):
15897 * net/newst-treeview.el (newsticker--treeview-window-init):
15898 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15899 * emulation/tpu-edt.el (tpu-gold-map):
15900 * emulation/crisp.el (crisp-mode-map):
15901 * calendar/calendar.el (calendar-basic-setup): Callers changed.
15902
15903 2011-10-29 Chong Yidong <cyd@gnu.org>
15904
15905 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15906
15907 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15908
15909 * textmodes/flyspell.el (flyspell-word): Fix char offset for
15910 forged Ispell output (Bug#7904).
15911
15912 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15913
15914 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15915
15916 * doc-view.el: Avoid ugly errors about not finding nil.
15917 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15918 (doc-view-dvipdf-program, doc-view-unoconv-program)
15919 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15920 Avoid nil or absolute file name as default value.
15921 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15922
15923 2011-10-28 Alan Mackenzie <acm@muc.de>
15924
15925 * progmodes/cc-defs.el (c-version): -> 5.32.2.
15926
15927 2011-10-28 Alan Mackenzie <acm@muc.de>
15928
15929 Amend the handling of c-beginning/end-of-defun in nested declaration
15930 scopes.
15931
15932 * progmodes/cc-vars.el (c-defun-tactic): Move here from
15933 cc-langs.el. Change it to a defcustom.
15934
15935 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15936 cc-vars.el.
15937
15938 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15939 Prevent "class foo : bar" being spuriously recognized as a label.
15940
15941 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
15942 Add parameter `inclusive' (to include enclosing braces in the region).
15943 (c-widen-to-enclosing-decl-scope): New function.
15944 (c-while-widening-to-decl-block): New macro.
15945 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15946 outward for defun boundaries, and correspondingly change symbol
15947 `respect-enclosure' to `go-outward'.
15948 (c-declaration-limits): Change algorithm to report only the "innermost"
15949 defun's boundaries.
15950
15951 2011-10-28 Deniz Dogan <deniz@dogan.se>
15952
15953 * net/rcirc.el (rcirc-mode): Use hard newlines.
15954
15955 2011-10-28 Alan Mackenzie <acm@muc.de>
15956
15957 Amend to indent and fontify macros "which include their own semicolon"
15958 correctly, using the "virtual semicolon" mechanism.
15959
15960 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
15961
15962 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
15963 Recode to scan one line at a time rather than having \n and \r
15964 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
15965 (c-forward-label): Amend for virtual semicolons.
15966 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
15967
15968 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15969 of the new C macros.
15970
15971 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
15972 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15973 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
15974 (c-opt-cpp-macro-define): Make into a full language variable.
15975 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15976 AWK Mode (including \n, \r) removed, no longer needed.
15977
15978 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15979 Invoke c-make-macro-with-semi-re.
15980
15981 * progmodes/cc-vars.el (c-macro-with-semi-re):
15982 (c-macro-names-with-semicolon): New variables.
15983 (c-make-macro-with-semi-re): New function.
15984
15985 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15986
15987 * vc/log-edit.el: Fill empty field rather than adding new one.
15988 (log-edit-add-field): New function.
15989 (log-edit-insert-changelog): Use it.
15990
15991 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15992
15993 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
15994
15995 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15996
15997 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15998 (gdb--check-interpreter): New function.
15999 (gdb): Use it.
16000
16001 2011-10-27 Glenn Morris <rgm@gnu.org>
16002
16003 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16004 (least-positive-float, least-negative-float)
16005 (least-positive-normalized-float, least-negative-normalized-float)
16006 (float-epsilon, float-negative-epsilon):
16007 Remove unnecessary declarations.
16008
16009 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16010 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16011 (least-positive-float, least-negative-float)
16012 (least-positive-normalized-float, least-negative-normalized-float)
16013 (float-epsilon, float-negative-epsilon): Add doc-strings,
16014 based on those in cl.texi.
16015
16016 * files.el (set-visited-file-name): If the major-mode changed,
16017 reload the local variables. (Bug#9796)
16018
16019 2011-10-27 Chong Yidong <cyd@gnu.org>
16020
16021 * subr.el (change-major-mode-after-body-hook): New hook.
16022 (run-mode-hooks): Run it.
16023
16024 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16025 Use change-major-mode-before-body-hook.
16026
16027 * simple.el (fundamental-mode):
16028 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16029 change introducing fundamental-mode-hook.
16030
16031 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16032
16033 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16034
16035 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16036
16037 * ido.el (ido-file-name-all-completions-1): Do not require
16038 tramp.el explicitly. (Bug#7583)
16039
16040 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16041
16042 * progmodes/octave-mod.el:
16043 * progmodes/octave-inf.el: Update maintainer.
16044
16045 2011-10-26 Chong Yidong <cyd@gnu.org>
16046
16047 * subr.el (with-wrapper-hook): Rewrite doc.
16048
16049 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16050
16051 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16052 filenames "/method:foo:". (Bug#9793)
16053
16054 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16055
16056 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16057 (bug#9865).
16058
16059 2011-10-24 Glenn Morris <rgm@gnu.org>
16060
16061 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16062
16063 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16064
16065 * notifications.el: Add the requirement of a running D-Bus session
16066 bus to the Commentary.
16067
16068 2011-10-24 Juri Linkov <juri@jurta.org>
16069
16070 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16071 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16072 (Bug#9364)
16073
16074 2011-10-24 Juri Linkov <juri@jurta.org>
16075
16076 * info.el (Info-following-node-name-re): Add newline to the list
16077 of allowed characters for leading space. (Bug#9824)
16078
16079 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16080
16081 * progmodes/octave-inf.el (inferior-octave-mode-map):
16082 Fix C-c C-h binding.
16083 * progmodes/octave-mod.el (octave-help): Remove.
16084
16085 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16086
16087 Sync with Tramp 2.2.3.
16088
16089 * net/tramp-cache.el (top): Pacify byte-compiler using
16090 `init-file-user' and `site-run-file'.
16091
16092 * net/trampver.el: Update release number.
16093
16094 2011-10-23 Chong Yidong <cyd@gnu.org>
16095
16096 * files.el (toggle-read-only): Remove obsolete comment about
16097 version control.
16098
16099 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16100 for toggle-read-only. Note that this hasn't called vc-next-action
16101 since 2008-05-02, though it wasn't documented at the time.
16102
16103 * vc/ediff-init.el (ediff-toggle-read-only-function):
16104 Use toggle-read-only.
16105
16106 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16107
16108 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16109 of c-parse-state.
16110
16111 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16112 correct faulty logical expression.
16113 (c-parse-state-state, c-record-parse-state-state):
16114 (c-replay-parse-state-state): New defvar/defuns.
16115 (c-debug-parse-state): Use new functions.
16116
16117 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16118
16119 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16120 last fix. Use window-in-direction correctly.
16121
16122 2011-10-21 Chong Yidong <cyd@gnu.org>
16123
16124 * progmodes/idlwave.el (idlwave-mode):
16125 * progmodes/vera-mode.el (vera-mode): No need to set
16126 require-final-newline; that's done in prog-mode.
16127 Suggested by Stefan Monnier.
16128
16129 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16130
16131 * mouse.el (mouse-drag-window-above)
16132 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16133 (mouse-drag-mode-line-1, mouse-drag-header-line)
16134 (mouse-drag-vertical-line-rightward-window): Remove.
16135 (mouse-drag-line): New function.
16136 (mouse-drag-mode-line, mouse-drag-header-line)
16137 (mouse-drag-vertical-line): Call mouse-drag-line.
16138 * window.el (window-at-side-p, windows-at-side): New functions.
16139
16140 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16141
16142 * tar-mode.el (tar-grind-file-mode):
16143 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16144
16145 2011-10-21 Chong Yidong <cyd@gnu.org>
16146
16147 * progmodes/idlwave.el (idlwave-mode):
16148 * progmodes/vera-mode.el (vera-mode):
16149 Use mode-require-final-newline.
16150
16151 2011-10-20 Glenn Morris <rgm@gnu.org>
16152
16153 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16154
16155 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16156
16157 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16158
16159 2011-10-20 Chong Yidong <cyd@gnu.org>
16160
16161 * emulation/cua-base.el (cua-mode):
16162 * mail/footnote.el (footnote-mode):
16163 * mail/mailabbrev.el (mail-abbrevs-mode):
16164 * net/xesam.el (xesam-minor-mode):
16165 * progmodes/bug-reference.el (bug-reference-mode):
16166 * progmodes/cap-words.el (capitalized-words-mode):
16167 * progmodes/compile.el (compilation-minor-mode)
16168 (compilation-shell-minor-mode):
16169 * progmodes/gud.el (gud-tooltip-mode):
16170 * progmodes/hideif.el (hide-ifdef-mode):
16171 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16172 * progmodes/subword.el (subword-mode):
16173 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16174 * progmodes/which-func.el (which-function-mode):
16175 * term/tvi970.el (tvi970-set-keypad-mode):
16176 * term/vt100.el (vt100-wide-mode):
16177 * textmodes/flyspell.el (flyspell-mode):
16178 * textmodes/ispell.el (ispell-minor-mode):
16179 * textmodes/nroff-mode.el (nroff-electric-mode):
16180 * textmodes/paragraphs.el (use-hard-newlines):
16181 * textmodes/refill.el (refill-mode):
16182 * textmodes/reftex.el (reftex-mode):
16183 * textmodes/rst.el (rst-minor-mode):
16184 * textmodes/sgml-mode.el (html-autoview-mode)
16185 (sgml-electric-tag-pair-mode):
16186 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16187 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16188 * emulation/crisp.el (crisp-mode):
16189 * emacs-lisp/eldoc.el (eldoc-mode):
16190 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16191 minor mode behavior.
16192
16193 2011-10-19 Juri Linkov <juri@jurta.org>
16194
16195 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16196 the list of hard-coded chars with escape-glyph face.
16197
16198 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16199
16200 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16201
16202 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16203
16204 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16205 running process.
16206
16207 2011-10-19 Glenn Morris <rgm@gnu.org>
16208
16209 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16210 Ignore ignored files. (Bug#9726)
16211
16212 2011-10-19 Chong Yidong <cyd@gnu.org>
16213
16214 Doc fix for minor modes, stating that an omitted argument enables
16215 the mode unconditionally when called from Lisp.
16216
16217 * abbrev.el (abbrev-mode):
16218 * allout.el (allout-mode):
16219 * autoinsert.el (auto-insert-mode):
16220 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16221 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16222 (global-auto-revert-mode):
16223 * battery.el (display-battery-mode):
16224 * composite.el (global-auto-composition-mode)
16225 (auto-composition-mode):
16226 * delsel.el (delete-selection-mode):
16227 * desktop.el (desktop-save-mode):
16228 * dired-x.el (dired-omit-mode):
16229 * dirtrack.el (dirtrack-mode):
16230 * doc-view.el (doc-view-minor-mode):
16231 * double.el (double-mode):
16232 * electric.el (electric-indent-mode, electric-pair-mode):
16233 * emacs-lock.el (emacs-lock-mode):
16234 * epa-hook.el (auto-encryption-mode):
16235 * follow.el (follow-mode):
16236 * font-core.el (font-lock-mode):
16237 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16238 * help.el (temp-buffer-resize-mode):
16239 * hilit-chg.el (highlight-changes-mode)
16240 (highlight-changes-visible-mode):
16241 * hi-lock.el (hi-lock-mode):
16242 * hl-line.el (hl-line-mode, global-hl-line-mode):
16243 * icomplete.el (icomplete-mode):
16244 * ido.el (ido-everywhere):
16245 * image-file.el (auto-image-file-mode):
16246 * image-mode.el (image-minor-mode):
16247 * iswitchb.el (iswitchb-mode):
16248 * jka-cmpr-hook.el (auto-compression-mode):
16249 * linum.el (linum-mode):
16250 * longlines.el (longlines-mode):
16251 * master.el (master-mode):
16252 * mb-depth.el (minibuffer-depth-indicate-mode):
16253 * menu-bar.el (menu-bar-mode):
16254 * minibuf-eldef.el (minibuffer-electric-default-mode):
16255 * mouse-sel.el (mouse-sel-mode):
16256 * msb.el (msb-mode):
16257 * mwheel.el (mouse-wheel-mode):
16258 * outline.el (outline-minor-mode):
16259 * paren.el (show-paren-mode):
16260 * recentf.el (recentf-mode):
16261 * reveal.el (reveal-mode, global-reveal-mode):
16262 * rfn-eshadow.el (file-name-shadow-mode):
16263 * ruler-mode.el (ruler-mode):
16264 * savehist.el (savehist-mode):
16265 * scroll-all.el (scroll-all-mode):
16266 * scroll-bar.el (scroll-bar-mode):
16267 * server.el (server-mode):
16268 * shell.el (shell-dirtrack-mode):
16269 * simple.el (auto-fill-mode, transient-mark-mode)
16270 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16271 (line-number-mode, column-number-mode, size-indication-mode)
16272 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16273 * strokes.el (strokes-mode):
16274 * time.el (display-time-mode):
16275 * t-mouse.el (gpm-mouse-mode):
16276 * tool-bar.el (tool-bar-mode):
16277 * tooltip.el (tooltip-mode):
16278 * type-break.el (type-break-mode-line-message-mode)
16279 (type-break-query-mode):
16280 * view.el (view-mode):
16281 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16282 (global-whitespace-mode, global-whitespace-newline-mode):
16283 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16284
16285 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16286 Fix autogenerated docstring.
16287
16288 2011-10-19 Juri Linkov <juri@jurta.org>
16289
16290 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16291 by checking environment variables "DESKTOP_SESSION" and
16292 "XDG_CURRENT_DESKTOP". (Bug#9779)
16293
16294 2011-10-19 Juri Linkov <juri@jurta.org>
16295
16296 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16297 (browse-url-chromium-program, browse-url-chromium-arguments):
16298 New defcustoms.
16299 (browse-url-default-browser): Check for `browse-url-chromium' and
16300 call `browse-url-chromium-program'.
16301 (browse-url-chromium): New command. (Bug#9779)
16302
16303 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16304
16305 * facemenu.el (list-colors-duplicates): On Windows, detect more
16306 duplicates by assuming that only colors matching "^System" are
16307 special "system colors". (Bug#9722)
16308
16309 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16310
16311 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16312 to distinguish the author from the committer.
16313
16314 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16315
16316 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16317
16318 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16319
16320 * international/mule.el (sgml-html-meta-auto-coding-function):
16321 Add support for detecting encoding in HTML5 specified only as
16322 <meta charset="UTF-8">. Implementation just makes http-equiv and
16323 content-type parts from HTML4 encoding string optional. (Bug#9716)
16324
16325 2011-10-18 Glenn Morris <rgm@gnu.org>
16326
16327 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16328
16329 2011-10-18 Chong Yidong <cyd@gnu.org>
16330
16331 * faces.el (cursor): Doc fix.
16332
16333 2011-10-17 Chong Yidong <cyd@gnu.org>
16334
16335 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16336
16337 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16338
16339 * dirtrack.el (dirtrack): Support shell buffers with path
16340 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16341
16342 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16343
16344 * json.el: Bump version to 1.3 and note change in History.
16345 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16346
16347 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16348
16349 * comint.el (comint-insert-input, comint-send-input)
16350 (comint-get-old-input-default, comint-backward-matching-input)
16351 (comint-next-prompt): Use nil instead of `input' for field property of
16352 past user input (bug#114).
16353
16354 * minibuffer.el (completion--replace): Inherit surrounding properties
16355 (bug#114).
16356 (minibuffer-complete-and-exit): Use it.
16357
16358 * comint.el (comint--table-subvert): Quote the all-completions output
16359 (bug#9160).
16360
16361 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16362
16363 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16364
16365 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16366 window on right of selected. (Bug#9350) Reword other window
16367 entries and separate them from frame entries.
16368
16369 2011-10-15 Glenn Morris <rgm@gnu.org>
16370
16371 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16372 Doc fixes.
16373
16374 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16375
16376 * net/network-stream.el (network-stream-open-starttls):
16377 Improve detection of failure due to lack of TLS support.
16378
16379 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16380 putting the input text in front and in bold.
16381
16382 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16383
16384 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16385
16386 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16387 empty buffer.
16388
16389 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16390 unread-command-events rather than pushing yet-another event.
16391
16392 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16393
16394 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16395 the explanation of the possible choices. Make the options passed
16396 to completing-read shorter.
16397
16398 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16399
16400 * textmodes/flyspell.el (flyspell-large-region): Make sure
16401 extended character mode is used if defined (Bug#1339).
16402
16403 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16404
16405 * simple.el (what-cursor-position): Fix the display of the
16406 character info for LRE, LRO, RLE, and RLO characters by appending
16407 an invisible PDF.
16408
16409 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16410
16411 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16412 even in case of error; add debug spec; simplify data flow.
16413 (with-timeout-handler): Remove.
16414
16415 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16416
16417 Fix Bug#6019, Bug#9315.
16418
16419 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16420 complete `buffer-file-name', the local file name part could look
16421 remotely (for example on VMS).
16422
16423 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16424 `tramp-run-real-handler'.
16425 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16426 already quoted by '"'.
16427
16428 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16429 Let `file-name-handler-alist' be nil, the local file name part
16430 could look remotely (for example on VMS).
16431
16432 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16433
16434 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16435 from here...
16436 (flyspell-post-command-hook): ...to here.
16437
16438 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16439
16440 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16441 if not needed.
16442 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16443 using completion. Protect against "slow" callers.
16444 Remove the "message hack".
16445
16446 2011-10-11 Juri Linkov <juri@jurta.org>
16447
16448 * isearch.el (isearch-lazy-highlight-word): New variable.
16449 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16450 Use it. (Bug#9727)
16451
16452 2011-10-11 Glenn Morris <rgm@gnu.org>
16453
16454 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16455 like f90-previous-statement does.
16456
16457 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16458
16459 * eshell/eshell.el (eshell-command): History should be saved
16460 only in interactive use, to avoid error.
16461
16462 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16463
16464 * minibuffer.el (completion-file-name-table): Fix last change,
16465 i.e. ignore normal errors but not the other ones.
16466
16467 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16468
16469 * window.el (special-display-buffer-names)
16470 (special-display-regexps): Remove some remnants of earlier
16471 changes from doc-strings.
16472 (quit-windows-on): New function.
16473
16474 * vc/vc.el (vc-revert, vc-rollback):
16475 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16476 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
16477 (Bug#6183) (Bug#7074) (Bug#7447)
16478
16479 2011-10-09 Martin Rudalics <rudalics@gmx.at>
16480
16481 * window.el (frame-auto-hide-function): Add version tag.
16482 (Bug#9699)
16483
16484 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
16485
16486 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16487 condition.
16488
16489 2011-10-09 Leo Liu <sdl.web@gmail.com>
16490
16491 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16492 (Bug#9701)
16493
16494 2011-10-08 Glenn Morris <rgm@gnu.org>
16495
16496 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16497 before the first code statement zero indent. (Bug#9690)
16498
16499 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
16500
16501 * simple.el (count-words-region): Always count in the region.
16502 Report the number of lines and characters too.
16503 (count-words): New command, which counts in the buffer if the
16504 region is inactive, as count-words-region used to.
16505 (count-words--message): New function. Handle plurals.
16506 (count-lines-region): Make it an alias for count-words-region.
16507
16508 * bindings.el (esc-map): Replace count-lines-region with
16509 count-words-region.
16510
16511 2011-10-08 Martin Rudalics <rudalics@gmx.at>
16512
16513 * window.el (window--delete): Delete dedicated frame
16514 unconditionally when argument KILL is non-nil. (Bug#9699)
16515 (switch-to-buffer): Fix doc-string typo.
16516
16517 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16518
16519 * eshell/eshell.el (eshell-command): Avoid using hooks.
16520
16521 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
16522
16523 * bindings.el ([M-left],[M-right]): Bind to left-word and
16524 right-word respectively.
16525
16526 2011-10-07 Glenn Morris <rgm@gnu.org>
16527
16528 * cus-start.el (debug-on-quit): Fix custom type.
16529
16530 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16531
16532 * subr.el (define-key-after): Clarify that the function is not
16533 useful for non-menu keymaps.
16534
16535 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16536
16537 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16538
16539 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16540 in current minibuffer (Fix bug with recursive minibuffers).
16541
16542 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
16543
16544 * progmodes/gdb-mi.el (gdb): Doc fix.
16545
16546 2011-10-05 Martin Rudalics <rudalics@gmx.at>
16547
16548 * window.el (frame-auto-hide-function): New option replacing
16549 frame-auto-delete. Suggested by Stefan Monnier.
16550 (window--delete): Call frame-auto-hide-function instead of
16551 investigating frame-auto-delete.
16552 (window-point-1, set-window-point-1): New functions.
16553 (window-in-direction, record-window-buffer, window-state-get-1)
16554 (display-buffer-record-window): Use window-point-1 instead of
16555 window-point.
16556 (set-window-buffer-start-and-point): Use set-window-point-1.
16557
16558 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16559
16560 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16561
16562 2011-10-05 Glenn Morris <rgm@gnu.org>
16563
16564 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16565 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16566
16567 2011-10-05 Leo Liu <sdl.web@gmail.com>
16568
16569 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16570 works with buffer object.
16571
16572 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16573
16574 * mpc.el (mpc-tool-bar-map): Add labels.
16575
16576 2011-10-04 Glenn Morris <rgm@gnu.org>
16577
16578 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16579
16580 2011-10-04 Martin Rudalics <rudalics@gmx.at>
16581
16582 * window.el (window--delete): New function.
16583 (frame-auto-delete): Resuscitate option.
16584 (bury-buffer, replace-buffer-in-windows)
16585 (quit-window): Rewrite using window--delete.
16586 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16587 Pass display-buffer-mark-dedicated to window--display-buffer-2
16588 (Bug#9639).
16589
16590 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16591
16592 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16593 returns a list (bug#9554). Add remote file name completion.
16594 * comint.el (comint--table-subvert): Curry and get quote&unquote
16595 functions as arguments.
16596 (comint--complete-file-name-data): Adjust call accordingly.
16597 * pcomplete.el (pcomplete--table-subvert): Remove.
16598 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16599
16600 * minibuffer.el (completion-table-case-fold): Use currying.
16601 (completion--styles-type, completion--cycling-threshold-type):
16602 New constants.
16603 (completion-styles, completion-category-overrides)
16604 (completion-cycle-threshold): Use them.
16605 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16606 completion-table-case-fold.
16607
16608 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
16609
16610 * minibuffer.el (completion-category-overrides): Fix type of styles
16611 and add more user friendly tags (bug#9660).
16612
16613 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16614
16615 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16616 (mule-input-method-string): New widget.
16617 (default-input-method, language-info-custom-alist): Use it.
16618
16619 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16620
16621 * pcomplete.el: Require comint.
16622 (pcomplete--common-suffix): Remove.
16623 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16624 (pcomplete--table-subvert): Sync with comint--table-subvert.
16625 (pcomplete--entries): Use comint-completion-file-name-table.
16626 * comint.el (comint-unquote-filename): Simplify.
16627 (comint-completion-file-name-table): New function (bug#9616).
16628 (comint--complete-file-name-data): Use it.
16629
16630 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16631 (pcmpl-gnu-tar-buffer): Remove.
16632 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
16633 around. Make sure pcomplete-suffix-list is only changed temporarily.
16634 Don't look inside the tar's file if it's too large.
16635
16636 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
16637
16638 * cus-edit.el (custom-mode-map):
16639 * epa.el (epa-key-list-mode-map):
16640 * man.el (Man-mode-map):
16641 * startup.el (splash-screen-keymap):
16642 * simple.el (special-mode-map): Use scroll-up-command and
16643 scroll-down-command.
16644
16645 * progmodes/idlw-help.el (idlwave-help-mode-map):
16646 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16647 * net/newst-plainview.el (newsticker-mode-map):
16648 * emulation/ws-mode.el (wordstar-mode-map):
16649 * emulation/vi.el (vi-com-map):
16650 * calc/calc-graph.el (calc-graph-show-dumb):
16651 * term/sun.el (terminal-init-sun):
16652 * term/ns-win.el (global-map):
16653 * progmodes/grep.el (grep-mode-map):
16654 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16655 * mail/rmail.el (rmail-mode-map):
16656 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16657
16658 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16659 custom-safe-themes as special.
16660
16661 2011-10-01 Julien Danjou <julien@danjou.info>
16662
16663 * notifications.el (notifications-notify): Fix docstring.
16664
16665 2011-10-01 Per Starbäck <per@starback.se>
16666
16667 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16668
16669 2011-09-30 Martin Rudalics <rudalics@gmx.at>
16670
16671 * startup.el (command-line-1): Fix last fix by inserting
16672 initial-scratch-message into *scratch* before displaying it.
16673 (Bug#9605) and (Bug#9636)
16674
16675 2011-09-29 Eli Zaretskii <eliz@gnu.org>
16676
16677 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16678 window is hscrolled, move by logical lines. (Bug#9607)
16679 (line-move-visual): Update the doc string to the above effect.
16680
16681 2011-09-29 Martin Rudalics <rudalics@gmx.at>
16682
16683 * window.el (display-buffer-record-window): When WINDOW is the
16684 selected window use `point' instead of `window-point'. (Bug#9626)
16685
16686 * startup.el (command-line-1): Use insert-before-markers when
16687 inserting initial-scratch-message. (Bug#9605)
16688
16689 * help.el (help-window): Remove variable.
16690
16691 2011-09-29 Glenn Morris <rgm@gnu.org>
16692
16693 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16694
16695 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
16696
16697 * descr-text.el (describe-char-categories): Accept category
16698 descriptions more than one line long.
16699
16700 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16701
16702 * simple.el (delete-trailing-whitespace): Fix last change.
16703
16704 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16705 Don't confuse "y => 3" as the beginning of a `y' operation.
16706
16707 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16708 object has more than 4 slots (bug#9613).
16709
16710 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
16711
16712 * subr.el (with-output-to-temp-buffer):
16713 * net/quickurl.el (quickurl, quickurl-browse-url):
16714 Fix typos in docstrings.
16715
16716 2011-09-27 Eli Zaretskii <eliz@gnu.org>
16717
16718 * minibuffer.el (completion-styles)
16719 (completion-category-overrides): Cross reference each other in doc
16720 strings.
16721
16722 2011-09-27 Glenn Morris <rgm@gnu.org>
16723
16724 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16725 to split-string. (Bug#9606)
16726
16727 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16728
16729 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16730 (bug#9615).
16731
16732 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
16733
16734 * emacs-lisp/package.el (list-packages): Fix echo area message.
16735
16736 2011-09-27 Leo Liu <sdl.web@gmail.com>
16737
16738 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16739
16740 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
16741
16742 * net/dbus.el (dbus-unregister-object): Don't release services for
16743 registered signals. (Bug#9581)
16744
16745 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
16746
16747 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16748 function that picks between cfengine 2 and 3 support
16749 automatically. Update docs accordingly.
16750
16751 2011-09-22 Kenichi Handa <handa@m17n.org>
16752
16753 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16754 ZERO.
16755 (indian-itrans-v5-table-for-tamil): New variable.
16756 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16757
16758 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
16759
16760 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16761 that's true if the current command involved collapsing of text.
16762 It's reset to false at the beginning of the next command.
16763 (allout-post-command-business): Move the cursor to the beginning
16764 of entry if the cursor is hidden and collapsing activity just
16765 happened.
16766
16767 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
16768
16769 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16770 tracking (Bug#9541).
16771
16772 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
16773
16774 * net/newst-reader.el (newsticker-html-renderer)
16775 (newsticker-show-news): Automatically load html rendering package
16776 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
16777 because w3m-fill-column is let-bound" and the error "Symbol's value
16778 as variable is void: w3m-fill-column".
16779
16780 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
16781
16782 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16783 Release services only if they are defined. (Bug#9581)
16784
16785 2011-09-23 Richard Stallman <rms@gnu.org>
16786
16787 * textmodes/paragraphs.el (forward-sentence): For backwards case,
16788 distinguish start of paragraph from start of its text.
16789
16790 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16791
16792 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16793 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16794 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16795
16796 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16797
16798 * international/mule-diag.el (mule-diag): Insert a newline after
16799 each fontset description.
16800
16801 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16802
16803 * simple.el (delete-trailing-whitespace):
16804 Document last change; simplify.
16805
16806 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16807
16808 * simple.el (delete-trailing-whitespace): Also delete
16809 extra newlines at the end of the buffer.
16810
16811 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16812 (picture-newline): Use forward-line so as to ignore fields.
16813
16814 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16815
16816 * subr.el (with-wrapper-hook): Fix edebug spec.
16817
16818 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16819
16820 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16821 (bug#4538).
16822
16823 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
16824
16825 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16826 Fix nasty bug using wrong cached values.
16827
16828 2011-09-23 Alan Mackenzie <acm@muc.de>
16829
16830 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16831
16832 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
16833
16834 * window.el (pop-to-buffer): Ensure right window is selected if we
16835 chose another frame.
16836
16837 2011-09-22 Eli Zaretskii <eliz@gnu.org>
16838
16839 * simple.el (what-cursor-position): Use get-char-property-change
16840 and next-single-char-property-change, to be able to show display
16841 properties that come from overlays as well as text properties.
16842
16843 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
16844
16845 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16846
16847 * cmuscheme.el (run-scheme, switch-to-scheme):
16848 * cus-edit.el (customize-group, custom-buffer-create)
16849 (customize-browse):
16850 * info.el (info):
16851 * shell.el (shell):
16852 * mail/sendmail.el (mail):
16853 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16854
16855 2011-09-22 Richard Stallman <rms@gnu.org>
16856
16857 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16858 move back only to line beg, don't move back over blank lines.
16859
16860 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
16861
16862 * files.el (copy-directory): Set directory attributes only in case
16863 they could be retrieved from the source directory. (Bug#9565)
16864
16865 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
16866
16867 * progmodes/hideshow.el (hs-looking-at-block-start-p)
16868 (hs-find-block-beginning, hs-hide-level-recursive):
16869 Ignore strings as well as comments. (Bug#9502)
16870
16871 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
16872
16873 * progmodes/sql.el (sql-comint-postgres):
16874 Convert port number to a string. (Bug#9566)
16875
16876 2011-09-22 Martin Rudalics <rudalics@gmx.at>
16877
16878 * window.el (quit-window): Undedicate window when switching to
16879 previous buffer. Reported by Thierry Volpiatto
16880 <thierry.volpiatto@gmail.com>.
16881 (special-display-popup-frame): When popping up a new frame reset
16882 its previous buffers to nil. Simplify code.
16883
16884 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
16885
16886 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16887 and process filter, as done also in `shell-command'.
16888
16889 2011-09-21 Martin Rudalics <rudalics@gmx.at>
16890
16891 * window.el (set-window-buffer-start-and-point):
16892 Call set-window-start with NOFORCE argument t.
16893 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16894 (quit-window): Reword doc-string. Handle new format of
16895 quit-restore parameter. Don't delete window if it has a
16896 previous buffer we can show instead of the present one.
16897 (display-buffer-record-window): Rewrite using a new format for
16898 the quit-restore window parameter
16899 (special-display-popup-frame, display-buffer-same-window)
16900 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16901 (display-buffer-pop-up-window, display-buffer-use-some-window):
16902 Adapt symbol passed to display-buffer-record-window.
16903 * help.el (help-window-setup): Handle new format of quit-restore
16904 parameter.
16905
16906 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16907
16908 * faces.el (face-list): Fix docstring (bug#9564).
16909
16910 * window.el (display-buffer--action-function-custom-type):
16911 Don't include internal functions in the Custom interface.
16912
16913 2011-09-20 Juri Linkov <juri@jurta.org>
16914
16915 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16916 (Info-forward-node, Info-backward-node, Info-next-preorder)
16917 (Info-last-preorder): Use it. (Bug#9528)
16918
16919 2011-09-20 Juri Linkov <juri@jurta.org>
16920
16921 * info.el (Info-last-preorder): Visit last menu item only when
16922 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16923
16924 2011-09-20 Julien Danjou <julien@danjou.info>
16925
16926 * password-cache.el (password-cache-remove): Remove entries even if the
16927 value is nil, so that password with a nil value (negative caching) is
16928 possible to invalidate.
16929
16930 2011-09-20 Lawrence Mitchell <wence@gmx.li>
16931
16932 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16933 all whitespace around breakpoint. (Bug#9553)
16934 (f90-find-breakpoint): Only break at whitespace inside a comment.
16935
16936 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16937
16938 * minibuffer.el (completion-file-name-table): Keep track of errors.
16939 (completion-table-with-predicate): Handle the case where pred1 is nil.
16940 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16941
16942 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16943
16944 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16945 (debugger-return-value): Signal an error if the debugging context does
16946 not await any return value.
16947
16948 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16949 * image-mode.el (image-toggle-display-text)
16950 (image-toggle-display-image): Stay away from evil `intangible'.
16951
16952 2011-09-19 Leo Liu <sdl.web@gmail.com>
16953
16954 * replace.el (occur-revert-arguments): Make it permanent-local.
16955 (occur-mode): Don't call font-lock-defontify.
16956
16957 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
16958
16959 * net/ldap.el (ldap-search-internal): Don't push empty search
16960 result (Bug#9508).
16961
16962 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16963
16964 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16965
16966 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
16967
16968 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16969 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16970
16971 2011-09-18 Juri Linkov <juri@jurta.org>
16972
16973 * buff-menu.el (Buffer-menu-mode-map):
16974 * dired.el (dired-mode-map):
16975 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16976 (lisp-interaction-mode-map):
16977 * emacs-lisp/package.el (package-menu-mode-map):
16978 * epa.el (epa-key-list-mode-map):
16979 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16980 (menu-bar-options-menu):
16981 * outline.el (outline-mode-menu-bar-map):
16982 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16983 * vc/vc-dir.el (vc-dir-menu-map):
16984 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16985 Capitalize non-function content words in menu item strings.
16986
16987 * dired.el (dired-mode-map): Add menu item for
16988 `image-dired-dired-toggle-marked-thumbs'.
16989
16990 2011-09-18 Juri Linkov <juri@jurta.org>
16991
16992 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16993 to `isearch-case-fold-search' and restore its original value
16994 after the `isearch-mode' call.
16995
16996 2011-09-18 Juri Linkov <juri@jurta.org>
16997
16998 * progmodes/grep.el (grep-process-setup): Don't check code for 1
16999 because `zgrep' returns 1 for successful matches (bug#9226).
17000
17001 2011-09-18 Juri Linkov <juri@jurta.org>
17002
17003 * info.el (Info-extract-menu-node-name): Check the second match
17004 for empty string (second test-case of bug#9528).
17005 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17006 intermediate nodes to the history (first test-case of bug#9528).
17007
17008 2011-09-18 Juri Linkov <juri@jurta.org>
17009
17010 * info.el (Info-mode-syntax-table): New variable.
17011 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17012
17013 2011-09-18 Juri Linkov <juri@jurta.org>
17014
17015 * info.el (Info-file-supports-index-cookies):
17016 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17017 outputs one more line for long file names (bug#4142).
17018
17019 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17020
17021 * newcomment.el (comment-normalize-vars): If prompting for
17022 comment-start, set comment-start-skip too (Bug#8424).
17023
17024 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17025
17026 * icomplete.el: Fix previous fix of Bug#5849.
17027 (icomplete-mode): Don't set completion-show-inline-help.
17028 (icomplete-minibuffer-setup): Set completion-show-inline-help
17029 locally during icompletion.
17030
17031 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17032
17033 * woman.el (woman2-process-escapes): Don't delete unrecognized
17034 escapes (Bug#7843).
17035
17036 * files.el (inhibit-first-line-modes-regexps): Add image files.
17037 (hack-local-variables-prop-line): Return nil for malformed
17038 prop-lines (Bug#9044).
17039
17040 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17041
17042 * net/tramp.el (top): Don't require 'shell.
17043 (tramp-methods): Fix docstring.
17044 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17045 Return complete remote file name. Handle "smb" case.
17046 Use `tramp-tmpdir', if defined for the respective method.
17047 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17048
17049 * net/tramp-compat.el (top): Require 'shell.
17050
17051 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17052 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17053 `tramp-current-host'.
17054 (tramp-get-remote-tmpdir): Remove.
17055
17056 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17057 `tramp-tmpdir' entries.
17058 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17059 (tramp-smb-handle-file-attributes): Ignore errors.
17060 (tramp-smb-wait-for-output): Check also for process end.
17061
17062 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17063
17064 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17065 when sending QUIT (bug#9312).
17066
17067 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17068
17069 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17070 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17071 occur-mode-display-occurrence.
17072 (occur-edit-mode): Add usage message.
17073 (occur-cease-edit): New command.
17074 (occur-after-change-function): Use text properties to find the
17075 position of the prefix text.
17076 (occur-engine): Set stickiness of prefix text properties.
17077
17078 2011-09-17 Glenn Morris <rgm@gnu.org>
17079
17080 * progmodes/etags.el (complete-tag):
17081 Fix call to completion-in-region. (Bug#9526)
17082
17083 2011-09-17 Juri Linkov <juri@jurta.org>
17084
17085 * textmodes/ispell.el (ispell-word): Add to the error message
17086 the word, ispell program name and current dictionary (bug#9121).
17087 (ispell-tex-arg-end): Capitalize "error" in the error message.
17088
17089 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17090
17091 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17092 check. (Bug#4251)
17093
17094 2011-09-17 Juri Linkov <juri@jurta.org>
17095
17096 * window.el (window-safe-min-height, window-safe-min-width):
17097 Fix typos (followup to bug#9522).
17098
17099 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17100
17101 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17102
17103 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17104
17105 * simple.el (line-move): If goal-column is set, move by logical
17106 lines, not by display lines. (Bug#971)
17107 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17108 to reflect the above change.
17109
17110 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17111
17112 * image.el (imagemagick-register-types): Use regexp-opt.
17113
17114 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17115
17116 * window.el (display-buffer-base-action): Rename from
17117 display-buffer-default-action. Make default value empty.
17118 (display-buffer-overriding-action): Convert to defvar.
17119 (display-buffer-fallback-action): New var.
17120
17121 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17122
17123 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17124 declaration.
17125 (package--add-to-archive-contents): If there is a duplicate entry
17126 with an older version, remove it.
17127 (package-menu-mark-delete, package-menu-mark-install)
17128 (package-menu-mark-unmark): Make unused args optional.
17129 (package-menu-mark-obsolete-for-deletion):
17130 Use package-menu-get-status instead of a regexp search.
17131 (package-menu-get-status): Use tabulated-list-entry.
17132 (package-menu-mark-upgrades): New command.
17133 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17134 (package-menu-execute): Do installation before deletion.
17135 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17136 instead of checking major-mode.
17137 (package-menu--find-upgrades): New function.
17138
17139 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17140
17141 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17142 passwords in the log buffer.
17143 (smtpmail-process-filter): Update the process marker so that the
17144 "broken by peer" status message is inserted in the right place.
17145
17146 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17147
17148 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17149 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17150 bibtex-completion-at-point-function.
17151 (bibtex-completion-at-point-function): Use them.
17152
17153 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17154
17155 * mpc.el (mpc-constraints-tag-lookup): New function.
17156 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17157 also to browser "album|playlist".
17158
17159 2011-09-14 Juri Linkov <juri@jurta.org>
17160
17161 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17162 (isearch-edit-string): Use length of `isearch-string' when
17163 `isearch-fail-pos' returns nil.
17164 (isearch-message): Remove duplicate code and call
17165 `isearch-fail-pos' with arg `t'.
17166
17167 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17168
17169 * replace.el (occur-mode-goto-occurrence): Don't force using other
17170 window (Bug#9499).
17171
17172 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17173
17174 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17175
17176 * window.el (display-buffer-window): Remove.
17177 (display-buffer-record-window): Use help-setup window parameter
17178 instead of variable display-buffer-window.
17179 (display-buffer-function, special-display-buffer-names)
17180 (special-display-function): Mention help-setup parameter instead
17181 of display-buffer-window in doc-string.
17182 * help.el (help-window-setup): New argument help-window.
17183 Use help-window-setup parameter instead of display-buffer-window.
17184 Reword some messages.
17185 (with-help-window): Pass window used for displaying the buffer
17186 to help-window-setup. Don't set display-buffer-window.
17187
17188 2011-09-13 Glenn Morris <rgm@gnu.org>
17189
17190 * emacs-lisp/debug.el (debugger-make-xrefs):
17191 Preserve point. (Bug#9462)
17192
17193 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17194
17195 * window.el (window-deletable-p): Use next-frame.
17196
17197 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17198
17199 * window.el (window-auto-delete): Remove.
17200 (window-deletable-p): Remove argument FORCE. Don't deal with
17201 dedication and previous buffers.
17202 (switch-to-prev-buffer): Don't delete window.
17203 (delete-windows-on): Delete a window's frame if and only if the
17204 window is dedicated.
17205 (replace-buffer-in-windows): Delete buffer's window or frame if
17206 and only if window is dedicated.
17207 (quit-window): Handle quit-restore as before last change.
17208 (bury-buffer): Delete window only if window-deletable-p returns t.
17209
17210 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17211
17212 * window.el (window-deletable-p): Never delete the last frame on a
17213 given terminal.
17214
17215 2011-09-13 Glenn Morris <rgm@gnu.org>
17216
17217 * help.el (describe-key-briefly): Copy previous standard-output change.
17218
17219 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17220
17221 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17222
17223 2011-09-13 Glenn Morris <rgm@gnu.org>
17224
17225 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17226 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17227
17228 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17229
17230 * dired-aux.el (dired-mark-read-string): Don't return default
17231 value on empty input (Bug#9361).
17232 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17233 Omit initial minibuffer contents.
17234 (dired-do-chmod): Signal an error on empty input.
17235 (dired-mark-read-string): Don't return default on empty input.
17236
17237 * files.el (file-modes-symbolic-to-number): Doc fix.
17238
17239 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17240
17241 * international/mule-cmds.el (ucs-completions): Remove.
17242 (read-char-by-name): Use complete-with-action instead; add metadata.
17243
17244 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17245
17246 * window.el (display-buffer--action-function-custom-type)
17247 (display-buffer--action-custom-type): New vars.
17248 (display-buffer-alist, display-buffer-default-action)
17249 (display-buffer-overriding-action): Add defcustom types.
17250
17251 * frame.el (delete-other-frames): Doc fix (Bug#276).
17252
17253 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17254
17255 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17256
17257 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17258
17259 Change modes that used same-window-* vars to use switch-to-buffer.
17260
17261 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17262 Use switch-to-buffer.
17263
17264 * cus-edit.el (customize-group, custom-buffer-create)
17265 (customize-browse, custom-buffer-create-other-window):
17266 Use switch-to-buffer or switch-to-buffer-other-window.
17267
17268 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17269 (Info-prev, Info-up, Info-speedbar-goto-node)
17270 (info-display-manual): Use switch-to-buffer.
17271 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17272
17273 * mail/sendmail.el (mail): Use switch-to-buffer.
17274 (mail-recover): Use switch-to-buffer-other-window.
17275
17276 * cmuscheme.el (run-scheme, switch-to-scheme):
17277 * ielm.el (ielm):
17278 * shell.el (shell):
17279 * net/rlogin.el (rlogin):
17280 * net/telnet.el (telnet, rsh):
17281 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17282
17283 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17284
17285 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17286
17287 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17288
17289 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17290 so don't mention it (bug#9301).
17291 (dired-sort-toggle-or-edit): Clarify string further.
17292
17293 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17294 match `x', `w32' and `ns', like the manual says (bug#9029).
17295
17296 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17297 (process-kill-buffer-query-function): Mention the buffer name in
17298 the query.
17299
17300 * image-mode.el (image-next-line): The line parameter is mandatory
17301 (bug#9258).
17302
17303 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17304 which can be useful (bug#9301).
17305
17306 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17307
17308 * subr.el (match-string): Mention that the current buffer should
17309 be the same as the search was done in (bug#9282).
17310
17311 * facemenu.el: Disable the remove-* commands if the mark isn't
17312 active (bug#9162).
17313
17314 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17315
17316 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17317 of display-buffer.
17318 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17319
17320 * replace.el (occur-mode-goto-occurrence)
17321 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17322 and display-buffer.
17323
17324 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17325 display-buffer.
17326
17327 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17328 special-display and same-window variables.
17329 (mail-other-window): Use switch-to-buffer-other-window.
17330 (mail-other-frame): USe switch-to-buffer-other-frame.
17331
17332 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17333 Use display-buffer-other-frame.
17334 (gdb-display-gdb-buffer): Use pop-to-buffer.
17335
17336 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17337
17338 * progmodes/python.el: Don't set same-window-buffer-names.
17339
17340 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17341
17342 * window.el (display-buffer-alist): Add *Python*.
17343
17344 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17345
17346 * window.el (display-buffer-alist): Add entry for buffers
17347 previously handled same-window-*.
17348 (display-buffer-alist, display-buffer-default-action)
17349 (display-buffer-overriding-action): Mark as risky.
17350 (display-buffer-alist): Document action function changes.
17351 (display-buffer--same-window-action)
17352 (display-buffer--other-frame-action): New variables.
17353 (switch-to-buffer, display-buffer-other-frame): Use them.
17354 (display-buffer): Rename reuse-frame entry to reusable-frames.
17355 (display-buffer-reuse-selected-window): Function deleted.
17356 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17357 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17358 (display-buffer-special): New function.
17359 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17360 display-buffer-reuse-or-pop-window. Split off special-display
17361 part into display-buffer-special.
17362 (display-buffer-use-some-window): Don't perform any special
17363 pop-up-frames handling.
17364 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17365 (display-buffer--maybe-same-window): Rename from
17366 display-buffer-maybe-same-window.
17367
17368 * info.el: Don't set same-window-regexps.
17369 (info-setup): New function.
17370 (info-other-window, info): Call it.
17371
17372 * cus-edit.el: Don't set same-window-regexps.
17373 (customize-group): New argument.
17374 (customize-group-other-window): Use it.
17375 (customize-face, customize-face-other-window): Likewise.
17376 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17377
17378 * net/rlogin.el:
17379 * net/telnet.el:
17380 * progmodes/gud.el: Don't set same-window-regexps.
17381
17382 * cmuscheme.el:
17383 * ielm.el:
17384 * shell.el:
17385 * mail/sendmail.el:
17386 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17387
17388 2011-09-10 Juri Linkov <juri@jurta.org>
17389
17390 * isearch.el (isearch-edit-string): Remove obsolete mention of
17391 `C-w' (`isearch-yank-word-or-char') from docstring.
17392 (isearch-query-replace): Fix typo in docstring (bug#9466).
17393
17394 2011-09-10 Juri Linkov <juri@jurta.org>
17395
17396 * paren.el (show-paren-function): Don't show escaped parens.
17397 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17398
17399 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17400
17401 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17402 (mm-default-file-encoding): Remove autoload forms, they are
17403 replaced with autoload cookies in mml.el and mm-encode.el.
17404 (mail-add-attachment): New command.
17405 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17406 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17407 the doc string.
17408 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17409
17410 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17411
17412 * simple.el (count-words-region): Use buffer if there's no region
17413 (bug#9429).
17414
17415 2011-09-09 Juri Linkov <juri@jurta.org>
17416
17417 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17418 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17419 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17420
17421 2011-09-09 Alan Mackenzie <acm@muc.de>
17422
17423 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17424 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17425
17426 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17427
17428 Fix for Savannah bug#9392.
17429 * simple.el (mail-encode-mml): New defvar.
17430
17431 * mail/rmail.el (mail-encode-mml): Add a defvar.
17432 (rmail-enable-mime-composing): Default to t.
17433 (rmail-forward): Use MIME method of forwarding only if both
17434 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17435 Set mail-encode-mml non-nil if the MIME method was used.
17436
17437 * mail/sendmail.el (mml-to-mime): Add autoload form.
17438 (mail-encode-mml): Add a defvar.
17439 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17440 to nil.
17441 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17442 message through mml-to-mime, and reset mail-encode-mml to nil.
17443
17444 2011-09-09 Glenn Morris <rgm@gnu.org>
17445
17446 * woman.el (woman-if-body): When processing an .el block,
17447 do not delete the next .el block as well. (Bug#9447)
17448 (woman-special-characters): Add oq, cq, and hy characters.
17449
17450 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17451
17452 * window.el (window-deletable-p): Make sure window is live before
17453 invoking window-prev-buffers.
17454
17455 2011-09-08 Leo Liu <sdl.web@gmail.com>
17456
17457 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17458
17459 2011-09-08 Juri Linkov <juri@jurta.org>
17460
17461 * progmodes/compile.el (compilation-environment): Make it
17462 a defcustom (bug#8340).
17463
17464 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17465
17466 * window.el (frame-auto-delete): Rename to window-auto-delete.
17467 Make it control auto-deletion of windows and/or frames.
17468 (window-deletable-p): New argument FORCE. Rewrite conditions
17469 for deleting window/frame. (Bug#9419)
17470 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17471 Rewrite handling of case when window/frame can be deleted.
17472 (delete-windows-on): Call window-deletable-p with new FORCE
17473 argument t. (Bug#9456)
17474
17475 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
17476
17477 * help-mode.el (help-mode): Restore autoload.
17478
17479 2011-09-07 Juri Linkov <juri@jurta.org>
17480
17481 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17482 `compilation-environment'. Set buffer-local
17483 `compilation-environment' to `thisenv' later after (funcall mode).
17484 (Bug#8340)
17485
17486 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17487 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17488 instead of replacing its value. (Bug#8340)
17489
17490 2011-09-07 Juri Linkov <juri@jurta.org>
17491
17492 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17493 based on text properties put by `grep-filter' instead of matching
17494 escape sequences.
17495 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17496 to the value of `grep-error-screen-columns' (bug#9438).
17497
17498 2011-09-07 Juri Linkov <juri@jurta.org>
17499
17500 * simple.el (next-error-highlight, next-error-highlight-no-select):
17501 Doc fix (bug#9432).
17502
17503 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17504
17505 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17506 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17507
17508 2011-09-07 Leo Liu <sdl.web@gmail.com>
17509
17510 * net/rcirc.el (rcirc-mode): Conditionally initialize
17511 rcirc-input-ring.
17512
17513 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17514
17515 * emacs-lisp/find-func.el (find-function-C-source): Only set
17516 find-function-C-source-directory after checking that we found a source
17517 file there (bug#9440).
17518
17519 2011-09-06 Alan Mackenzie <acm@muc.de>
17520
17521 * isearch.el (isearch-other-meta-char): Wherever a key list is
17522 unread, "unread" the prefix arg, too. This fixes bug #8901.
17523
17524 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17525
17526 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17527
17528 2011-09-05 Juri Linkov <juri@jurta.org>
17529
17530 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17531
17532 2011-09-05 Juri Linkov <juri@jurta.org>
17533
17534 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17535 keeping point where processing of grep matches begins, and
17536 continue to delete remaining escape sequences from the same point.
17537 (grep-filter): Make leading zero optional in "0?1;31m" because
17538 git-grep emits "\033[1;31m" escape sequences unlike expected
17539 "\033[01;31m" as GNU Grep does (bug#9408).
17540 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17541
17542 2011-09-05 Juri Linkov <juri@jurta.org>
17543
17544 * subr.el (y-or-n-p): Capitalize "yes".
17545
17546 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
17547
17548 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17549 `tramp-cache-unload-hook' where appropriate.
17550 (tramp-methods): Rename `tramp-remote-sh' to
17551 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17552 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17553
17554 * net/tramp-sh.el (top): Don't require 'shell.
17555 (tramp-methods): Add `tramp-remote-shell' and
17556 `tramp-remote-shell-args' entries.
17557 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17558 (tramp-sh-handle-shell-command): Remove.
17559 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17560 Use `tramp-remote-shell'.
17561
17562 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
17563
17564 * mail/sendmail.el (sendmail-query-once-function): Delete.
17565 (sendmail-query-once): Save directly to send-mail-function.
17566 Update message-send-mail-function too.
17567
17568 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17569
17570 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17571
17572 * progmodes/python.el (python-mode-map): Use correct function to
17573 start python interpreter from menu-bar (as reported by Geert
17574 Kloosterman).
17575 (inferior-python-mode-map): Fix typo.
17576 (python-shell-map): Remove.
17577
17578 2011-09-03 Deniz Dogan <deniz@dogan.se>
17579
17580 * net/rcirc.el (rcirc-print): Simplify code for
17581 rcirc-scroll-show-maximum-output. There is no need to walk
17582 through all windows to find the right one.
17583
17584 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17585
17586 * help.el (help-return-method): Doc fix.
17587
17588 2011-09-03 Martin Rudalics <rudalics@gmx.at>
17589
17590 * window.el (window-deletable-p): Don't return a non-nil value
17591 when there's a buffer that was shown in the window before.
17592 (Bug#9419)
17593 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17594 Set window's previous buffers to nil.
17595
17596 2011-09-03 Eli Zaretskii <eliz@gnu.org>
17597
17598 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17599 newline before and after the tag line, so it doesn't interfere
17600 with determining the paragraph direction of bidirectional text.
17601
17602 2011-09-03 Leo Liu <sdl.web@gmail.com>
17603
17604 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17605
17606 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17607
17608 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17609 (pop-to-buffer): Change interactive spec. Pass second argument
17610 directly to display-buffer.
17611 (display-buffer): Fix interactive spec. Use functionp to
17612 distinguish between a function and a list of functions.
17613
17614 * abbrev.el (edit-abbrevs):
17615 * arc-mode.el (archive-extract):
17616 * autoinsert.el (auto-insert):
17617 * bookmark.el (bookmark-bmenu-list):
17618 * files.el (find-file):
17619 * view.el (view-buffer):
17620 * progmodes/compile.el (compilation-goto-locus):
17621 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17622
17623 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17624
17625 * window.el (display-buffer-alist): Doc fix.
17626 (display-buffer): Add docstring. Don't treat
17627 display-buffer-default specially.
17628 (display-buffer-reuse-selected-window)
17629 (display-buffer-same-window, display-buffer-maybe-same-window)
17630 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17631 (display-buffer-pop-up-window)
17632 (display-buffer-reuse-or-pop-window)
17633 (display-buffer-use-some-window): New functions.
17634 (display-buffer-default-action): Use them.
17635 (display-buffer-default): Delete.
17636 (pop-to-buffer-1): Fix choice of actions.
17637
17638 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17639
17640 * minibuffer.el (completion--insert-strings): Don't get confused by
17641 completion entries that end with an LF char.
17642
17643 2011-09-01 Eli Zaretskii <eliz@gnu.org>
17644
17645 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17646
17647 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
17648
17649 * window.el (display-buffer): Restore interactive spec.
17650 (display-buffer-same-window, display-buffer-other-window):
17651 New functions.
17652 (pop-to-buffer-1): New function. Use the above.
17653 (pop-to-buffer, pop-to-buffer-same-window): Use it.
17654 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
17655
17656 * view.el (view-buffer-other-window, view-buffer-other-frame):
17657 Just use pop-to-buffer.
17658
17659 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17660
17661 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17662
17663 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17664
17665 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17666
17667 2011-08-31 Richard Stallman <rms@gnu.org>
17668
17669 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17670 of the separation of rmail-view-buffer from rmail-buffer.
17671 If you say no to "replace original", the decrypt is in the
17672 view buffer. If you say yes, the decrypt goes into the
17673 rmail buffer also.
17674
17675 2011-08-31 Martin Rudalics <rudalics@gmx.at>
17676
17677 * window.el (display-buffer-window): Rewrite doc-string.
17678 (display-buffer-record-window): New function.
17679 (display-buffer-macro-specifiers)
17680 (display-buffer-even-window-sizes, display-buffer-set-height)
17681 (display-buffer-set-width, display-buffer-in-window)
17682 (display-buffer-reuse-window, display-buffer-split-specifiers)
17683 (display-buffer-side-specifiers, display-buffer-split-window-1)
17684 (display-buffer-split-window, display-buffer-split-atom-window)
17685 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17686 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17687 (display-buffer-other-window-means-other-frame)
17688 (display-buffer-normalize-special)
17689 (display-buffer-normalize-default)
17690 (display-buffer-normalize-argument)
17691 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17692 (display-buffer-normalize-specifiers, display-buffer-frame)
17693 (display-buffer-same-window, display-buffer-same-frame)
17694 (display-buffer-other-window)
17695 (display-buffer-same-frame-other-window)
17696 (display-buffer-other-frame, pop-to-buffer-same-window)
17697 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17698 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17699 (switch-to-buffer-same-frame)
17700 (switch-to-buffer-other-window-same-frame)
17701 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17702 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17703 (display-buffer-alist-set): Remove.
17704 (display-buffer-function, special-display-buffer-names)
17705 (special-display-regexps, special-display-function):
17706 In doc-string refer to display-buffer-window and quit-restore
17707 parameter.
17708 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17709 (special-display-frame-alist, special-display-popup-frame)
17710 (same-window-buffer-names, same-window-regexps, same-window-p)
17711 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17712 (split-window-preferred-function, split-height-threshold)
17713 (split-width-threshold, window-splittable-p)
17714 (split-window-sensibly, window--try-to-split-window)
17715 (window--frame-usable-p, even-window-heights)
17716 (window--even-window-heights, window--display-buffer-1)
17717 (window--display-buffer-2, display-buffer-other-frame):
17718 Restore old Emacs 23 code, order and doc-strings where applicable.
17719 (display-buffer-default, display-buffer-assq-regexp): New functions.
17720 (display-buffer-alist): Rewrite doc-string.
17721 (display-buffer-default-action)
17722 (display-buffer-overriding-action): New variables.
17723 (display-buffer, switch-to-buffer): Rewrite.
17724 (pop-to-buffer): Restore Emacs 23 behavior but use
17725 window-normalize-buffer-to-display.
17726 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17727 Restore Emacs 23 behavior but use
17728 window-normalize-buffer-to-switch-to.
17729 (pop-to-buffer-same-window): Rewrite.
17730 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17731 Rewrite using Emacs 23 options.
17732
17733 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
17734
17735 * net/tramp.el (tramp-root-regexp): Remove.
17736 (tramp-completion-file-name-regexp-unified)
17737 (tramp-completion-file-name-regexp-separate)
17738 (tramp-completion-file-name-regexp-url): Don't use leading volume
17739 letter on w32 systems. (Bug#5303, Bug#9311)
17740 (tramp-drop-volume-letter): Simplify definition.
17741 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
17742
17743 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17744
17745 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17746 (bug#9356).
17747
17748 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
17749
17750 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
17751
17752 2011-08-29 Juri Linkov <juri@jurta.org>
17753
17754 * isearch.el (isearch-done): Don't display message "Mark saved"
17755 when arg `edit' is non-nil to prevent its flicker in the echo area.
17756
17757 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
17758
17759 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17760 obsolete packages for deletion.
17761
17762 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
17763
17764 * help-mode.el (help-mode-map): Add special-mode-map to parent.
17765 (help-mode): Derive help-mode from special-mode. Don't invoke
17766 view-mode from help-mode.
17767 (help-xref-override-view-map): Remove.
17768 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17769 view-mode is not used anymore.
17770
17771 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
17772
17773 * server.el (server-port): Doc fix.
17774
17775 * cus-theme.el (custom-theme-choose-mode): Inherit from
17776 special-mode (Bug#9124).
17777 (custom-theme-choose-mode-map): Add special-mode to parent.
17778
17779 2011-08-28 Alan Mackenzie <acm@muc.de>
17780
17781 * progmodes/cc-fonts.el
17782 (c-make-font-lock-BO-decl-search-function): New function.
17783 (c-basic-matchers-after - "Fontify the clauses after various
17784 keywords"): Extract the three keyword lists for the 3 erroneous
17785 constructs from the list of four, and use the new function above
17786 in place of an old one.
17787
17788 2011-08-28 Deniz Dogan <deniz@dogan.se>
17789
17790 * net/rcirc.el (rcirc-insert-prev-input)
17791 (rcirc-insert-next-input): Remove unused argument.
17792
17793 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17794
17795 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17796
17797 2011-08-27 Alan Mackenzie <acm@muc.de>
17798
17799 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17800 handle function pointer parameters properly.
17801
17802 2011-08-27 Martin Rudalics <rudalics@gmx.at>
17803
17804 * window.el (display-buffer-reuse-window): Fix case where
17805 selected window was reused with non-nil OTHER-WINDOW argument.
17806 (Bug#9381)
17807
17808 2011-08-27 Deniz Dogan <deniz@dogan.se>
17809
17810 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17811 oftc's NickServ messages.
17812
17813 2011-08-27 Glenn Morris <rgm@gnu.org>
17814
17815 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17816
17817 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
17818
17819 * emacs-lisp/package.el (package-install): Call package-initialize
17820 if called interactively.
17821
17822 2011-08-26 Leo Liu <sdl.web@gmail.com>
17823
17824 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17825
17826 2011-08-25 Juri Linkov <juri@jurta.org>
17827
17828 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17829 `search-whitespace-regexp' (bug#9364).
17830
17831 2011-08-25 Juri Linkov <juri@jurta.org>
17832
17833 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17834 `regexp-search-ring' to their global values to protect from
17835 updating by `read-from-minibuffer' (bug#9185).
17836
17837 2011-08-25 Juri Linkov <juri@jurta.org>
17838
17839 * textmodes/ispell.el (ispell-command-loop): Add newline
17840 at the end of the "Use option `i'..." line.
17841
17842 2011-08-25 Juri Linkov <juri@jurta.org>
17843
17844 * battery.el (display-battery-mode): If `battery-status-function'
17845 or `battery-mode-line-format' is nil, display the message and set
17846 `display-battery-mode' to nil (bug#9363).
17847
17848 2011-08-25 Eli Zaretskii <eliz@gnu.org>
17849
17850 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17851 bidi-string-mark-left-to-right; they are unnecessary now.
17852
17853 2011-08-25 Deniz Dogan <deniz@dogan.se>
17854
17855 * net/quickurl.el: Documentation typo fixes.
17856
17857 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
17858
17859 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17860
17861 2011-08-25 Glenn Morris <rgm@gnu.org>
17862
17863 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17864
17865 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17866 (smtpmail-via-smtp): Handle nil response from smtp.
17867
17868 2011-08-24 Juri Linkov <juri@jurta.org>
17869
17870 * proced.el (proced-marked): Inherit from `error' instead of
17871 `font-lock-warning-face'.
17872
17873 * ibuffer.el (ibuffer-marked-face): Change default face from
17874 `font-lock-warning-face' to `warning'.
17875 (ibuffer-deletion-face): Change default face from
17876 `font-lock-type-face' to `error'.
17877
17878 * battery.el (battery-update): Use the face `error' instead of
17879 `font-lock-warning-face' (bug#6117).
17880
17881 2011-08-24 Juri Linkov <juri@jurta.org>
17882
17883 * faces.el (success): Change face color from "Green3" to
17884 "ForestGreen" on light background (bug#9353).
17885
17886 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
17887
17888 * window.el (quit-window): Rename from quit-restore-window.
17889 Use same arglist as old quit-window.
17890 (frame-auto-delete): Doc fix.
17891
17892 * view.el (view-mode-exit): Use quit-window.
17893
17894 2011-08-24 Juri Linkov <juri@jurta.org>
17895
17896 * isearch.el (isearch-ring-adjust1): Start visiting previous
17897 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17898 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17899 for empty search string (when the last search string is reused
17900 automatically) to adjust the isearch ring to the last element and
17901 prepare the correct index for further M-p commands (bug#9185).
17902
17903 2011-08-24 Kenichi Handa <handa@m17n.org>
17904
17905 * international/ucs-normalize.el: If decomposition property of
17906 CHAR is the default one (i.e. a list of CHAR itself), treat it as
17907 nil.
17908 (nfd, nfkd): Likewise.
17909
17910 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17911
17912 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17913 from process filters aren't reliably transmitted to the surrounding
17914 accept-process-output.
17915 (mpc-proc-check): New function.
17916 (mpc-proc-sync): Use it (bug#8293)
17917
17918 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17919
17920 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17921 Add compatibility functions (bug#9313).
17922
17923 2011-08-23 Eli Zaretskii <eliz@gnu.org>
17924
17925 * cus-start.el (all): Add entry for bidi-paragraph-direction.
17926
17927 * international/uni-bidi.el: Regenerate.
17928
17929 2011-08-23 Kenichi Handa <handa@m17n.org>
17930
17931 * international/charprop.el:
17932 * international/uni-bidi.el:
17933 * international/uni-category.el:
17934 * international/uni-combining.el:
17935 * international/uni-comment.el:
17936 * international/uni-decimal.el:
17937 * international/uni-decomposition.el:
17938 * international/uni-digit.el:
17939 * international/uni-lowercase.el:
17940 * international/uni-mirrored.el:
17941 * international/uni-name.el:
17942 * international/uni-numeric.el:
17943 * international/uni-old-name.el:
17944 * international/uni-titlecase.el:
17945 * international/uni-uppercase.el: Regenerate.
17946
17947 2011-08-23 Martin Rudalics <rudalics@gmx.at>
17948
17949 * help.el (help-window-setup): Fix message displayed when other
17950 window is reused. (Bug#9341)
17951
17952 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17953
17954 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17955 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17956
17957 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17958 Mark obsolete.
17959 * shell.el (shell-parse-pcomplete-arguments): New function.
17960 (shell-completion-vars): Use it instead (bug#9160).
17961
17962 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17963
17964 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17965 strings and comments (bug#9333).
17966
17967 * emacs-lisp/debug.el (debug-arglist): New function.
17968 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
17969 (debug-on-entry-1): Handle interpreted closures (bug#9120).
17970
17971 2011-08-22 Juri Linkov <juri@jurta.org>
17972
17973 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17974 Revert regexp that highlights output switches to its old
17975 pre-2010-10-28 value and remove one `?' from it (bug#9319).
17976
17977 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17978 to check for empty output (bug#9226).
17979
17980 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
17981
17982 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17983 symbol-constituent as the default, as that stops font-lock from
17984 working properly (Bug#8843).
17985
17986 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17987
17988 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17989 `coding-system-for-*' around the process open call to avoid
17990 auth-source side effects.
17991 (smtpmail-try-auth-methods): Expand the secret password.
17992 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17993 probe hangs.
17994
17995 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
17996
17997 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17998
17999 * emacs-lisp/find-func.el (find-function-noselect): New arg
18000 lisp-only.
18001
18002 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18003 signal an error for built-in functions (Bug#6664).
18004
18005 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18006
18007 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18008 (smtpmail-try-auth-methods): Use it.
18009
18010 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18011
18012 * font-lock.el (font-lock-fontify-region)
18013 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18014 (font-lock-default-unfontify-buffer)
18015 (font-lock-default-fontify-region)
18016 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18017
18018 * progmodes/compile.el (compilation-error-properties):
18019 Fix confusion between file struct and message struct (Bug#9319).
18020 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18021 `ant' regexp.
18022
18023 * net/browse-url.el (browse-url-firefox): Don't call
18024 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18025
18026 2011-08-20 Glenn Morris <rgm@gnu.org>
18027
18028 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18029
18030 * tutorial.el (tutorial--default-keys): Update some default bindings.
18031
18032 * files.el (hack-local-variables): Fully ignore case for "mode:".
18033
18034 2011-08-20 Alan Mackenzie <acm@muc.de>
18035
18036 Resolve invalid use of a regexp in regexp-opt.
18037
18038 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18039 detection for a java annotation.
18040
18041 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18042 detection for a java annotation.
18043
18044 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18045 handling for java.
18046 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18047
18048 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18049
18050 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18051 (Bug#9274).
18052
18053 2011-08-20 Alan Mackenzie <acm@muc.de>
18054
18055 Fontify CPP expressions correctly when starting in the middle of
18056 such a construct. Mainly for when jit-lock etc. starts a chunk
18057 here.
18058
18059 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18060 variable.
18061 (c-make-font-lock-search-form): New function, extracted from
18062 c-make-font-lock-search-function.
18063 (c-make-font-lock-search-function): Use the above function.
18064 (c-make-font-lock-context-search-function): New function.
18065 (c-cpp-matchers): Enhance the preprocessor expression case with
18066 the above function
18067 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18068 which takes an expression.
18069
18070 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18071
18072 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18073
18074 * window.el (display-buffer-reuse-window)
18075 (display-buffer-pop-up-window): Don't reuse or split a side
18076 window.
18077
18078 2011-08-19 Glenn Morris <rgm@gnu.org>
18079
18080 * files.el (hack-local-variables-prop-line, hack-local-variables):
18081 Downcase "Mode:". (Bug#9331)
18082
18083 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18084
18085 * international/characters.el: Add L and R categories.
18086
18087 * subr.el (bidi-string-mark-left-to-right): Rename from
18088 string-mark-left-to-right. Use category search.
18089
18090 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18091
18092 2011-08-18 Juri Linkov <juri@jurta.org>
18093
18094 * faces.el (error, warning, success): New faces with definitions
18095 copied from old default values of `font-lock-warning-face',
18096 `compilation-warning', `compilation-info' (bug#6117).
18097
18098 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18099
18100 * progmodes/compile.el (compilation-error): Inherit from `error'.
18101 (compilation-warning): Inherit from `warning'.
18102 (compilation-info): Inherit from `success'.
18103
18104 * dired.el (dired-marked): Inherit from `warning'.
18105 (dired-flagged): Inherit from `error'.
18106
18107 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18108
18109 * mail/smtpmail.el (auth-source): Require to avoid problems with
18110 binding variables (bug#9298). Also clean up some unused
18111 autoloads.
18112
18113 * net/network-stream.el (network-stream-open-starttls):
18114 Support using starttls.el without using gnutls-cli.
18115
18116 2011-08-17 Juri Linkov <juri@jurta.org>
18117
18118 * progmodes/grep.el (rgrep): Handle the case when
18119 `grep-find-command' is a cons cell (bug#9278).
18120
18121 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18122
18123 * window.el (display-buffer-pop-up-frame): Run frame creation
18124 function with BUFFER current (as special-display-popup-frame
18125 does). Reported by Drew Adams.
18126
18127 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18128
18129 * epa-mail.el: Simplify GnuPG group expansion using
18130 epg-expand-group.
18131 (epa-mail-group-alist, epa-mail-group-modtime)
18132 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18133 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18134 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18135 Remove.
18136
18137 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18138
18139 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18140
18141 2011-08-16 Alan Mackenzie <acm@muc.de>
18142
18143 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18144 Correct, to avoid the inside of macros.
18145
18146 2011-08-16 Richard Stallman <rms@gnu.org>
18147
18148 * epa-mail.el: Handle GnuPG group definitions.
18149 (epa-mail-group-alist, epa-mail-group-modtime)
18150 (epa-mail-gnupg-conf-file): New variables.
18151 (epa-mail-parse-groups, epa-mail-sync-groups)
18152 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18153 (epa-mail-expand-recipients): New functions.
18154 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18155
18156 * mail/rmail.el (rmail-epa-decrypt): New command.
18157
18158 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18159 Don't bind buffer-read-only, just inhibit-read-only.
18160 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18161 (epa-decrypt-armor-in-region): Make error message clearer.
18162
18163 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18164
18165 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18166 and "a2b" to "ab" for `prefix'.
18167
18168 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18169
18170 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18171 filter groups.
18172 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18173 Fourquet (Bug#8804).
18174
18175 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18176
18177 * startup.el (argi): Declare as global variable (bug#9275).
18178
18179 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18180
18181 * subr.el (string-mark-left-to-right): Search the entire string
18182 for RTL script, not just the terminating character. Doc fix.
18183
18184 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18185
18186 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18187 New function.
18188 (js--regexp-literal, js-syntax-propertize-function): Remove.
18189 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18190 (js-mode-map): Don't rebind electric keys.
18191 (js-insert-and-indent): Remove.
18192 (js-mode): Setup electric-layout and electric-indent instead.
18193
18194 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18195
18196 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18197
18198 * epa.el (epa-progress-callback-function): Fix the logic of
18199 displaying progress.
18200 * epa-file.el (epa-file-insert-file-contents): Make progress
18201 display more user-friendly.
18202 (epa-file-write-region): Ditto.
18203
18204 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18205
18206 * subr.el (string-mark-left-to-right): New function.
18207
18208 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18209 Use string-mark-left-to-right.
18210 (list-buffers-noselect): Caller changed.
18211
18212 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18213 Use string-mark-left-to-right.
18214 (tabulated-list-print): Recenter after moving point.
18215
18216 2011-08-10 Juri Linkov <juri@jurta.org>
18217
18218 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18219 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18220 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18221
18222 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18223
18224 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18225 (Bug#7554).
18226
18227 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18228
18229 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18230 character. (Bug#6594)
18231
18232 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18233
18234 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18235 (image-dired--with-db-file): New macro.
18236 (image-dired-write-tags, image-dired-remove-tag)
18237 (image-dired-create-gallery-lists, image-dired-write-comments)
18238 (image-dired-get-comment, image-dired-mark-tagged-files)
18239 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18240 (image-dired-gallery-generate): Use insert-file-contents.
18241
18242 * time.el (display-time-world-list, display-time-world-display):
18243 * time-stamp.el (time-stamp-string):
18244 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18245 set-time-zone-rule (Bug#7337).
18246
18247 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18248
18249 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18250 (epg-error-to-string, epg-errors-to-string): New function.
18251 (epg-wait-for-completion): Reverse errors list.
18252 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18253 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18254 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18255 (epg-sign-keys, epg-generate-key-from-file)
18256 (epg-generate-key-from-string): Format errors by using
18257 epg-errors-to-string (bug#9255).
18258 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18259
18260 2011-08-07 Juri Linkov <juri@jurta.org>
18261
18262 * faces.el (list-faces-display): Remove extra angle bracket
18263 from `help-mode-map'.
18264
18265 * info.el (Info-history-toc-nodes): Doc fix.
18266
18267 * longlines.el (longlines-mode): Doc fix.
18268
18269 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18270
18271 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18272 of statements and in a few more cases (bug#9183).
18273
18274 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18275 New functions.
18276 (cl-transform-lambda): Use them (bug#9239).
18277
18278 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18279
18280 * window.el (display-buffer-same-window)
18281 (display-buffer-same-frame, display-buffer-other-window)
18282 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18283 (pop-to-buffer-other-window)
18284 (pop-to-buffer-same-frame-other-window)
18285 (pop-to-buffer-other-frame): Make them defuns.
18286 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18287
18288 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18289
18290 * subr.el (make-composed-keymap): Move from C. Change calling
18291 convention, and improve docstring to bring attention to a subtle point.
18292 * minibuffer.el (completing-read-default): Adjust accordingly.
18293
18294 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18295
18296 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18297 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18298
18299 * net/trampver.el: Update release number.
18300
18301 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18302
18303 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18304 "in" (bug#9190).
18305
18306 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18307
18308 * mail/sendmail.el (sendmail-query-once): Restore the current
18309 buffer after querying (bug#9074).
18310
18311 * dired.el (dired-flagged): Use different faces for marked and
18312 flagged files (bug#6117).
18313
18314 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18315 (bug#4433).
18316
18317 * ido.el (ido-mode): Switch off the message if called
18318 non-interactively.
18319
18320 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18321 before 587, since it appears that that's more likely to work for
18322 more people.
18323
18324 * cus-edit.el (custom-file): When running under emacs -q, always
18325 refuse to save the customizations, even if the .emacs file doesn't
18326 exist.
18327
18328 * info.el: Remove the `Info-beginning-of-buffer' function
18329 (bug#8325).
18330
18331 * net/network-stream.el (network-stream-open-starttls):
18332 Use `starttls-available-p' to see whether starttls.el can be used.
18333
18334 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18335
18336 * window.el (display-buffer-in-window): Don't set dedicated status
18337 of window here (Bug#9215).
18338 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18339 (display-buffer-pop-up-side-window)
18340 (display-buffer-in-side-window): Set dedicated status of window here.
18341
18342 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18343
18344 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18345 before binding generated-autoload-file.
18346
18347 2011-08-01 Deniz Dogan <deniz@dogan.se>
18348
18349 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18350
18351 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18352
18353 Sync with Tramp 2.2.2.
18354
18355 * net/trampver.el: Update release number.
18356
18357 2011-07-30 Juri Linkov <juri@jurta.org>
18358
18359 * dired-aux.el (dired-touch-initial): Remove function.
18360 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18361 current time, and `default' to the last modification time of the
18362 current marked file (bug#6887).
18363
18364 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18365
18366 * simple.el (goto-line): Use string-to-number to provide a
18367 numeric argument to read-number (bug#9163).
18368
18369 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18370
18371 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18372 connection process, it could be nil.
18373
18374 2011-07-27 Leo Liu <sdl.web@gmail.com>
18375
18376 Simplify url handling in rcirc-mode.
18377
18378 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18379 (rcirc-browse-url-at-mouse): Remove.
18380 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18381
18382 2011-07-26 Alan Mackenzie <acm@muc.de>
18383
18384 Fontify bitfield declarations properly.
18385
18386 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18387 (c-symbol-chars): Now exported as a lang variable.
18388 (c-not-primitive-type-keywords): New lang variable.
18389
18390 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18391 QT keyword "more" to prevent "more slots: ...." being spuriously
18392 parsed as a bitfield declaration.
18393
18394 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18395 Refactor and enhance to handle bitfield declarations.
18396 (c-punctuation-in): New function.
18397 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18398 declarations properly.
18399
18400 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18401
18402 * calendar/icalendar.el (icalendar--all-events): Take care of
18403 multiple vcalendars in a single file.
18404 (icalendar--convert-float-to-ical): Checkdoc fixes.
18405
18406 2011-07-25 Deniz Dogan <deniz@dogan.se>
18407
18408 * image.el (insert-image): Clarifying docstring.
18409
18410 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18411
18412 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18413 `tramp-send-command-and-check' if there is no error.
18414 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18415
18416 2011-07-22 Alan Mackenzie <acm@muc.de>
18417
18418 Prevent cc-langs.elc being loaded at run time.
18419
18420 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18421 cc-langs.
18422
18423 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18424 "(require 'cc-langs)". Quote a form so it will evaluate at
18425 (cc-mode's) compilation time.
18426
18427 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18428
18429 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18430 loading. (Bug#9114)
18431
18432 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18433
18434 * window.el (display-buffer-pop-up-window)
18435 (display-buffer-pop-up-side-window)
18436 (display-buffer-in-side-window): Call display-buffer-set-height
18437 and display-buffer-set-width after setting the new window's
18438 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18439
18440 2011-07-20 Sam Steingold <sds@gnu.org>
18441
18442 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18443 (etags-tags-included-tables): Call `convert-standard-filename' on
18444 the file names contained in TAGS so that windows Emacs can handle
18445 TAGS files created by cygwin ctags.
18446
18447 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18448
18449 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18450 which apparently didn't work.
18451
18452 2011-07-19 Roland Winkler <winkler@gnu.org>
18453
18454 * proced.el (proced-send-signal): For *Marked Processes* buffer
18455 put point at beginning of buffer.
18456
18457 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18458
18459 * proced.el (proced-format): Make header lines align with the text
18460 (bug#1779).
18461
18462 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18463
18464 * view.el (view-buffer): Allow running in `special' modes if we're
18465 visiting a file (bug#8615).
18466
18467 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18468
18469 * window.el (display-buffer-alist-of-strings-p)
18470 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18471 New functions.
18472 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18473 more accurately.
18474
18475 2011-07-18 Alan Mackenzie <acm@muc.de>
18476
18477 Fontify declarators properly when, e.g., a jit-lock chunk begins
18478 inside a declaration.
18479
18480 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18481
18482 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18483 New function.
18484 (c-complex-decl-matchers): Insert reference to
18485 c-font-lock-enclosing-decls.
18486
18487 * progmodes/cc-engine.el (c-backward-single-comment):
18488 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18489 to nil around calls to (forward-comment -1).
18490
18491 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18492
18493 * image.el (put-image): Doc typo fix.
18494
18495 * progmodes/etags.el (tags-search): Doc typo fix.
18496
18497 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18498 password if we get errors 550 to 554.
18499
18500 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18501
18502 * net/gnutls.el (gnutls-log-level): Remove.
18503
18504 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18505 indentation character (bug#6380).
18506
18507 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18508
18509 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18510 to clarify what the problem is (bug#4291).
18511
18512 * simple.el (current-kill): Clarify what
18513 `interprogram-paste-function' does (bug#7500).
18514 (auto-fill-mode): Document `auto-fill-function' in relation to
18515 `auto-fill-mode' (bug#2470).
18516
18517 2011-07-16 Lawrence Mitchell <wence@gmx.li>
18518
18519 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18520 method if slot is read-only (bug#9035).
18521
18522 2011-07-16 Martin Rudalics <rudalics@gmx.at>
18523
18524 * frame.el (select-frame-set-input-focus): New argument NORECORD.
18525 * window.el (pop-to-buffer): Select window used even if it was
18526 selected before, see discussion of (Bug#8615), (Bug#6954).
18527 Pass argument NORECORD on to select-frame-set-input-focus.
18528
18529 2011-07-15 Glenn Morris <rgm@gnu.org>
18530
18531 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
18532 Respect help-form.
18533
18534 2011-07-09 Lawrence Mitchell <wence@gmx.li>
18535
18536 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18537 (gnutls-negotiate): Use it.
18538
18539 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18540
18541 * net/gnutls.el (gnutls-negotiate):
18542 Upcase `gnutls-algorithm-priority'.
18543
18544 2011-07-15 Glenn Morris <rgm@gnu.org>
18545
18546 * jka-compr.el (jka-compr-verbose): Move from here...
18547 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18548 Add missing :version tag.
18549 * info.el: No need to require jka-compr when compiling.
18550
18551 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18552
18553 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18554 (gnutls-negotiate): Use it.
18555
18556 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18557
18558 * info.el (Info-beginning-of-buffer): New command.
18559 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18560 announcing `b' as the key (bug#8325).
18561 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18562
18563 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18564
18565 * international/mule-cmds.el
18566 (describe-specified-language-support): Make the error message
18567 clearer (bug#8905).
18568
18569 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18570
18571 * isearch.el (isearch-barrier): Add a doc string, since it's
18572 mentioned in a function doc string (bug#8678).
18573
18574 2011-07-15 Martin Rudalics <rudalics@gmx.at>
18575
18576 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18577 buffer argument (Bug#9083) and self-identifying label argument.
18578
18579 2011-07-15 Glenn Morris <rgm@gnu.org>
18580
18581 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18582
18583 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18584
18585 * man.el (Man-fontify-manpage): Fix message when formatting the
18586 man page (bug#7929).
18587
18588 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18589
18590 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18591 argument LRM; if non-nil, append an invisible LRM character to the
18592 buffer name.
18593 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18594 last argument non-nil, when formatting buffer names.
18595 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18596 paragraph direction.
18597
18598 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18599
18600 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18601 the man page name (bug#7929).
18602
18603 * image.el (put-image): Mention the `put-image' overlay property
18604 (bug#7834).
18605
18606 * scroll-bar.el (set-scroll-bar-mode): Mention that
18607 `scroll-bar-mode' lists the values (bug#7772).
18608
18609 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18610 command (bug#7729).
18611
18612 * rect.el (apply-on-rectangle): Return the point after the last
18613 operation.
18614 (string-rectangle): Go to the point after the last operation
18615 (bug#7522).
18616
18617 * printing.el (pr-toggle-region): Clarify the documentation
18618 slightly (bug#7493).
18619
18620 * time.el (display-time-update):
18621 Allow `display-time-mail-function' to return nil (bug#7158).
18622 Fix suggested by Detlev Zundel.
18623
18624 * vc/diff.el (diff): Clarify the order the file names are read
18625 (bug#7111).
18626
18627 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18628 the doc string (bug#7015).
18629
18630 * font-lock.el (font-lock-maximum-decoration): Mention what
18631 numeric levels mean (bug#6935).
18632
18633 * startup.el (initial-buffer-choice): Don't mention the `none'
18634 selection, which is against policy.
18635
18636 2011-07-14 Martin Rudalics <rudalics@gmx.at>
18637
18638 * window.el (display-buffer-normalize-special):
18639 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
18640
18641 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18642
18643 * subr.el (version<, version<=, version=): Mention "-CVS" and
18644 "-12345" alpha version numbers.
18645
18646 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18647
18648 * bindings.el: Add advertised binding for set-mark-command
18649 (Bug#5772).
18650
18651 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18652
18653 * bindings.el (mode-line-other-buffer):
18654 * bookmark.el (bookmark-bmenu-2-window):
18655 * bs.el (bs-cycle-next, bs-cycle-previous):
18656 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18657 switch-to-buffer.
18658
18659 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18660 Delete.
18661
18662 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
18663
18664 * follow.el (follow-debug-message, follow-redisplay):
18665 * jka-cmpr-hook.el (with-auto-compression-mode):
18666 Fix typos in docstrings.
18667
18668 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18669
18670 * subr.el (with-silent-modifications): Clarify somewhat what the
18671 macro inhibits (bug#6525).
18672
18673 * simple.el (eval-expression): Note what it does if called
18674 interactively (bug#6495).
18675
18676 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18677
18678 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18679 Use pop-to-buffer buffer-or-name if it is nil.
18680
18681 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18682 Remove switch-to-buffer.
18683
18684 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18685
18686 * files.el (make-directory): Clarify that an error will be raised
18687 if there's an error (bug#6397).
18688
18689 * startup.el (initial-buffer-choice): Add `none' as a choice
18690 (bug#6234).
18691
18692 * subr.el (add-hook): Clarify section about buffer-local hooks
18693 (bug#6218).
18694
18695 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18696
18697 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18698
18699 * tabify.el (untabify): Preserve the current column so that point
18700 doesn't move (bug#6032).
18701
18702 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18703
18704 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18705 Rewrite to avoid awkward possessive "s" (bug#5986).
18706
18707 2011-07-13 Glenn Morris <rgm@gnu.org>
18708
18709 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18710 (dired-insert-directory): Give a message the first time
18711 if ls is found not to support --dired.
18712
18713 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18714
18715 * simple.el (toggle-truncate-lines): Clarify what is toggled
18716 (bug#5580). Text by Drew Adams.
18717
18718 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18719
18720 * simple.el (blink-matching-open): Make the error message from the
18721 last change less verbose.
18722
18723 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18724
18725 * font-lock.el (font-lock-comment-face): Use the high contrast
18726 "yellow" color for font-lock-comment-face on low color terminals
18727 using a dark background color (bug#4221).
18728
18729 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18730
18731 * dired.el (dired-insert-set-properties): Make the doc string
18732 reflect what it does now (bug#5325).
18733
18734 * simple.el (blink-matching-open): Say that we were unable to find
18735 the match within the limit, if we're limited (bug#5122).
18736
18737 * international/mule-cmds.el (prefer-coding-system): Add an
18738 example (bug#4869).
18739
18740 * progmodes/etags.el (tags-search): Document `file-list-form'
18741 (bug#4731).
18742
18743 2011-07-13 Lawrence Mitchell <wence@gmx.li>
18744
18745 * net/browse-url.el (browse-url-default-browser)
18746 (browse-url-browser-function): Make the default browser choice a
18747 bit more logical (bug#4300). Also clean up the doc string.
18748
18749 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18750
18751 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18752 binary endings (bug#4440).
18753
18754 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18755
18756 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18757 which can be pretty annoying (bug#8971).
18758
18759 * jka-compr.el (jka-compr-verbose): New variable, and use
18760 throughout (bug#8971).
18761
18762 * info.el (Info-find-file): Fall back on the installation
18763 directory if we can't find the info node anywhere else.
18764
18765 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
18766
18767 * vc/vc.el (vc-revert-file):
18768 Don't set file time-stamp in the past. (Bug#5181)
18769
18770 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18771
18772 * files.el (after-find-file): Give a better error message when
18773 trying to find a symlink that points to a file that doesn't exist
18774 (bug#4398).
18775
18776 * progmodes/cc-vars.el: Remove (probably) misleading comment
18777 (bug#4396).
18778
18779 2011-07-12 Johan Bockgård <bojohan@gnu.org>
18780
18781 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18782
18783 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
18784
18785 * mouse-sel.el: Hack restoring functionality, while keeping
18786 compatibility with 2010-07-03 changes to mouse selection.
18787 (mouse-sel-primary-overlay): New var.
18788 (mouse-sel-selection-alist): Use it.
18789 (mouse-sel-mode): Doc fix; remove points that are default features
18790 of mouse.el.
18791
18792 2011-07-12 Johan Bockgård <bojohan@gnu.org>
18793
18794 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18795 Fix previous fix (bug#2490).
18796
18797 2011-07-12 Roland Winkler <winkler@gnu.org>
18798
18799 * textmodes/bibtex.el (bibtex-initialize):
18800 Use pop-to-buffer-same-window.
18801 (bibtex-search-entries): Fix interactive call.
18802
18803 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18804
18805 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18806 Fontise bytecomp Error lines more correctly (bug#2490).
18807 Fix suggested by Johan Bockgård.
18808
18809 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18810
18811 * dired-x.el (dired-guess-default): Use `delete-dups'.
18812
18813 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
18814
18815 * dired.el (dired-mark-prompt):
18816 * dired-aux.el (dired-read-shell-command): Doc fix.
18817
18818 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18819
18820 * mail/sendmail.el (sendmail-query-once):
18821 Use `customize-save-variable' unconditionally, now that it works under
18822 emacs -Q.
18823
18824 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18825
18826 * cus-edit.el (custom-file): Take an optional no-error variable.
18827 (customize-save-variable): Set the variable, and give a warning if
18828 running under "emacs -q".
18829
18830 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
18831
18832 * loadhist.el (unload-feature-special-hooks):
18833 Add `auto-coding-functions', `fill-nobreak-predicate' and
18834 `find-directory-functions' (bug#5327).
18835
18836 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18837
18838 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18839
18840 * cus-edit.el (custom-guess-name-alist): -alist variables should
18841 use the `alist' type (bug#3120). Suggested by Drew Adams.
18842
18843 * printing.el: Add documentation to all the `pr-toggle-' commands.
18844
18845 2011-07-11 Leo Liu <sdl.web@gmail.com>
18846
18847 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18848 backends where it makes sense (bug#2623).
18849
18850 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18851
18852 * dired-x.el (dired-guess-default): Remove duplicate shell command
18853 entries (bug#2028).
18854 (dired-guess-default): Fix grammar in doc string (bug#2028).
18855 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
18856
18857 * subr.el (remove-duplicates): New conveniency function.
18858
18859 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
18860
18861 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18862 (bug#1526).
18863
18864 2011-07-10 Martin Rudalics <rudalics@gmx.at>
18865
18866 * window.el (display-buffer-normalize-default): Don't invert
18867 meaning of even-window-heights. Reported by Eli Zaretskii
18868 <eliz@gnu.org>.
18869
18870 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
18871
18872 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18873
18874 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
18875
18876 * window.el (display-buffer): Fix arguments to
18877 display-buffer-reuse-window in last change.
18878
18879 * faces.el (link): Use a less saturated blue on light backgrounds.
18880
18881 * startup.el (fancy-startup-text, fancy-about-text)
18882 (fancy-startup-tail): Use font-lock faces, for background safety.
18883
18884 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
18885
18886 * emulation/viper-cmd.el (viper-change-state-to-vi):
18887 Limit triggering of abbrev expansion (Bug#9038).
18888
18889 2011-07-09 Martin Rudalics <rudalics@gmx.at>
18890
18891 * window.el (display-buffer-default-specifiers): Remove.
18892 (display-buffer-macro-specifiers): Remove default specifiers.
18893 (display-buffer-alist): Default to nil.
18894 (display-buffer-reuse-window): New optional argument other-window.
18895 (display-buffer-pop-up-window): Allow splitting internal
18896 windows. Check whether a live window was created.
18897 (display-buffer-other-window-means-other-frame)
18898 (display-buffer-normalize-arguments): Rename to
18899 display-buffer-normalize-argument and rewrite. Set the
18900 other-window specifier.
18901 (display-buffer-normalize-special): New function.
18902 (display-buffer-normalize-options): Rename to
18903 display-buffer-normalize-default and rewrite.
18904 (display-buffer-normalize-options-inhibit): Remove.
18905 (display-buffer-normalize-specifiers): Rewrite.
18906 (display-buffer): Process other-window specifier and call
18907 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
18908 more faithfully.
18909 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
18910 (display-buffer-alist-set): Don't handle 'unset default values.
18911 (display-buffer-in-window, display-buffer-alist-set):
18912 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
18913 <tassilo@member.fsf.org>.
18914
18915 2011-07-09 Leo Liu <sdl.web@gmail.com>
18916
18917 * register.el (insert-register): Restore accidental change on
18918 2011-06-26. (Bug#9028)
18919
18920 2011-07-09 Glenn Morris <rgm@gnu.org>
18921
18922 * subr.el (remq): Handle the empty list. (Bug#9024)
18923
18924 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
18925
18926 * mail/sendmail.el (send-mail-function): No longer delay custom
18927 initialization.
18928 * custom.el (custom-initialize-delay): Doc fix.
18929
18930 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18931
18932 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18933
18934 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
18935
18936 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18937 human-friendly prompt.
18938
18939 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18940
18941 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18942 provided by a particular plugin.
18943
18944 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18945
18946 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18947 save customizations (with "emacs -Q"), just set the variable
18948 instead of erroring out.
18949
18950 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18951
18952 2011-07-08 Juri Linkov <juri@jurta.org>
18953
18954 * arc-mode.el (archive-zip-expunge, archive-zip-update)
18955 (archive-zip-update-case): Use 7z if found by `executable-find'.
18956 The order of searching the available programs is the same as in
18957 `archive-zip-extract' (bug#8968).
18958
18959 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18960
18961 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18962 (menu-bar-options-menu): Tweak descriptions.
18963
18964 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18965
18966 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18967 menu items into verb phrases (bug#1421). Also refill to fit under
18968 80 columns.
18969
18970 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18971
18972 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18973 (Info-read-node-name): Doc fix (Bug#1084).
18974
18975 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18976 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18977 (end-of-sexp, beginning-of-sexp)
18978 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18979 (forward-symbol, forward-same-syntax, word-at-point)
18980 (sentence-at-point): Doc fix (Bug#1144).
18981
18982 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18983
18984 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18985 should cover it (bug#1281).
18986
18987 * cus-edit.el (custom-show): Mark as obsolete.
18988
18989 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
18990 negotiation fails, then possibly try again with a non-encrypted
18991 connection (bug#9017).
18992
18993 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
18994 be used.
18995
18996 2011-07-07 Richard Stallman <rms@gnu.org>
18997
18998 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18999 property, and handle its changed format.
19000 Look for the correct line number.
19001 Use file's line contents (but not past first =) to find
19002 correct line in message.
19003
19004 2011-07-07 Kenichi Handa <handa@m17n.org>
19005
19006 * international/characters.el (build-unicode-category-table):
19007 Delete it.
19008 (unicode-category-table): Set it by unicode-property-table-internal.
19009
19010 * international/mule-cmds.el (char-code-property-alist): Move to
19011 to src/chartab.c.
19012 (get-char-code-property): Call unicode-property-table-internal to
19013 load a file. Call get-unicode-property-internal where necessary.
19014 (put-char-code-property): Call unicode-property-table-internal to
19015 load a file. Call put-unicode-property-internal where necessary.
19016 put-unicode-property-internal where necessary.
19017 (char-code-property-description):
19018 Call unicode-property-table-internal to load a file.
19019
19020 * international/charprop.el:
19021 * international/uni-bidi.el:
19022 * international/uni-category.el:
19023 * international/uni-combining.el:
19024 * international/uni-comment.el:
19025 * international/uni-decimal.el:
19026 * international/uni-decomposition.el:
19027 * international/uni-digit.el:
19028 * international/uni-lowercase.el:
19029 * international/uni-mirrored.el:
19030 * international/uni-name.el:
19031 * international/uni-numeric.el:
19032 * international/uni-old-name.el:
19033 * international/uni-titlecase.el:
19034 * international/uni-uppercase.el: Regenerate.
19035
19036 * loadup.el: Load international/charprop.el before
19037 international/characters.
19038
19039 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19040
19041 * window.el (next-buffer, previous-buffer): Signal an error if
19042 called from a minibuffer window.
19043
19044 * bindings.el: Revert 2011-07-04 change.
19045
19046 2011-07-06 Richard Stallman <rms@gnu.org>
19047
19048 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19049 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19050 Treat markers like ints.
19051 (rmail-mime-entity): Doc fix.
19052
19053 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19054
19055 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19056 defcustom again for backwards compatibility.
19057
19058 * simple.el (shell-command-on-region): Fill.
19059
19060 * dired-aux.el (dired-kill-line): Add a doc string.
19061
19062 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19063 to "\\sw\\|\\s_" (bug#358).
19064
19065 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19066 (dired-unmark-backward): Ditto.
19067 (dired-flag-backup-files): Ditto.
19068
19069 * dired-x.el (dired-mark-sexp): Ditto.
19070
19071 2011-07-06 Richard Stallman <rms@gnu.org>
19072
19073 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19074 (rmail-mime-entity): New arg TRUNCATED.
19075 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19076 New functions.
19077 (rmail-mime-save): Warn if entity is truncated.
19078 (rmail-mime-toggle-hidden): Likewise, for showing.
19079 (rmail-mime-process-multipart): Record when an entity is truncated.
19080
19081 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19082 if ENTITY is a string.
19083
19084 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19085
19086 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19087 of faces when `M-C-x'-ing their definitions (bug#8378).
19088 Also clean up the code slightly.
19089
19090 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19091 because that makes the colors go away.
19092
19093 * mail/sendmail.el (send-mail-function): Change the default to
19094 `sendmail-query-once'.
19095 (sendmail-query-once): Add an autoload cookie.
19096
19097 * net/network-stream.el (network-stream-open-starttls): Try using
19098 a plain connection even if the server offered STARTTLS, and we
19099 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19100 capability. This should make smtpmail.el work in slightly more
19101 configurations.
19102
19103 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19104
19105 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19106 New defun.
19107 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19108
19109 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19110
19111 * progmodes/sql.el: Version 3.0
19112 (sql-product-alist): Add product :completion-object,
19113 :completion-column, and :statement attributes.
19114 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19115 (sql-mode-syntax-table): Mark all punctuation.
19116 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19117 ansi keywords.
19118 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19119 (sql-mode-oracle-font-lock-keywords): Improve.
19120 (sql-oracle-show-reserved-words): New function for development.
19121 (sql-product-font-lock): Simplify for source code buffers.
19122 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19123 New functions.
19124 (sql-highlight-product): Set product specific syntax table.
19125 (sql-mode-map): Add statement movement functions.
19126 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19127 New variable.
19128 (sql-statement-regexp, sql-beginning-of-statement)
19129 (sql-end-of-statement, sql-signum): New functions.
19130 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19131 (sql-show-sqli-buffer): Bug fix.
19132 (sql-interactive-mode): Store connection data as buffer local.
19133 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19134 with sql-interactive-mode.
19135 (sql-save-connection): Save buffer local settings.
19136 (sql-connection-menu-filter): Change menu entry name.
19137 (sql-product-interactive): Bug fix.
19138 (sql-preoutput-hold): New variable.
19139 (sql-interactive-remove-continuation-prompt): Bug fixes.
19140 (sql-debug-redirect): New variable.
19141 (sql-str-literal): New function.
19142 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19143 Redesign.
19144 (sql-oracle-save-settings, sql-oracle-restore-settings)
19145 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19146 (sql-completion-object, sql-completion-column)
19147 (sql-completion-sqlbuf): New variables.
19148 (sql-build-completions-1, sql-build-completions)
19149 (sql-try-completion): New functions.
19150 (sql-read-table-name): Use them.
19151 (sql-contains-names): New buffer local variable.
19152 (sql-list-all, sql-list-table): Use it.
19153 (sql-oracle-completion-types): New variable.
19154 (sql-oracle-completion-object, sql-sqlite-completion-object)
19155 (sql-postgres-completion-object): New functions.
19156
19157 2011-07-06 Glenn Morris <rgm@gnu.org>
19158
19159 * window.el (pop-to-buffer): Doc fix.
19160
19161 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19162
19163 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19164
19165 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19166
19167 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19168
19169 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19170
19171 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19172
19173 * button.el (button): Inherit from link face. Suggested by Dan
19174 Nicolaescu.
19175
19176 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19177
19178 * progmodes/gdb-mi.el: Fit in 80 columns.
19179 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19180 switch-to-buffer.
19181
19182 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19183 if imenu is simply not configured (bug#8941).
19184
19185 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19186
19187 * allout.el (allout-post-undo-hook): New allout outline-change
19188 event hook to signal undo activity.
19189 (allout-post-command-business): Run allout-post-undo-hook if an
19190 undo just occurred.
19191 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19192 * allout-widgets.el (allout-widgets-after-undo-function):
19193 Ensure the integrity of the current item's decoration after it has been
19194 in the vicinity of an undo.
19195 (allout-widgets-mode): Include allout-widgets-after-undo-function
19196 on the new allout-post-undo-hook.
19197
19198 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19199
19200 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19201 Let define-derived-mode define it.
19202 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19203 cycles of abbrev-table inheritance (bug#8998).
19204
19205 2011-07-05 Roland Winkler <winkler@gnu.org>
19206
19207 * textmodes/bibtex.el: Add support for biblatex.
19208 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19209 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19210 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19211 (bibtex-entry-alist, bibtex-field-alist): New variables.
19212 (bibtex-entry-field-alist): Obsolete alias for
19213 bibtex-BibTeX-entry-alist.
19214 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19215 (bibtex-set-dialect): New command.
19216 (bibtex-entry-type, bibtex-entry-head)
19217 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19218 Bind via bibtex-set-dialect.
19219 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19220 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19221 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19222 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19223 Define via bibtex-set-dialect.
19224 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19225 Obey bibtex-no-opt-remove-re.
19226 (bibtex-vec-push, bibtex-vec-incr): New functions.
19227 (bibtex-format-entry, bibtex-field-list)
19228 (bibtex-print-help-message, bibtex-validate)
19229 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19230
19231 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19232
19233 * progmodes/compile.el (compilation-goto-locus):
19234 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19235 * bs.el (bs-cycle-next, bs-cycle-previous):
19236 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19237 * bindings.el (mode-line-other-buffer):
19238 * autoinsert.el (auto-insert):
19239 * arc-mode.el (archive-extract):
19240 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19241
19242 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19243
19244 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19245 Fix check of `emacs-lock-unlockable-modes'.
19246 Coerce true values of `emacs-lock--try-unlocking' to t.
19247
19248 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19249
19250 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19251 * emacs-lock.el: New file.
19252
19253 2011-07-05 Julien Danjou <julien@danjou.info>
19254
19255 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19256 than `boundp' to check if face is set.
19257
19258 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19259
19260 * register.el (registerv-make):
19261 * window.el (window-min-height): Fix typos in docstrings.
19262
19263 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19264
19265 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19266 Update doc string.
19267
19268 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19269
19270 * server.el (server-execute): Catch quit and call
19271 `server-return-error' to pass the error back to emacsclient and
19272 close the connection (bug#8942).
19273
19274 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19275
19276 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19277 insecure exception for current topic. Also note that auto-saves
19278 are handled differently.
19279
19280 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19281 State variables for tracking auto-save inhibition situation.
19282
19283 (allout-write-contents-hook-handler): Rename from
19284 'allout-write-file-hook-handler', and describe how it depends on
19285 write-contents-functions sensitivity to non-nil value to prevent
19286 file write.
19287
19288 (allout-auto-save-hook-handler): Remove. auto-save does not check
19289 this in individual buffers, only in the starting buffer, so this
19290 is not the right way for us to inhibit auto-save in a buffer
19291 according to its condition.
19292
19293 (allout-mode): Use new allout-write-contents-hook-handler, and
19294 only with write-contents-functions. Remove auto-save provisions -
19295 they're implemented elsewhere.
19296
19297 (allout-before-change-handler): If undo is in progress, note that
19298 for attention of allout-post-command-business.
19299
19300 (allout-post-command-business): If the command we're following was
19301 an undo, check for change in the status of encrypted items and
19302 adjust auto-save inhibitions accordingly.
19303
19304 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19305 according to whether there are or aren't any plain-text topics
19306 pending encryption.
19307
19308 (allout-inhibit-auto-save-info-for-decryption):
19309 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19310 if there are plain-text topics pending encryption.
19311
19312 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19313 buffer-saved-size and some allout state to not inhibit auto-saves
19314 if there are no longer any plain-text topics pending encryption.
19315
19316 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19317 No longer provide for exemption of the current topic.
19318
19319 2011-07-04 Juri Linkov <juri@jurta.org>
19320
19321 Add 7z operations to delete and save changed members (bug#8968).
19322 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19323 New defcustoms.
19324 (archive-7z-write-file-member): New function.
19325 (archive-7z-summarize): Fix the number of dashes in the
19326 listing output.
19327
19328 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19329
19330 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19331 (bug#8958).
19332
19333 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19334
19335 * bindings.el: Ignore next-buffer and previous-buffer in
19336 minibuffer-local-map.
19337
19338 * font-lock.el (font-lock-builtin-face): Change light background
19339 color to dark slate blue (Bug#6693).
19340
19341 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19342
19343 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19344
19345 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19346
19347 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19348 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19349 Add switch-to-buffer.
19350
19351 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19352
19353 * isearch.el (isearch-search-fun-function): Clarify further the
19354 meaning of the function returned.
19355
19356 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19357
19358 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19359
19360 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19361 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19362 Use it.
19363 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19364 `tramp-default-remote-path' does not exist.
19365 (tramp-send-command-and-read): New optional argument NOERROR.
19366 (tramp-open-connection-setup-interactive-shell)
19367 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19368 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19369 (tramp-process-sentinel): Flush also process' connection property.
19370 (tramp-sh-handle-start-file-process): Do not set process
19371 sentinel. It is done now ...
19372 (tramp-maybe-open-connection): ... here. (Bug#8929)
19373
19374 2011-07-04 MON KEY <monkey@sandpframing.com>
19375
19376 * play/animate.el (animate-string): Doc fixes and allow changing
19377 the buffer name (bug#5417).
19378
19379 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19380
19381 * play/animate.el (animation-buffer-name): Rename from *animate*.
19382
19383 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19384
19385 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19386 This is simpler and helps future-proof the code.
19387 (timer-until): Use time-subtract and float-time.
19388 (timer--time-less-p): Use time-less-p.
19389
19390 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19391
19392 * type-break.el (timep): Use the value of `float-time' to avoid a
19393 byte-compiler warning.
19394
19395 * server.el (server-eval-and-print): Return any result, even nil.
19396
19397 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19398
19399 * type-break.el: Accept time formats that the builtins accept.
19400 (timep, type-break-time-difference): Accept any format that
19401 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19402 This is simpler and helps future-proof the code.
19403 (type-break-time-difference): Round rather than ignoring
19404 subseconds components.
19405
19406 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19407
19408 * info.el (Info-apropos-matches): Make non-interactive, since it
19409 doesn't seem to do anything useful as a command (bug#8829).
19410
19411 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19412
19413 * frame.el (frame-background-mode, frame-set-background-mode):
19414 Move from faces.el.
19415 (frame-default-terminal-background): New function.
19416
19417 * custom.el (custom-push-theme): Don't record faces in `changed'
19418 theme; this doesn't work correctly for per-frame face settings.
19419 (disable-theme): Use face-set-after-frame-default to reset faces.
19420 (custom--frame-color-default): New function.
19421
19422 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19423
19424 * dired.el (dired-flagging-regexp): Remove unused variable
19425 (bug#8769).
19426
19427 2011-03-29 Kevin Ryde <user42@zip.com.au>
19428
19429 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19430 `perl-Test2' extend to match possible "fail #N" rep count
19431 (bug#8377).
19432
19433 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19434
19435 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19436 `smtpmail-via-smtp' now returns the error instead of nil.
19437
19438 * isearch.el (isearch-search-fun-function): Clarify the doc string
19439 (bug#8101).
19440
19441 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19442
19443 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19444 unnecessary spaces (bug#8987).
19445
19446 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19447
19448 * net/network-stream.el (open-network-stream): Use the
19449 :end-of-capability command thoughout.
19450
19451 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19452
19453 * net/network-stream.el (open-network-stream): Add the
19454 :end-of-capability command parameter, used by pop3.el.
19455
19456 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19457
19458 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19459
19460 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19461 for list)" (bug#6475).
19462
19463 * files.el (file-expand-wildcards): Ignore non-readable
19464 sub-directories while trying to find matches instead of signaling
19465 an error (bug#6297).
19466
19467 * man.el (Man-reference-regexp): Allow matching possible
19468 word-wrapped references (bug#6289).
19469
19470 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19471 for consistency with the other vc buffers (bug#6197).
19472 (vc-checkin): Ditto.
19473
19474 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19475
19476 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19477
19478 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19479
19480 * custom.el (defcustom): Clarify that :set is only used in the
19481 Customize user interface (bug#6089).
19482
19483 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19484 associated with a file, refuse to run instead of erroring out
19485 (bug#6084).
19486
19487 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19488 the doc string, since it appears that using `fill-column' always
19489 controls the width (bug#7845).
19490
19491 * simple.el (shell-command-on-region): Say where the error output
19492 went if `shell-command-default-error-buffer' is set (bug#6857).
19493
19494 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19495
19496 * allout.el (allout-yank-processing): Adjust cursor position for
19497 backwards-deleted space.
19498
19499 (allout-rebullet-heading): Register changes with
19500 allout-exposure-changed-hook, so the modified topic is properly
19501 decorated.
19502
19503 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19504
19505 * minibuffer.el (completion-in-region): Document PREDICATE
19506 (bug#7136).
19507
19508 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19509 of keyword/argument pairs (bug#6904).
19510
19511 * replace.el (multi-occur):
19512 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19513
19514 2011-07-02 Drew Adams <drew.adams@oracle.com>
19515
19516 * dired.el (dired-mark-if): Make the message about whether it's
19517 marking or unmarking clearer (bug#8523).
19518
19519 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19520
19521 * disp-table.el (display-table-print-array): New function.
19522 (describe-display-table): Use it to print the vectors more pretty
19523 (Bug#8859).
19524
19525 2011-07-02 Martin Rudalics <rudalics@gmx.at>
19526
19527 * window.el (window-state-get-1): Don't assign clone numbers.
19528 Add clone-of item to list of window parameters.
19529 (window-state-put-2): Don't process clone numbers.
19530 (display-buffer-alist): Fix doc-string.
19531
19532 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19533
19534 * subr.el (remq): Don't allocate if it's not needed.
19535 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19536 (keymap--merge-bindings): New functions.
19537 (keymap-canonicalize): Use them to refine the canonicalization.
19538 * minibuffer.el (minibuffer-local-completion-map)
19539 (minibuffer-local-must-match-map): Move initialization from C.
19540 (minibuffer-local-filename-completion-map): Move initialization from C;
19541 don't inherit from anything here.
19542 (minibuffer-local-filename-must-match-map): Make obsolete.
19543 (completing-read-default): Use make-composed-keymap to combine
19544 minibuffer-local-filename-completion-map with either
19545 minibuffer-local-must-match-map or
19546 minibuffer-local-filename-completion-map.
19547
19548 2011-07-01 Glenn Morris <rgm@gnu.org>
19549
19550 * type-break.el (type-break-time-sum): Use dolist.
19551
19552 * textmodes/flyspell.el (flyspell-word-search-backward):
19553 Replace CL function.
19554
19555 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19556
19557 * mouse.el (mouse--strip-first-event): New function.
19558 (function-key-map): Use it to map fringe clicks to normal clicks
19559 by default.
19560
19561 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19562 (vc-bzr-revision-completion-table): Add support for annotate and date.
19563
19564 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19565 inherit from parent.
19566
19567 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19568
19569 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19570 (dired-show-file-type): Doc fixup (bug#8818).
19571
19572 * dired.el (dired-mode): Fix up the doc string as suggested by
19573 Drew Adams (bug#8817).
19574
19575 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19576 cookie, since the manual says that it should be possible to add
19577 this function to `find-file-hook' (bug#8709).
19578
19579 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19580
19581 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19582 here. Noted Ted Zlatanov as the maintainer.
19583 (cfengine-common-settings, cfengine-common-syntax): New functions
19584 to set up common things between `cfengine-mode' and
19585 `cfengine3-mode'.
19586 (cfengine3-mode): New mode.
19587 (cfengine3-defuns cfengine3-defuns-regex
19588 (cfengine3-class-selector-regex cfengine3-category-regex)
19589 (cfengine3-vartypes cfengine3-font-lock-keywords)
19590 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19591 (cfengine3-indent-line): Add from cfengine3.el.
19592
19593 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
19594
19595 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19596
19597 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19598
19599 2011-07-01 Martin Rudalics <rudalics@gmx.at>
19600
19601 * window.el (same-window-buffer-names, same-window-regexps)
19602 (same-window-p, special-display-frame-alist)
19603 (special-display-popup-frame, special-display-function)
19604 (special-display-buffer-names, special-display-regexps)
19605 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19606 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19607 (split-window-preferred-function, split-height-threshold)
19608 (split-width-threshold, even-window-heights)
19609 (display-buffer-mark-dedicated, window-splittable-p)
19610 (split-window-sensibly, window-safely-shrinkable-p):
19611 Un-obsolete.
19612 (display-buffer): Don't spread args with function specifier
19613 because special-display-popup-frame won't like it.
19614
19615 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19616
19617 Time-stamp simplifications and fixes.
19618 These improve accuracy slightly, and future-proof the code
19619 against some potential changes to current-time format.
19620
19621 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19622 by using time-since and float-time.
19623
19624 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19625 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19626 + NNN microseconds".
19627
19628 * type-break.el (type-break-time-sum): Rewrite using time-add.
19629
19630 * play/hanoi.el (hanoi-current-time-float): Remove.
19631 All uses replaced by float-time.
19632
19633 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19634 This yields a more-accurate answer.
19635 (rng-time-to-float): Remove; no longer needed.
19636
19637 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19638
19639 * calendar/timeclock.el (timeclock-seconds-to-time):
19640 Defalias to seconds-to-time, since they're the same thing.
19641
19642 * emacs-lisp/elp.el (elp-elapsed-time):
19643 * emacs-lisp/benchmark.el (benchmark-elapse):
19644 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19645
19646 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19647
19648 * window.el (bury-buffer): Don't iconify the only frame.
19649 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19650 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19651
19652 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
19653
19654 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19655 Add mouse-yank-primary.
19656
19657 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19658
19659 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19660
19661 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19662
19663 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19664 (find-library-name): Use it to find relative load names when provided
19665 absolute file name (bug#8803).
19666
19667 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19668
19669 * textmodes/flyspell.el (flyspell-word): Consider words that
19670 differ only in case as potential doublons (bug#5687).
19671
19672 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19673 Remove two rather uninteresting debugging-like messages to make
19674 debbugs.el more silent.
19675
19676 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19677 a password-like phrase.
19678
19679 2011-06-30 Masatake YAMATO <yamato@redhat.com>
19680
19681 * progmodes/cc-guess.el: New file.
19682
19683 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
19684
19685 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19686 derived from `c-basic-common-init'.
19687
19688 * progmodes/cc-mode.el (top-level): Require cc-guess.
19689 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19690
19691 2011-06-30 Lawrence Mitchell <wence@gmx.li>
19692
19693 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19694
19695 2011-06-30 Alan Mackenzie <acm@muc.de>
19696
19697 * progmodes/cc-engine.el (c-guess-continued-construct):
19698 Correct the handling of template-args-cont, particularly for when font
19699 lock is disabled. Name this case as "CASE G".
19700
19701 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19702
19703 * allout.el (allout-yank-processing): Fix injection of extra space
19704 between bullet and non-whitespace character in first topic when
19705 pasting, ensuring that the actual spacing in the pasted topic
19706 following the bullet char is preserved. This extra space was
19707 causing pasted encrypted topics to get a decrypted status even
19708 when the content was actually still encrypted. Now the decryption
19709 status from before the paste is preserved.
19710
19711 (allout-flag-region): Set all allout overlays so they evaporate
19712 when reduced to zero length (evanescent), to prevent overlay
19713 leakage.
19714
19715 2011-06-30 Glenn Morris <rgm@gnu.org>
19716
19717 * w32-fns.el (w32-charset-info-alist): Declare.
19718
19719 * find-dired.el (find-grep-options): Simplify.
19720
19721 * term/ns-win.el (ns-set-resource): Declare.
19722
19723 * ses.el (row, col): Declare dynamic variables honestly.
19724
19725 * textmodes/reftex-parse.el (index-tags): Declare.
19726
19727 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
19728
19729 * cus-edit.el (customize-push-and-save): New function.
19730
19731 * files.el (hack-local-variables-confirm): Use it.
19732
19733 * custom.el (load-theme): New arg NO-CONFIRM.
19734 Use customize-push-and-save (Bug#8720).
19735 (custom-enabled-themes): Doc fix.
19736
19737 * cus-theme.el (customize-create-theme)
19738 (custom-theme-merge-theme): Callers to load-theme changed.
19739
19740 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19741
19742 * thingatpt.el (thing-at-point-short-url-regexp): Require that
19743 short URLs have at least one dot in them (bug #7614).
19744
19745 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19746 nil, because using a pty is apparently too slow (bug #895).
19747
19748 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
19749
19750 * mail/sendmail.el (sendmail-query-once): New function.
19751 (sendmail-query-once-function): New variable.
19752
19753 2011-06-29 Glenn Morris <rgm@gnu.org>
19754
19755 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19756
19757 * ses.el (top-level): Require cl when compiling.
19758 (ses-set-localvars): Fix error statement.
19759 Call it at compile time to silence a storm of warnings.
19760
19761 2011-06-29 Martin Rudalics <rudalics@gmx.at>
19762
19763 * window.el (normalize-live-buffer): Rename to
19764 window-normalize-buffer.
19765 (normalize-live-frame): Rename to window-normalize-frame.
19766 (normalize-any-window): Rename to window-normalize-any-window.
19767 (normalize-live-window): Rename to window-normalize-live-window.
19768 (make-window-atom): Rename to window-make-atom.
19769 (window-resize-reset): Rename to window--resize-reset.
19770 (window-resize-reset-1): Rename to window--resize-reset-1.
19771 (resize-mini-window): Rename to window--resize-mini-window.
19772 (resize-subwindows-skip-p): Rename to
19773 window--resize-subwindows-skip-p.
19774 (resize-subwindows-normal): Rename to
19775 window--resize-subwindows-normal.
19776 (resize-subwindows): Rename to window--resize-subwindows.
19777 (resize-other-windows): Rename to window--resize-siblings.
19778 (resize-this-window): Rename to window--resize-this-window.
19779 (resize-root-window): Rename to window--resize-root-window.
19780 (resize-root-window-vertically): Rename to
19781 window--resize-root-window-vertically.
19782 (normalize-buffer-to-display): Rename to
19783 window-normalize-buffer-to-display.
19784 (normalize-buffer-to-switch-to): Rename to
19785 window-normalize-buffer-to-switch-to.
19786 Correspondingly update all callers of the functions listed
19787 above.
19788 (display-buffer-alist, display-buffer-normalize-arguments)
19789 (display-buffer-normalize-options, display-buffer)
19790 (display-buffer-alist-set): Use "function" instead of
19791 "fun-with-args".
19792
19793 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
19794
19795 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19796 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19797 debbugs.gnu.org. Mention acknowledgment email.
19798
19799 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19800
19801 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19802 buffer multibyteness, since it shouldn't matter.
19803
19804 2011-06-28 Martin Rudalics <rudalics@gmx.at>
19805
19806 * window.el (display-buffer-in-side-window): Handle dedicated
19807 windows as in display-buffer-reuse-window.
19808 (display-buffer-normalize-alist): Use value of override
19809 specifier.
19810 (display-buffer-normalize-specifiers): Use value of
19811 other-window-means-other-frame specifier.
19812 (display-buffer-alist): Rewrite some texts in widgets.
19813 (display-buffer): Spread arguments when calling function
19814 specified by fun-with-args.
19815
19816 2011-06-28 Deniz Dogan <deniz@dogan.se>
19817
19818 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19819 Unnest `let'.
19820
19821 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19822 selectors (Bug#5732).
19823 (css-proprietary-nmstart-re): Use `regexp-opt'.
19824
19825 2011-06-27 Jari Aalto <jari.aalto@cante.net>
19826
19827 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19828 (eshell-ls-date-format): New defcustom.
19829 (eshell-ls-file): Use it.
19830
19831 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19832
19833 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19834
19835 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19836
19837 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19838 (ange-ftp-make-tmp-name): New arg.
19839 (ange-ftp-file-local-copy): Use it.
19840
19841 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
19842
19843 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19844 no-conversion (Bug#8870).
19845
19846 2011-06-27 Martin Rudalics <rudalics@gmx.at>
19847
19848 * window.el (window-right, window-left, window-child)
19849 (window-child-count, window-last-child)
19850 (window-iso-combination-p, walk-window-tree-1)
19851 (window-atom-check-1, window-tree-1, delete-window)
19852 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19853 new naming conventions - window-vchild, window-hchild,
19854 window-next and window-prev are now called window-top-child,
19855 window-left-child, window-next-sibling and window-prev-sibling
19856 respectively.
19857 (resize-window-reset): Rename to window-resize-reset.
19858 (resize-window-reset-1): Rename to window-resize-reset-1.
19859 (resize-window): Rename to window-resize.
19860 (window-min-height, window-min-width)
19861 (resize-mini-window, resize-this-window, resize-root-window)
19862 (resize-root-window-vertically, adjust-window-trailing-edge)
19863 (enlarge-window, shrink-window, maximize-window)
19864 (minimize-window, delete-window, quit-restore-window)
19865 (split-window, balance-windows, balance-windows-area-adjust)
19866 (balance-windows-area, window-state-put-2)
19867 (display-buffer-even-window-sizes, display-buffer-set-height)
19868 (display-buffer-set-width, set-window-text-height)
19869 (fit-window-to-buffer): Rename all "resize-window" prefixed
19870 calls to use the "window-resize" prefix convention.
19871 (display-buffer-alist): Fix symbol for label specifier.
19872 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19873 corresponding specifier.
19874 Reported by Juanma Barranquero <lekktu@gmail.com>.
19875
19876 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19877
19878 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19879 convention.
19880 (ses-call-printer): Does not pass an empty string to formatter when the
19881 cell is empty to keep from barking printer Calc math-format-value.
19882
19883 2011-06-27 Richard Stallman <rms@gnu.org>
19884
19885 * battery.el (battery-mode-line-limit): New variable.
19886 (battery-update): Handle it.
19887
19888 * mail/rmailmm.el (rmail-mime-process-multipart):
19889 Handle truncated messages.
19890
19891 2011-06-27 Glenn Morris <rgm@gnu.org>
19892
19893 * progmodes/flymake.el (flymake-err-line-patterns):
19894 Allow for column numbers in the ant/javac pattern. (Bug#8866)
19895
19896 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19897
19898 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
19899 (ses--clean-!, ses--clean-_): New functions.
19900 (ses-range): Add configurability of readout order, and conversion
19901 to Calc vector.
19902
19903 * ses.el (ses-repair-cell-reference-all): New function.
19904 (ses-cell-symbol): Set macro as safe, so that it can be used in
19905 formulas.
19906
19907 * ses.el: Update cycle detection algorithm.
19908 (ses-localvars): Add ses--Dijkstra-attempt-nb and
19909 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
19910 (ses-set-localvars): New function.
19911 (ses-make-cell): Add property-list as a cell element.
19912 (ses-cell-property-get-fun, ses-cell-property-get)
19913 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
19914 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19915 New functions.
19916 (ses-cell-property-set, ses-cell-property-pop)
19917 (ses-cell-property-get-handle): New macro.
19918 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19919 New aliases, used for code readability.
19920 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19921 cycle detection.
19922 (ses-self-reference-early-detection): New defcustom.
19923 (ses-formula-references): Robustify against self-referring cells.
19924 (ses-mode): Use ses-set-localvars.
19925 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19926 before lauching the update processing.
19927 (ses-initialize-Dijkstra-attempt): New function.
19928 (ses-recalculate-cell): Update for cycle detection based on
19929 Dijkstra algorithm.
19930
19931 * ses.el: Fix commenting and indenting convention.
19932
19933 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19934
19935 * bs.el (bs-cycle-next): Complete last change.
19936
19937 2011-06-27 Drew Adams <drew.adams@oracle.com>
19938
19939 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19940
19941 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19942
19943 * net/network-stream.el (network-stream-open-starttls):
19944 Don't re-get capabilities unless we've reestablished connection.
19945 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19946
19947 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19948 to binary to possibly avoid line encoding issues on Windows (among
19949 other things).
19950
19951 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19952
19953 * net/network-stream.el (open-network-stream): Return an :error
19954 saying what the problem was, if possible.
19955
19956 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19957 server.
19958
19959 * net/network-stream.el (network-stream-open-starttls): If we
19960 wanted to use STARTTLS, and the server offered it, but we weren't
19961 able to because we had no STARTTLS support, then close the connection.
19962 (open-network-stream): Return an :error element, if present.
19963
19964 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
19965
19966 * hl-line.el (hl-line-sticky-flag): Doc fix.
19967 (global-hl-line-sticky-flag): New option (Bug#8323).
19968 (global-hl-line-highlight): Obey it.
19969
19970 * vc/vc.el (vc-revert-show-diff): Default to t.
19971
19972 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
19973
19974 * allout-widgets.el (allout-widgets-post-command-business):
19975 Stop decorating intermediate isearch matches. They're not being
19976 undecorated when an isearch is continued past, and isearch
19977 automatically collapses them. This leads to "widget leaks", where
19978 decorated items accumulate in collapsed areas. Lines with lots of
19979 hidden widgets can slow down cursor travel, substantially.
19980 Too much complicated machinery would be needed to ensure undecoration,
19981 so we're doing without this nicety.
19982
19983 (allout-widgets-tally-string): Don't try to do a hash-table-count
19984 of allout-widgets-tally when it's nil. This eliminates spurious "Error
19985 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19986 *Messages* when allout-widgets-maintain-tally is t.
19987
19988 2011-06-26 Martin Rudalics <rudalics@gmx.at>
19989
19990 * window.el (display-buffer-normalize-argument): Rename to
19991 display-buffer-normalize-arguments. Handle special meaning of
19992 LABEL argument. Respect special-display-function when popping up
19993 a new frame. Fix code searching for a window showing the buffer
19994 on another frame.
19995 (display-buffer-normalize-specifiers):
19996 Call display-buffer-normalize-arguments.
19997 (display-buffer-in-window): Don't undedicate the window if its
19998 buffer remains the same.
19999 Reported by Drew Adams <drew.adams@oracle.com>.
20000 (display-buffer-alist): Add choice for same-window macro
20001 specfier.
20002 (display-buffer): Mention special meaning of LABEL argument in
20003 doc-string. Fix quoting. Don't pop up a new frame even as
20004 fallback.
20005
20006 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20007
20008 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20009 avoid deleting the current window in some cases (bug#8911).
20010
20011 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20012
20013 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20014 (Bug#8934)
20015
20016 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20017
20018 * net/network-stream.el (network-stream-open-starttls):
20019 Use built-in TLS support if `gnutls-available-p' is true.
20020 (network-stream-open-tls): Ditto.
20021
20022 2011-06-26 Leo Liu <sdl.web@gmail.com>
20023
20024 * register.el (registerv): New struct.
20025 (registerv-make): New function.
20026 (jump-to-register, describe-register-1, insert-register):
20027 Support the jump-func, print-func and insert-func slot of a registerv
20028 struct. (Bug#8415)
20029
20030 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20031
20032 * vc/vc.el (vc-revert-show-diff): New defcustom.
20033 (vc-diff-internal): New arg specifying diff buffer.
20034 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20035 reuse an existing *vc-diff* buffer (Bug#8927).
20036
20037 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20038
20039 2011-06-26 Glenn Morris <rgm@gnu.org>
20040
20041 * progmodes/f90.el (f90-critical-indent): New option.
20042 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20043 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20044 (f90-mode): Doc fix.
20045 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20046 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20047 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20048 (f90-match-end): Handle block, critical.
20049
20050 2011-06-25 Glenn Morris <rgm@gnu.org>
20051
20052 * calendar/diary-lib.el (diary-included-files): Doc fix.
20053 (diary-include-files): New function, extracted from
20054 diary-include-other-diary-files and diary-mark-included-diary-files.
20055 (diary-include-other-diary-files, diary-mark-included-diary-files):
20056 Just call diary-include-files.
20057 (diary-mark-entries): Reset diary-included-files on first call.
20058
20059 * calendar/diary-lib.el (diary-mark-entries)
20060 (diary-mark-included-diary-files):
20061 Visit included diary-files in temp buffers.
20062
20063 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20064 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20065 (f90-start-block-re, f90-imenu-generic-expression)
20066 (f90-looking-at-program-block-start, f90-no-block-limit):
20067 Add support for submodules.
20068
20069 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20070 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20071
20072 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20073
20074 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20075 buffer-file-type before setting its value, to avoid disastrous
20076 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20077
20078 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20079
20080 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20081
20082 * ses.el (ses-unload-function):
20083 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20084
20085 * proced.el (proced-unload-function):
20086 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20087
20088 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20089
20090 * server.el (server-create-window-system-frame): Add parameters arg.
20091 (server-process-filter): Doc fix. Handle frame-parameters.
20092
20093 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20094
20095 Fix bug#8730, bug#8781.
20096
20097 * loadhist.el (unload--set-major-mode): New function.
20098 (unload-feature): Use it.
20099
20100 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20101 (python-unload-function): New function.
20102
20103 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20104
20105 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20106
20107 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20108
20109 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20110 the candidates list.
20111
20112 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20113
20114 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20115
20116 2011-06-23 Richard Stallman <rms@gnu.org>
20117
20118 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20119 (rmail-variables): Set next-error-move-function.
20120 (rmail-what-message): Take argument POS.
20121 (rmail-next-error-move): New function.
20122
20123 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20124
20125 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20126 messages for adjacent non-terminals.
20127
20128 2011-06-23 Richard Stallman <rms@gnu.org>
20129
20130 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20131 (rmail-show-message-1): Preserve buffer modified flag.
20132 (rmail-start-mail): Don't specify use of rmail-mail-return;
20133 that's done by mail-bury now.
20134 (rmail-mail-return): Handle arg NEWBUF.
20135
20136 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20137
20138 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20139 SIZE is a number.
20140
20141 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20142
20143 * window.el (get-lru-window, get-mru-window)
20144 (get-largest-window): Never return a minibuffer window.
20145 (display-buffer-pop-up-window): Fix a bug that could lead to
20146 reusing the minibuffer window.
20147 (display-buffer): Pass original specifier argument to
20148 display-buffer-function instead of the normalized one.
20149 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20150
20151 2011-06-22 Leo Liu <sdl.web@gmail.com>
20152
20153 * minibuffer.el (completing-read-function)
20154 (completing-read-default): Move from minibuf.c.
20155
20156 2011-06-22 Richard Stallman <rms@gnu.org>
20157
20158 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20159 to Rmail even if not started by a special Rmail command.
20160
20161 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20162 Copy the buffer currently showing just one message.
20163
20164 2011-06-22 Roland Winkler <winkler@gnu.org>
20165
20166 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20167 (bibtex-clean-entry): First delete the old key so that a
20168 customized algorithm for generating the new key does not get
20169 confused by the old key.
20170 (bibtex-url): Obey regexp of first step.
20171 (bibtex-search-entries): Do not use add-to-list with local
20172 list-var.
20173
20174 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20175
20176 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20177 stored a user name, then query for the password first, instead of
20178 waiting for SMTP to give an error message and the trying again.
20179
20180 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20181
20182 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20183 BUFFER in call-process.
20184
20185 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20186
20187 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20188 QUIT twice.
20189 (smtpmail-try-auth-methods): Require user name and password from
20190 auth-source.
20191
20192 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20193
20194 * window.el (display-buffer-default-specifiers)
20195 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20196 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20197 (split-window): Normalize SIDE argument (Bug#8916).
20198
20199 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20200 (special-display-frame-alist, special-display-popup-frame):
20201 Remove duplicate declarations. These are now in window.el.
20202
20203 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20204
20205 * mail/smtpmail.el (smtpmail-via-smtp):
20206 Set :use-starttls-if-possible so that we always use STARTTLS if the
20207 server supports it. SMTP servers that support STARTTLS commonly
20208 require it.
20209
20210 * net/network-stream.el (network-stream-open-starttls): Support
20211 upgrading to STARTTLS always, even if we don't have built-in support.
20212 (open-network-stream): Add the :always-query-capabilities keyword.
20213
20214 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20215 upgrades with `open-network-stream', and rely solely on
20216 auth-source for all credentials. Big changes throughout the file,
20217 but in particular:
20218 (smtpmail-auth-credentials): Remove.
20219 (smtpmail-starttls-credentials): Remove.
20220 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20221 MAIL FROM, too.
20222
20223 * net/network-stream.el (network-stream-open-starttls):
20224 Provide support for client certificates both for external and built-in
20225 STARTTLS.
20226 (auth-source): Require.
20227 (open-network-stream): Document the :client-certificate keyword.
20228 (network-stream-certificate): Change cert-cert to cert and
20229 cert-key to key.
20230
20231 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20232
20233 * net/tramp-cache.el (top): Don't load the persistency file when
20234 "emacs -Q" has been called.
20235
20236 2011-06-21 Tim Harper <timcharper@gmail.com>
20237
20238 * term/ns-win.el (ns-initialize-window-system):
20239 Set application-specific `ApplePressAndHoldEnabled' system
20240 resource to NO as it is not yet supported by the NS port.
20241
20242 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20243
20244 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20245 (list-dynamic-libraries): ...not here.
20246
20247 2011-06-21 Leo Liu <sdl.web@gmail.com>
20248
20249 * subr.el (sha1): Implement sha1 using secure-hash.
20250
20251 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20252
20253 * window.el (display-buffer-alist): In default value do not
20254 enforce searching a window on any but the selected frame.
20255 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20256 (display-buffer-select-window): Remove function.
20257 (display-buffer-in-window): When a window on another frame gets
20258 reused, do not select it any more but just raise its frame if
20259 necessary (Bug#8851) and (Bug#8856).
20260 (display-buffer-normalize-options): Handle pop-up-frames related
20261 options more faithfully.
20262 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20263 window if it is on another frame.
20264 (display-buffer-alist, display-buffer-default-specifiers):
20265 Don't make new frame unsplittable by default.
20266 (display-buffer-normalize-argument): Fix doc-string typo and use
20267 'same-frame-other-window instead of 'other-window when associating
20268 with display-buffer-macro-specifiers.
20269
20270 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20271
20272 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20273 New functions.
20274 (5x5-mode-map, 5x5-mode-menu): Bind them.
20275 (5x5-draw-grid): Tweak the solver's rendering.
20276
20277 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20278
20279 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20280 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20281
20282 2011-06-21 Drew Adams <drew.adams@oracle.com>
20283
20284 * menu-bar.el: Use function variable instead of switch-to-buffer.
20285 (menu-bar-select-buffer-function): New variable.
20286 (menu-bar-update-buffers): Use it (bug#8876).
20287
20288 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20289
20290 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20291 variable's status.
20292
20293 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20294
20295 * x-dnd.el (x-dnd-version-from-flags)
20296 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20297 and long as number (Bug#8899).
20298 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20299
20300 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20301
20302 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20303 (completion-try-completion, completion-all-completions): Compute the
20304 metadata argument if it's missing; make it optional (bug#8795).
20305
20306 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20307 (widget-complete): Use new :completion-function property.
20308 (widget-completions-at-point): New function.
20309 (default): Use :completion-function instead of :complete.
20310 (widget-default-completions): Rename from widget-default-complete;
20311 Rewrite.
20312 (widget-string-complete, widget-file-complete, widget-color-complete):
20313 Remove functions.
20314 (file, symbol, function, variable, coding-system, color):
20315 * international/mule-cmds.el (default-input-method, charset)
20316 (language-info-custom-alist):
20317 * cus-edit.el (face): Use new property :completions.
20318
20319 * progmodes/pascal.el (pascal-completions-at-point): New function.
20320 (pascal-mode): Use it.
20321 (pascal-mode-map): Use completion-at-point.
20322 (pascal-toggle-completions): Make obsolete.
20323 (pascal-complete-word, pascal-show-completions):
20324 * progmodes/octave-mod.el (octave-complete-symbol):
20325 Redefine as obsolete alias.
20326 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20327 Signal absence of completion info for old Octave,
20328 (inferior-octave-complete): Redefine as obsolete alias.
20329 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20330 (meta-completions-at-point): Rename from meta-complete-symbol and
20331 adapt it for use on completion-at-point-functions.
20332 (meta-common-mode): Use it.
20333 (meta-looking-at-backward, meta-match-buffer): Remove.
20334 (meta-complete-symbol): Redefine as obsolete alias.
20335 (meta-common-mode-map): Use completion-at-point.
20336 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20337 (makefile-mode-map): Use completion-at-point.
20338 (makefile-completions-at-point): Rename from makefile-complete and
20339 adapt it for use on completion-at-point-functions.
20340 (makefile-mode): Use it.
20341 (makefile-complete): Redefine as obsolete alias.
20342
20343 2011-06-20 Deniz Dogan <deniz@dogan.se>
20344
20345 * net/rcirc.el: Delete trailing whitespaces once and for all.
20346
20347 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20348
20349 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20350
20351 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20352
20353 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20354
20355 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20356
20357 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20358
20359 * window.el (display-buffer-other-window-means-other-frame):
20360 Call display-buffer-normalize-alist.
20361 (display-buffer-normalize-specifiers-1): Rename to
20362 display-buffer-normalize-argument. New argument other-frame.
20363 Rewrite.
20364 (display-buffer-normalize-specifiers-2): Rename to
20365 display-buffer-normalize-options.
20366 (display-buffer-normalize-alist-1): New function.
20367 (display-buffer-normalize-specifiers-3): Rename to
20368 display-buffer-normalize-alist.
20369 Call display-buffer-normalize-alist-1.
20370 (display-buffer-normalize-options-inhibit): New variable.
20371 (display-buffer-normalize-specifiers): Rewrite calling
20372 display-buffer-normalize-alist,
20373 display-buffer-normalize-argument, and
20374 display-buffer-normalize-options. Don't call the latter if
20375 display-buffer-normalize-options-inhibit is non-nil.
20376 (frame-auto-delete): New option.
20377 (window-deletable-p): Use frame-auto-delete.
20378 (window-list-no-nils, window-state-ignored-parameters)
20379 (window-state-get-1, window-state-get, window-state-put-list)
20380 (window-state-put-1, window-state-put-2, window-state-put):
20381 New functions.
20382 (display-buffer-normalize-options): Move special-display-p group
20383 after pop-up-frame group (Bug#8851) and (Bug#8856).
20384
20385 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20386
20387 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20388 groups (Bug#8776).
20389 (rx-submatch-n): New function.
20390 (rx): Document it.
20391
20392 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20393 (Bug#8768).
20394
20395 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20396
20397 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20398
20399 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20400 anytime existing face settings are present (Bug#8889).
20401
20402 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20403 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20404 Remove unused argument.
20405
20406 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20407
20408 * window.el (display-buffer-default-specifiers):
20409 Remove pop-up-frame. Add pop-up-window-min-height,
20410 pop-up-window-min-width, and another reuse-window specifier
20411 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20412 (display-buffer-normalize-specifiers-2):
20413 Handle split-height-threshold and split-width-threshold also when
20414 pop-up-windows is unset. Add a reuse-window specifier for the
20415 case popping up a new window fails.
20416 (special-display-popup-frame): Remove double quoting.
20417 (display-buffer-normalize-specifiers-1): Fix thinko.
20418
20419 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20420
20421 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20422 according to comint-completion-addsuffix.
20423
20424 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20425 (pcomplete-suffix-list): Mark as obsolete.
20426 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20427 pcomplete-seen in the closure.
20428 (pcomplete-comint-setup): Setup completion-at-point as well.
20429 (pcomplete--entries): New function.
20430 (pcomplete--env-regexp): New var.
20431 (pcomplete-entries): Rewrite to work with partial-completion and
20432 without relying on pcomplete-suffix-list.
20433 (pcomplete-pare-list): Remove, unused.
20434
20435 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20436
20437 * window.el (display-buffer-alist): Set pop-up-window-min-height
20438 and pop-up-window-min-width in default value. Reported by
20439 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20440 other-window-means-other-frame.
20441 (display-buffer-macro-specifiers): Comment out entry for
20442 other-window specifier.
20443 (display-buffer-other-window-means-other-frame): New function.
20444 (display-buffer-normalize-specifiers-1): New arguments
20445 buffer-name and label. Treat other-window case specially.
20446 (display-buffer-normalize-specifiers-2): Treat other-window case
20447 specially.
20448 (display-buffer-normalize-specifiers-3): New function.
20449 (display-buffer-normalize-specifiers):
20450 Call display-buffer-normalize-specifiers-3.
20451
20452 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20453
20454 * window.el (same-window-p): Fix two typos introduced when
20455 adding with-no-warnings.
20456 (display-buffer-normalize-specifiers-1): Don't check
20457 pop-up-frames for 'unset initialization.
20458 (display-buffer-normalize-specifiers-2): Major rewrite using
20459 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20460 (pop-up-frames, display-buffer-reuse-frames)
20461 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20462 Suggested by David Engster <deng@randomsample.de>.
20463 (even-window-heights): Initialize to 'unset.
20464 (display-buffer-alist-set): Handle new 'unset initializations.
20465 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20466 other window case.
20467
20468 2011-06-16 Martin Rudalics <rudalics@gmx.at>
20469
20470 * window.el (display-buffer-normalize-specifiers-1):
20471 Respect current value of pop-up-frames for most reasonable values of
20472 second argument of display-buffer (Bug#8865).
20473 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20474 (switch-to-buffer-other-window-same-frame)
20475 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20476 Adams (Bug#8875).
20477 (display-buffer): Don't check noninteractive when calling
20478 display-buffer-pop-up-frame.
20479 (display-buffer-pop-up-frame): Never pop up a frame in
20480 noninteractive mode (Bug#8857).
20481 (enlarge-window, shrink-window): Don't report an error when the
20482 window can't be resized as requested (Bug#8862).
20483
20484 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20485
20486 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20487
20488 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20489
20490 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20491
20492 2011-06-15 Alan Mackenzie <acm@muc.de>
20493
20494 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20495 for declarators, disable knr checking to speed up for normal files.
20496 2: Refactor, replacing a sequence of nested if forms by a cond form.
20497
20498 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20499
20500 * net/network-stream.el (open-network-stream): Add the keyword
20501 :always-query-capabilities for the case where you want to force a
20502 `plain' network connection, but the protocol still requires the
20503 capabilitiy command (i.e., SMTP and EHLO).
20504
20505 * subr.el (process-live-p): Rename from `process-alive-p' for
20506 consistency with other `-live-p' functions.
20507
20508 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20509
20510 * window.el (same-window-buffer-names, same-window-regexps)
20511 (special-display-frame-alist, special-display-popup-frame)
20512 (special-display-function, special-display-buffer-names)
20513 (special-display-regexps, pop-up-frame-alist)
20514 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20515 (pop-up-windows, split-window-preferred-function)
20516 (split-height-threshold, split-width-threshold, even-window-heights)
20517 (display-buffer-mark-dedicated): Don't encourage the use of
20518 display-buffer-alist from Elisp code.
20519
20520 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20521
20522 * progmodes/python.el (python-mode): Derive from prog-mode.
20523 * progmodes/ps-mode.el (ps-mode):
20524 * progmodes/mixal-mode.el (mixal-mode):
20525 * progmodes/cfengine.el (cfengine-mode):
20526 * progmodes/ld-script.el (ld-script-mode): Likewise.
20527
20528 2011-06-15 Martin Rudalics <rudalics@gmx.at>
20529
20530 * window.el (display-buffer-alist): Trim default value to avoid
20531 popping up a new frame (Bug#8857) or reusing an arbitrary window
20532 on another frame.
20533 (display-buffer): Do not fall back on popping up a new frame in
20534 batch mode (Bug#8857).
20535
20536 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
20537
20538 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20539 (custom-theme-summary): New function.
20540 (customize-themes): Use it.
20541
20542 2011-06-13 Glenn Morris <rgm@gnu.org>
20543
20544 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20545
20546 2011-06-13 Martin Rudalics <rudalics@gmx.at>
20547
20548 * help.el (help-window): Remove variable.
20549 (help-window-point-marker, temp-buffer-max-height)
20550 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20551 (help-print-return-message): Don't set help-window.
20552 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20553 (help-window-setup-finish): Remove.
20554 (help-window-display-message, help-window-setup)
20555 (with-help-window): Major rewrite based on new
20556 display-buffer-window variable.
20557
20558 * help-mode.el (help-mode-finish): Remove help-window related
20559 code.
20560
20561 * view.el (view-exits-all-viewing-windows): Remove reference to
20562 view-return-to-alist in doc-string.
20563 (view-return-to-alist): Make obsolete.
20564 (view-buffer): Call pop-to-buffer-same-window and remove
20565 undo-window code.
20566 (view-buffer-other-window): Call pop-to-buffer-other-window and
20567 simplify code. Ignore second argument.
20568 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20569 simplify code. Ignore second argument.
20570 (view-return-to-alist-update): Make obsolete.
20571 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20572 Rewrite using quit-restore window parameters.
20573 (view-mode-exit): Rename second argument to EXIT-ONLY.
20574 Rewrite using quit-restore-window.
20575 (View-exit, View-exit-and-edit, View-leave, View-quit)
20576 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20577 appropriate arguments.
20578 (view-end-message): Use quit-restore window parameter.
20579
20580 * window.el (display-buffer-function): Rewrite doc-string.
20581 (display-buffer-window, display-buffer-alist): New variables.
20582 (display-buffer-split-specifiers)
20583 (display-buffer-side-specifiers)
20584 (display-buffer-macro-specifiers): New constants.
20585 (display-buffer-even-window-sizes, display-buffer-set-height)
20586 (display-buffer-set-width, display-buffer-select-window)
20587 (display-buffer-in-window, display-buffer-reuse-window)
20588 (display-buffer-split-window-1, display-buffer-split-window)
20589 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20590 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20591 (display-buffer-in-side-window, normalize-buffer-to-display)
20592 (display-buffer-normalize-specifiers-1)
20593 (display-buffer-normalize-specifiers-2)
20594 (display-buffer-normalize-specifiers, display-buffer-frame):
20595 New functions.
20596 (display-buffer): Major rewrite.
20597 (display-buffer-other-window, display-buffer-other-frame)
20598 (pop-to-buffer, switch-to-buffer-other-window)
20599 (switch-to-buffer-other-frame): Rewrite.
20600 (display-buffer-same-window, display-buffer-same-frame)
20601 (display-buffer-same-frame-other-window)
20602 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20603 (pop-to-buffer-other-window)
20604 (pop-to-buffer-same-frame-other-window)
20605 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20606 (switch-to-buffer-other-window-same-frame): New functions.
20607 (same-window-p, special-display-p): Rewrite disabling warnings.
20608 Make obsolete.
20609 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20610 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20611 Make obsolete
20612 (same-window-buffer-names, same-window-regexps)
20613 (special-display-frame-alist, special-display-popup-frame)
20614 (special-display-function, special-display-buffer-names)
20615 (special-display-regexps, pop-up-frame-alist)
20616 (pop-up-frame-function, split-window-preferred-function)
20617 (split-height-threshold, split-width-threshold)
20618 (even-window-heights): Make obsolete.
20619
20620 2011-06-12 Glenn Morris <rgm@gnu.org>
20621
20622 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
20623 Misc simplifications.
20624
20625 2011-06-12 Martin Rudalics <rudalics@gmx.at>
20626
20627 * window.el (window-safely-shrinkable-p): Restore function which
20628 was inadvertently removed in change from 2011-06-11. Declare as
20629 obsolete.
20630
20631 * calendar/calendar.el (calendar-generate-window):
20632 Use window-iso-combined-p instead of combination of one-window-p and
20633 window-safely-shrinkable-p.
20634
20635 2011-06-12 Glenn Morris <rgm@gnu.org>
20636
20637 * progmodes/fortran.el (fortran-mode-syntax-table):
20638 * progmodes/f90.el (f90-mode-syntax-table):
20639 Set % to punctuation. (Bug#8820)
20640 (f90-find-tag-default): Remove, no longer needed.
20641
20642 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20643
20644 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20645
20646 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
20647
20648 * image.el (image-animated-p): Return animation delay in seconds.
20649 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20650 (image-animate-timeout): Remove DELAY argument. Don't assume
20651 every subimage has the same delay; get it from image-animated-p.
20652 (image-animate): Caller changed.
20653
20654 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
20655
20656 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20657 to ignored backtrace functions.
20658
20659 2011-06-11 Glenn Morris <rgm@gnu.org>
20660
20661 * calendar/appt.el (appt-disp-window-function): Doc fix.
20662 (appt-check): Handle overlapping appointments. (Bug#8337)
20663
20664 2011-06-11 Martin Rudalics <rudalics@gmx.at>
20665
20666 * window.el (window-tree-1, window-tree): New functions, moving
20667 the latter to window.el.
20668 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20669 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20670 (bw-refresh-edges): Remove.
20671 (balance-windows-1, balance-windows-2): New functions.
20672 (balance-windows): Rewrite in terms of window tree functions,
20673 balance-windows-1 and balance-windows-2.
20674 (bw-adjust-window): Remove.
20675 (balance-windows-area-adjust): New function with functionality of
20676 bw-adjust-window but using resize-window.
20677 (set-window-text-height): Rewrite doc-string.
20678 Use normalize-live-window and resize-window.
20679 (enlarge-window-horizontally, shrink-window-horizontally):
20680 Rename argument to DELTA.
20681 (window-buffer-height): New function.
20682 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20683 Rewrite using new window resize routines.
20684 (kill-buffer-and-window, mouse-autoselect-window-select):
20685 Use ignore-errors instead of condition-case.
20686 (quit-window): Call delete-frame instead of delete-windows-on
20687 for the only buffer on frame.
20688
20689 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20690
20691 * loadup.el (top-level): Load window before files for the sake
20692 of replace-buffer-in-windows.
20693
20694 * files.el (read-buffer-to-switch)
20695 (switch-to-buffer-other-window)
20696 (switch-to-buffer-other-frame, display-buffer-other-frame):
20697 Move to window.el.
20698
20699 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20700 (previous-buffer): Move to window.el.
20701
20702 * bindings.el (unbury-buffer): Move to window.el.
20703
20704 * window.el (delete-other-windows-vertically): Move after
20705 definition of delete-other-windows.
20706 (other-window, delete-windows-on, replace-buffer-in-windows):
20707 Move here from window.c.
20708 (record-window-buffer, unrecord-window-buffer)
20709 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20710 (switch-to-next-buffer): New functions.
20711 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20712 from simple.el. Call switch-to-next-buffer.
20713 (previous-buffer): Move here from simple.el.
20714 Call switch-to-prev-buffer.
20715 (bury-buffer): Move here from buffer.c. Switch to previous
20716 buffer when window cannot be deleted.
20717 (unbury-buffer): Move here from bindings.el.
20718 (ctl-x-map): Move binding for other-window from window.c to
20719 here.
20720 (read-buffer-to-switch, switch-to-buffer-other-window)
20721 (switch-to-buffer-other-frame): Move here from files.el.
20722 (normalize-buffer-to-switch-to): New functions.
20723 (switch-to-buffer): Move here from buffer.c.
20724 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
20725
20726 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20727
20728 * window.el (window-min-height, window-min-width): Move here
20729 from window.c. Add defcustoms and rewrite doc-strings.
20730 (resize-mini-window, resize-window): New functions.
20731 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20732 Move here from window.c.
20733 (maximize-window, minimize-window): New functions.
20734 (delete-window, delete-other-windows, split-window): Move here
20735 from window.c.
20736 (window-split-min-size): New function.
20737 (split-window-keep-point): Mention split-window-above-each-other
20738 instead of split-window-vertically.
20739 (split-window-above-each-other, split-window-vertically):
20740 Rename split-window-vertically to split-window-above-each-other
20741 and provide defalias for old definition.
20742 (split-window-side-by-side, split-window-horizontally):
20743 Rename split-window-horizontally to split-window-side-by-side
20744 and provide defalias for the old definition.
20745 (ctl-x-map): Move bindings for delete-window,
20746 delete-other-windows and enlarge-window here from window.c.
20747 Replace bindings for split-window-vertically and
20748 split-window-horizontally by bindings for
20749 split-window-above-each-other and split-window-side-by-side.
20750
20751 * cus-start.el (all): Remove entries for window-min-height and
20752 window-min-width. Add entries for window-splits and
20753 window-nest.
20754
20755 2011-06-09 Glenn Morris <rgm@gnu.org>
20756
20757 * calendar/appt.el (appt-mode-line): New function.
20758 (appt-check, appt-disp-window): Use it.
20759
20760 * files.el (hack-one-local-variable-eval-safep):
20761 Allow minor-modes with explicit +/-1 arguments.
20762
20763 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
20764
20765 * term/xterm.el (xterm): Add defgroup.
20766 (xterm-extra-capabilities): Add defcustom to supply known xterm
20767 capabilities, skip querying them, or query them (default).
20768 (terminal-init-xterm): Use it.
20769 (terminal-init-xterm-modify-other-keys): New function to set up
20770 modifyOtherKeys support to simplify `terminal-init-xterm'.
20771
20772 2011-06-09 Martin Rudalics <rudalics@gmx.at>
20773
20774 * window.el (resize-window-reset, resize-window-reset-1)
20775 (resize-subwindows-skip-p, resize-subwindows-normal)
20776 (resize-subwindows, resize-other-windows, resize-this-window)
20777 (resize-root-window, resize-root-window-vertically)
20778 (window-deletable-p, window-or-subwindow-p)
20779 (frame-root-window-p): New functions.
20780
20781 2011-06-09 Glenn Morris <rgm@gnu.org>
20782
20783 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20784 (ange-ftp-get-files): Use it.
20785
20786 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
20787
20788 * mail/sendmail.el (mail-recover-1, mail-recover):
20789 * files.el (recover-file, recover-session):
20790 Handle dired-listing-switches not being just a single short option.
20791
20792 2011-06-09 Glenn Morris <rgm@gnu.org>
20793
20794 * calendar/appt.el (appt-display-message, appt-disp-window):
20795 Handle lists of appointments.
20796
20797 2011-06-08 Martin Rudalics <rudalics@gmx.at>
20798
20799 * window.el (one-window-p): Move down in code.
20800 Rewrite doc-string.
20801 (window-current-scroll-bars): Rewrite doc-string.
20802 Normalize live window argument.
20803 (walk-windows, get-window-with-predicate, count-windows):
20804 Rewrite doc-string. Use window-list-1.
20805 (window-in-direction-2, window-in-direction, get-mru-window):
20806 New functions.
20807
20808 2011-06-08 Reuben Thomas <rrt@sc3d.org>
20809
20810 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20811 Doc fix (Bug#8713).
20812
20813 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
20814
20815 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20816
20817 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
20818
20819 * loadhist.el (unload-feature-special-hooks):
20820 Add `comint-output-filter-functions'.
20821
20822 2011-06-08 Ivan Kanis <gnu@kanis.fr>
20823
20824 * calendar/appt.el (appt-check): Move some initializations into the let.
20825
20826 2011-06-08 Martin Rudalics <rudalics@gmx.at>
20827
20828 * window.el (window-height): Defalias to window-total-height.
20829 (window-width): Defalias to window-body-width.
20830
20831 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
20832
20833 * image-mode.el (image-toggle-animation): New command.
20834 (image-mode-map): Bind it to RET.
20835 (image-mode): Update message.
20836 (image-toggle-display-image): Avoid a spurious cache flush.
20837 (image-transform-rotation): Doc fix.
20838 (image-transform-properties): Return quickly in the normal case.
20839 (image-animate-loop): Rename from image-animate-max-time.
20840
20841 * image.el (image-animate-max-time): Move to image-mode.el.
20842 (create-animated-image): Remove unnecessary function.
20843 (image-animate): Rename from image-animate-start. New arg.
20844 (image-animate-stop): Remove; just use image-animate-timer.
20845 (image-animate-timer): Use car-safe.
20846 (image-animate-timeout): Rename argument.
20847
20848 2011-06-07 Martin Rudalics <rudalics@gmx.at>
20849
20850 * window.el (get-lru-window, get-largest-window): Move here from
20851 window.c. Rename first argument to ALL-FRAMES.
20852 Rephrase doc-strings.
20853 (get-buffer-window-list): Rewrite using window-list-1.
20854 Rephrase doc-string.
20855 (window-safe-min-height, window-safe-min-width): New constants.
20856 (window-size-ignore, window-min-size, window-min-size-1)
20857 (window-sizable, window-sizable-p, window-size-fixed-1)
20858 (window-size-fixed-p, window-min-delta-1, window-min-delta)
20859 (window-max-delta-1, window-max-delta, window-resizable)
20860 (window-resizable-p, window-total-height, window-total-width)
20861 (window-body-width): New functions.
20862 (window-full-height-p, window-full-width-p): Rewrite using
20863 window-total-size.
20864 (window-body-height): Rewrite using window-body-size.
20865
20866 2011-06-06 Martin Rudalics <rudalics@gmx.at>
20867
20868 * window.el (window-right, window-left, window-child)
20869 (window-child-count, window-last-child, window-any-p)
20870 (normalize-live-buffer, normalize-live-frame)
20871 (normalize-any-window, normalize-live-window)
20872 (window-iso-combination-p, window-iso-combined-p)
20873 (window-iso-combinations)
20874 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20875 (windows-with-parameter, window-with-parameter)
20876 (window-atom-root, make-window-atom, window-atom-check-1)
20877 (window-atom-check, window-side-check, window-check):
20878 New functions.
20879 (ignore-window-parameters, window-sides, window-sides-vertical)
20880 (window-sides-slots): New variables.
20881 (window-size-fixed): Move down in code. Minor doc-string fix.
20882
20883 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
20884
20885 * comint.el (comint-dynamic-complete-as-filename)
20886 (comint-dynamic-complete-filename): Correctly call
20887 completion-in-region.
20888
20889 2011-06-05 Deniz Dogan <deniz@dogan.se>
20890
20891 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20892 in last change.
20893
20894 2011-06-05 Deniz Dogan <deniz@dogan.se>
20895
20896 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20897 (rcirc): Use it to prompt for encryption.
20898
20899 2011-06-05 Roland Winkler <winkler@gnu.org>
20900
20901 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20902 (bibtex-search-entries): New command bound to C-c C-a.
20903 (bibtex-display-entries): New function.
20904
20905 2011-06-05 Roland Winkler <winkler@gnu.org>
20906
20907 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20908 (bibtex-insert-kill): After yanking insert newline if necessary.
20909 (bibtex-initialize): Call bibtex-string-files-init only once.
20910 (bibtex-mode): Do not call easy-menu-add.
20911 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20912 (bibtex-yank): Set arg properly if nil.
20913
20914 2011-06-05 Roland Winkler <winkler@gnu.org>
20915
20916 * textmodes/bibtex.el (bibtex-search-entry-globally):
20917 New variable.
20918 (bibtex-search-entry): Use it.
20919
20920 2011-06-05 Roland Winkler <winkler@gnu.org>
20921
20922 * textmodes/bibtex.el (bibtex-entry-format): New option
20923 sort-fields.
20924 (bibtex-format-entry, bibtex-reformat): Honor this option.
20925 (bibtex-parse-entry): Return fields in proper order.
20926
20927 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
20928
20929 * doc-view.el (doc-view-remove-if): Move computation of result out
20930 of `dolist' to silence misleading lexical-binding warning.
20931
20932 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
20933
20934 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20935 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20936
20937 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
20938
20939 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20940 "SunOS 5.10".
20941
20942 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
20943
20944 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20945 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20946 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20947 (tramp-parse-putty):
20948 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20949 (tramp-completion-function-alist-ssh)
20950 (tramp-completion-function-alist-telnet)
20951 (tramp-completion-function-alist-su)
20952 (tramp-completion-function-alist-putty): Set `tramp-autoload'
20953 cookie.
20954
20955 * net/tramp-ftp.el:
20956 * net/tramp-sh.el:
20957 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20958 load "tramp.el" `tramp-set-completion-function'.
20959
20960 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
20961
20962 * shell.el: Require and use pcomplete.
20963 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20964 (shell-completion-vars): Set pcomplete-default-completion-function.
20965
20966 2011-06-04 Deniz Dogan <deniz@dogan.se>
20967
20968 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20969 `memq' (Bug#8799).
20970
20971 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20972
20973 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20974
20975 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
20976
20977 * bs.el (bs--mark-unmark, bs--nth-wrapper):
20978 * mpc.el (mpc-select-extend, mpc-songpointer-context):
20979 * vc/log-view.el (log-view-beginning-of-defun):
20980 * vc/smerge-mode.el (smerge-apply-resolution-patch)
20981 (smerge-refine-forward, smerge-refine-chopup-region):
20982 Silence warning for unused `dotimes' counter variables.
20983
20984 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20985
20986 * net/tramp.el (tramp-with-progress-reporter): Rename from
20987 with-progress-reporter. Use `declare'.
20988 * net/tramp-smb.el:
20989 * net/tramp-sh.el:
20990 * net/tramp-gvfs.el: Update all uses.
20991
20992 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
20993
20994 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
20995 buffer isn't killed before making it current.
20996
20997 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20998
20999 Silence various byte-compiler warnings.
21000 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21001 `access-type' and new obsolescence format.
21002 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21003 new format.
21004 (byte-compile-check-variable): New `access-type' argument.
21005 Only warn if the access-type is obsolete.
21006 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21007 (byte-compile-variable-set): Adjust callers.
21008 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21009 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21010 setting it as obsolete.
21011 * simple.el (minibuffer-completing-symbol):
21012 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21013 access as obsolete.
21014 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21015 obsolete yet.
21016 * international/quail.el (quail-mouse-choose-completion): Remove unused
21017 code referring to obsolete var.
21018 (quail-choose-completion-string): Remove.
21019 * server.el (server-clients-with, server-kill-buffer-query-function)
21020 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21021 * proced.el (proced-send-signal):
21022 * emacs-lisp/lisp.el (lisp-complete-symbol):
21023 Replace completion-annotate-function with completion-extra-properties.
21024
21025 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21026
21027 * simple.el (goto-line): Use read-number.
21028 (overriding-map-is-bound): Remove.
21029 (saved-overriding-map): Change default.
21030 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21031 Take the map as argument.
21032 (universal-argument, negative-argument, digit-argument): Use it.
21033 (restore-overriding-map): Adjust.
21034 (do-auto-fill): Use fill-forward-paragraph.
21035 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21036
21037 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21038 (minibuffer-inactive-mode): New major mode.
21039 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21040 the *Messages* buffer" hack.
21041 (mouse-popup-menubar): Don't burp if the event is a normal key.
21042
21043 Miscellaneous tweaks.
21044 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21045 lexical scoping as in subr.el's dolist and dotimes.
21046 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21047 Silence compiler warning.
21048 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21049 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21050 * international/ccl.el (ccl-compile): Trivial simplification.
21051 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21052 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21053 `printflag' argument.
21054 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21055 Purecopy the whole obsolescence data.
21056
21057 2011-06-01 Leo Liu <sdl.web@gmail.com>
21058
21059 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21060 improve doc-string as suggested by Marco Pessotto
21061 <melmothx@gmail.com>.
21062 (rcirc-print): Fix last change.
21063
21064 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21065
21066 * minibuffer.el (complete-with-action): Return nil for the metadata and
21067 boundaries of non-functional tables.
21068 (completion-table-dynamic): Return nil for the metadata.
21069 (completion-table-with-terminator): Add default case, using
21070 complete-with-action.
21071 (completion--metadata): New function.
21072 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21073 to try and avoid pathological performance problems.
21074 (completion--embedded-envvar-table): Return `category' metadata.
21075
21076 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21077
21078 * subr.el (process-alive-p): New tiny convenience function.
21079
21080 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21081
21082 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21083 content but also its previous major mode.
21084
21085 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21086
21087 * emacs-lisp/debug.el (debug): Restore the previous content of the
21088 *Backtrace* buffer when we exit with C-M-c.
21089
21090 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21091
21092 * minibuffer.el: Add metadata method to completion tables.
21093 (completion-category-overrides): New defcustom.
21094 (completion-metadata, completion--field-metadata)
21095 (completion-metadata-get, completion--styles)
21096 (completion--cycle-threshold): New functions.
21097 (completion-try-completion, completion-all-completions):
21098 Add `metadata' argument to choose completion-styles.
21099 (completion--do-completion): Use metadata to choose cycling.
21100 (completion-all-sorted-completions): Use metadata for sorting.
21101 Remove :completion-cycle-penalty which is not needed any more.
21102 (completion--try-word-completion): Add `metadata' argument.
21103 (minibuffer-completion-help): Check metadata for annotation function
21104 and sorting.
21105 (completion-file-name-table): Return `category' metadata.
21106 (minibuffer-completing-file-name): Make obsolete.
21107 * simple.el (minibuffer-completing-symbol): Make obsolete.
21108 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21109 completion-try-completion.
21110
21111 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21112
21113 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21114
21115 2011-05-30 Leo Liu <sdl.web@gmail.com>
21116
21117 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21118 (rcirc-print): Decode all incoming messages (bug#8744).
21119 (rcirc-decode-coding-system): Allow value nil for automatic coding
21120 system detection.
21121
21122 2011-06-01 Glenn Morris <rgm@gnu.org>
21123
21124 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21125
21126 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21127
21128 * image.el (image-animate-max-time): Allow nil and t values.
21129 Default to nil.
21130 (create-animated-image): Doc fix.
21131 (image-animate-start): Remove second arg; just use
21132 image-animate-max-time.
21133 (image-animate-timeout): Doc fix. Args changed.
21134
21135 * image-mode.el (image-toggle-display-image): Ensure that the
21136 image spec passed to the animate timer is the same object as in
21137 the buffer's display property (Bug#6981).
21138 (image-transform-properties): Doc fix.
21139
21140 * image.el (image-animate-max-time): Default to nil.
21141
21142 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21143
21144 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21145 entire buffer list (Bug#8184).
21146
21147 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21148
21149 * image.el (imagemagick-types-inhibit)
21150 (imagemagick-register-types): Doc fix.
21151
21152 2011-05-29 Deniz Dogan <deniz@dogan.se>
21153
21154 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21155 default.
21156
21157 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21158
21159 * select.el: Don't perform clipboard-manager saving in hooks;
21160 leave the hooks empty.
21161
21162 2011-05-28 Leo Liu <sdl.web@gmail.com>
21163
21164 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21165 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21166 (occur-edit-mode): New major mode (Bug#8463).
21167 (occur-after-change-function): New function.
21168 (occur-engine): Give Occur tags a read-only property.
21169
21170 2011-05-28 Kevin Ryde <user42@zip.com.au>
21171
21172 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21173
21174 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21175
21176 * bindings.el (help-echo): Make the initial non-indicator dash
21177 empty on graphical terminals (Bug#7295).
21178
21179 * files.el (auto-mode-alist): Move config rule after the
21180 in-stripping one (Bug#8547).
21181
21182 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21183
21184 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21185 setting (Bug#8740).
21186
21187 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21188
21189 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21190 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21191 (Bug#8539).
21192
21193 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21194
21195 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21196
21197 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21198
21199 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21200 (hs-hide-block-at-point, hs-find-block-beginning)
21201 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21202 (Bug#8279).
21203
21204 2011-05-28 Glenn Morris <rgm@gnu.org>
21205
21206 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21207
21208 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21209
21210 * help-fns.el (describe-function-1): If the function is a derived
21211 major mode, print the parent mode.
21212
21213 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21214 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21215
21216 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21217
21218 * minibuffer.el (completion--capf-wrapper): Check applicability before
21219 returning non-nil for non-exclusive completion data.
21220 * progmodes/etags.el (tags-completion-at-point-function):
21221 * info-look.el (info-lookup-completions-at-point): Mark as
21222 non-exclusive.
21223 (info-complete): Adjust accordingly.
21224
21225 * info-look.el: Convert to lexical-binding and completion-at-point.
21226 (info-lookup-completions-at-point): New function.
21227 (info-complete): Use it and completion-in-region.
21228
21229 2011-05-28 Drew Adams <drew.adams@oracle.com>
21230
21231 * isearch.el: Let M-e start with point at the first mismatched char.
21232 (isearch-fail-pos): New function.
21233 (isearch-edit-string): Use it.
21234
21235 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21236
21237 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21238
21239 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21240
21241 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21242 traversal functions for avl-trees.
21243 (avl-tree--stack): New struct.
21244 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21245 (avl-tree-enter): Add optional `updatefun' arg.
21246 (avl-tree--do-enter): Add optional `updatefun' arg.
21247 Change return value.
21248 (avl-tree-delete): Add optional `test' and `nilflag' args.
21249 (avl-tree--do-delete): Add `test' and `nilflag' args.
21250 Change return value.
21251 (avl-tree-member): Add optional `nilflag'
21252 (avl-tree-member-p): New function.
21253 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21254 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21255 (avl-tree-stack-empty-p): New functions.
21256
21257 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21258 avl-tree--del-balance1 and make it work both ways.
21259 (avl-tree--del-balance2): Remove.
21260 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21261 make it work both ways.
21262 (avl-tree--enter-balance2): Remove.
21263 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21264 New macros.
21265 (avl-tree--mapc, avl-tree-map): Add direction argument.
21266
21267 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21268
21269 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21270
21271 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21272
21273 * select.el: Support clipboard managers with built-in function
21274 x-clipboard-manager-save, via delete-frame-functions and
21275 kill-emacs-hook.
21276 (xselect-convert-to-targets): Add MULTIPLE target to list.
21277 (xselect-convert-to-save-targets): New function.
21278
21279 2011-05-27 Kenichi Handa <handa@m17n.org>
21280
21281 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21282 let-binding rfc2047-encode-encoded-words to nil.
21283
21284 2011-05-27 Glenn Morris <rgm@gnu.org>
21285
21286 * mail/emacsbug.el: Don't require url-util.
21287
21288 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21289
21290 * files.el (set-auto-mode):
21291 Also respect mode: entries at the end of the file. (Bug#8586)
21292
21293 2011-05-26 Glenn Morris <rgm@gnu.org>
21294
21295 * files.el (hack-local-variables-prop-line, hack-local-variables):
21296 Downcase mode names, as seems to be traditional.
21297 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21298
21299 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21300 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21301
21302 2011-05-25 Julien Danjou <julien@danjou.info>
21303
21304 * textmodes/rst.el (rst-define-level-faces): Do not define face
21305 symbol if it is already defined.
21306
21307 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21308
21309 * play/5x5.el (5x5-new-game, 5x5-randomize):
21310 Reset 5x5-solver-output to nil when a new grid is cast.
21311 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21312 these debugging traces, as defmacro breaks the compiled code.
21313
21314 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21315
21316 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21317
21318 2011-05-24 Leo Liu <sdl.web@gmail.com>
21319
21320 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21321 (vc-bzr-sha1): Adapt.
21322
21323 * sha1.el: Remove. Function `sha1' is now builtin.
21324
21325 * bindings.el: Provide sha1 feature.
21326
21327 2011-05-24 Kenichi Handa <handa@m17n.org>
21328
21329 * mail/sendmail.el: Require `rfc2047'.
21330 (mail-insert-from-field): Do not perform RFC2047 encoding.
21331 (mail-encode-header): New function.
21332 (sendmail-send-it): Set buffer-file-coding-system of the work
21333 buffer to the return value of select-message-coding-system.
21334 Call mail-encode-header.
21335
21336 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21337
21338 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21339
21340 * mail/supercite.el (sc-default-cite-frame):
21341 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21342
21343 2011-05-24 Glenn Morris <rgm@gnu.org>
21344
21345 * progmodes/python.el (brm-menu): Declare.
21346
21347 * emulation/viper.el (viper-set-hooks): Declare.
21348
21349 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21350 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21351 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21352 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21353 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21354 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21355
21356 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21357
21358 Add an :exit-function for completion-at-point.
21359
21360 * minibuffer.el (completion--done): New fun.
21361 (completion--do-completion): Use it. New arg `expect-exact'.
21362 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21363 since completion--do-completion does it for us now.
21364 (minibuffer-force-complete): Use completion--done and
21365 completion--replace. Handle sole-completion case with more care.
21366 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21367 (completion-extra-properties): New var.
21368 (completion-annotate-function): Make obsolete.
21369 (minibuffer-completion-help): Adjust accordingly.
21370 Use completion-list-insert-choice-function.
21371 (completion-at-point, completion-help-at-point):
21372 Bind completion-extra-properties.
21373 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21374 * simple.el (completion-list-insert-choice-function): New var.
21375 (completion-setup-function): Preserve it.
21376 (choose-completion): Pay attention to it, shuffle the code a bit.
21377 (choose-completion-string): New arg `insert-function'.
21378
21379 * textmodes/bibtex.el: Convert to lexical binding.
21380 (bibtex-mode-map): Use completion-at-point.
21381 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21382 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21383 (bibtex-complete): Define as obsolete alias.
21384 (bibtex-complete-internal): Remove.
21385 (bibtex-format-entry): Remove unused sub-group in regexp.
21386 * shell.el (shell--command-completion-data)
21387 (shell-environment-variable-completion):
21388 * pcomplete.el (pcomplete-completions-at-point):
21389 * comint.el (comint--complete-file-name-data): Use :exit-function
21390 instead of completion-table-with-terminator so it also works for
21391 choose-completion.
21392
21393 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21394
21395 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21396
21397 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21398 (bug#8710).
21399
21400 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21401
21402 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21403
21404 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21405 customization variable and implement: If non-nil, auto-fill will
21406 be inhibited while on topic's header line.
21407
21408 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21409
21410 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21411 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21412 always have a solution in grid size = 5 cases.
21413 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21414 (5x5-solver-output, 5x5-log-buffer): New vars.
21415 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21416 Make these variables buffer local to achieve 5x5 multi-session-ness.
21417 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21418 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21419 (5x5-solve-suggest): New funs.
21420 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21421 randomize a grid so that we ensure that there is always a solution.
21422 (5x5-make-random-grid): Allow other movement than flipping.
21423
21424 2011-05-23 Kevin Ryde <user42@zip.com.au>
21425
21426 * emacs-lisp/advice.el (ad-read-advised-function):
21427 Use `function-called-at-point' as the default, if it has
21428 advice and passes PREDICATE.
21429
21430 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21431
21432 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21433 byte-compile-lambda if it's actually a lambda.
21434
21435 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21436 Fix function quoting. Use backquote better.
21437
21438 2011-05-22 Yuanle Song <sylecn@gmail.com>
21439
21440 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21441 matching (Bug#8516).
21442
21443 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21444
21445 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21446 different face (Bug#8178).
21447
21448 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21449
21450 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21451 defface (Bug#8144).
21452
21453 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21454
21455 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21456 funcall as well (bug#8712). Warn when performing those conversions.
21457 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21458
21459 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21460
21461 2011-05-22 Glenn Morris <rgm@gnu.org>
21462
21463 * files.el (hack-local-variables-prop-line): Small simplifications.
21464 (hack-local-variables, hack-local-variables-prop-line):
21465 If MODE-ONLY, return the mode, rather than just `t'.
21466
21467 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21468
21469 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21470
21471 2011-05-21 Glenn Morris <rgm@gnu.org>
21472
21473 * files.el (hack-local-variables-prop-line, hack-local-variables):
21474 If only interested in the mode, don't bother doing the other stuff.
21475
21476 * image-mode.el (image-after-revert-hook):
21477 Redraw all frames on which the image is visible. (Bug#8567)
21478
21479 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21480
21481 * wid-edit.el (widget-checklist-match-inline):
21482 Fix 2011-04-19 change. (Bug#8649)
21483
21484 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21485
21486 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21487 Also allow singlespace after single-letter capitals followed by a dot.
21488
21489 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21490 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21491
21492 2011-05-20 Nix <nix@esperi.org.uk>
21493
21494 * files.el (basic-save-buffer-2):
21495 Fix handling of break-hardlink-on-save with non-existent files.
21496
21497 2011-05-19 Deniz Dogan <deniz@dogan.se>
21498
21499 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21500 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21501
21502 2011-05-19 Glenn Morris <rgm@gnu.org>
21503
21504 * progmodes/f90.el (f90-type-def-re):
21505 Handle "type, bind(c)". (Bug#8691)
21506
21507 * emacs-lisp/autoload.el (batch-update-autoloads):
21508 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21509
21510 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
21511
21512 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21513 property for the correct connection in case of multihops.
21514
21515 2011-05-18 Glenn Morris <rgm@gnu.org>
21516
21517 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21518 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21519
21520 Rationalize calendar handling of day and month abbrev-arrays.
21521 * calendar/calendar.el (calendar-customized-p): New function.
21522 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21523 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21524 Add :set function.
21525 (calendar-abbrev-length, calendar-day-abbrev-array)
21526 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21527 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21528 Elements may no longer be nil.
21529 (calendar-day-name, calendar-month-name):
21530 Update for changed nature of abbrev arrays.
21531 * calendar/diary-lib.el (diary-name-pattern):
21532 Update for changed nature of abbrev arrays.
21533 (diary-mark-entries-1): Update calendar-make-alist calls.
21534 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21535 * calendar/cal-html.el (cal-html-day-abbrev-array):
21536 Simply inherit from calendar-day-abbrev-array.
21537
21538 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21539
21540 * progmodes/grep.el (grep-mode): Disable default
21541 compilation-directory-matcher setting (bug#8684).
21542
21543 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
21544
21545 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21546 instead of "head" and "tail". There were problems with SunOS 5.9,
21547 and it performs better.
21548
21549 2011-05-17 Glenn Morris <rgm@gnu.org>
21550
21551 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21552
21553 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21554 Replace obsolete function.
21555
21556 * shell.el (pcomplete-parse-arguments-function): Declare.
21557
21558 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21559 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21560 (appt-check): Doc fixes.
21561 (appt-disp-window-function, appt-delete-window-function):
21562 Remove needless special case in custom :type.
21563 (appt-display-count): Default to 0, not nil.
21564 (appt-check): Reset appt-display-count to 0, not nil.
21565
21566 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
21567
21568 * progmodes/python.el (python-font-lock-keywords):
21569 Add the Python 3.X keyword "nonlocal" (bug#8639).
21570
21571 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21572
21573 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21574
21575 2011-05-16 Kevin Ryde <user42@zip.com.au>
21576
21577 * info-look.el (makefile-automake-mode): New setups, looking in
21578 automake manual, then makefile-mode.
21579 (makefile-mode): Remove automake manual, have it just in
21580 makefile-automake-mode since there's various things different or
21581 not relevant to plain make.
21582 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21583 believe a hypothetical automake-mode would go to makefile-mode,
21584 not the other way around.
21585
21586 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
21587
21588 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21589 hunk-end tags (Bug#8672).
21590
21591 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21592 vc-annotate-show-diff-revision-at-line (Bug#8671).
21593
21594 2011-05-14 Glenn Morris <rgm@gnu.org>
21595
21596 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21597 in the middle of an existing one with multiple authors. (Bug#8645)
21598 (change-log-font-lock-keywords): Also handle multiple author lines
21599 with leading tabs. (Bug#8644)
21600
21601 * calendar/appt.el (appt-check): Rename some local variables.
21602 Some simplification/reordering.
21603
21604 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21605 (feedmail-sendmail-f-doesnt-sell-me-out)
21606 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21607 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21608 (feedmail-queue-runner-message-sender): Set :version.
21609 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21610 (bbdb-dwim-net-address, vm-mail): Declare.
21611 (feedmail-binmail-gnulinuxish-template):
21612 Rename from feedmail-binmail-linuxish-template.
21613 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21614 Use insert-buffer-substring.
21615
21616 2011-05-14 Bill Carpenter <bill@carpenter.org>
21617
21618 * mail/feedmail.el (feedmail-patch-level): Increase.
21619 (feedmail-debug): New custom group.
21620 (feedmail-confirm-outgoing-timeout)
21621 (feedmail-sendmail-f-doesnt-sell-me-out)
21622 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21623 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21624 (feedmail-sender-line, feedmail-from-line)
21625 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
21626 (feedmail-spray-this-address)
21627 (feedmail-spray-address-fiddle-plex-list)
21628 (feedmail-queue-use-send-time-for-date)
21629 (feedmail-queue-use-send-time-for-message-id)
21630 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21631 (feedmail-buffer-eating-function):
21632 Doc fixes.
21633 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21634 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21635 (feedmail-message-action-scroll-down): New functions.
21636 (feedmail-queue-directory, feedmail-queue-draft-directory):
21637 Use expand-file-name.
21638 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21639 Remove C-v help entry.
21640 (feedmail-queue-buffer-file-name): New variable.
21641 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21642 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21643 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21644 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21645 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21646 (feedmail-message-action-toggle-spray)
21647 (feedmail-run-the-queue-no-prompts)
21648 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21649 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21650 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21651 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21652 (feedmail-envelope-deducer, feedmail-fiddle-from)
21653 (feedmail-fiddle-sender, feedmail-default-date-generator)
21654 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21655 (feedmail-fiddle-spray-address)
21656 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21657 (feedmail-fiddle-list-of-fiddle-plexes)
21658 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21659 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21660 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21661 Change default. Doc fix.
21662 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21663 (feedmail-binmail-linuxish-template): New constant.
21664 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21665 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21666 (feedmail-send-it): Add debug call.
21667 Use feedmail-queue-buffer-file-name, and
21668 feedmail-send-it-immediately-wrapper.
21669 (feedmail-message-action-send): Add debug call.
21670 Use feedmail-send-it-immediately-wrapper.
21671 (feedmail-queue-express-to-queue): Add debug call.
21672 Run feedmail-queue-express-hook.
21673 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21674 (feedmail-message-action-help-blat):
21675 Rename from feedmail-queue-send-edit-prompt-help-first.
21676 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21677 Check line-endings. Handle errors better.
21678 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21679 Doc fix. Add debug call.
21680 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21681 Use feedmail-queue-send-edit-prompt-inner.
21682 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21683 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21684 from feedmail-queue-send-edit-prompt.
21685 (feedmail-queue-send-edit-prompt-help)
21686 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21687 (feedmail-tidy-up-slug): Add debug call.
21688 Respect feedmail-queue-slug-suspect-regexp.
21689 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21690 (feedmail-dump-message-to-queue): Add debug call.
21691 Expand queue-directory.
21692 (feedmail-dump-message-to-queue): Change message slightly.
21693 Use feedmail-say-chatter.
21694 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21695 (feedmail-send-it-immediately-wrapper): New function.
21696 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21697 Insert empty string rather than newline. Handle full-frame case.
21698 Use catch/throw. Use feedmail-say-chatter.
21699 (feedmail-fiddle-from): Try mail-host-address.
21700 (feedmail-default-message-id-generator): Doc fix.
21701 Bind system-time-locale. Handle missing end.
21702 (feedmail-fiddle-x-mailer): Add debug call.
21703 Handle feedmail-x-mailer-line being nil.
21704 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21705 Add debug call. Use buffer-substring-no-properties.
21706 (feedmail-say-debug, feedmail-say-chatter): New functions.
21707 (feedmail-find-eoh): Give an explicit error.
21708
21709 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
21710
21711 * net/newst-treeview.el (newsticker-treeview-face): Change default
21712 family from helvetica to sans.
21713 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
21714 etc/images/newsticker.
21715
21716 * net/newst-reader.el (newsticker-feed-face): Change default
21717 family from helvetica to sans.
21718
21719 * net/newst-plainview.el (newsticker-new-item-face)
21720 (newsticker-old-item-face, newsticker-immortal-item-face)
21721 (newsticker-obsolete-item-face, newsticker-date-face)
21722 (newsticker-statistics-face): Change default family from
21723 helvetica to sans.
21724 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
21725 etc/images/newsticker.
21726
21727 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21728 (newsticker--process-auto-mark-filter-match): Tell user about
21729 auto-marking.
21730
21731 2011-05-13 Didier Verna <didier@xemacs.org>
21732
21733 Common Lisp indentation improvements on defmethod and lambda-lists.
21734 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21735 TODO entries.
21736 (lisp-lambda-list-keyword-parameter-indentation)
21737 (lisp-lambda-list-keyword-parameter-alignment)
21738 (lisp-lambda-list-keyword-alignment): New customizable user options.
21739 (lisp-indent-defun-method): Improve docstring.
21740 (extended-loop-p): Fix comment.
21741 (lisp-indent-lambda-list-keywords-regexp): New variable.
21742 (lisp-indent-lambda-list): New function.
21743 (lisp-indent-259): Use it.
21744 (lisp-indent-defmethod): Support for more than one
21745 method qualifier and properly indent methods lambda-lists.
21746 (defgeneric): Provide a missing common-lisp-indent-function property.
21747
21748 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
21749
21750 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21751 bounds for the empty string (bug#8667).
21752
21753 2011-05-13 Glenn Morris <rgm@gnu.org>
21754
21755 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21756
21757 * mail/sendmail.el (sendmail-program): Try executable-find first.
21758 (sendmail-send-it): `sendmail-program' cannot be unbound.
21759
21760 * calendar/appt.el (appt-make-list): Simplify.
21761 (appt-time-msg-list): Doc fix.
21762 (appt-check): Change mode-line message at the time of the appointment.
21763
21764 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
21765
21766 * progmodes/ld-script.el (ld-script-keywords)
21767 (ld-script-builtins): Update keywords list.
21768
21769 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21770
21771 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21772
21773 * shell.el (shell-completion-vars): New function.
21774 (shell-mode):
21775 * simple.el (read-shell-command): Use it.
21776 (blink-matching-open): No need for " [...]" in minibuffer-message.
21777
21778 2011-05-12 Glenn Morris <rgm@gnu.org>
21779
21780 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21781 (appt-check): Simplify.
21782
21783 2011-05-12 Eli Zaretskii <eliz@gnu.org>
21784
21785 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
21786 literal "/dev/null".
21787
21788 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21789
21790 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21791 Fix typo.
21792
21793 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
21794
21795 * progmodes/which-func.el (which-function):
21796 Use add-log-current-defun instead of add-log-current-defun-function,
21797 which might not be defined (Bug#8260).
21798
21799 2011-05-12 Glenn Morris <rgm@gnu.org>
21800
21801 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21802 Let byte-compile-initial-macro-environment always take precedence.
21803
21804 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21805
21806 * net/rcirc.el: Add support for SSL/TLS connections.
21807 (rcirc-server-alist): New field `encryption'.
21808 (rcirc): Check `encryption' settings.
21809 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21810 Merge make-local-variable into `set'.
21811 (rcirc--connection-open-p): New function.
21812 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21813 the process is not a network process (e.g. running gnutls-cli).
21814 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21815 Make rcirc-(en|de)code-coding-system local here.
21816 (rcirc-mode): Merge make-local-variable into `set'.
21817 (rcirc-parent-buffer): Make permanent buffer-local.
21818 (rcirc-multiline-minor-mode): Don't do it here.
21819 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21820 there's no server buffer.
21821
21822 2011-05-11 Glenn Morris <rgm@gnu.org>
21823
21824 * newcomment.el (comment-kill): Prefix "unused" local.
21825
21826 * term/w32console.el (get-screen-color): Declare.
21827
21828 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21829 Handle symbol elements of byte-compile-initial-macro-environment.
21830
21831 2011-05-10 Leo Liu <sdl.web@gmail.com>
21832
21833 * bookmark.el (bookmark-bmenu-mode-map):
21834 Bind bookmark-bmenu-search to `/'.
21835
21836 * mail/footnote.el: Convert to utf-8 encoding.
21837 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21838 (Footnote-unicode): New function.
21839 (footnote-style-alist): Add unicode style to the list.
21840 (footnote-style): Doc fix.
21841
21842 2011-05-10 Jim Meyering <meyering@redhat.com>
21843
21844 Fix doubled-word typos.
21845 * international/quail.el (quail-insert-kbd-layout): and and -> and
21846 * kermit.el: and and -> and
21847 * net/ldap.el (ldap-search-internal): to to -> to
21848 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21849 * progmodes/js.el (js-mode): and and -> and
21850 * textmodes/artist.el (artist-move-to-xy): at at -> at
21851 (artist-draw-region-trim-line-endings): if if -> if
21852 And Safetyc -> Safety.
21853 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21854
21855 2011-05-10 Glenn Morris <rgm@gnu.org>
21856 Stefan Monnier <monnier@iro.umontreal.ca>
21857
21858 * files.el (hack-one-local-variable-eval-safep):
21859 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
21860
21861 2011-05-10 Glenn Morris <rgm@gnu.org>
21862
21863 * calendar/diary-lib.el (diary-list-entries-hook)
21864 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21865 (diary-nongregorian-marking-hook, diary-list-entries)
21866 (diary-include-other-diary-files, diary-mark-entries)
21867 (diary-mark-included-diary-files): Doc fixes.
21868
21869 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
21870
21871 * misc.el: Require tabulated-list.el during compilation.
21872
21873 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
21874
21875 * progmodes/compile.el (compilation-start):
21876 Run compilation-filter-hook for the async case too.
21877 (compilation-filter-hook): Doc fix.
21878
21879 2011-05-09 Deniz Dogan <deniz@dogan.se>
21880
21881 * wdired.el: Remove outdated installation comment. Fix usage
21882 comment.
21883
21884 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
21885
21886 * misc.el: Implement new command `list-dynamic-libraries'.
21887 (list-dynamic-libraries--loaded-only-p): New variable.
21888 (list-dynamic-libraries--refresh): New function.
21889 (list-dynamic-libraries): New command.
21890
21891 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
21892
21893 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21894 Fix the ant regexp to handle end-line and end-column info from jikes.
21895 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
21896 higher priority to avoid clobbering by gnu.
21897
21898 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
21899
21900 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21901 if the face has existing theme settings (Bug#8454).
21902
21903 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
21904
21905 * progmodes/perl-mode.el (perl-imenu-generic-expression):
21906 Only match variables declared via `my' or `our' (Bug#8261).
21907
21908 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21909 special file names `.' and `..' (Bug#8259).
21910
21911 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
21912
21913 * progmodes/grep.el (grep-mode-font-lock-keywords):
21914 Remove buffer-changing entries.
21915 (grep-filter): New function.
21916 (grep-mode): Add it to compilation-filter-hook.
21917
21918 * progmodes/compile.el (compilation-filter-hook)
21919 (compilation-filter-start): New defvars.
21920 (compilation-filter): Call compilation-filter-hook prior to
21921 updating the process mark.
21922
21923 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21924
21925 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21926
21927 2011-05-07 Eli Zaretskii <eliz@gnu.org>
21928
21929 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21930 mailclient-send-it even if window-system is nil. (Bug#8595)
21931
21932 * term/w32console.el (terminal-init-w32console):
21933 Call get-screen-color and use its output to set the frame
21934 background-mode. (Bug#8597)
21935
21936 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21937
21938 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21939 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21940 New functions.
21941 (defgeneric, eieio--defmethod): Use them.
21942 (eieio-defgeneric): Remove.
21943 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21944
21945 2011-05-07 Glenn Morris <rgm@gnu.org>
21946
21947 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21948 Use let rather than let*.
21949 (timeclock-find-discrep): Remove unused local.
21950
21951 * calendar/diary-lib.el (diary-comment-start): Doc fix.
21952
21953 * calendar/appt.el (appt-time-msg-list): Doc fix.
21954
21955 2011-05-06 Noah Friedman <friedman@splode.com>
21956
21957 * apropos.el (apropos-print-doc): Only use
21958 emacs-lisp-docstring-fill-column when it is bound to an integer,
21959 per that variable's documentation.
21960
21961 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21962
21963 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
21964 and warnings are not silently discarded (e.g. use -d instead of -P).
21965
21966 2011-05-06 Glenn Morris <rgm@gnu.org>
21967
21968 * calendar/appt.el (appt-message-warning-time): Doc fix.
21969 (appt-warning-time-regexp): New option.
21970 (appt-make-list): Respect appt-message-warning-time.
21971
21972 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21973 New options.
21974 (diary-add-to-list): Strip comments from the displayed string.
21975 (diary-mode): Set comment-start and comment-end.
21976
21977 * vc/diff-mode.el (smerge-refine-subst): Declare.
21978 (diff-refine-hunk): Don't require smerge-mode when compiling.
21979
21980 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
21981
21982 * simple.el (list-processes): Return nil as the docstring says.
21983
21984 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
21985
21986 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21987 to "".
21988 (ange-ftp-write-region, ange-ftp-insert-file-contents)
21989 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21990 determining of binary transfer. (Bug#7383)
21991
21992 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
21993
21994 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21995 Fix port computation bug. (Bug#8618)
21996
21997 2011-05-05 Glenn Morris <rgm@gnu.org>
21998
21999 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22000
22001 * simple.el (shell-dynamic-complete-functions)
22002 (comint-dynamic-complete-functions): Declare.
22003
22004 * net/network-stream.el (gnutls-negotiate):
22005 * simple.el (tabulated-list-print): Fix declarations.
22006
22007 * progmodes/gud.el (syntax-symbol, syntax-point):
22008 Remove unnecessary and incorrect declarations.
22009
22010 * emacs-lisp/check-declare.el (check-declare-scan):
22011 Handle byte-compile-initial-macro-environment in bytecomp.el.
22012
22013 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22014
22015 Fix earlier half-done eieio-defmethod change (bug#8338).
22016 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22017 Streamline and change calling convention.
22018 (defmethod): Adjust accordingly and simplify.
22019 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22020 new eieio--defmethod.
22021 (slot-boundp): Minor CSE simplification.
22022
22023 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22024
22025 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22026 (glasses-make-readable): Use glasses-separate-capital-groups.
22027
22028 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22029
22030 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22031 (warning-series): Doc fix.
22032 (display-warning): Don't try to create the buffer if we just found it.
22033
22034 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22035
22036 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22037 (autoload-find-generated-file): New function.
22038 (generate-file-autoloads): Bind generated-autoload-file to
22039 buffer-file-name.
22040 (update-file-autoloads, update-directory-autoloads):
22041 Use autoload-find-generated-file. If called interactively, prompt for
22042 output file (Bug#7989).
22043 (batch-update-autoloads): Doc fix.
22044
22045 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22046
22047 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22048
22049 2011-05-04 Glenn Morris <rgm@gnu.org>
22050
22051 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22052 function, so it follows changes in calendar-date-style.
22053 (diary-fancy-date-matcher): New function.
22054 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22055 (diary-fancy-font-lock-fontify-region-function):
22056 Use diary-fancy-date-pattern as a function.
22057
22058 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22059 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22060
22061 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22062
22063 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22064 instead of positional arguments. Allow :keylist and :crlfiles
22065 arguments.
22066 (open-gnutls-stream): Call it.
22067
22068 * net/network-stream.el (network-stream-open-starttls): Adjust to
22069 call `gnutls-negotiate' with :process and :hostname arguments.
22070
22071 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22072
22073 * minibuffer.el (completion--message): New function.
22074 (completion--do-completion, minibuffer-complete)
22075 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22076 (completion--do-completion): Don't ignore completion-auto-help when in
22077 icomplete-mode.
22078
22079 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22080 internal encoding (e.g. tibetan zero is not whitespace).
22081 (global-whitespace-mode): Prefer save-current-buffer.
22082 (whitespace-trailing-regexp): Remove useless save-match-data.
22083 (whitespace-empty-at-bob-regexp): Minor simplification.
22084
22085 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22086
22087 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22088
22089 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22090
22091 * textmodes/ispell.el (ispell-add-per-file-word-list):
22092 Use `concat' to create string for insertion.
22093
22094 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22095
22096 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22097 Avoid open-line which runs post-self-insert-hook.
22098 (bibtex-fill-entry): Remove unused `end' var.
22099
22100 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22101
22102 * textmodes/ispell.el (ispell-add-per-file-word-list):
22103 Protect against `nil' value of `comment-start' (Bug#8579).
22104
22105 2011-05-03 Leo Liu <sdl.web@gmail.com>
22106
22107 * isearch.el (isearch-yank-pop): New command.
22108 (isearch-mode-map): Bind it to `M-y'.
22109 (isearch-forward): Mention it.
22110
22111 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22112
22113 * simple.el (minibuffer-complete-shell-command): Remove.
22114 (minibuffer-local-shell-command-map): Use completion-at-point.
22115 (read-shell-command): Setup completion vars here instead.
22116 (read-expression-map): Bind TAB to symbol completion.
22117
22118 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22119 error directly rather via storing it into `results'.
22120
22121 2011-05-02 Leo Liu <sdl.web@gmail.com>
22122
22123 * vc/diff.el: Fix description.
22124
22125 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22126
22127 * server.el (server-eval-at): New function.
22128
22129 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22130
22131 * net/network-stream.el (open-network-stream): Take a :nowait
22132 parameter and pass it on to `make-network-process'.
22133 (network-stream-open-plain): Ditto.
22134
22135 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22136
22137 * faces.el (face-spec-set-match-display): Don't match toolkit
22138 options on terminal frames.
22139
22140 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22141
22142 * progmodes/pascal.el: Use lexical binding.
22143 (pascal-mode-map): Remove author preferences.
22144
22145 * pcomplete.el (pcomplete-std-complete): Don't abuse
22146 completion-at-point.
22147
22148 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22149
22150 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22151 removing code that has been dead since 1991 or so.
22152
22153 * startup.el (command-line): When warning about "_emacs", use a
22154 delayed warning to allow the user to filter it out.
22155
22156 2011-04-28 Deniz Dogan <deniz@dogan.se>
22157
22158 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22159 user has not joined.
22160
22161 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22162
22163 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22164 aren't any completions at point.
22165
22166 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22167
22168 * subr.el (display-delayed-warnings): New function.
22169 (delayed-warnings-hook): New variable.
22170
22171 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22172
22173 * minibuffer.el (completion-at-point, completion-help-at-point):
22174 Don't presume that a given completion-at-point-function will always
22175 use the same calling convention.
22176
22177 * pcomplete.el (pcomplete-completions-at-point):
22178 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22179 pcomplete-seen is non-nil.
22180 (pcomplete-comint-setup): Also recognize the new comint/shell
22181 completion functions.
22182 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22183 pcomplete-seen is non-nil.
22184
22185 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22186
22187 * calendar/icalendar.el (diary-lib): Add require statement.
22188 (icalendar--create-uid): Read out a uid from a text-property on
22189 the first character in the entry. This allows for code to add its
22190 own uid to the entry.
22191 (icalendar--convert-float-to-ical): Add export of
22192 `diary-float'-entries save for those with the optional DAY
22193 argument.
22194
22195 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22196
22197 * subr.el (shell-quote-argument): Use alternate escaping strategy
22198 when we spot a variable reference in a string.
22199
22200 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22201
22202 * cus-start.el (all): Define customization for debug-on-event.
22203
22204 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22205
22206 * subr.el (shell-quote-argument): Escape correctly under Windows.
22207
22208 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22209
22210 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22211
22212 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22213
22214 * net/tramp.el (tramp-process-actions): Add POS argument.
22215 Delete region between POS and (pos).
22216
22217 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22218 Use `nil' position in `tramp-process-actions' call.
22219 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22220
22221 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22222 position in `tramp-process-actions' call.
22223
22224 * net/trampver.el: Update release number.
22225
22226 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22227
22228 * custom.el (defcustom): Obey lexical-binding.
22229
22230 Fix octave-inf completion problems reported by Alexander Klimov.
22231 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22232 Inherit from octave-mode-syntax-table.
22233 (inferior-octave-mode): Set info-lookup-mode.
22234 (inferior-octave-completion-at-point): New function.
22235 (inferior-octave-complete): Use it and completion-in-region.
22236 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22237 comint-filename-completion.
22238 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22239 symbol elements which shouldn't be word elements.
22240 (octave-font-lock-keywords, octave-beginning-of-defun)
22241 (octave-function-header-regexp): Adjust regexps accordingly.
22242 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22243
22244 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22245
22246 * net/gnutls.el (gnutls-errorp): Declare before first use.
22247
22248 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22249
22250 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22251 verify-error, and verify-hostname-error parameters. Check whether
22252 default trustfile exists before going to use it. Add missing
22253 argument to gnutls-message-maybe call. Return value.
22254 Reported by Claudio Bley <claudio.bley@gmail.com>.
22255 (open-gnutls-stream): Add usage example.
22256
22257 * net/network-stream.el (network-stream-open-starttls): Give host
22258 parameter to `gnutls-negotiate'.
22259 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22260 * subr.el (shell-quote-argument): Escape correctly under Windows.
22261
22262 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22263
22264 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22265 Use correct match group (bug#8438).
22266
22267 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22268
22269 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22270 (package-menu--generate): New arg specifying packages to show.
22271 (package-menu-refresh, package-menu-execute, list-packages):
22272 Callers changed.
22273 (package-show-package-list): New function, replacing deleted
22274 package--list-packages (renamed because it is non-internal).
22275
22276 * finder.el (finder-list-matches): Use package-show-package-list
22277 instead of deleted package--list-packages.
22278
22279 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22280 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22281 (vc-annotate-mode-map): Bind it to RET.
22282
22283 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22284
22285 * progmodes/etags.el (next-file): Don't use set-buffer to change
22286 buffers (Bug#8478).
22287
22288 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22289
22290 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22291
22292 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22293 (apropos-accumulator): Doc fix.
22294 (apropos-function, apropos-macro, apropos-command)
22295 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22296 (apropos-plist): Add face property.
22297 (apropos-symbols-internal): Fix indentation.
22298 (apropos-print): Simplify help, and recognize apropos-multi-type.
22299 (apropos-print-doc): Use button-type-get to extract the button's
22300 face property. Fill docstring (Bug#8352).
22301
22302 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22303
22304 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22305
22306 * play/mpuz.el (mpuz-silent): Doc fix.
22307 (mpuz-mode-map): Use mapc.
22308 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22309 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22310 Fix typos in docstrings.
22311
22312 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22313 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22314
22315 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22316
22317 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22318
22319 * minibuffer.el (completion--do-completion): Avoid the "Next char
22320 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22321
22322 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22323 mouse-2 into unread-command-events, it is interpreted correctly.
22324
22325 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22326 (image-toggle-display): Doc fix.
22327
22328 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22329
22330 * textmodes/page.el (what-page): Use line-number-at-pos to
22331 calculate line number (Bug#6825).
22332
22333 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22334
22335 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22336 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22337 Pass argument NO-DEFAULT to `find-tag-interactive'.
22338
22339 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22340
22341 Lexical-binding cleanup.
22342
22343 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22344 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22345 * progmodes/ada-prj.el (ada-prj-initialize-values)
22346 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22347 (ada-prj-show-value):
22348 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22349 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22350 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22351 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22352 * progmodes/bug-reference.el (bug-reference-push-button):
22353 * progmodes/fortran.el (fortran-line-length):
22354 * progmodes/glasses.el (glasses-change):
22355 * progmodes/octave-mod.el (octave-fill-paragraph):
22356 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22357 (python-pdbtrack-grub-for-buffer, python-sentinel):
22358 * progmodes/sql.el (sql-save-connection):
22359 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22360 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22361 Mark unused parameters.
22362
22363 * progmodes/compile.el (compilation--flush-directory-cache)
22364 (compilation--flush-parse, compile-internal): Mark unused parameters.
22365 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22366 (compilation-next-error-function): Remove unused variable `timestamp'.
22367
22368 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22369 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22370
22371 * progmodes/dcl-mode.el (dcl-end-of-command):
22372 Remove unused variable `start'.
22373 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22374 (dcl-option-value-basic, dcl-option-value-offset)
22375 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22376 Mark unused parameters.
22377 (dcl-save-local-variable): Remove unused variable `val'.
22378 (mode): Declare.
22379
22380 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22381 Mark unused parameters.
22382 (delphi-ignore-changes): Move before first use.
22383 (delphi-charset-token-at): Remove unused variable `start'.
22384 (delphi-else-start): Remove unused variable `if-count'.
22385 (delphi-comment-block-start, delphi-comment-block-end):
22386 Remove unused variable `kind'.
22387 (delphi-indent-line): Remove unused variable `new-point'.
22388
22389 * progmodes/ebrowse.el (ebrowse-files-list)
22390 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22391 Mark unused parameters. Don't quote `lambda'.
22392 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22393 Don't quote `lambda'.
22394 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22395 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22396 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22397 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22398 Use `ignore-errors'.
22399 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22400 (ebrowse-view/find-file-and-search-pattern)
22401 (ebrowse-view/find-member-declaration/definition):
22402 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22403 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22404 Rename parameter PREFIX-ARG to PREFIX.
22405 (ebrowse-tags-read-name): Remove unused variables `start' and
22406 `member-info'.
22407 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22408 to `tags-file'.
22409
22410 * progmodes/etags.el (local-find-tag-hook): Declare.
22411 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22412 Mark unused parameters.
22413
22414 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22415 (executable-interpret): Mark unused parameter.
22416
22417 * progmodes/flymake.el (flymake-process-sentinel)
22418 (flymake-after-change-function)
22419 (flymake-create-temp-with-folder-structure)
22420 (flymake-get-include-dirs-dot): Mark unused parameters.
22421 (flymake-safe-delete-directory): Remove unused variable `err'.
22422
22423 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22424 (speedbar-timer-fn, speedbar-line-text)
22425 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22426 (speedbar-center-buffer-smartly): Declare functions.
22427 (gdb-find-watch-expression): Remove unused variable `array'.
22428 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22429 (gdb-starting): Mark unused parameters.
22430 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22431 (gdb-table-string): Remove unused variable `res'.
22432 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22433 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22434 (gdb-display-buffer): Remove unused variable `cur-size'.
22435
22436 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22437 allow lexical-binding compilation.
22438 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22439 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22440 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22441 Mark unused parameters.
22442 (gud-gdb-marker-filter): Remove unused variable `match'.
22443 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22444 lambda expressions and funcall them, instead of using `fset'.
22445
22446 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22447 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22448
22449 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22450 variable `header-beg'; use `let'.
22451
22452 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22453 `restart', `last-sexp' and `at-do'.
22454
22455 * progmodes/js.el (js--debug): Mark unused parameter.
22456 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22457 (js--splice-into-items): Remove unused variable `item'.
22458 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22459
22460 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22461 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22462 (makefile-complete): Remove unused variable `try'.
22463 (makefile-fill-paragraph, makefile-match-function-end):
22464 Mark unused parameters.
22465
22466 * progmodes/octave-inf.el (inferior-octave-complete):
22467 Remove unused variable `proc'.
22468 (inferior-octave-output-digest): Mark unused parameter.
22469
22470 * progmodes/perl-mode.el (perl-calculate-indent):
22471 Remove unused variable `err'.
22472
22473 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22474 (prolog-indent-line): Mark unused parameters.
22475 (prolog-indent-line): Remove unused variable `beg'.
22476
22477 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22478 (reporter-dont-compact-list): Declare.
22479
22480 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22481 Remove unused variable `char'.
22482 (sh-debug): Mark unused parameter.
22483 (sh-get-indent-info): Remove unused variable `start'.
22484 (sh-calculate-indent): Remove unused variable `var'.
22485
22486 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22487 (simula-electric-keyword): Remove unused variable `null'.
22488 (simula-search-backward, simula-search-forward): Remove unused
22489 variables `begin' and `end'.
22490
22491 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22492 Remove unused variable `pos'.
22493 (vera-electric-tab, vera-comment-uncomment-region):
22494 Mark unused parameters.
22495 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22496
22497 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
22498
22499 * emacs-lisp/package.el (package--builtins, package-alist)
22500 (package-load-descriptor, package-built-in-p, package-activate)
22501 (define-package, package-installed-p)
22502 (package-compute-transaction, package-buffer-info)
22503 (package--push): Doc fix. Distinguish more clearly between
22504 version strings and version lists.
22505
22506 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
22507
22508 Lexical-binding cleanup.
22509
22510 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22511 (5x5-make-mutate-best):
22512 * play/fortune.el (fortune-in-buffer):
22513 * play/gomoku.el (gomoku-init-display):
22514 * play/solitaire.el (solitaire, solitaire-do-check):
22515 * play/tetris.el (tetris-default-update-speed-function):
22516 Mark unused parameters.
22517
22518 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22519 (bubbles--shift): Remove unused variable `char-org'.
22520 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22521 (bubbles--show-images): Remove unused variable `char'.
22522
22523 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22524 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22525 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22526 (decipher-analyze-buffer): Use ?\s.
22527 (decipher-make-checkpoint): Remove unused variable `mapping'.
22528
22529 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22530
22531 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22532 Remove unused variable `result'; use `let'.
22533
22534 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22535 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22536 (gametree-children-shown-p, gametree-compute-reduced-score):
22537 Use `ignore-errors'.
22538
22539 * play/handwrite.el (ps-lpr-switches): Declare.
22540 (handwrite): Remove unused variables `pmin' and `lastp'.
22541
22542 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22543
22544 * play/landmark.el (landmark-init-display)
22545 (landmark-update-naught-weights): Mark unused parameters.
22546 (landmark-y): Remove unused variable `noise'. Simplify.
22547 (landmark-human-plays): Remove unused variable `score'.
22548
22549 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22550 (mpuz-try-proposal): Remove unused variable `game'.
22551
22552 * play/zone.el (life-patterns): Declare.
22553
22554 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
22555
22556 * vc/vc.el (ediff-vc-internal): Declare function.
22557
22558 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22559
22560 * shell.el: Use lexical-binding and std completion UI.
22561 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22562 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22563 comint-preoutput-filter-functions rather than on
22564 comint-output-filter-functions.
22565 (shell-command-completion, shell--command-completion-data)
22566 (shell-filename-completion, shell-environment-variable-completion)
22567 (shell-c-a-p-replace-by-expanded-directory): New functions.
22568 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22569 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22570 (shell-dynamic-complete-environment-variable): Use them.
22571 (shell-dynamic-complete-as-environment-variable)
22572 (shell-dynamic-complete-as-command): Remove.
22573 (shell-match-partial-variable): Match past point.
22574 * comint.el: Clean up use of completion-at-point-functions.
22575 (comint-completion-at-point): New function.
22576 (comint-mode): Use it completion-at-point-functions.
22577 (comint-dynamic-complete): Make it obsolete.
22578 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22579 (comint-c-a-p-replace-by-expanded-history): New function.
22580 (comint-dynamic-complete-functions)
22581 (comint-replace-by-expanded-history): Use it.
22582 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22583 termination strings. Try harder to avoid second try-completion.
22584 (completion-in-region-mode-map): Disable bindings that don't work yet.
22585
22586 * comint.el: Use lexical-binding. Require CL.
22587 (comint-dynamic-complete-functions): Use comint-filename-completion.
22588 (comint-completion-addsuffix): Tweak custom type.
22589 (comint-filename-completion, comint--common-suffix)
22590 (comint--common-quoted-suffix, comint--table-subvert)
22591 (comint--complete-file-name-data): New functions.
22592 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22593 (comint-dynamic-list-filename-completions): Use them.
22594 (comint-dynamic-simple-complete): Make obsolete.
22595
22596 * minibuffer.el (completion-in-region-mode):
22597 Keep completion-in-region-mode--predicate global.
22598 (completion-in-region--postch):
22599 Assume completion-in-region-mode--predicate is not null.
22600
22601 * progmodes/flymake.el (flymake-start-syntax-check-process):
22602 Obey `dir'. Simplify.
22603
22604 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22605 we're in VC after all.
22606
22607 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22608
22609 * vc/vc.el (vc-diff-build-argument-list-internal)
22610 (vc-version-ediff, vc-ediff): New commands.
22611 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22612
22613 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22614
22615 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22616 add sanity check.
22617
22618 * obsolete/erc-hecomplete.el: Make obsolete.
22619 * obsolete/: Standardize obsolescence info in the header.
22620
22621 2011-04-20 Glenn Morris <rgm@gnu.org>
22622
22623 * calendar/solar.el (solar-horizontal-coordinates):
22624 Use the longitude argument rather than `calendar-longitude'.
22625 (solar-date-next-longitude): Remove unused locals.
22626
22627 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22628
22629 * whitespace.el: New version 13.2.1.
22630
22631 2011-04-20 felix <EmacsWiki> (tiny change)
22632
22633 * whitespace.el (global-whitespace-mode): Keep highlight when
22634 switching between major modes on a file.
22635
22636 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22637
22638 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22639 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22640 multi-line comments as well.
22641
22642 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
22643
22644 Lexical-binding cleanup.
22645
22646 * arc-mode.el (archive-mode-revert):
22647 * cmuscheme.el (scheme-interactively-start-process):
22648 * custom.el (custom-initialize-delay):
22649 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22650 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22651 * emacs-lock.el (emacs-lock-clear-sentinel):
22652 * ezimage.el (defezimage):
22653 * follow.el (follow-avoid-tail-recenter):
22654 * fringe.el (set-fringe-mode-1):
22655 * generic-x.el (bat-generic-mode-compile):
22656 * help-mode.el (help-info-variable, help-do-xref)
22657 (help-mode-revert-buffer):
22658 * help.el (view-emacs-todo):
22659 * iswitchb.el (iswitchb-completion-help):
22660 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22661 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22662 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22663 * locate.el (locate-update):
22664 * longlines.el (longlines-encode-region)
22665 (longlines-after-change-function):
22666 * outline.el (outline-isearch-open-invisible):
22667 * ps-def.el (declare-function, charset-dimension, char-width)
22668 (encode-char):
22669 * ps-mule.el (ps-mule-plot-string):
22670 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22671 (recentf-edit-list-select, recentf-edit-list-validate)
22672 (recentf-open-files-action):
22673 * rect.el (delete-whitespace-rectangle-line)
22674 (rectangle-number-line-callback):
22675 * register.el (window-configuration-to-register)
22676 (frame-configuration-to-register):
22677 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22678 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22679 (xselect-convert-to-targets, xselect-convert-to-delete)
22680 (xselect-convert-to-filename, xselect-convert-to-charpos)
22681 (xselect-convert-to-lineno, xselect-convert-to-colno)
22682 (xselect-convert-to-os, xselect-convert-to-host)
22683 (xselect-convert-to-user, xselect-convert-to-class)
22684 (xselect-convert-to-name, xselect-convert-to-integer)
22685 (xselect-convert-to-atom, xselect-convert-to-identity):
22686 * subr.el (declare, ignore, process-kill-without-query)
22687 (text-clone-maintain):
22688 * terminal.el (te-get-char, te-tic-sentinel):
22689 * tool-bar.el (tool-bar-make-keymap):
22690 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22691 * type-break.el (type-break-mode, type-break-noninteractive-query):
22692 * view.el (View-back-to-mark):
22693 * wid-browse.el (widget-browse-action, widget-browse-widget)
22694 (widget-browse-widgets, widget-browse-sexp):
22695 * widget.el (define-widget-keywords):
22696 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22697 Mark unused parameters.
22698
22699 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22700 (align-areas): Remove unused variable `look'.
22701 (align-region): Remove unused variables `real-end' and `pos-list'.
22702
22703 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22704
22705 * bindings.el (mode-line-modified, mode-line-remote):
22706 Mark unused parameters.
22707 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22708
22709 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22710 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22711
22712 * comint.el (comint-history-isearch-pop-state)
22713 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22714 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22715 (comint-substitute-in-file-name): Doc fix.
22716
22717 * completion.el (cmpl-statistics-block): Mark unused parameter.
22718 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22719 (save-completions-to-file, load-completions-from-file):
22720 Remove unused local variable `e'.
22721
22722 * composite.el (compose-chars): Remove unused variable `len'.
22723 (lgstring-insert-glyph): Remove unused variable `g'.
22724 (compose-glyph-string): Remove unused variables `ascent',
22725 `descent', `lbearing' and `rbearing'.
22726 (compose-glyph-string-relative): Remove unused variables
22727 `lbearing', `rbearing' and `wadjust'.
22728 (compose-gstring-for-graphic): Remove unused variables `header',
22729 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22730 (compose-gstring-for-terminal): Remove unused variables `header'
22731 and `nchars'. Use `let', not `let*'.
22732
22733 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22734 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22735 (Custom-buffer-done, custom-buffer-create-internal)
22736 (custom-browse-visibility-action, custom-browse-group-tag-action)
22737 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22738 (widget-magic-mouse-down-action, custom-toggle-parent)
22739 (custom-add-parent-links, custom-toggle-hide-variable)
22740 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22741 (custom-toggle-hide-face, face, hook, custom-group-link-action)
22742 (custom-face-menu-create, custom-variable-menu-create, get)
22743 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22744 (custom-reset-standard-save-and-update): Remove unused variable `value'.
22745 (customize-apropos): Remove unused variable `tests'.
22746 (custom-group-value-create): Remove unused variable `hidden-p'.
22747 (sort-fold-case): Declare.
22748
22749 * cus-theme.el (custom-reset-standard-faces-list)
22750 (custom-reset-standard-variables-list): Declare.
22751 (customize-create-theme, custom-theme-revert, custom-theme-write)
22752 (custom-theme-choose-mode, customize-themes, custom-theme-save):
22753 Mark unused parameters.
22754
22755 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22756
22757 * delim-col.el (delimit-columns-max): Move defvar before first use.
22758
22759 * descr-text.el (describe-char-categories): Don't quote `lambda'.
22760 (describe-char): Don't quote `lambda'. Mark unused parameter.
22761
22762 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22763 (auto-insert): Declare.
22764 (desktop-restore-file-buffer): Rename desktop-* parameters;
22765 mark unused ones.
22766 (desktop-create-buffer): Rename desktop-* parameters and bind them.
22767 (desktop-buffer): Rename desktop-* parameters.
22768
22769 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22770 (dframe-reposition-frame-xemacs, dframe-help-echo)
22771 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22772 Mark unused parameters.
22773
22774 * dired-aux.el (backup-extract-version-start, overwrite-query)
22775 (overwrite-backup-query, rename-regexp-query)
22776 (rename-non-directory-query): Declare.
22777 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22778 (dired-add-entry): Remove unused variable `orig-file-name'.
22779 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22780 Use parameter PRESERVE-TIME instead of accessing dynamic variable
22781 `dired-copy-preserve-time' directly.
22782 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22783 (dired-insert-subdir-newpos): Rename unused variable `pos'.
22784
22785 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22786 (dired-virtual-revert, dired-make-relative-symlink):
22787 Mark unused parameters.
22788 (manual-program): Declare.
22789 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22790 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22791 wrapped in `with-no-warnings' to avoid replacing one warning by another.
22792
22793 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22794
22795 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22796
22797 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22798 Declare.
22799
22800 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22801
22802 * electric.el (Electric-command-loop): Rename parameter
22803 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22804
22805 * expand.el (expand-in-literal): Remove unused variable `here'.
22806
22807 * facemenu.el (facemenu-add-new-color):
22808 Remove unused variable `docstring'.
22809
22810 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22811 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22812 (face-attr-construct): Mark unused parameter. Doc fix.
22813 (read-color): Remove unused variable `hex-string'.
22814
22815 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22816 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22817 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22818 (display-buffer-other-frame): Remove unused variable `old-window'.
22819 (kill-buffer-hook): Declare.
22820 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22821 Mark unused parameters.
22822 (after-find-file): Pass 1 to `auto-save-mode', not t.
22823
22824 * files-x.el (auto-insert): Declare.
22825 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22826
22827 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
22828 variable `buf'. Mark unused parameter.
22829 (find-lisp-insert-directory): Mark unused parameter.
22830
22831 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22832 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22833 (format-common-tail): Remove, unused.
22834 (format-deannotate-region): Remove unused variable `loc'.
22835 (format-annotate-region): Remove unused variable `p'.
22836 (format-annotate-single-property-change): Remove unused variables
22837 `default' and `tail'.
22838
22839 * forms.el (read-file-filter): Declare.
22840 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22841
22842 * frame.el (frame-creation-function-alist): Mark unused parameter.
22843 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22844
22845 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22846 Remove unused parameters.
22847 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22848 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22849
22850 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22851 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22852 (hfy-prepare-tag-map): Mark unused parameters.
22853 (htmlfontify-buffer): Use `called-interactively-p'.
22854
22855 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22856 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22857 (ibuffer-do-occur): Mark unused parameters.
22858 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22859 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22860
22861 * ibuffer.el: Don't quote `lambda'.
22862 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22863 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22864 Mark unused parameters.
22865
22866 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22867 (ido-completing-read): Mark unused parameters.
22868 (ido-copy-current-word): Mark unused parameters;
22869 remove unused variable `name'.
22870 (ido-sort-merged-list): Remove unused parameter `dirs'.
22871
22872 * ielm.el (ielm-input-sender): Mark unused parameter.
22873 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22874 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22875 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22876 `ielm-string' as a dynamic variable accessible from the IELM prompt.
22877 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
22878
22879 * image-dired.el (image-dired-display-thumbs): Remove unused
22880 variables `curr-file' and `count'.
22881 (image-dired-remove-tag): Remove unused variable `start'.
22882 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22883 variable `curr-file'
22884 (image-dired-rotate-original): Remove unused variable `temp-file'.
22885 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22886 Remove unused variable `file'.
22887 (image-dired-gallery-generate): Remove unused variable `curr'.
22888 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22889
22890 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22891
22892 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22893
22894 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22895
22896 * isearch.el (minibuffer-history-symbol): Declare.
22897 (isearch-edit-string): Remove unused variable `err'.
22898 (isearch-message-prefix, isearch-message-suffix):
22899 Mark unused parameters.
22900
22901 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22902
22903 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22904
22905 * makesum.el (double-column): Remove unused variable `cnt'.
22906
22907 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22908 (ido-ignore-item-temp-list): Declare.
22909
22910 * mouse-drag.el (mouse-drag-throw): Remove unused variables
22911 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22912 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22913 (mouse-drag-drag): Remove unused variables `mouse-delta' and
22914 `mouse-col-delta'.
22915
22916 * mouse-sel.el (mouse-extend-internal):
22917 Remove unused variable `orig-window-frame'.
22918
22919 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22920 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22921 Move declarations before first use.
22922 (pcomplete-opt): Mark unused parameters; doc fix.
22923
22924 * proced.el (proced-revert): Mark unused parameter.
22925 (proced-send-signal): Remove unused variable `err'.
22926
22927 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22928 Rename parameter PREFIX-ARG to ARG.
22929 (ps-basic-plot-string, ps-basic-plot-whitespace):
22930 Mark unused parameters.
22931
22932 * replace.el (replace-count): Define.
22933 (occur-revert-function): Mark unused parameters.
22934 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22935 (isearch-case-fold-search, isearch-string): Declare.
22936 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22937 bind `case-fold-search'. Remove unused variables `beg' and `end',
22938 and simplify.
22939 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22940 COUNT and bind `replace-count'.
22941 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22942 to COUNT.
22943
22944 * savehist.el (print-readably, print-string-length): Declare.
22945
22946 * shadowfile.el (shadow-expand-cluster-in-file-name):
22947 Remove unused variable `cluster'.
22948 (shadow-copy-file): Remove unused variable `i'.
22949 (shadow-noquery, shadow-clusters, shadow-site-cluster)
22950 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22951 (shadow-define-literal-group, shadow-define-regexp-group)
22952 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22953
22954 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22955 (shell): Use `called-interactively-p'.
22956 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22957
22958 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22959 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22960 (delete-backward-char): Remove unused variable `ocol'.
22961 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22962 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22963 (event-apply-hyper-modifier, event-apply-shift-modifier)
22964 (event-apply-control-modifier, event-apply-meta-modifier):
22965 Mark unused parameters.
22966 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22967 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22968
22969 * speedbar.el (speedbar-ignored-directory-expressions)
22970 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22971 (speedbar-find-file, speedbar-dir-follow)
22972 (speedbar-directory-buttons-follow, speedbar-tag-find)
22973 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22974 (speedbar-buffers-line-directory, speedbar-buffer-click):
22975 Mark unused parameters.
22976 (speedbar-tag-file): Remove unused variable `mode'.
22977 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22978
22979 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22980
22981 * talk.el (talk): Remove unused variable `display'.
22982
22983 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22984 (tar-write-region-annotate): Mark unused parameter.
22985
22986 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22987 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22988 Declare them, wrapped in `with-no-warnings' to avoid replacing one
22989 warning by another.
22990
22991 * time-stamp.el (time-stamp-string-preprocess):
22992 Remove unused variable `require-padding'.
22993
22994 * tree-widget.el (widget-glyph-enable): Declare.
22995 (tree-widget-action): Mark unused parameter.
22996
22997 * w32-fns.el (x-get-selection): Mark unused parameter.
22998 (autoload-make-program, generated-autoload-file): Declare.
22999
23000 * wdired.el (wdired-revert): Mark unused parameters.
23001 (wdired-xcase-word): Remove unused variable `err'.
23002
23003 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23004 (whitespace-help-scroll): Remove unused variable `data-help'.
23005
23006 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23007 (widget-image-insert, widget-after-change, default)
23008 (widget-default-format-handler, widget-default-notify)
23009 (widget-default-prompt-value, widget-info-link-action)
23010 (widget-url-link-action, widget-function-link-action)
23011 (widget-variable-link-action, widget-file-link-action)
23012 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23013 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23014 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23015 (widget-insert-button-action, widget-delete-button-action, visibility)
23016 (widget-documentation-link-action, widget-documentation-string-action)
23017 (widget-const-prompt-value, widget-regexp-match, symbol)
23018 (widget-coding-system-prompt-value)
23019 (widget-key-sequence-value-to-external, sexp)
23020 (widget-sexp-value-to-internal, character, vector, cons)
23021 (widget-choice-prompt-value, widget-boolean-prompt-value)
23022 (widget-color--choose-action): Mark unused parameters.
23023 (widget-item-match-inline, widget-choice-match-inline)
23024 (widget-checklist-match, widget-checklist-match-inline)
23025 (widget-group-match): Rename parameter VALUES to VALS.
23026 (widget-field-value-set): Remove unused variable `size'.
23027 (widget-color-action): Remove unused variables `value' and `start'.
23028
23029 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23030 variable `dir'. Doc fix.
23031 (windmove-find-other-window): Don't pass it.
23032
23033 * window.el (count-windows): Mark unused parameter.
23034 (bw-adjust-window): Remove unused variable `err'.
23035
23036 * woman.el (woman-file-name): Remove unused variable `default'.
23037 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23038 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23039 (global-font-lock-mode): Declare.
23040 (woman-decode-region): Mark unused parameter.
23041 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23042
23043 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23044 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23045 (x-dnd-handle-moz-url): Remove unused variable `title'.
23046 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23047
23048 * xml.el (xml-parse-tag, xml-parse-attlist):
23049 Remove unused variable `pos'.
23050
23051 2011-04-19 Glenn Morris <rgm@gnu.org>
23052
23053 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23054 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23055 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23056 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23057 * calendar/cal-html.el (cal-html-insert-minical):
23058 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23059 (calendar-mark-date-pattern):
23060 Prefix "unused" locals.
23061
23062 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23063 optional argument `style'.
23064
23065 * calendar/appt.el (appt-make-list):
23066 * calendar/cal-china.el (calendar-chinese-date-string):
23067 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23068 (diary-hebrew-yahrzeit):
23069 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23070 * calendar/calendar.el (calendar-generate-window):
23071 * calendar/time-date.el (time-to-days):
23072 Remove unused local variables.
23073
23074 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23075
23076 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23077 glyphless-char-display table.
23078 (tabulated-list-glyphless-char-display): New var.
23079
23080 2011-04-18 Sam Steingold <sds@gnu.org>
23081
23082 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23083 to acknowledgments.
23084
23085 2011-04-17 Glenn Morris <rgm@gnu.org>
23086
23087 * calendar/diary-lib.el (diary-sexp-entry):
23088 * calendar/holidays.el (holiday-sexp):
23089 Set debug-on-error rather than the removed stack-trace-on-error.
23090
23091 2011-04-16 Glenn Morris <rgm@gnu.org>
23092
23093 * progmodes/f90.el: Use lexical-binding.
23094 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23095
23096 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23097
23098 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23099 (mail-mode): Setup mailalias completion here instead.
23100 * mail/mailalias.el: Use lexical-binding.
23101 (pattern, mailalias-done): Declare dynamic.
23102 (mail-completion-at-point-function): New function, from mail-complete.
23103 (mail-complete): Use it.
23104 (mail-completion-expand): New function.
23105 (mail-get-names): Use it.
23106 (mail-directory, mail-directory-process, mail-directory-stream):
23107 Don't use `pattern' for lexically bound arg.
23108
23109 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23110
23111 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23112 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23113 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23114
23115 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23116 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23117 (byte-interactive-p): Define them again, for use when inlining
23118 old code.
23119
23120 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23121
23122 * loadup.el: Use `string-to-number', not `string-to-int'.
23123
23124 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23125
23126 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23127 gud-gdb-complete-command.
23128 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23129 (gud-gdb-completion-at-point): New function.
23130 (gud-gdb-completions): Remove.
23131
23132 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23133
23134 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23135 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23136 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23137 whether `executable-find' is bound.
23138
23139 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23140
23141 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23142
23143 * minibuffer.el (completion-in-region-mode-predicate)
23144 (completion-in-region-mode--predicate): New vars.
23145 (completion-in-region, completion-in-region--postch)
23146 (completion-in-region-mode): Use them.
23147 (completion--capf-wrapper): Also return the hook function.
23148 (completion-at-point, completion-help-at-point):
23149 Adjust and provide a predicate.
23150
23151 Preserve arg names for advice of subr and lexical functions (bug#8457).
23152 * help-fns.el (help-function-arglist): Consolidate the subr and
23153 new-byte-code cases. Add argument `preserve-names' to extract names
23154 from the docstring when needed.
23155 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23156 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23157 (ad-arglist): Use help-function-arglist's new arg.
23158 (ad-definition-type): Use cond.
23159
23160 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23161
23162 * autorevert.el (auto-revert-handler):
23163 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23164 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23165 Don't quote lambda.
23166
23167 * image-mode.el (image-transform-set-scale):
23168 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23169
23170 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23171
23172 * net/network-stream.el (network-stream-open-starttls): Only do
23173 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23174 Upgrades via gnutls-cli are too slow to be done opportunistically.
23175
23176 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23177
23178 * dframe.el (dframe-current-frame): Remove spurious quote.
23179
23180 2011-04-12 Glenn Morris <rgm@gnu.org>
23181
23182 * calendar/cal-tex.el (cal-tex-end-document):
23183 Try to automatically use latin1 input if needed.
23184
23185 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23186 Don't try to cons a mark onto an empty element.
23187
23188 2011-04-11 Leo Liu <sdl.web@gmail.com>
23189
23190 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23191 buffers.
23192 (ido-kill-buffer-at-head): Support killing virtual buffers.
23193
23194 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23195
23196 * minibuffer.el (completion-show-inline-help): New var.
23197 (completion--do-completion, minibuffer-complete)
23198 (minibuffer-force-complete, minibuffer-complete-word):
23199 Inhibit minibuffer messages if completion-show-inline-help is nil.
23200
23201 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23202 to avoid interference from inline help (Bug#5849).
23203
23204 2011-04-10 Leo Liu <sdl.web@gmail.com>
23205
23206 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23207 Fix typo.
23208
23209 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23210
23211 * image-mode.el (image-toggle-display-image): Signal an error if
23212 not in Image mode.
23213 (image-transform-mode, image-transform-resize)
23214 (image-transform-set-rotation): Doc fix.
23215 (image-transform-set-resize): Delete.
23216 (image-transform-set-scale, image-transform-fit-to-height)
23217 (image-transform-fit-to-width): Handle image-toggle-display-image
23218 and image-transform-resize directly.
23219
23220 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23221
23222 * doc-view.el (doc-view-fit-width-to-window)
23223 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23224 New functions for fitting the shown image to the Emacs window size.
23225 (doc-view-mode-map): Add bindings for the new functions.
23226
23227 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23228
23229 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23230 Fix typo in docstring.
23231
23232 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23233
23234 * files.el (file-size-human-readable): Produce one digit after
23235 decimal, like "ls -lh" does.
23236
23237 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23238 the file size representation.
23239
23240 * simple.el (list-processes): If async subprocesses are not
23241 available, error out with a clear error message.
23242
23243 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23244
23245 * help.el (help-form-show): New function, to be called from C.
23246 Put help-form output in a buffer named differently than *Help*.
23247
23248 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23249
23250 * files.el (file-size-human-readable): New function.
23251
23252 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23253 computing the representation inline. Don't require `cl'.
23254
23255 2011-04-08 Glenn Morris <rgm@gnu.org>
23256
23257 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23258
23259 * net/browse-url.el (browse-url-firefox):
23260 Test system-type, not system-configuration.
23261
23262 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23263 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23264 Use log-edit-empty-buffer-p. (Bug#7598)
23265
23266 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23267 (rlogin-mode-map): Initialize in the defvar.
23268 (rlogin): Use ignore-errors.
23269
23270 * replace.el (occur-mode-map): Some fixes for menu items.
23271
23272 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23273
23274 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23275
23276 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23277
23278 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23279 issuing unused warnings.
23280
23281 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23282 macro directly.
23283
23284 * simple.el: Lisp reimplement of list-processes. Based on an
23285 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23286 (process-menu-mode): New major mode.
23287 (list-processes--refresh, list-processes):
23288 (process-menu-visit-buffer): New functions.
23289
23290 * files.el (save-buffers-kill-emacs): Don't assume any return
23291 value of list-processes, which is undocumented anyway.
23292
23293 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23294
23295 * emacs-lisp/tabulated-list.el: New file.
23296
23297 * emacs-lisp/package.el: Use Tabulated List mode.
23298 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23299 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23300 table format using Tabulated List mode variables.
23301 (package--push): New macro, replacing package-list-maybe-add.
23302 (package-menu--generate): Use package--push. Renamed from
23303 package--generate-package-list.
23304 (package-menu-refresh, list-packages): Use it.
23305 (package-menu--print-info): Rename from package-print-package.
23306 Return insertion data instead of inserting it directly.
23307 (package-menu-describe-package, package-menu-execute):
23308 Use tabulated-list-get-id.
23309 (package-menu-mark-delete, package-menu-mark-install)
23310 (package-menu-mark-unmark, package-menu-backup-unmark)
23311 (package-menu-mark-obsolete-for-deletion):
23312 Use tabulated-list-put-tag.
23313 (package--list-packages, package-menu-revert)
23314 (package-menu-get-package, package-menu-get-version)
23315 (package-menu-sort-by-column): Functions deleted.
23316 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23317 (package-menu--status-predicate, package-menu--version-predicate)
23318 (package-menu--name-predicate)
23319 (package-menu--description-predicate): Handle arguments in the
23320 Tabulated List format.
23321 (package-list-packages-no-fetch): Call list-packages.
23322
23323 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23324
23325 * files.el (after-find-file-from-revert-buffer): Remove variable.
23326 (after-find-file): Don't bind it.
23327 (revert-buffer-in-progress-p): New variable.
23328 (revert-buffer): Bind it.
23329 Pass nil for `after-find-file-from-revert-buffer'.
23330
23331 * saveplace.el (save-place-find-file-hook): Use new variable
23332 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23333
23334 2011-04-06 Glenn Morris <rgm@gnu.org>
23335
23336 * Makefile.in (AUTOGEN_VCS): New variable.
23337 (autoloads): Use $AUTOGEN_VCS.
23338
23339 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23340 * calendar/calendar.el (calendar-mode-map):
23341 Check for toolkit scroll bars. (Bug#8305)
23342
23343 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23344
23345 * minibuffer.el (completion-in-region--postch)
23346 (completion-in-region-mode): Remove unnecessary messages.
23347
23348 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23349
23350 * font-lock.el (font-lock-refresh-defaults):
23351 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23352 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23353
23354 * info.el (Info-directory-list, Info-read-node-name-2)
23355 (Info-split-parameter-string): Doc fixes.
23356 (Info-virtual-nodes): Reflow docstring.
23357 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23358 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23359 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23360 Fix typos in docstrings.
23361 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23362 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23363 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23364 (Info-restore-desktop-buffer): Mark unused parameters.
23365 (Info-directory-find-file, Info-directory-find-node)
23366 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23367 (Info-virtual-index-find-node, Info-apropos-find-file)
23368 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23369 Mark unused parameters; fix typos in docstrings.
23370 (Info-virtual-index): Remove unused local variable `nodename'.
23371
23372 2011-04-05 Deniz Dogan <deniz@dogan.se>
23373
23374 * net/rcirc.el: Update my e-mail address.
23375 (rcirc-mode-map): Remove M-o binding.
23376
23377 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23378
23379 * startup.el (command-line): Save the cursor's theme-face
23380 directly, instead of using face-override-spec.
23381
23382 * custom.el (load-theme): Minor optimization in assigning faces.
23383
23384 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23385
23386 * help-fns.el (describe-variable): Complete all variables having
23387 documentation, including keywords.
23388 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23389
23390 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23391
23392 Convert to lexical-binding.
23393
23394 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23395 (bs--get-marked-string, bs--get-modified-string)
23396 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23397 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23398 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23399
23400 * ehelp.el (electric-help-execute-extended)
23401 (electric-help-ctrl-x-prefix):
23402 * hexl.el (hexl-revert-buffer-function):
23403 * linum.el (linum-after-change, linum-after-scroll):
23404 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23405
23406 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23407
23408 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23409
23410 * epa-dired.el:
23411 * epa-mail.el:
23412 * epa-hook.el:
23413 * epa-file.el:
23414 * epa.el:
23415 * epg.el: Use lexical binding.
23416
23417 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23418
23419 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23420
23421 * textmodes/flyspell.el (flyspell-word): Recognize default
23422 dictionary case for flyspell-mark-duplications-exceptions.
23423 Use regexp matching for languages.
23424 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23425 default dictionary (Bug#7926).
23426
23427 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23428
23429 * emacs-lisp/package.el (package--with-work-buffer):
23430 Recognize https URLs.
23431
23432 * net/network-stream.el: Move from gnus/proto-stream.el.
23433 Change prefix to network-stream throughout.
23434 (open-protocol-stream): Merge into open-network-stream, leaving
23435 open-protocol-stream as an alias. Handle nil BUFFER args.
23436
23437 * subr.el (open-network-stream): Move to net/network-stream.el.
23438
23439 2011-04-02 Glenn Morris <rgm@gnu.org>
23440
23441 * find-dired.el (find-exec-terminator): New option.
23442 (find-ls-option): Test for -ls support.
23443 (find-ls-subdir-switches): Test for -b in find-ls-option.
23444 (find-dired, find-grep-dired): Doc fixes.
23445 (find-dired): Use find-exec-terminator.
23446
23447 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23448 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23449 (find-name-arg): Remove purecopy.
23450
23451 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23452 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23453 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23454 accordingly. Don't add the null-device if not needed.
23455
23456 * files.el (save-some-buffers): Doc fix.
23457
23458 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23459
23460 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23461
23462 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23463
23464 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23465 Use `dolist' rather than `mapcar'.
23466
23467 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23468
23469 Add lexical binding.
23470
23471 * subr.el (apply-partially): Use new closures rather than CL.
23472 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23473 (dolist, dotimes): Use slightly different expansion for lexical code.
23474 (functionp): Move to C.
23475 (letrec): New macro.
23476 (with-wrapper-hook): Use it and apply-partially instead of CL.
23477 (eval-after-load): Preserve lexical-binding.
23478 (save-window-excursion, with-output-to-temp-buffer): Turn them
23479 into macros.
23480
23481 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23482
23483 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23484 than the arglist.
23485 (help-add-fundoc-usage): Don't add `Not documented'.
23486 (help-function-arglist): Handle closures, subroutines, and new
23487 byte-code-functions.
23488 (help-make-usage): Remove leading underscores.
23489 (describe-function-1): Handle closures.
23490 (describe-variable): Use special-variable-p for completion.
23491
23492 * files.el (lexical-binding): Declare safe.
23493
23494 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23495 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23496 (pcase): Add `let' pattern.
23497 Change memoization so it actually works.
23498 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23499 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23500 <let>: New case.
23501
23502 * emacs-lisp/macroexp.el: Use lexical binding.
23503 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23504 Don't convert ' to #' without checking that it's indeed quoting
23505 a lambda.
23506
23507 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23508 Use eval-sexp-add-defvars.
23509 (eval-sexp-add-defvars): New fun.
23510
23511 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23512
23513 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23514 Don't autoload.
23515 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23516 than the internal `byte-compile-lambda'.
23517 (defmethod): Don't hide code under quotes.
23518 (eieio-defmethod): New `code' argument.
23519
23520 * emacs-lisp/eieio-comp.el: Remove.
23521
23522 * emacs-lisp/edebug.el (edebug-eval-defun)
23523 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23524 (edebug-toggle): Avoid `eval'.
23525
23526 * emacs-lisp/disass.el (disassemble-internal): Handle new
23527 `closure' objects.
23528 (disassemble-1): Handle new byte codes.
23529
23530 * emacs-lisp/cl.el (pushnew): Silence warning.
23531
23532 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23533 (cl-byte-compile-throw): Remove.
23534 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23535
23536 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23537 closures.
23538
23539 * emacs-lisp/cconv.el: New file.
23540
23541 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23542 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23543 (byte-compile-initial-macro-environment):
23544 Handle declare-function here.
23545 (byte-compile--lexical-environment): New var.
23546 (byte-stack-ref, byte-stack-set, byte-discardN)
23547 (byte-discardN-preserve-tos): New lap codes.
23548 (byte-interactive-p): Don't use any more.
23549 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23550 New macros.
23551 (byte-compile-lapcode): Use them and handle new lap codes.
23552 (byte-compile-obsolete): Remove.
23553 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23554 (byte-compile-arglist-warn): Check late def of inlinable funs.
23555 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23556 since they should have been expanded by now.
23557 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23558 (byte-compile-from-buffer): Remove unused second arg.
23559 (byte-compile-preprocess): New function.
23560 (byte-compile-toplevel-file-form): New function to distinguish
23561 file-form calls from outside from file-form calls from hunk-handlers.
23562 (byte-compile-file-form): Simplify.
23563 (byte-compile-file-form-defsubst): Remove.
23564 (byte-compile-file-form-defmumble): Simplify now that
23565 byte-compile-lambda always returns a byte-code-function.
23566 (byte-compile): Preprocess.
23567 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23568 Remove, not used any more.
23569 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23570 (byte-compile-make-args-desc): New funs.
23571 (byte-compile-lambda): Handle lexical functions. Always return
23572 a byte-code-function.
23573 (byte-compile-reserved-constants): New var, to make up room for
23574 closed-over variables.
23575 (byte-compile-constants-vector): Obey it.
23576 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23577 (byte-compile-macroexpand-declare-function): New function.
23578 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23579 byte-code-functions.
23580 (byte-compile-form): Check obsolescence here.
23581 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23582 (byte-compile-variable-ref): Remove.
23583 (byte-compile-dynamic-variable-op): New fun.
23584 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23585 (byte-compile-variable-set): New funs.
23586 (byte-compile-discard): Add 2 args.
23587 (byte-compile-stack-ref, byte-compile-stack-set)
23588 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23589 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23590 macroexpand-all instead.
23591 (byte-compile-quote-form): Remove.
23592 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23593 (byte-compile-bind, byte-compile-unbind): New funs.
23594 (byte-compile-let): Handle let* and lexical binding.
23595 (byte-compile-let*): Remove.
23596 (byte-compile-catch, byte-compile-unwind-protect)
23597 (byte-compile-track-mouse, byte-compile-condition-case):
23598 Handle a new :fun-body form, used for lexical scoping.
23599 (byte-compile-save-window-excursion)
23600 (byte-compile-with-output-to-temp-buffer): Remove.
23601 (byte-compile-defun): Simplify.
23602 (byte-compile-stack-adjustment): New fun.
23603 (byte-compile-out): Use it.
23604 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23605
23606 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23607 handler any more.
23608
23609 * emacs-lisp/byte-opt.el: Use lexical binding.
23610 (byte-inline-lapcode): Remove (to bytecomp).
23611 (byte-compile-inline-expand): Pay attention to inlining to/from
23612 lexically bound code.
23613 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23614 any more.
23615 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23616 any more and don't call compiler-macros.
23617 (byte-compile-splice-in-already-compiled-code): Remove.
23618 (byte-code): Don't inline any more.
23619 (disassemble-offset): Receive `bytes' as argument rather than via
23620 dynamic scoping.
23621 (byte-compile-tag-number): Declare before first use.
23622 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23623 `return' even if make-spliceable.
23624 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23625 obsolete interactive-p.
23626 (byte-optimize-lapcode): Optimize new lap-codes.
23627 Don't trip up on new form of `byte-constant' lap code.
23628
23629 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23630
23631 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23632
23633 * custom.el (custom-initialize-default, custom-declare-variable):
23634 Use `defvar'.
23635
23636 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23637 New variables.
23638 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23639 (COMPILE_FIRST): Add macroexp and cconv.
23640 * makefile.w32-in: Mirror changes in Makefile.in.
23641
23642 * vc/cvs-status.el:
23643 * vc/diff-mode.el:
23644 * vc/log-edit.el:
23645 * vc/log-view.el:
23646 * vc/smerge-mode.el:
23647 * textmodes/bibtex-style.el:
23648 * textmodes/css-mode.el:
23649 * startup.el:
23650 * uniquify.el:
23651 * minibuffer.el:
23652 * newcomment.el:
23653 * reveal.el:
23654 * server.el:
23655 * mpc.el:
23656 * emacs-lisp/smie.el:
23657 * doc-view.el:
23658 * dired.el:
23659 * abbrev.el: Use lexical binding.
23660
23661 2011-04-01 Eli Zaretskii <eliz@gnu.org>
23662
23663 * info.el (info-display-manual): New function.
23664
23665 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23666
23667 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23668
23669 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23670
23671 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
23672 an entry for that server in rcirc-authinfo. (Bug#8385)
23673
23674 2011-03-31 Glenn Morris <rgm@gnu.org>
23675
23676 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23677
23678 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23679
23680 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23681
23682 * progmodes/python.el (python-default-interpreter)
23683 (python-python-command-args, python-jython-command-args)
23684 (python-which-shell, python-which-args, python-which-bufname)
23685 (python-file-queue, python-comint-output-filter-function)
23686 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23687 variables and functions.
23688
23689 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23690
23691 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23692 (completion-in-region-mode): New minor mode.
23693 (completion-in-region): Use it.
23694 (completion-in-region--data, completion-in-region-mode-map): New vars.
23695 (completion-in-region--postch): New function.
23696 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23697 New vars.
23698 (completion--capf-wrapper): New function.
23699 (completion-at-point): Use it to track well-behavedness of
23700 hook functions.
23701 (completion-help-at-point): New command.
23702
23703 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23704
23705 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23706 syntax class to search for whitespace on a single line
23707 (Message-ID: <4D938140.4030905@redhat.com>).
23708
23709 2011-03-30 Leo Liu <sdl.web@gmail.com>
23710
23711 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23712 New commands.
23713 (edit-abbrevs-map): Bind them here.
23714 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23715
23716 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23717
23718 * allout.el (allout-hide-by-annotation, allout-flag-region):
23719 Reduce possibility of overlay leakage by making them volatile.
23720
23721 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23722 hash is not shared between buffers. Mode initialization is
23723 responsible for giving it a useful starting value.
23724 (allout-item-span): Reduce possibility of overlay leakage by
23725 making them volatile.
23726 (allout-widgets-count-buttons-in-region): Add diagnostic function
23727 for tracking down button overlay leaks.
23728
23729 2011-03-29 Leo Liu <sdl.web@gmail.com>
23730
23731 * ido.el (ido-read-internal): Use the default history var
23732 minibuffer-history if no HISTORY is specified.
23733
23734 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23735
23736 * net/imap.el (imap-shell-open, imap-process-connection-type):
23737 Use imap-process-connection-type for 'shell' streams as well as
23738 Kerberos, SSL, other subprocesses.
23739
23740 2011-03-28 Leo Liu <sdl.web@gmail.com>
23741
23742 * abbrev.el (abbrev-table-empty-p): New function.
23743 (prepare-abbrev-list-buffer): Place empty abbrev tables after
23744 nonempty ones. (Bug#5937)
23745
23746 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
23747
23748 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23749
23750 2011-03-27 Leo Liu <sdl.web@gmail.com>
23751
23752 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23753 for foreground and background colors.
23754 (ansi-color-make-color-map): Adapt.
23755
23756 2011-03-25 Leo Liu <sdl.web@gmail.com>
23757
23758 * midnight.el (midnight-time-float): Remove. Note it calculates
23759 the microsecond component incorrectly and seconds-to-time does the
23760 same job.
23761 Remove redundant (require 'timer).
23762
23763 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23764 (ido-completions): Remove unused arguments. (Bug#8329)
23765
23766 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
23767
23768 * minibuffer.el (completion--flush-all-sorted-completions):
23769 Remove itself from hook.
23770 (completion-at-point): Let the functions perform the completion
23771 immediately and return nil or t.
23772 * comint.el (comint-dynamic-complete-functions): Now identical to
23773 completion-at-point-functions.
23774 (comint-dynamic-list-input-ring): Remove unused var `index'.
23775 (comint--match-partial-filename, comint--unquote&expand-filename):
23776 New funs, split from comint-match-partial-filename.
23777 (comint-dynamic-complete): Use completion-at-point.
23778 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23779
23780 2011-03-24 Drew Adams <drew.adams@oracle.com>
23781
23782 * thingatpt.el: Support `defun'.
23783
23784 2011-03-23 Leo Liu <sdl.web@gmail.com>
23785
23786 * abbrevlist.el: Move to obsolete/abbrevlist.el.
23787
23788 * help-mode.el (help-mode-finish): Tweak regexp.
23789
23790 2011-03-23 Glenn Morris <rgm@gnu.org>
23791
23792 * eshell/esh-opt.el (eshell-eval-using-options):
23793 Do not bind unused local variable `eshell-option-stub'.
23794
23795 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23796
23797 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
23798
23799 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23800 keymap variable in `with-no-warnings' to avoid a warning when the
23801 keymap has been already `defconst'ed.
23802
23803 2011-03-22 Leo Liu <sdl.web@gmail.com>
23804
23805 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23806 encode all chars in abbrevs; otherwise use emacs-mule or
23807 utf-8-emacs. (Bug#8308)
23808
23809 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
23810
23811 * simple.el (backward-delete-char-untabify):
23812 Avoid warning about using `delete-backward-char'.
23813
23814 * image.el (image-type-file-name-regexps): Make it variable.
23815 `imagemagick-register-types' modifies it, and the user may want
23816 to add new extensions for known image types.
23817 (imagemagick-register-types): Throw error if not using ImageMagick.
23818
23819 2011-03-22 Leo Liu <sdl.web@gmail.com>
23820
23821 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23822 located before rcirc-prompt-end-marker.
23823 (rcirc-complete): Error if point is not after rcirc prompt.
23824 Handle the case when table is nil.
23825 (rcirc-user-authenticated): Define to fix compiler warning.
23826
23827 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
23828
23829 * custom.el (custom--inhibit-theme-enable): Make it affect only
23830 custom-theme-set-variables and custom-theme-set-faces.
23831 (provide-theme): Ignore custom--inhibit-theme-enable.
23832 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23833 (custom-enabling-themes): Delete variable.
23834 (enable-theme): Accept only loaded themes as arguments.
23835 Ignore the special custom-enabled-themes variable.
23836 (custom-enabled-themes): Forbid themes from setting this.
23837 Eliminate use of custom-enabling-themes.
23838 (custom-push-theme): Quote "changed" custom var entry.
23839
23840 2011-03-21 Leo Liu <sdl.web@gmail.com>
23841
23842 * ido.el (ido-read-internal): Add ido-selected to history instead
23843 of user input.
23844
23845 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23846
23847 * subr.el (deferred-action-list, deferred-action-function):
23848 Mark obsolete.
23849
23850 2011-03-21 Leo Liu <sdl.web@gmail.com>
23851
23852 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23853 change on 2011-02-13 (bug#8309).
23854
23855 * minibuffer.el (read-file-name-function): Change default value.
23856 (read-file-name--defaults): Rename from read-file-name-defaults.
23857 (read-file-name-default): Rename from read-file-name.
23858 (read-file-name): Call read-file-name-function.
23859
23860 2011-03-21 Glenn Morris <rgm@gnu.org>
23861
23862 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23863 Doc fixes.
23864
23865 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
23866
23867 * cus-theme.el: Add missing provide statement.
23868 (customize-create-theme): Extract theme value correctly.
23869 (custom-theme-visit-theme): Autoload.
23870 (customize-create-theme): Prompt before inserting default faces.
23871
23872 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
23873
23874 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23875 units and musical notes.
23876
23877 2011-03-20 Leo Liu <sdl.web@gmail.com>
23878
23879 * ido.el (ido-read-internal): Use completing-read-default.
23880 (ido-completing-read): Fix compatibility with completing-read.
23881
23882 2011-03-20 Christian Ohler <ohler@gnu.org>
23883
23884 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23885 (ert-delete-all-tests): Use `called-interactively-p' rather than
23886 `interactive-p'.
23887 (ert--make-xrefs-region): Respect END.
23888
23889 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
23890
23891 * dired-aux.el (dired-create-directory): Signal an error if the
23892 directory already exists (Bug#8246).
23893
23894 * facemenu.el (list-colors-display): Call list-faces-display
23895 inside with-help-window.
23896 (list-colors-print): Use display property to align the final
23897 column, instead of checking window-width.
23898
23899 2011-03-19 Eli Zaretskii <eliz@gnu.org>
23900
23901 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
23902 windows-nt systems.
23903 (emerge-protect-metachars): Quote correctly for ms-dos and
23904 windows-nt systems.
23905
23906 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
23907
23908 * info.el (info-initialize): Replace all uses of `:' with
23909 path-separator for compatibility with non-Unix systems.
23910 Cache quoting of path-separator. (Bug#8258)
23911
23912 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
23913
23914 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23915 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23916 (mouse-avoidance-mode): Fix typos in docstrings.
23917
23918 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
23919
23920 * startup.el (package-subdirectory-regexp): Move from package.el.
23921 Omit \\` and \\', and let callers add them.
23922
23923 * emacs-lisp/package.el (package-strip-version)
23924 (package-load-all-descriptors): Add \\` and \\' to
23925 package-subdirectory-regexp before using it.
23926 (package-untar-buffer): New arg DIR; ensure that file untars only
23927 into this expected directory. Remove superfluous delete-region.
23928 (package-unpack): Caller changed.
23929 (package-tar-file-info): Use package-subdirectory-regexp.
23930
23931 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
23932
23933 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23934 diff-mode-shared-map (bug#8284).
23935 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
23936
23937 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23938
23939 * calendar/time-date.el (format-seconds): Use assoc instead of
23940 assoc-string, since assoc-string doesn't exist in XEmacs.
23941
23942 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
23943
23944 * custom.el (custom-known-themes): Reflow docstring.
23945 (custom-theme-load-path): Fix typo in docstring.
23946 (load-theme): Fix typo in error message.
23947 (custom-available-themes, custom-variable-theme-value):
23948 Use `let', not `let*'.
23949
23950 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23951
23952 * calc/README: Mention inclusion of musical notes.
23953
23954 * calc/calc-units.el (calc-lu-quant): Rename from
23955 `calc-logunits-quantity'.
23956 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23957 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23958 (calc-db): Rename from `calc-dblevel'.
23959 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23960 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23961 (calc-np): Rename from `calc-nplevel'.
23962 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23963 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23964 (calc-lu-plus): Rename from `calc-logunits-add'.
23965 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23966 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23967 (calc-lu-minus): Rename from `calc-logunits-sub'.
23968 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23969 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23970 (calc-lu-times): Rename from `calc-logunits-mul'.
23971 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23972 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23973 (calc-lu-divide): Rename from `calc-logunits-div'.
23974 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23975 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23976
23977 * calc/calc-ext.el (calc-init-extensions): Update the names of the
23978 functions being autoloaded.
23979
23980 * calc/calc.el (calc-lu-power-reference): Rename from
23981 `calc-logunits-power-reference'.
23982 (calc-lu-field-reference): Rename from
23983 `calc-logunits-field-reference'.
23984
23985 * calc/calc-help.el (calc-l-prefix-help):
23986 Mention musical note functions.
23987
23988 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
23989
23990 * minibuffer.el (completion-all-sorted-completions):
23991 Use :completion-cycle-penalty text property if present.
23992
23993 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
23994
23995 * allout.el (allout-yank-processing): Adjust for new rebulleting
23996 regime so bullet being yanked is used without prompting the user
23997 for a choice.
23998
23999 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24000
24001 * startup.el (command-line): Warn the user that _emacs is deprecated.
24002
24003 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24004
24005 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24006 (delphi-verbose, delphi-comment-face, delphi-string-face)
24007 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24008 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24009 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24010 (delphi-new-comment-line, delphi-font-lock-defaults)
24011 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24012 Fix typos in docstrings.
24013
24014 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24015
24016 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24017 Invert the roles of character and string values for INSTEAD, so a
24018 string is used for the more common case of a defaulting prompt.
24019
24020 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24021
24022 * progmodes/ruby-mode.el (ruby-backward-sexp):
24023 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24024 * play/gamegrid.el (gamegrid-make-face):
24025 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24026 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24027 * notifications.el (notifications-notify):
24028 * net/xesam.el (xesam-search-engines):
24029 * net/quickurl.el (quickurl-list-insert):
24030 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24031
24032 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24033
24034 * startup.el (command-line): Update package subdirectory regexp.
24035
24036 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24037
24038 * allout.el (allout-abbreviate-flattened-numbering)
24039 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24040
24041 * subr.el (read-char-choice): Only show the cursor after the prompt,
24042 not after the answer.
24043
24044 2011-03-15 Kevin Ryde <user42@zip.com.au>
24045
24046 * help-fns.el (variable-at-point): Skip leading quotes, if any
24047 (bug#8253).
24048
24049 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24050
24051 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24052 warning message.
24053
24054 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24055
24056 * shell.el (shell): When called interactively, offer to change the
24057 shell file name on remote hosts.
24058
24059 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24060
24061 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24062 integration for LDAP parameters. The host, base, user or binddn,
24063 and secret tokens can be specified in a netrc file, for instance.
24064 This is optional because an `auth-source' parameter must be
24065 specified in the search attributes.
24066
24067 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24068
24069 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24070
24071 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24072
24073 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24074 into declaration. Remove redundant and harmful binding.
24075
24076 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24077
24078 * files.el (file-ownership-preserved-p): Pass `integer' as an
24079 explicit 2nd argument to `file-attributes'. If the file's owner
24080 is the Administrators group on Windows, and the current user is
24081 Administrator, consider that a match.
24082
24083 * server.el (server-ensure-safe-dir): Consider server directory
24084 safe on MS-Windows if its owner is the Administrators group while
24085 the current Emacs user is Administrator. Use `=' to compare
24086 numerical UIDs, since they could be integers or floats.
24087
24088 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24089
24090 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24091
24092 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24093
24094 Sync with Tramp 2.2.1.
24095
24096 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24097
24098 * net/trampver.el: Update release number.
24099
24100 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24101
24102 * progmodes/compile.el (compilation--previous-directory): Fix up
24103 various nil/dead-marker mismatches (bug#8014).
24104 (compilation-directory-properties, compilation-error-properties):
24105 Don't call it at a position past the one we're about to change.
24106
24107 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24108 Disable obsolescence warnings in the file that declares it.
24109
24110 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24111
24112 * allout-widgets.el (allout-widgets-tally):
24113 Initialize allout-widgets-tally as a hash table rather than nil to
24114 prevent mode-line redisplay warnings. Also, clarify the module
24115 description and fix a comment typo.
24116
24117 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24118
24119 * help-fns.el (describe-variable): Don't complete keywords.
24120 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24121
24122 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24123
24124 * emacs-lisp/package.el (package-version-join): Impose a standard
24125 string representation for pre/alpha/beta version lists.
24126 (package-unpack-single): Standardize the directory name by passing
24127 it through package-version-join.
24128 (package-strip-rcs-id): Accept any version string that does not
24129 signal an error in version-to-list.
24130
24131 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24132
24133 * simple.el (delete-trailing-whitespace): Return nil for the
24134 benefit of `write-file-functions'.
24135
24136 2011-03-10 Glenn Morris <rgm@gnu.org>
24137
24138 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24139
24140 * vc/vc-git.el (vc-git-program): New option.
24141 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24142 (vc-git--call): Use it.
24143
24144 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24145
24146 * cus-edit.el (Custom-newline): If no button at point, look
24147 for a subgroup button at start-of-line. (Bug#2298)
24148
24149 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24150
24151 2011-03-10 Julien Danjou <julien@danjou.info>
24152
24153 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24154 `cursor-type' is nil.
24155
24156 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24157
24158 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24159
24160 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24161
24162 * allout.el: Change so yank of distinctive-bullet items
24163 preserves the existing header prefix, rebulleting it if necessary,
24164 rather than replacing it. This is necessary for proper operation
24165 of cooperative addons like allout-widgets.
24166 (allout-make-topic-prefix, allout-rebullet-heading):
24167 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24168 value as alternate bullet to be used, instead of prompting the user
24169 for a bullet character.
24170
24171 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24172
24173 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24174 Do not use `tramp-file-name-port', because this returns also
24175 `tramp-default-port'.
24176
24177 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24178
24179 * net/rcirc.el (rcirc-handler-001): Remove useless
24180 with-rcirc-process-buffer.
24181 (rcirc-check-auth-status): Swap arguments to string-match.
24182
24183 2011-03-09 Glenn Morris <rgm@gnu.org>
24184
24185 * shell.el (shell-mode):
24186 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24187
24188 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24189 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24190
24191 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24192
24193 * emacs-lisp/package.el (package-refresh-contents)
24194 (package-menu-execute): Use condition-case-no-debug.
24195
24196 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24197
24198 * simple.el (shell-command-to-string): Use `process-file'.
24199
24200 * emacs-lisp/package.el (package-tar-file-info): Handle also
24201 remote files.
24202
24203 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24204 Use `equal' for upload base check.
24205
24206 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24207
24208 * textmodes/texinfo.el (texinfo-environments):
24209 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24210
24211 2011-03-08 Glenn Morris <rgm@gnu.org>
24212
24213 * cus-start.el (cursor-in-non-selected-windows):
24214 Fix :set quoting oddness. (Bug#8192)
24215
24216 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24217 in some setf expressions. (Bug#2159)
24218
24219 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24220
24221 * custom.el (custom-available-themes): Return themes in
24222 alphabetical order.
24223
24224 See ChangeLog.15 for earlier changes.
24225
24226 ;; Local Variables:
24227 ;; coding: utf-8
24228 ;; End:
24229
24230 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24231
24232 This file is part of GNU Emacs.
24233
24234 GNU Emacs is free software: you can redistribute it and/or modify
24235 it under the terms of the GNU General Public License as published by
24236 the Free Software Foundation, either version 3 of the License, or
24237 (at your option) any later version.
24238
24239 GNU Emacs is distributed in the hope that it will be useful,
24240 but WITHOUT ANY WARRANTY; without even the implied warranty of
24241 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24242 GNU General Public License for more details.
24243
24244 You should have received a copy of the GNU General Public License
24245 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.