]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
(read-regexp): Add regexp for symbol at point to the defaults (Bug#13687).
[gnu-emacs] / lisp / ChangeLog
1 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
2
3 * replace.el (read-regexp): Tighten the regexp that matches tag.
4 When tag is retrieved with `find-tag-default', use regexp that
5 matches tag at point. Also update docstring (Bug#13687).
6
7 2013-02-16 Eli Zaretskii <eliz@gnu.org>
8
9 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
10 add watch for the file, not its parent directory, since w32notify
11 sets up the watch for the directory internally. (Bug#13725)
12
13 2013-02-16 Glenn Morris <rgm@gnu.org>
14
15 * image.el (image-default-frame-delay): New variable.
16 (image-animated-p): Use image-default-frame-delay.
17 (image-minimum-frame-delay): New constant.
18 (image-animate-timeout): Use image-minimum-frame-delay.
19
20 * image.el (image-nth-frame): New, split from image-animate-timeout.
21 (image-animate-timeout): Use image-nth-frame.
22 * image-mode.el (image-goto-frame, image-next-frame)
23 (image-previous-frame): New commands.
24 (image-mode-map): Add new frame commands.
25
26 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
27
28 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
29 If col-desc already has help-echo, use it. (Bug#13563)
30
31 2013-02-16 Glenn Morris <rgm@gnu.org>
32
33 * image.el (image-current-frame): New variable.
34 (image-animate-timeout): Set image-current-frame.
35 * image-mode.el (image-mode): For animated images,
36 display a frame counter via mode-line-process.
37
38 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
39
40 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
41
42 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
43
44 2013-02-15 Alan Mackenzie <acm@muc.de>
45
46 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
47 global minor mode has been enabled, call the minor mode function
48 for a new buffer once only, after the major mode hook, whilst
49 allowing that hook explicitly to disable the minor mode.
50 (MODE-disable-in-buffer): New (generated) function.
51 (disable-MODE): New (generated) buffer local variable.
52
53 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
54
55 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
56 `iswitchb-next-match' and `iswitchb-prev-match' resply.
57 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
58 `ido-next-match' and `ido-prev-match' resply.
59 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
60 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
61 `icomplete-backward-completions' (Bug#13708).
62
63 2013-02-15 Glenn Morris <rgm@gnu.org>
64
65 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
66
67 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
68
69 * net/goto-addr.el (goto-address-fontify): Add start and end args.
70 (goto-address-fontify-region): Use them instead of narrowing, so
71 syntax-ppss has access to the whole buffer.
72
73 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
74
75 * progmodes/python.el: Explain how to restore "cc-mode"-like
76 forward-sexp movement in header documentation (Bug#13642).
77 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
78 comments and strings (GH bug 114).
79
80 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
81
82 * progmodes/python.el (python-info-current-defun): Fix current
83 defun detection (Bug#13618).
84
85 2013-02-15 Chong Yidong <cyd@gnu.org>
86
87 * xml.el (xml-parse-string): Fix typo in handling of bad character
88 references.
89
90 2013-02-15 Glenn Morris <rgm@gnu.org>
91
92 * play/fortune.el (fortune-compile): Simplify and fix previous change.
93
94 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
95
96 * net/tramp.el (tramp-debug-message):
97 Add `tramp-condition-case-unless-debug'.
98 (tramp-debug-on-error): New defvar.
99 (tramp-condition-case-unless-debug): New defun.
100 (tramp-file-name-handler): Use it.
101
102 2013-02-14 Juri Linkov <juri@jurta.org>
103
104 * info.el (Info-isearch-filter): Treat non-nil values of
105 `search-invisible' including its default value `open'
106 like the value `t' to match hidden text. (Bug#13402)
107
108 2013-02-14 Glenn Morris <rgm@gnu.org>
109
110 * help-fns.el (find-lisp-object-file-name): Give special treatment
111 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
112
113 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
114
115 * net/quickurl.el (quickurl-save-urls):
116 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
117
118 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
119
120 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
121 depth for unfinished percent literal. Not using it in the caller.
122 (ruby-move-to-block): Jump over multiline literals of all types,
123 ignoring code-looking contents inside them.
124 (ruby-add-log-current-method): Improve performance at the expense
125 of accuracy. `ruby-block-contains-point' is relatively slow, so
126 only use it for method and singleton class blocks.
127
128 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
129
130 Use ControlMaster where applicable. (Bug#13677)
131
132 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
133 replacing `tramp-detect-ssh-controlmaster'.
134 (tramp-default-method): Use it.
135
136 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
137 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
138 arguments.
139 [scpc, rsyncc]: Remove methods.
140 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
141 and "ssh2_old".
142 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
143 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
144
145 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
146
147 * emacs-lisp/package.el (package--initialized): Move before first use.
148
149 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
150
151 * icomplete.el (icomplete-hide-common-prefix): New user option.
152 (icomplete-first-match): New face.
153 (icomplete-completions): Correct handling of "complete but not
154 unique" (Bug#12638).
155
156 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
157
158 * descr-text.el (describe-char): Display the script (bug#13698).
159
160 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * tmm.el: Use lexical-binding and current-active-maps.
163 (tmm-menubar): Use map-keymap and pcase.
164 (tmm--completion-table): New function.
165 (tmm-prompt): Use it to fix the menu order.
166 (tmm-get-keybind): Use current-active-maps.
167
168 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
169
170 Add dired-hide-details-mode. (Bug#6799)
171
172 * locate.el (locate-mode): Set parent mode property to dired-mode.
173
174 * find-dired.el (find-dired): Call dired-insert-set-properties on
175 initial information line. Set process mark on end of buffer.
176 (find-dired-sentinel):
177 Call dired-insert-set-properties on summary.
178
179 * dired.el (dired-hide-details-hide-symlink-targets)
180 (dired-hide-details-hide-information-lines): New options.
181 (dired-insert-directory):
182 Set properties after final treatment of output.
183 (dired-insert-set-properties):
184 Set dired-hide-details-* properties.
185 (dired-mode-map): Bind dired-hide-details-mode.
186 (dired-mode): Set buffer-invisibility-spec to a list.
187 (dired-next-line): Skip hidden lines.
188 (dired-previous-line): Use dired-next-line.
189 (dired-hide-details-mode): New minor mode.
190 (dired-hide-details-update-invisibility-spec): New function.
191
192 2013-02-13 Glenn Morris <rgm@gnu.org>
193
194 * play/yow.el: Move to obsolete/. (Bug#9384)
195
196 2013-02-13 Juri Linkov <juri@jurta.org>
197
198 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
199 to select `ediff-control-frame' and set input focus correctly on Xfce.
200 (Bug#12218)
201
202 2013-02-13 Juri Linkov <juri@jurta.org>
203
204 * image-mode.el (image-mode-map):
205 * doc-view.el (doc-view-mode-map):
206 * vc/ediff-util.el (ediff-setup-keymap):
207 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
208
209 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
210
211 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
212 performance. Instead of recalculating indentation fully for each
213 line, sum up indentation depth based only on visited lines.
214 (ruby-parse-partial): Increase the depth after "do" even when END
215 is right after it.
216 (ruby-parse-partial): When END is in the middle of a percent
217 literal, increase the depth if the delimiter chars belong to the
218 paren syntax class.
219
220 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
221
222 * play/fortune.el (fortune-compile): Also make the compiled file
223 if it does not exist at all, not just if it is old. (Bug#5338)
224
225 2013-02-13 Glenn Morris <rgm@gnu.org>
226
227 * emacs-lisp/package.el (package-menu-execute): Doc fix.
228
229 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
230
231 * lisp/emacs-lisp/package.el (package-menu-execute):
232 Add optional noquery argument. (Bug#13625)
233
234 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
235
236 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
237 if DIR exists and PARENTS is non-nil.
238
239 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
240
241 * progmodes/js.el (js--multi-line-declaration-indentation):
242 Silence byte-compiler warning.
243
244 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
245
246 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
247
248 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
249 only if it doesn't exist.
250
251 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
252 Set process marker.
253
254 2013-02-12 Tassilo Horn <tsdh@gnu.org>
255
256 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
257 UserInstallation when calling soffice to work around LibreOffice
258 bug 37531.
259
260 2013-02-12 Glenn Morris <rgm@gnu.org>
261
262 * files.el (basic-save-buffer):
263 Offer to create a non-existing directory. (Bug#3016)
264
265 * calc/calc-graph.el (calc-graph-show-dumb):
266 * calendar/calendar.el (calendar-mode-map):
267 * cus-edit.el (custom-mode-map):
268 * ehelp.el (electric-help-map):
269 * emulation/vip.el (vip-mode-map):
270 * epa.el (epa-key-list-mode-map):
271 * info.el (Info-mode-map):
272 * mail/rmail.el (rmail-mode-map):
273 * mail/rmailsum.el (rmail-summary-mode-map):
274 * man.el (Man-mode-map):
275 * net/newst-plainview.el (newsticker-mode-map):
276 * progmodes/cpp.el (cpp-edit-mode-map):
277 * progmodes/grep.el (grep-mode-map):
278 * progmodes/idlw-help.el (idlwave-help-mode-map):
279 * simple.el (special-mode-map):
280 * startup.el (splash-screen-keymap):
281 * view.el (view-mode-map):
282 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
283
284 2013-02-11 Elias Pipping <pipping@lavabit.com>
285
286 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
287 (bug#13679).
288
289 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
290
291 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
292
293 2013-02-11 Glenn Morris <rgm@gnu.org>
294
295 * vc/diff.el (diff-use-labels): New variable.
296 (diff-no-select): Use --label rather than -L, and first
297 check that it is supported. (Bug#11067)
298
299 * files.el (enable-dir-local-variables): New variable.
300 (hack-dir-local-variables): Respect enable-dir-local-variables.
301 * tutorial.el (help-with-tutorial):
302 Ignore directory-local variables. (Bug#11127)
303
304 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
305 (vc-svn-global-switches): ... to here. (Bug#13513)
306
307 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
308
309 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
310 Handle "foo (bar, default: xxx): " prompts.
311
312 2013-02-10 Chong Yidong <cyd@gnu.org>
313
314 * files.el (basic-save-buffer-1): Do not set
315 buffer-file-coding-system-explicit (Bug#4533).
316
317 * mail/emacsbug.el (report-emacs-bug): Change binding of
318 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
319
320 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
321
322 * calc/calc.el (calc-allow-units-as-numbers): New variable.
323 * calc/calc-units.el (calc-convert-units): Use new variable.
324
325 2013-02-09 Eli Zaretskii <eliz@gnu.org>
326
327 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
328
329 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
330 buffer-file-type.
331
332 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
333 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
334 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
335 coding-system-for-write instead.
336
337 * jka-compr.el (jka-compr-write-region): Don't bind
338 buffer-file-type.
339
340 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
341 buffer-file-type.
342
343 * files.el (file-name-buffer-file-type-alist): Remove defvar.
344 (insert-file-contents-literally): Remove reference to
345 file-name-buffer-file-type-alist.
346
347 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
348 make-obsolete.
349 (find-buffer-file-type-match, find-buffer-file-type): Remove.
350 (find-buffer-file-type-coding-system): Remove references to
351 find-buffer-file-type-match, find-buffer-file-type, and
352 buffer-file-type.
353 Don't put find-buffer-file-type-coding-system into
354 file-coding-system-alist.
355 (find-file-binary, find-file-text): Bind coding-system-for-read
356 instead of file-name-buffer-file-type-alist.
357
358 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
359
360 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
361 converter (Bug#13622).
362 (doc-view-unoconv-program): Make obsolete alias.
363 (doc-view-odf->pdf-converter-program): New variable.
364 (doc-view-odf->pdf-converter-function): New variable.
365 (doc-view-mode-p): Use it.
366 (doc-view-odf->pdf-converter-unoconv):
367 Rename from `doc-view-odf->pdf-converter-unoconv'.
368 (doc-view-odf->pdf-converter-soffice): New function.
369 (doc-view-convert-current-doc):
370 Use `doc-view-odf->pdf-converter-function'.
371
372 2013-02-09 Chong Yidong <cyd@gnu.org>
373
374 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
375 view-echo-area-messages (Bug#13340).
376
377 * help.el (view-echo-area-messages): Use display-buffer.
378
379 * dired-x.el (dired-do-run-mail): Prompt for confirmation
380 (Bug#13561).
381
382 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
385 Eval body right away, now that we do eager macroexpansion (bug#13605).
386
387 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
388 (fundamental-mode): Use run-mode-hooks.
389
390 * eshell/esh-proc.el (eshell/kill): Fix last change.
391 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
392
393 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
394
395 * eshell/esh-proc.el (eshell/kill): Rewrite.
396
397 * eshell/em-ls.el (show-almost-all): Declare.
398 (eshell-do-ls): Add support for -A argument.
399
400 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
401
402 * icomplete.el (icomplete-forward-completions)
403 (icomplete-backward-completions): Handle corner case (bug#13602).
404
405 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
406
407 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
408 be nil. Handle this. (Bug#13636)
409
410 2013-02-07 Richard Stallman <rms@gnu.org>
411
412 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
413 `save-buffer-coding-system'.
414
415 2013-02-07 Alan Mackenzie <acm@muc.de>
416
417 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
418 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
419 (c-parse-state-get-strategy): Don't return 'BOD any more.
420 (c-append-lower-brace-pair-to-state-cache):
421 Extra parameter HERE instead of narrowing.
422 Widen to top of buffer before searching backwards for a brace pair.
423 (c-state-push-any-brace-pair): Add HERE parameter to function call.
424 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
425 Narrow to parameter HERE, in place of being called narrowed.
426 (c-remove-stale-state-cache): Extra parameter HERE in place of
427 narrowing. Check there's an open brace in the cache before
428 searching for its match.
429 (c-invalidate-state-cache-1): Add HERE parameter to function call.
430 (c-parse-state-1): Don't narrow here for 'forward strategy,
431 instead passing extra parameter HERE to several functions.
432 Remove 'BOD strategy.
433
434 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
435
436 * emacs-lisp/package.el (describe-package-1): Tell what archive is
437 used to install the package.
438
439 2013-02-06 Glenn Morris <rgm@gnu.org>
440
441 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
442 if we can't get user input. (Bug#6567)
443
444 * startup.el (command-line): If simple.el is missing,
445 test and warn about for some possible causes.
446
447 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
448
449 * cus-start.el (all): Add ns-use-native-fullscreen.
450
451 2013-02-05 Glenn Morris <rgm@gnu.org>
452
453 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
454
455 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
456 Fix directory creation in fallback case.
457
458 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
459
460 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
461 (vc-update-change-log): Use dolist.
462
463 2013-02-04 Chong Yidong <cyd@gnu.org>
464
465 * thingatpt.el: Rewrite the URL detection routines, absorbing some
466 code from ffap.el.
467 (thing-at-point-beginning-of-url-regexp): New var.
468 (thing-at-point-uri-schemes): Update list of URI schemes.
469 (thing-at-point-url-regexp): Variable deleted.
470 (thing-at-point-markedup-url-regexp): Disallow newlines.
471 (thing-at-point-newsgroup-regexp)
472 (thing-at-point-newsgroup-heads)
473 (thing-at-point-default-mail-uri-scheme): New variables.
474 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
475 method to find the possible bounds of the URI at point.
476 New optional argument to find ill-formed URIs.
477 (thing-at-point-url-at-point): Rewrite. New arguments for finding
478 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
479 the scheme-adding heuristics from ffap-url-at-point.
480 (thing-at-point--bounds-of-well-formed-url): New function.
481 Do parens matching to decide whether to include parens in the URI
482 (Bug#9153).
483
484 * ffap.el: Require thingatpt.
485 (ffap-url-at-point): Delegate URI detection to thing-at-point.
486 All URI-valid characters are now recognized (Bug#5673).
487 (ffap-string-at-point): Use use-region-p.
488 (ffap-url-regexp): Extra character is handled by thing-at-point.
489 (ffap-string-at-point-mode-alist): Allow parentheses.
490 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
491 Convert to aliases; code moved to thingatpt.el.
492 (ffap-gnus-hook): Use setq-local.
493
494 2013-02-04 Glenn Morris <rgm@gnu.org>
495
496 * emacs-lisp/ert.el (ert--explain-format-atom):
497 Don't try to print non-characters as characters. (Bug#13543)
498
499 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
500
501 * net/tramp.el (tramp-debug-message): Extend function exclude list.
502 (tramp-backtrace): New defun.
503 (tramp-handle-insert-file-contents): Use `visit' when inserting
504 the local copy.
505
506 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
507 Use `remote-file-name-inhibit-cache'.
508
509 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
510
511 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
512 (bug#13614).
513
514 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
515 current-load-list (bug#13366).
516
517 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
518
519 * progmodes/compile.el (compilation-error-regexp-alist-alist):
520 Identify g++ template instantiation trace. (Bug#12287)
521 (compilation-mode-hook, compilation-start-hook)
522 (compilation-window-height): Simplify docstrings. (Bug#13379)
523
524 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
525
526 * mouse.el (mouse-drag-track): Always deactivate the mark before
527 running the final event's command since that command is in charge of
528 activating the mark if needed (bug#13523).
529
530 2013-02-02 Juri Linkov <juri@jurta.org>
531
532 * replace.el (perform-replace): Move let-bindings of isearch-*
533 variables deeper to the loop that searches for the next match.
534 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
535 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
536 (Bug#13579)
537
538 * isearch.el (isearch-search-fun-default): Check for null
539 first element of isearch-cmds as a precaution when it's used
540 with inactive isearch.
541
542 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
543
544 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
545 error when buffer in question is narrowed so position 1 is out of
546 visible part.
547
548 2013-02-02 Glenn Morris <rgm@gnu.org>
549
550 * textmodes/remember.el (remember-clipboard): Doc fix.
551
552 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
553
554 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
555 properties (bug#13179).
556
557 2013-02-02 Juri Linkov <juri@jurta.org>
558
559 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
560 instead of hard-coded default face `match'. (Bug#9438)
561
562 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
563
564 * vc/vc-arch.el (vc-arch-registered):
565 * vc/vc-bzr.el (vc-bzr-registered):
566 * vc/vc-cvs.el (vc-cvs-registered):
567 * vc/vc-git.el (vc-git-registered):
568 * vc/vc-hg.el (vc-hg-registered):
569 * vc/vc-mtn.el (vc-mtn-registered):
570 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
571 (Bug#13139)
572
573 * info.el (Info-next-reference, Info-prev-reference): Add numeric
574 prefix argument. (Bug#11656)
575
576 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
577
578 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
579
580 2013-02-01 Glenn Morris <rgm@gnu.org>
581
582 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
583 if the backend is known not to support it.
584
585 * imenu.el (imenu-default-create-index-function):
586 Tweak infinite loop test to check for forward motion as well as none.
587
588 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
589
590 * net/soap-client.el (soap-invoke): Encode the string for
591 `url-request-data' as UTF-8.
592 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
593
594 2013-02-01 Glenn Morris <rgm@gnu.org>
595
596 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
597
598 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
599
600 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
601
602 * net/tramp.el (tramp-tramp-file-p): Comment check for
603 `string-as-unibyte'. The function does not exist on XEmacs, and
604 likely we need another approach.
605
606 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
607 `tramp-gw-*' variables are bound.
608
609 2013-01-31 Glenn Morris <rgm@gnu.org>
610
611 * files.el (basic-save-buffer-2): Choose coding system for
612 writing the file before backing it up, to reduce delay between
613 backing up and writing the new version. (Bug#13522)
614
615 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
616
617 * simple.el (cycle-spacing): New command.
618 (just-one-space): Use it.
619
620 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
621
622 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
623 (opascal-newline-always-indents): Remove custom.
624 (opascal-tab, opascal-newline): Remove commands.
625 (opascal-new-comment-line): Insert "\n" instead of calling newline.
626 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
627 (opascal-save-match-data): Remove, use save-match-data instead.
628 (opascal-save-state): Use with-silent-modifications.
629
630 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
631 (bug#13585).
632
633 2013-01-30 Juri Linkov <juri@jurta.org>
634
635 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
636 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
637 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
638
639 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
640
641 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
642 column if we're just deleting the backslashes.
643 (makefile-fill-paragraph): Use eolp.
644
645 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
646
647 * autorevert.el (auto-revert-use-notify): Fix docstring.
648
649 2013-01-30 Leo Liu <sdl.web@gmail.com>
650
651 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
652
653 2013-01-30 Glenn Morris <rgm@gnu.org>
654
655 * mouse.el (mouse-drag-line): Avoid pushing same event onto
656 unread-command-events twice in some cases. This tries to implement
657 the 2012-07-26 changes in a different way. (Bug#13560)
658
659 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
660
661 * progmodes/python.el
662 (python-pdbtrack-comint-output-filter-function): Enhancements on
663 stacktrace detection. (thanks @gnovak)
664
665 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
666
667 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
668 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
669 Use defvar-local.
670 (jit-lock-register): Use setq-local.
671
672 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
673
674 * calc-units.el (math-default-units-table): Remove initial value.
675 (calc-convert-units): Treat expressions where all the units cancel as
676 if they didn't have units.
677
678 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
679
680 * net/tramp.el (tramp-process-connection-type): Fix docstring.
681 (tramp-completion-reread-directory-timeout): Fix type.
682 (tramp-connection-min-time-diff): New defcustom.
683
684 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
685
686 2013-01-30 Glenn Morris <rgm@gnu.org>
687
688 * imenu.el (imenu-default-create-index-function):
689 Put back a version of the infinite loop test removed 2013-01-23.
690
691 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
692
693 * progmodes/python.el (python-shell-parse-command):
694 Find python-shell-interpreter with modified environment.
695
696 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
697
698 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
699
700 2013-01-29 Alan Mackenzie <acm@muc.de>
701
702 Amend to fontify /regexp/s in actions correctly.
703 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
704 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
705 are no longer included.
706 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
707 What used to be these variables without "-line" in the name.
708 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
709 (c-awk-non-arith-op-bra-re): Now also matches {.
710 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
711 "return", and "case".
712 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
713 by /.
714 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
715 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
716
717 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
718
719 * autorevert.el (auto-revert-use-notify):
720 Use `custom-initialize-default' for initialization. (Bug#13583)
721
722 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
723
724 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
725 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
726 in `tramp-file-name-handler'.
727 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
728 compatibility.
729 (tramp-compute-multi-hops): Check, whether
730 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
731
732 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
733
734 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
735 (bug#13297).
736
737 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
738
739 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
740 checks made superfluous by the \_< operator.
741 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
742 temporarily) broken indentation.
743 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
744 Highlight nested constants, too. \_< broke that.
745
746 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
747
748 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
749 instead of "\\b".
750
751 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
752
753 * autorevert.el (auto-revert-handler): Notifications which result
754 from a saved file shall not be taken into account. (Bug#13557)
755
756 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
757
758 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
759 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
760 (lisp-mode): Pass t for it. (Bug#13556)
761
762 2013-01-25 Alan Mackenzie <acm@muc.de>
763
764 AWK Mode: Fix indentation bug at top level. Bug #12274.
765
766 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
767 just before CASE 5D.
768
769 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
770
771 * net/socks.el (socks-nslookup-host): Use string-to-number.
772
773 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
774
775 * autorevert.el (auto-revert-remote-files)
776 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
777 (auto-revert-notify-enabled, auto-revert-use-notify)
778 (auto-revert-notify-watch-descriptor-hash-list)
779 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
780 (auto-revert-notify-event-descriptor)
781 (auto-revert-notify-event-action)
782 (auto-revert-notify-event-file-name): Doc fix.
783 (global-auto-revert-mode): Reorder checks.
784 (auto-revert-notify-rm-watch): Respect changed values of
785 `auto-revert-notify-watch-descriptor-hash-list'.
786 (auto-revert-notify-add-watch): Check for
787 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
788 `inotify-add-watch'. Watch `default-directory' instead of
789 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
790 has a changed meaning now. (Bug#13540)
791 (auto-revert-notify-handler): Change implementation wrt events
792 returning from a directory.
793 (auto-revert-handler): Reorder implementation for checks of remote
794 files.
795 (auto-revert-buffers): Fix parentheses error.
796
797 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
798
799 * progmodes/python.el: Enhancements to header documentation about
800 skeletons. (Bug#5716)
801
802 * imenu.el (imenu-default-create-index-function): Remove useless
803 infinite loop check. (Bug#13438)
804
805 2013-01-25 Alan Mackenzie <acm@muc.de>
806
807 Fix a bug in the state cache mechanism. Refactor this a bit.
808
809 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
810 `cache-pos' element from the return value.
811 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
812 buffer to enable proper searching from beyond HERE. Amend the
813 test for detecting the sought brace pair. Amend the value written
814 to the "brace desert cache" when the brace isn't found.
815 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
816 and several other variables analogously.
817 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
818 parameter to a locally calculated variable.
819 (c-parse-state-1): Change the calling conventions to the two
820 defuns involving `cache-pos'.
821
822 2013-01-25 Chong Yidong <cyd@gnu.org>
823
824 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
825
826 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
827
828 * paren.el (show-paren-function): Make sure to set 'priority and
829 'face only if the overlay does exist.
830
831 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
832
833 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
834
835 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
836 basic attributes.
837 (tramp-sh-handle-set-file-acl): Improve error checking.
838
839 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
840
841 * doc-view.el (doc-view-display): Force mode line update until all
842 document is converted. Suggested by Stefan Monnier (Bug#13164).
843
844 2013-01-23 Bastien Guerry <bzg@gnu.org>
845
846 * paren.el (show-paren-function): Make sure an overlay exists
847 before trying to delete it. Also use `pos' as a position only
848 when it is an integer.
849
850 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
851
852 * play/gametree.el (gametree-break-line-here): Use point-marker.
853
854 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
855
856 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
857 Mark descriptive parts with `display' property.
858
859 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
860
861 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
862 New variable to map standard dict names to hunspell ones.
863 (ispell-set-spellchecker-params): Make sure specific dict names
864 are used for standard dicts with hunspell.
865
866 2013-01-21 Tassilo Horn <tsdh@gnu.org>
867
868 * textmodes/reftex-cite.el (reftex-format-citation): Add format
869 chars for note (%N) and url (%U).
870 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
871
872 2013-01-21 Juri Linkov <juri@jurta.org>
873
874 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
875 in addition to existing separate binding `meta f10' in `global-map'.
876 (Bug#13484)
877
878 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
879
880 Improve XEmacs compatibility.
881
882 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
883
884 * net/tramp-adb.el (top): Require `time-date'.
885 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
886 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
887 Use `tramp-file-name-handler'.
888 (tramp-adb-maybe-open-connection):
889 Use `tramp-compat-set-process-query-on-exit-flag'.
890
891 * net/tramp-sh.el (tramp-sh-handle-file-acl):
892 Use `tramp-compat-funcall'.
893
894 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
895 `tramp-compat-funcall'.
896
897 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
898
899 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
900 reimplementation using "adb shell command ..." instead of running
901 remote shell interactively.
902
903 2013-01-20 Glenn Morris <rgm@gnu.org>
904
905 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
906 Add native profiler menu entries.
907
908 * profiler.el (profiler-running-p): New function.
909 (profiler-cpu-profile): Use profiler-running-p.
910 (profiler-report-mode-map): Add some more menu entries.
911
912 2013-01-19 Glenn Morris <rgm@gnu.org>
913
914 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
915 fixes 2012-12-07 change. (Bug#13499)
916
917 2013-01-19 Leo Liu <sdl.web@gmail.com>
918
919 * dired.el (dired-get-marked-files): Prune erroneous values due to
920 last change. (Bug#13152)
921
922 2013-01-19 Glenn Morris <rgm@gnu.org>
923
924 * progmodes/etags.el (tags-table-check-computed-list):
925 Preserve point in tags buffer. (Bug#13412)
926
927 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
928
929 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
930 Chong Yidong <cyd@gnu.org>
931
932 * image-mode.el (image-next-file, image-previous-file):
933 New commands (Bug#8453).
934 (image-mode-map): Bind them to n and p.
935 (image-mode--images-in-directory): New helper function.
936
937 2013-01-19 Chong Yidong <cyd@gnu.org>
938
939 * image-mode.el (image-mode-fit-frame): Add a frame argument.
940 Suggested by Drew Adams (Bug#7730). Handle window decorations;
941 save and restore the old window configuration.
942
943 2013-01-18 Leo Liu <sdl.web@gmail.com>
944
945 * progmodes/js.el: Tweak autoload cookie for alias.
946
947 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
948
949 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
950 buffer local, again. This was lost with the fix on 2013-01-12.
951
952 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
953
954 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
955 order to support several eshell buffers in parallel.
956
957 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
958
959 * autorevert.el (auto-revert-use-notify): In the :set function, do
960 not modify `kill-buffer-hook'.
961 (auto-revert-notify-rm-watch):
962 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
963 (auto-revert-notify-add-watch): Do not call
964 `auto-revert-notify-rm-watch', but add it to a buffer local
965 `kill-buffer-hook'.
966
967 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
968
969 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
970 call to `eval' rather than a backquoted lambda.
971
972 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
973
974 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
975 to return an explicit nil.
976 (advice--remove-function): Change accordingly.
977
978 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
979 the use of nadvice.el.
980
981 * progmodes/which-func.el (which-function): Silence imenu errors
982 (bug#13433).
983
984 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
985
986 * progmodes/sql.el: (sql-imenu-generic-expression):
987 (sql-mode-font-lock-object-name): Match schema qualified names.
988 (sql-connect): Use string keys.
989 (sql-product-interactive): Wait for interpreter prompt.
990 (sql-comint-oracle): Set process coding based on NLS_LANG.
991
992 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
993
994 * progmodes/sql.el (sql-output-to-send): Remove, unused.
995 (sql-interactive-remove-continuation-prompt):
996 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
997
998 2013-01-14 Leo Liu <sdl.web@gmail.com>
999
1000 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1001 (Bug#13420)
1002
1003 2013-01-14 Glenn Morris <rgm@gnu.org>
1004
1005 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1006 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1007
1008 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1009
1010 * progmodes/python.el (python-nav-end-of-statement):
1011 Fix cornercase when handling multiline strings.
1012
1013 2013-01-13 Richard Stallman <rms@gnu.org>
1014
1015 * mail/sendmail.el (mail-position-on-field): Add doc string.
1016
1017 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1018 Get current message boundaries and pass them to
1019 message-forward-make-body-mime. Minor style changes.
1020
1021 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1022
1023 * cus-start.el (all): Avoid warnings about
1024 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1025
1026 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1027
1028 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1029
1030 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1031
1032 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1033 (jit-lock--debug-fontifying): New var.
1034 (jit-lock--debug-fontify): New function.
1035 * subr.el (condition-case-unless-debug): Don't prevent catching the
1036 error, just let the debbugger run.
1037 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1038 timer code and don't drop errors silently.
1039
1040 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1041
1042 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1043 `permanent-local' property.
1044 (auto-revert-notify-handler): Use `file-equal-p'.
1045
1046 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1047
1048 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1049 file notification by ACTION. For filtering by file name, compare
1050 only the non-directory part of the file name.
1051
1052 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1053
1054 * autorevert.el: Use cl-lib instead of cl.
1055
1056 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1057 (vc-bzr-checkin): Use it.
1058 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1059 will preserve match-data.
1060
1061 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1062
1063 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1064 (js--declaration-keyword-re): New var.
1065 (js--multi-line-declaration-indentation): New function.
1066 (js--proper-indentation): Use it.
1067
1068 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1069
1070 * calc/calc.el (calc-highlight-selections-with-faces)
1071 (calc-dispatch):
1072 * comint.el (comint-history-isearch-message):
1073 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1074 * ffap.el (ffap-string-at-point-region, ffap-next)
1075 (ffap-string-at-point, ffap-string-around)
1076 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1077 (ffap-literally):
1078 * font-lock.el (font-lock-keywords-alist)
1079 (font-lock-removed-keywords-alist):
1080 * help-mode.el (help-xref-symbol-regexp):
1081 * info.el (Info-find-emacs-command-nodes):
1082 * international/mule.el (add-to-coding-system-list):
1083 * isearch.el (isearch-message-function, isearch-fail-pos):
1084 * misearch.el (multi-isearch-next-buffer-function):
1085 * newcomment.el (comment-box):
1086 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1087 (pr-setting-database):
1088 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1089 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1090 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1091 (pike-font-lock-keywords-3):
1092 * progmodes/compile.el (compile):
1093 * progmodes/etags.el (tags-table-files)
1094 (tags-table-files-function, tags-included-tables-function):
1095 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1096 (gdb-restore-windows):
1097 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1098 (ps-n-up-filling-database):
1099 * server.el (server-buffer, server-log):
1100 * simple.el (newline, delete-backward-char, delete-forward-char)
1101 (minibuffer-history-isearch-message, kill-line, track-eol)
1102 (temporary-goal-column):
1103 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1104 (flyspell-default-deplacement-commands):
1105 * textmodes/ispell.el (ispell-accept-output):
1106 * textmodes/sgml-mode.el (html-tag-help):
1107 * vc/compare-w.el (compare-ignore-whitespace)
1108 (compare-ignore-case, compare-windows-dehighlight):
1109 * vc/diff.el (diff):
1110 * whitespace.el (whitespace-point)
1111 (whitespace-font-lock-refontify, whitespace-bob-marker)
1112 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1113
1114 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1115
1116 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1117 (auto-revert-notify-rm-watch): Ignore errors.
1118 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1119 inotify, and '(size last-write-time) for w32notify.
1120 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1121 watch fails - this is a fallback to the file modification check.
1122 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1123 (auto-revert-notify-event-action)
1124 (auto-revert-notify-event-file-name): New defuns.
1125 (auto-revert-notify-handler): Use them. Implement first
1126 plausibility checks.
1127 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1128
1129 2013-01-11 Julien Danjou <julien@danjou.info>
1130
1131 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1132 max are almost equal. Also return the correct value for V which is
1133 already between 0 and 1.
1134
1135 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1136
1137 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1138
1139 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1140
1141 * autorevert.el (auto-revert-notify-rm-watch)
1142 (auto-revert-notify-add-watch): Fix typos in w32notify function
1143 names.
1144
1145 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1146
1147 * autorevert.el (auto-revert-notify-enabled): Move up.
1148 (auto-revert-use-notify): New defcustom.
1149 (auto-revert-mode, global-auto-revert-mode)
1150 (auto-revert-notify-add-watch, auto-revert-handler)
1151 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1152 `auto-revert-notify-enabled'.
1153
1154 2013-01-10 Elias Pipping <pipping@exherbo.org>
1155
1156 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1157 * doc-view.el (doc-view-document->bitmap):
1158 Use doc-view-single-page-converter-function instead of
1159 single-page-converter arg; adjust callers.
1160
1161 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1162
1163 * progmodes/which-func.el (which-function): Understand Semantic's use
1164 of overlays in imenu--index-alist.
1165
1166 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1167
1168 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1169 (Man-man-k-use-anchor): New var.
1170 (Man-parse-man-k): New function.
1171 (Man-completion-table): Use it.
1172 (man): Flush the completion cache between uses.
1173
1174 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1175
1176 * autorevert.el: Add file watch support.
1177 (auto-revert-notify-enabled): New defconst.
1178 (auto-revert-notify-watch-descriptor-hash-list)
1179 (auto-revert-notify-watch-descriptor)
1180 (auto-revert-notify-modified-p): New defvars.
1181 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1182 (auto-revert-notify-handler): New defuns.
1183 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1184 when mode is disabled.
1185 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1186 (auto-revert-buffers): Add file watches for active buffers.
1187
1188 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1189
1190 * cus-start.el (toplevel): Only allow float values for
1191 scroll-up-aggressively and scroll-down-aggressively.
1192 Allow any number for line-spacing.
1193
1194 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1195
1196 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1197 (doc-view-pdf->png-converter-function): Use mupdf if available.
1198 (doc-view-djvu->png-converter-function)
1199 (doc-view-ps->png-converter-function): Remove.
1200 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1201 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1202 (doc-view-already-converted-p): Adjust accordingly.
1203 (doc-view-mode-p): Simplify.
1204 (doc-view-enlarge): Use setq-local.
1205 (doc-view-pdf->png-converter-ghostscript)
1206 (doc-view-djvu->png-converter-ddjvu)
1207 (doc-view-pdf->png-converter-mupdf): Rework to call
1208 doc-view-start-process directly.
1209 (doc-view-pdf/ps->png): Simplify accordingly.
1210 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1211 (doc-view-document->bitmap): Rename from doc-view-document->png.
1212 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1213 (doc-view-set-slice-from-bounding-box): Fix completion table.
1214 (doc-view-mode): Use add-hook for after-revert-hook.
1215
1216 2013-01-10 Glenn Morris <rgm@gnu.org>
1217
1218 * emacs-lisp/authors.el (authors-ignored-files)
1219 (authors-valid-file-names, authors-renamed-files-alist):
1220 Add some more entries.
1221
1222 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1223
1224 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1225 `t' pseudo-window entry.
1226
1227 2013-01-10 Alan Mackenzie <acm@muc.de>
1228
1229 Fix bugs in the c-parse-state mechanism. Reuse some markers
1230 instead of continually generating new ones.
1231
1232 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1233 (c-state-old-cpp-end-marker): New variables.
1234 (c-append-lower-brace-pair-to-state-cache): Start a backward
1235 search for "}" definitively outside CPP constructs.
1236 (c-remove-stale-state-cache): Inform the caller of a need to
1237 search back for a brace pair in certain circumstances.
1238 (c-state-maybe-marker): New macro.
1239 (c-parse-state): Reuse markers when appropriate.
1240
1241 2013-01-10 Glenn Morris <rgm@gnu.org>
1242
1243 * simple.el (execute-extended-command): Doc fix.
1244 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1245
1246 2013-01-10 Chong Yidong <cyd@gnu.org>
1247
1248 * faces.el (read-face-name): Doc fix.
1249
1250 2013-01-10 Roland Winkler <winkler@gnu.org>
1251
1252 * emacs-lisp/crm.el: Allow any regexp for separators.
1253 (crm-default-separator): All spaces around the default comma separator.
1254 (crm--completion-command): New macro.
1255 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1256 (crm-complete-and-exit): Handle non-single-char separators.
1257
1258 2013-01-09 Elias Pipping <pipping@lavabit.com>
1259
1260 * doc-view.el: Add support for DjVu (bug#13164).
1261 (doc-view-djvu->png-converter-function): New config var.
1262 (doc-view-single-page-converter-function, doc-view--image-type)
1263 (doc-view--image-file-extension): New vars.
1264 (doc-view-mode): Initialize them.
1265 (doc-view-goto-page): Use them.
1266 (doc-view-mode-p): Add support for ddjvu.
1267 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1268 (doc-view-set-up-single-converter): New funs.
1269 (doc-view-pdf/ps->png): Extend for djvu.
1270 (doc-view-document->png): Rename from doc-view-pdf->png.
1271 (doc-view-convert-current-doc): Handle djvu.
1272 (doc-view-insert-image, doc-view-display)
1273 (doc-view-already-converted-p): Don't hardcode png.
1274 (doc-view-set-doc-type): Recognize djvu docs.
1275
1276 2013-01-09 Elias Pipping <pipping@lavabit.com>
1277
1278 * doc-view.el: Add support for mupdf converter (bug#13164).
1279 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1280 (doc-view-ps->png-converter-function): New config vars.
1281 (doc-view-pdf->png-converter-ghostscript)
1282 (doc-view-ps->png-converter-ghostscript)
1283 (doc-view-pdf->png-converter-mupdf): New functions.
1284 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1285
1286 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1287
1288 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1289 first in session cache: When `tramp-own-remote-path' is in
1290 `tramp-remote-path', the remote path is only set in the session
1291 cache.
1292
1293 2013-01-09 Glenn Morris <rgm@gnu.org>
1294
1295 * emacs-lisp/trace.el (trace-function-foreground)
1296 (trace-function-background): Doc fix.
1297
1298 2013-01-09 Juri Linkov <juri@jurta.org>
1299
1300 * international/mule-cmds.el (read-char-by-name): Move let-binding
1301 of completion-ignore-case around completing-read to fix regression
1302 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1303 `string-match-p' using the nil value of `case-fold-search' and
1304 `completion-ignore-case' in `completion-pcm--all-completions'.
1305 (Bug#12615).
1306
1307 2013-01-09 Glenn Morris <rgm@gnu.org>
1308
1309 * progmodes/compile.el (compilation-parse-errors):
1310 Fix typo. (Bug#13369)
1311
1312 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1313
1314 * comint.el (comint-send-input): Check size of buffer before
1315 waiting for process output, in case already accepted. (Bug#13290)
1316
1317 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1318
1319 Spelling fixes.
1320 * net/tramp-adb.el (tramp-adb-get-toolbox):
1321 Fix misspelling of 'unknown'.
1322
1323 2013-01-08 Juri Linkov <juri@jurta.org>
1324
1325 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1326 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1327 Use underline style wave on terminals that support it. (Bug#13000)
1328
1329 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1330
1331 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1332 the predicate returns nil.
1333
1334 * simple.el: Use lexical-binding.
1335 (primitive-undo): Use pcase.
1336 (minibuffer-history-isearch-push-state): Use a closure.
1337
1338 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1339
1340 * simple.el (primitive-undo): Move from undo.c.
1341
1342 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1343
1344 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1345 (cvs-mode-remove-handled): Use it (bug#13380).
1346
1347 * emacs-lisp/nadvice.el (advice--tweak): New function.
1348 (advice--remove-function, advice--subst-main): Use it.
1349
1350 * emacs-lisp/advice.el: Update commentary.
1351
1352 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1353
1354 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1355 Remove spurious entry.
1356
1357 2013-01-08 Glenn Morris <rgm@gnu.org>
1358
1359 * net/tramp.el (tramp-default-host-alist): Add :version.
1360
1361 2013-01-08 Juri Linkov <juri@jurta.org>
1362
1363 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1364 single completion. (Bug#12456)
1365 (info--manual-names): Expand node completions into an explicit list
1366 before appending it to another list. Filter out internal buffers
1367 with the leading space in the buffer name. (Bug#10771)
1368
1369 2013-01-08 Juri Linkov <juri@jurta.org>
1370
1371 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1372 that defaults to the Top node.
1373 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1374 the short format (FILENAME) goes to the Top node.
1375 (Info-build-node-completions): Rename arg `file' to `filename'.
1376 (Bug#13365)
1377
1378 2013-01-07 Bastien Guerry <bzg@gnu.org>
1379
1380 * menu-bar.el (menu-bar-search-documentation-menu):
1381 Use `apropos-user-option' and fix the help message.
1382
1383 2013-01-07 Bastien Guerry <bzg@gnu.org>
1384
1385 * apropos.el (apropos-do-all): Update docstring.
1386 (apropos-user-option-button): New face.
1387 (apropos-user-option): Rename from `apropos-variable' and update
1388 docstring.
1389 (apropos-variable): Rewrite, now show all variables by default.
1390 (apropos-print): Mention "User option" instead of "Variable" when
1391 printing doc for user options. (Bug#13276)
1392
1393 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1394
1395 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1396 Handle filename correctly, when parsing "source -> target" symlink
1397 output.
1398 (tramp-adb-handle-set-file-times): New defun.
1399
1400 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1401
1402 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1403 advice list when the interactive-spec of ad-Advice-* changes.
1404
1405 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1406
1407 * wid-edit.el (widget-default-get): Work for inlined elements.
1408 (Bug#12670)
1409
1410 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1411
1412 * net/tramp.el (tramp-default-host-alist): New defcustom.
1413 (tramp-find-host): Use it.
1414 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1415 `eshell-directory-change-hook'.
1416
1417 * net/tramp-adb.el (top): Add adb specific entry in
1418 `tramp-default-host-alist'.
1419 (tramp-adb-file-name-host): Remove function.
1420 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1421 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1422
1423 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1424
1425 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1426
1427 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1428
1429 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1430
1431 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1432 consist of more than one digit.
1433 (tramp-adb-file-name-handler-alist):
1434 Use `tramp-handle-file-exists-p' consistently.
1435 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1436 (tramp-adb-handle-file-exists-p): Remove function.
1437 (tramp-adb-file-name-host): New defun.
1438 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1439 Use it.
1440 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1441
1442 2013-01-06 Chong Yidong <cyd@gnu.org>
1443
1444 * vc/vc.el (vc-next-action): Detect buffer modifications
1445 conflicting with locking VCS operation (Bug#11490).
1446
1447 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1448
1449 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1450
1451 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1452 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1453
1454 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1455
1456 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1457 parsing of ls output using regular expression (handle filenames
1458 with spaces). Use virtual device number.
1459 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1460 cleanup).
1461
1462 2013-01-04 Daiki Ueno <ueno@gnu.org>
1463
1464 * epg.el: Silence byte-compiler warnings.
1465 (epg--start): Use delete-char instead of delete-backward-char.
1466 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1467
1468 2013-01-04 Daiki Ueno <ueno@gnu.org>
1469
1470 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1471 Suggested by Eli Zaretskii <eliz@gnu.org>.
1472
1473 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1474
1475 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1476 non-negative integers. Otherwise, the default values are used.
1477 (tramp-convert-file-attributes): Convert uid and gid to integers.
1478
1479 2013-01-04 Glenn Morris <rgm@gnu.org>
1480
1481 * term.el (term-handle-colors-array): Ensure face attributes
1482 are fully specified, not nil. (Bug#13337)
1483
1484 * term.el (term-default-fg-color, term-default-bg-color):
1485 Fix custom type.
1486
1487 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1488 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1489 rather than 'jka-compr being loaded. (Bug#13338)
1490
1491 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1492
1493 * icomplete.el (icomplete-completions):
1494 Honor icomplete-prospects-height once more following
1495 2012-11-29 changes. (Bug#13224)
1496
1497 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1498
1499 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1500 of called-interactively-p as well (bug#13237).
1501
1502 * view.el (view--enable, view--disable): Rename from view-mode-enable
1503 and view-mode-disable and assume it's called from view-mode.
1504 (view-mode-enable, view-mode-disable): Redefine as obsolete
1505 compatibility layer above view-mode.
1506 (view-mode-enter): Call `view-mode'.
1507
1508 * files.el (after-find-file): Call `view-mode'.
1509
1510 * doc-view.el (doc-view-scale-internally): New var.
1511 (doc-view-enlarge, doc-view-insert-image): Obey it.
1512
1513 2013-01-03 Daiki Ueno <ueno@gnu.org>
1514
1515 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1516 exist. (Bug#13344)
1517
1518 2013-01-03 Glenn Morris <rgm@gnu.org>
1519
1520 * mail/rmail.el (rmail-set-header-1): Ignore case.
1521 Handle multi-line headers. (Bug#13330)
1522
1523 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1524 Handle paragraph starting at beginning of buffer.
1525
1526 * subr.el (eval-after-load): Don't purecopy the form, so that it
1527 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1528
1529 * emacs-lisp/byte-run.el (defun): Place cl declarations
1530 after any interactive spec. (Bug#13265)
1531
1532 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1533
1534 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1535 defun. Don't check for DECL if DOCSTRING isn't a string.
1536 (defun): Likewise.
1537
1538 2013-01-02 Glenn Morris <rgm@gnu.org>
1539
1540 * eshell/em-cmpl.el (eshell-pcomplete):
1541 More thoroughly imitate pcomplete. (Bug#13293)
1542
1543 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1544 Return nil for empty path elements. (Bug#13296)
1545
1546 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1547
1548 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1549 order to improve efficiency (Based on Daniel Colascione's
1550 <dancol@dancol.org> patch). (Bug#13182)
1551
1552 2013-01-02 Glenn Morris <rgm@gnu.org>
1553
1554 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1555
1556 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1557
1558 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1559 neither DOCSTRING nor DECL was given. (Bug#13316)
1560
1561 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1562
1563 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1564 `error' call.
1565 (tramp-do-copy-or-rename-file): Ignore errors when calling
1566 `set-file-extended-attributes'.
1567
1568 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1569 Add handler for `file-acl'.
1570 (tramp-smb-handle-file-acl): New defun.
1571
1572 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1573
1574 * calc/README: Mention ISO 8601 week-numbering dates.
1575
1576 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1577
1578 * view.el (view-mode-enable): New argument run-view-mode-hook.
1579 Run view-mode-hook only when it's non-nil (Bug#13315).
1580 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1581 argument t.
1582
1583 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1584
1585 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1586 (No device connected, invalid device name). (Bug #13299)
1587
1588 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1589
1590 * window.el (window-resizable--p): Rename to window-resizable-p.
1591 (window-resize-no-error): New function.
1592
1593 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1594 broken in fix from 2012-12-28.
1595
1596 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1597
1598 * subr.el (special-form-p): Don't signal errors on undef aliases.
1599
1600 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1601
1602 * calc/calc-forms.el (math-parse-date): Try using
1603 `math-parse-iso-date' when it looks like it might be needed.
1604 Allow times of 24:00.
1605 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1606 of 24:00.
1607
1608 2012-12-30 Glenn Morris <rgm@gnu.org>
1609
1610 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1611 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1612 (rmail-summary-displayed, rmail-summary): Declare.
1613 (mairix-rmail-display): Just require rmail.
1614
1615 2012-12-30 Chong Yidong <cyd@gnu.org>
1616
1617 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1618 check for the tarball contents.
1619
1620 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1621
1622 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1623 tarfile content listings (Bug#13136).
1624
1625 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1626
1627 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1628 Insert the undecoded text of the message being forwarded. (Bug#9521)
1629
1630 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1631
1632 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1633 integers, if they are real numbers. (Bug#13282)
1634
1635 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1636 Return `t' on success.
1637
1638 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1639 Add handler for `set-file-selinux-context'.
1640
1641 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1642
1643 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1644 (tramp-sh-handle-set-file-acl): Return `t' on success.
1645
1646 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1647
1648 * files.el (backup-buffer-copy, basic-save-buffer-2):
1649 If set-file-extended-attributes fails, fall back on set-file-modes
1650 instead of signaling an error. (Bug#13298)
1651 (basic-save-buffer): Likewise.
1652
1653 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1654
1655 * progmodes/python.el: Support other commands triggering
1656 python-indent-line so indentation cycling continues to work.
1657 (python-indent-trigger-commands): New defcustom.
1658 (python-indent-line): Use it.
1659
1660 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1661
1662 * progmodes/python.el (python-shell-send-region): Add blank lines
1663 for non sent code so backtraces remain correct.
1664
1665 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1666
1667 * progmodes/python.el: Remove cl dependency.
1668 (python-syntax-count-quotes): Replace incf call.
1669 (python-fill-string): Replace setf call.
1670
1671 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1672
1673 * info.el (info-other-window): New arg, for consistency with info.
1674
1675 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1676
1677 * mail/rmail.el (rmail-maybe-display-summary):
1678 Rewrite (Bug#13066).
1679
1680 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1681
1682 * epg.el (epg--start): Modify process-environment locally.
1683
1684 2012-12-28 Daiki Ueno <ueno@gnu.org>
1685
1686 * epg.el: Support pinentry-curses.
1687 Suggested by Werner Koch in
1688 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1689 (epg-agent-file, epg-agent-mtime): New variable.
1690 (epg--start): Record the modified time of gpg-agent socket file,
1691 to restore Emacs frame after pinentry-curses termination.
1692 (epg-wait-for-completion): Restore Emacs frame here.
1693
1694 2012-12-27 Juri Linkov <juri@jurta.org>
1695
1696 * info.el (Info-file-completions): New variable.
1697 (Info-read-node-name-1): Complete node names in the Info file
1698 when a file name is given. Call `Info-build-node-completions'
1699 with a file name.
1700 (Info-build-node-completions): Add new arg `file'. When it is
1701 non-nil, visit it in a temporary buffer and cache its completions in
1702 `Info-current-file-completions'. Move most of the function body to
1703 `Info-build-node-completions-1'.
1704 (Info-build-node-completions-1): New function with the body from
1705 `Info-build-node-completions'. (Bug#12456)
1706
1707 2012-12-27 Juri Linkov <juri@jurta.org>
1708
1709 * frame.el (frame-maximization-style): Remove user option.
1710 (cycle-frame-maximized): Remove function.
1711 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1712 (toggle-frame-fullscreen): New command bound to <f11> instead of
1713 `toggle-frame-maximized'.
1714 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1715
1716 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1717
1718 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1719
1720 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1721 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1722 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1723 for `file-accessible-directory-p'. (Bug#13275)
1724
1725 2012-12-27 Sam Steingold <sds@gnu.org>
1726
1727 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1728 continuations, see <http://stackoverflow.com/questions/3582436>.
1729
1730 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
1731
1732 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1733 "module" and "def" to have indentation before them.
1734 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1735
1736 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1737
1738 2012-12-27 Alan Mackenzie <acm@muc.de>
1739
1740 Speed up fontification where there's large brace blocks.
1741 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1742 to a call of c-beginning-of-decl-1.
1743
1744 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1745
1746 * comint.el (comint-adjust-window-point): New function.
1747 (comint-postoutput-scroll-to-bottom):
1748 Call comint-adjust-window-point (Bug#13248).
1749
1750 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1751
1752 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1753 Rakefile regexp.
1754 (auto-mode-alist): Associate .gemspec files with ruby-mode
1755 (https://bugs.ruby-lang.org/issues/5453).
1756
1757 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1758
1759 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1760 Suppress coloring, if possible (required for BusyBox based systems like
1761 CyanogenMod).
1762 (tramp-adb-handle-file-attributes)
1763 (tramp-adb-handle-insert-directory)
1764 (tramp-adb-handle-file-name-all-completions): Use it.
1765 (tramp-adb-get-toolbox): New defun. Check for remote shell
1766 implementation (BusyBox or Toolbox).
1767
1768 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1769
1770 * startup.el (initial-buffer-choice): Allow function as value
1771 (Bug#13251).
1772 (command-line-1): Handle case where initial-buffer-choice
1773 specifies a function.
1774 * server.el (server-execute): Handle case where
1775 initial-buffer-choice specifies a function.
1776
1777 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1778
1779 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1780 its own function.
1781 (smtpmail-try-auth-methods): Forget the user name/password if the
1782 login is unsuccessful (bug#12424).
1783
1784 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
1785
1786 * notifications.el (notifications-notify): Protect body with
1787 `with-demoted-errors'.
1788
1789 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1790 Check properties of remote device. Restart connection, if there is a
1791 change.
1792
1793 2012-12-21 Chong Yidong <cyd@gnu.org>
1794
1795 * sort.el (sort-subr): Doc fix (Bug#13056).
1796
1797 2012-12-21 Bastien Guerry <bzg@gnu.org>
1798
1799 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1800
1801 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
1802
1803 * simple.el (process-file): Overwrite stderr file, if exists.
1804
1805 2012-12-21 Daiki Ueno <ueno@gnu.org>
1806
1807 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1808 (epg-error): Set `error-message' property.
1809
1810 2012-12-21 Chong Yidong <cyd@gnu.org>
1811
1812 * international/mule-cmds.el (read-char-by-name): Signal an error
1813 if the user does not supply a valid character (Bug#13177).
1814
1815 * simple.el (transpose-subr-1): Preserve marker positions by
1816 changing the insertion sequence (Bug#13122).
1817
1818 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1819
1820 * simple.el (kill-region): Deactivate mark even for empty regions
1821 (Bug#13169).
1822
1823 2012-12-21 Chong Yidong <cyd@gnu.org>
1824
1825 * help-fns.el (describe-variable): Make sure we get the right
1826 buffer name (Bug#13105). Suggested by Kelly Dean.
1827
1828 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1829
1830 * comint.el (comint-redirect-previous-input-string): New variable.
1831 (comint-redirect-setup, comint-redirect-cleanup)
1832 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1833 (comint-redirect-preoutput-filter): Fix verbose message.
1834
1835 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
1836
1837 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1838 is too long for Tramp. See discussion in
1839 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1840
1841 * progmodes/compile.el (compilation-start): Remove line escape
1842 template.
1843
1844 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1845
1846 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1847 Adjust comment.
1848
1849 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1850
1851 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1852 following non-comment text (bug#13207).
1853 (lm-header-multiline): Continuation lines need to be indented more than
1854 the first line.
1855 (lm-homepage): New function.
1856 (lm-with-file): Don't be confused if narrowing is in effect.
1857
1858 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1859
1860 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1861 very beginning of a hunk (e.g. killing the first line).
1862
1863 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
1864
1865 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1866 and text properties from returned ACL string.
1867 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1868 for "setfacl" command.
1869
1870 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
1871
1872 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1873 `tramp-cleanup-this-connection', when the process has died.
1874 (Bug#13151)
1875
1876 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1877
1878 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1879
1880 2012-12-17 Kevin Ryde <user42@zip.com.au>
1881
1882 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1883
1884 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
1885
1886 Add support for preserving ACL entries of files.
1887
1888 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1889 `set-file-acl' handlers.
1890
1891 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1892 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1893
1894 * net/tramp-compat.el (tramp-compat-copy-file):
1895 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1896
1897 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1898 Add `file-acl' and `set-file-acl' handlers.
1899 (tramp-gvfs-handle-copy-file):
1900 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1901 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1902 New defuns.
1903
1904 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1905 Add `file-acl' and `set-file-acl' handlers.
1906 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1907 (tramp-sh-handle-set-file-acl): New defuns.
1908 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1909 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1910
1911 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1912 Add `file-acl' and `set-file-acl' handlers.
1913 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1914
1915 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1916
1917 * help-macro.el (make-help-screen): Instead of switch-to-buffer
1918 use pop-to-buffer with NORECORD argument t. As buffer name, use
1919 *Metahelp* with a leading space (Bug#13190).
1920
1921 2012-12-16 Romain Francoise <romain@orebokech.com>
1922
1923 * files.el (file-extended-attributes)
1924 (set-file-extended-attributes): New functions.
1925 (backup-buffer): Use them to handle both SELinux context and ACL
1926 entries.
1927 (backup-buffer-copy): Work with an alist of extended attributes,
1928 rather than an SELinux context.
1929 (basic-save-buffer-2): Ditto.
1930
1931 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1932
1933 * battery.el (battery-bsd-apm): New function.
1934
1935 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1936
1937 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1938 standard date formats.
1939
1940 2012-12-15 Juri Linkov <juri@jurta.org>
1941
1942 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1943 `isearch-insert-char-by-name'.
1944 (with-isearch-suspended): New defmacro with body mostly from
1945 `isearch-edit-string' except the part that sets
1946 `isearch-new-string' and `isearch-new-message'.
1947 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1948 body that sets `isearch-new-string' and `isearch-new-message'.
1949 (isearch-insert-char-by-name): New command.
1950 * international/mule-cmds.el (read-char-by-name): Let-bind
1951 `enable-recursive-minibuffers' to t.
1952 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1953
1954 2012-12-15 Juri Linkov <juri@jurta.org>
1955
1956 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1957 (Bug#13175)
1958
1959 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1960
1961 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1962 the prompt. (Bug#13045)
1963
1964 2012-12-14 Glenn Morris <rgm@gnu.org>
1965
1966 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1967 Try to include filename in non-bytecomp warning. (Bug#13132)
1968
1969 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1970
1971 Fix permissions bugs with setgid directories etc. (Bug#13125)
1972 * files.el (backup-buffer): Don't rely on 9th output of
1973 file-attributes, as it's now a placeholder. Instead, use the new
1974 optional arg of file-ownership-preserved-p.
1975 (file-ownership-preserved-p): New optional arg GROUP.
1976 Fix mishandling of setuid directories that would cause this
1977 function to return t when it should have returned nil.
1978 Document what happens if the file does not exist, and when
1979 it's not known whether the ownership will be preserved.
1980 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1981 Likewise.
1982 (tramp-get-local-gid): Use group-gid for integer, as that's
1983 faster and more reliable.
1984
1985 2012-12-14 Julien Danjou <julien@danjou.info>
1986
1987 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1988 Update keywords list, data type and PL/pgSQL.
1989
1990 2012-12-14 Dave Abrahams <dave@boostpro.com>
1991
1992 * vc/ediff-util.el (ediff-buffer-type): New function.
1993 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1994 rather than taking it as as argument.
1995 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1996
1997 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1998
1999 * json.el: Add pretty-print option (bug#12634).
2000 (json-encoding-separator, json-encoding-default-indentation)
2001 (json--encoding-current-indentation, json-encoding-pretty-print)
2002 (json-encoding-lisp-style-closings): New vars.
2003 (json--with-indentation): New macro.
2004 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2005 (json-encode-array): Use it to obey json-encoding-pretty-print.
2006 (json-pretty-print-buffer, json-pretty-print): New commands.
2007
2008 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2009
2010 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2011 Extract `ruby-syntax-propertize-expansions'.
2012 (ruby-syntax-propertize-expansions): Only change syntax on
2013 certain string delimiters, to punctuation. This way the common
2014 functions like forward-word and thing-at-point still work.
2015 (ruby-match-expression-expansion): Improve readability.
2016 (ruby-block-contains-point): New function.
2017 (ruby-add-log-current-method): Handle several edge cases.
2018
2019 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2020
2021 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2022 unload-feature finishes even when aborting an ongoing edebug session.
2023 Also, do not worry about edebug-mode, unload-feature takes care of it.
2024
2025 2012-12-13 Andreas Schwab <schwab@suse.de>
2026
2027 * net/tls.el (tls-program): Update customize type.
2028
2029 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2030
2031 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2032 (edebug-setup-hook, cl-read-load-hooks): Use it.
2033 (edebug-unload-function): New function. (Bug#13163)
2034
2035 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2036
2037 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2038 Otherwise, there could be errors in autoloading. (Bug#13151)
2039
2040 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2041
2042 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2043 sequences.
2044
2045 2012-12-13 Alan Mackenzie <acm@muc.de>
2046
2047 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2048 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2049 around `forward-comment' not recognizing ^M as whitespace.
2050
2051 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2052
2053 * progmodes/python.el (python-skeleton-class)
2054 (python-skeleton-def): Do not add space after defun name.
2055
2056 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2057
2058 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2059 (cl--symbol-function): Remove (now that funbound is like nil).
2060
2061 2012-12-12 Glenn Morris <rgm@gnu.org>
2062
2063 * button.el (button--area-button-p): Fix typo.
2064
2065 2012-12-12 Sam Steingold <sds@gnu.org>
2066
2067 * frame.el (frame-maximization-style): New user option.
2068 (toggle-frame-maximized): Toggle frame maximization according to
2069 `frame-maximization-style', bound to <f11>.
2070 (cycle-frame-maximized): Cycle between all maximization styles and
2071 non-maximized frame, bound to shift-<f11>.
2072
2073 2012-12-12 David Cadé <codename68@gmail.com>
2074
2075 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2076
2077 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2078
2079 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2080 (eieio-override-prin1): Don't quote kewords and booleans.
2081 (object-write) <eieio-default-superclass>: Don't put closing parens
2082 on new line, avoid needless empty lines, align values that are objects
2083 with the slot keyword (instead of beginning on the same line).
2084 (eieio-list-prin1): Align value with slot keyword; increase
2085 eieio-print-depth before printing members of the list.
2086
2087 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2088
2089 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2090 a display text-property.
2091 (report-emacs-bug-hook): Don't bother deleting it any more.
2092
2093 * hilit-chg.el (highlight-save-buffer-state): Delete.
2094 Use with-silent-modifications instead.
2095 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2096
2097 * button.el: Handle buttons in display text-properties.
2098 (button--area-button-p, button--area-button-string):
2099 Use (STRING . STRING-POS) representation instead of just STRING.
2100
2101 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2102
2103 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2104 subdirectory be skipped.
2105
2106 2012-12-11 Glenn Morris <rgm@gnu.org>
2107
2108 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2109
2110 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2111 Treat preprocessor lines embedded in continuations like comments.
2112 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2113
2114 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2115
2116 * calc/calc.el (calc-standard-date-formats): Add more date
2117 formats.
2118 * calc/calc-forms.el (math-parse-iso-date): New function.
2119 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2120 (math-parse-iso-date-validate): Add extra error checking.
2121 (calc-date-notation): Add ability to access new date formats.
2122
2123 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2126 font-lock as well as when there's no text-property.
2127
2128 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2129
2130 * hi-lock.el: Refine the choice of default face.
2131 (hi-lock-keyword->face): New function. Use it wherever we used
2132 cadadadr instead.
2133 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2134 (hi-lock--last-face): Remove var.
2135 (hi-lock--unused-faces): New var to replace it.
2136 (hi-lock-read-face-name): Use/maintain it.
2137 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2138 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2139 if it has another face.
2140
2141 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2142
2143 * subr.el (w32notify-handle-event): New function.
2144 (inotify-handle-event): Doc fix.
2145
2146 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2147
2148 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2149
2150 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2151
2152 * simple.el (just-one-space): Doc fix.
2153
2154 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2155
2156 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2157
2158 2012-12-10 Le Wang <l26wang@gmail.com>
2159
2160 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2161 narrowed buffer (bug#12361).
2162
2163 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2164
2165 * vc/vc-hooks.el (vc-state): Doc fix.
2166
2167 2012-12-10 Glenn Morris <rgm@gnu.org>
2168
2169 * mail/rmail.el (rmail-maybe-display-summary):
2170 Preserve buffer, in case select-window changes it. (Bug#13066)
2171
2172 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2173
2174 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2175 cl-load-hook where they belong.
2176
2177 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2178
2179 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2180
2181 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2182
2183 Parallelize byte compilation on MS-Windows.
2184 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2185 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2186 (WINS_BASIC): Define as concatenation of the above.
2187 (compile): Subdivide into 4 separate and independent jobs that can
2188 be run in parallel.
2189 (compile0-CMD, compile0-SH): New targets for compiling
2190 COMPILE_FIRST files, which are prerequisites for the rest of the
2191 byte-compilation.
2192 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2193 New targets for parallel compilation with cmd.exe.
2194 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2195 compiling under a Unixy shell.
2196
2197 2012-12-09 Chong Yidong <cyd@gnu.org>
2198
2199 * simple.el (set-mark-default-inactive): Delete this
2200 accidentally-introduced option.
2201 (set-mark-command, exchange-point-and-mark): Remove calls.
2202
2203 2012-12-09 Glenn Morris <rgm@gnu.org>
2204
2205 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2206 Respect a defcustom's :set function, if appropriate. (Bug#109)
2207 (eval-defun): Doc fix.
2208
2209 2012-12-08 Juri Linkov <juri@jurta.org>
2210
2211 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2212 (Info-fontify-node, Info-bookmark-make-record): Remove the
2213 file extension from Info-current-file (Bug#13016).
2214
2215 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2216
2217 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2218 point, still provide some default.
2219 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2220 names, since we don't use it right now. Actually return the list.
2221 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2222
2223 2012-12-07 Chong Yidong <cyd@gnu.org>
2224
2225 * novice.el (disabled-command-function): Remove a spurious help
2226 xref (Bug#13043). Suggested by Kelly Dean.
2227
2228 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2229 syntax is specified (Bug#13025).
2230
2231 * info.el (Info-set-mode-line): Remove the file extension from
2232 Info-current-file if there is one (Bug#13016).
2233
2234 2012-12-07 Glenn Morris <rgm@gnu.org>
2235
2236 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2237 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2238 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2239 and rmail-mime-decoded. (Bug#9841)
2240
2241 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2242 (batch-unrmail, unrmail): Doc fixes.
2243 (unrmail): Respect unrmail-mbox-format.
2244 * mail/rmail.el (rmail-mbox-format): New option.
2245 (rmail-show-message-1): Respect rmail-mbox-format.
2246
2247 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2248
2249 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2250
2251 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2252
2253 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2254 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2255 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2256 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2257 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2258 (cl-progv): Don't rely on dynamic scoping to find the body.
2259 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2260 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2261 (cl-declaim): Use backquotes.
2262 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2263 Use "cl--" prefix for the object's tag.
2264
2265 * ses.el: Use advice-add/remove.
2266 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2267 (copy-region-as-kill, yank): Use advice-add.
2268 (ses-unload-function): Use advice-remove.
2269
2270 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2271
2272 * button.el: Make them work in header-lines (bug#12817).
2273 (button-map): Add bindings for header-line and mode-line use.
2274 (button-get, button-put, button-label): `button' may now be a string.
2275 (button-activate): Don't make it a defsubst.
2276 (button--area-button-p, button--area-button-string): New functions.
2277 (make-text-button): Fix the return value when `beg' was a string.
2278 (push-button): Handle the mode-line case.
2279
2280 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2281
2282 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2283 (sql-signum): Remove. Use `cl-signum' instead.
2284 (sql-read-passwd): Remove; use read-passwd instread.
2285 (sql-get-login-ext): Use read-string.
2286 (sql-get-login): Use dolist and pcase.
2287 (sql--completion-table): Rename from sql-try-completion.
2288 Use complete-with-action.
2289 (sql-mode): Don't change abbrev-all-caps globally.
2290 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2291 (sql-postgres-completion-object): Initialize vars in their `let'.
2292 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2293 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2294 (sql-comint-interbase): Use a single append, without setq.
2295 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2296
2297 * hi-lock.el: Rework the default face and the serialize regexp code.
2298 (hi-lock--auto-select-face-defaults): Remove.
2299 (hi-lock-string-serialize-serial): Remove.
2300 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2301 make weak.
2302 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2303 equal string.
2304 (hi-lock-set-pattern): Adjust accordingly.
2305 (hi-lock--regexps-at-point): Simplify accordingly.
2306 (hi-lock--auto-select-face-defaults): Remove.
2307 (hi-lock--last-face): New var to replace it.
2308 (hi-lock-read-face-name): Rewrite (bug#11095).
2309 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2310
2311 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2312
2313 * net/tramp.el (tramp-replace-environment-variables):
2314 Hide compiler warning.
2315 (tramp-file-name-for-operation): Remove `executable-find',
2316 `start-process', `call-process' and `call-process-region'.
2317
2318 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2319
2320 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2321 compatibility.
2322
2323 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2324
2325 2012-12-06 Chong Yidong <cyd@gnu.org>
2326
2327 * ffap.el (ffap-replace-file-component): Fix typo.
2328
2329 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2330
2331 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2332 fix open-paren-like token test (bug#12785).
2333
2334 2012-12-06 Glenn Morris <rgm@gnu.org>
2335
2336 * mail/rmailsum.el (rmail-new-summary): Tweak for
2337 rmail-maybe-display-summary changing buffer. (Bug#13066)
2338
2339 2012-12-06 Juri Linkov <juri@jurta.org>
2340
2341 * info.el (Info-fontify-node): Don't hide the last newline.
2342 (Bug#12272)
2343
2344 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2345
2346 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2347 so as to enable message-read-from-minibuffer to expand mail aliases.
2348
2349 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2350
2351 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2352 the `intangible' property.
2353 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2354
2355 2012-12-05 Deniz Dogan <deniz@dogan.se>
2356
2357 * net/rcirc.el (rcirc-urls): Update documentation.
2358 (rcirc-condition-filter): New function.
2359 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2360 and exclude consecutive duplicate URLs (Bug#6082).
2361
2362 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2363
2364 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2365 Check return code of copy command.
2366
2367 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2368 Use group `tramp'. Add version.
2369
2370 2012-12-05 Chong Yidong <cyd@gnu.org>
2371
2372 * ffap.el (ffap-url-regexp): Don't require matching at front of
2373 string (Bug#4952).
2374 (ffap-url-p): If only a substring matches, return that.
2375 (ffap-url-at-point): Use the return value of ffap-url-p.
2376 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2377 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2378 (ffap-guess-file-name-at-point): Likewise.
2379 (ffap-replace-file-component): Fix typo.
2380
2381 * info.el (info-display-manual): Add existing Info buffers, whose
2382 files may not be in Info-directory-list, to the completion.
2383 (info--manual-names): New helper function.
2384
2385 2012-12-05 Glenn Morris <rgm@gnu.org>
2386
2387 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2388 New functions, for detecting and resolving conflicts. (Bug#10709)
2389
2390 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2391
2392 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2393 (hi-lock-auto-select-face-defaults): New buffer local variable.
2394 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2395 (hi-lock-unface-buffer): Prompt user with useful defaults.
2396 With prefix arg, unhighlight all hi-lock patterns in buffer.
2397
2398 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2399
2400 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2401
2402 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2403
2404 * Makefile.in (TRAMP_SRC):
2405 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2406
2407 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2408
2409 * net/tramp-adb.el: New package.
2410
2411 2012-12-04 Chong Yidong <cyd@gnu.org>
2412
2413 * terminal.el: Move to obsolete/.
2414
2415 * longlines.el: Move to obsolete/.
2416
2417 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2418 Remove code referring to longlines mode.
2419
2420 2012-12-03 Juri Linkov <juri@jurta.org>
2421
2422 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2423
2424 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2425
2426 * textmodes/ispell.el (ispell-init-process)
2427 (ispell-start-process, ispell-internal-change-dictionary):
2428 Make sure personal dictionary name is expanded after initial
2429 `default-directory' value. Use expanded strings for
2430 keep/restart checks and for value (Bug#13019).
2431
2432 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2433
2434 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2435
2436 2012-12-03 Leo Liu <sdl.web@gmail.com>
2437
2438 * files.el (dir-locals-read-from-file): Check file non-empty
2439 before reading. (Bug#13038)
2440
2441 2012-12-03 Glenn Morris <rgm@gnu.org>
2442
2443 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2444 Remove any version extension before checking filename. (Bug#13006)
2445 (jka-compr-compression-info-list): Belated :version bump.
2446
2447 2012-12-03 Chong Yidong <cyd@gnu.org>
2448
2449 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2450
2451 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2452 (buffer-menu): Doc fix (Bug#12294).
2453
2454 2012-12-03 Roland Winkler <winkler@gnu.org>
2455
2456 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2457 of diary-show-all-entries in the diary buffer (Bug#12994).
2458
2459 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2460
2461 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2462 "<STDIN>". This is binary safe.
2463
2464 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2465
2466 * calc/calc-forms.el (math-absolute-from-iso-dt)
2467 (math-date-to-iso-dt, math-parse-iso-date-validate)
2468 (math-iso-dt-to-date): New functions.
2469 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2470 (math-fd-isoweekday): New variables.
2471 (calc-date-notation, math-parse-standard-date, math-format-date)
2472 (math-format-date-part): Add support for more formatting codes.
2473
2474 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2475
2476 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2477 current buffer's file name when called interactively (Bug#12488).
2478
2479 2012-12-02 Juri Linkov <juri@jurta.org>
2480
2481 * info.el (info-display-manual): Don't clobber an existing Info
2482 buffer (Bug#10770). Add completion (Bug#10771).
2483
2484 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2485
2486 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2487 before using it for comparison (Bug#5297).
2488
2489 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2490
2491 * textmodes/css-mode.el (css-current-defun-name): New function.
2492 (css-mode): Use it.
2493
2494 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2495 (html-mode): Use it.
2496
2497 2012-12-01 Chong Yidong <cyd@gnu.org>
2498
2499 Modularize add-log-current-defun (Bug#2224).
2500 Suggested by Jari Aalto.
2501
2502 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2503 (add-log-current-defun): Move mode-specific code to other files.
2504 (add-log-lisp-like-modes, add-log-c-like-modes)
2505 (add-log-tex-like-modes): Variables deleted.
2506
2507 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2508 (lisp-mode-variables): Use it.
2509
2510 * progmodes/cc-mode.el (c-common-init):
2511 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2512 add-log-current-defun-function.
2513
2514 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2515 (m4-mode): Use it.
2516
2517 * progmodes/perl-mode.el (perl-current-defun-name): New.
2518 (perl-mode): Use it.
2519
2520 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2521 Use lisp-current-defun-name.
2522
2523 * textmodes/tex-mode.el (tex-current-defun-name): New.
2524 (tex-common-initialization): Use it.
2525
2526 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2527 (texinfo-mode): Use it.
2528
2529 2012-12-01 Chong Yidong <cyd@gnu.org>
2530
2531 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2532 * progmodes/autoconf.el (autoconf-mode):
2533 * progmodes/js.el (js-mode):
2534 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2535 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2536 * progmodes/perl-mode.el (perl-mode):
2537 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2538 * textmodes/css-mode.el (css-mode):
2539 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2540 (sgml-tags-invisible, sgml-guess-indent):
2541 * textmodes/tex-mode.el (tex-common-initialization)
2542 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2543 (doctex-mode, plain-tex-mode, latex-mode):
2544 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2545
2546 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2547
2548 * vc/vc-hg.el (vc-hg-next-revision):
2549 Ensure use of default "tip" output format. (Bug#6968)
2550
2551 2012-12-01 Kim F. Storm <storm@cua.dk>
2552
2553 * startup.el (fancy-startup-tail): Add a clickable link
2554 (Bug#2176).
2555
2556 2012-12-01 Chong Yidong <cyd@gnu.org>
2557
2558 * startup.el (fancy-startup-tail): Improve the message about
2559 auto-save files (Bug#2176).
2560
2561 * files.el (recover-session): Improve the descriptive message, and
2562 use substitute-command-keys.
2563
2564 2012-12-01 Glenn Morris <rgm@gnu.org>
2565
2566 * ido.el (ido-file-internal):
2567 Handle other-window, other-frame for dired. (Bug#13036)
2568
2569 2012-11-30 Glenn Morris <rgm@gnu.org>
2570
2571 * icomplete.el (icomplete-separator): Fix :version.
2572
2573 2012-11-30 Chong Yidong <cyd@gnu.org>
2574
2575 * shell.el (shell): For C-u M-x shell, use an inactive shell
2576 buffer as the default (Bug#1975).
2577 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2578 (shell-mode): Use them to reapply ansi colorization if Shell mode
2579 is re-enabled.
2580
2581 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2582
2583 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2584
2585 2012-11-30 Samuel Bronson <naesten@gmail.com>
2586
2587 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2588 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2589
2590 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2591
2592 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2593 by move-to-column (Bug#3234).
2594
2595 2012-11-30 Chong Yidong <cyd@gnu.org>
2596
2597 * longlines.el (longlines-wrap-line, longlines-encode-region):
2598 Preserve text properties (Bug#1425).
2599
2600 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2601
2602 * vc/vc.el (vc-register): Allow registering a file which is
2603 already registered with a different backend (Bug#10589).
2604
2605 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2606 Stefan Monnier <monnier@iro.umontreal.ca>
2607
2608 * icomplete.el: Change separator; add ido-style commands.
2609 (icomplete-show-key-bindings): Remove custom var.
2610 (icomplete-get-keys): Remove function.
2611 (icomplete-forward-completions, icomplete-backward-completions):
2612 New commands.
2613 (icomplete-minibuffer-map): New var.
2614 (icomplete-minibuffer-setup): Use it.
2615 (icomplete-exhibit): Don't delay if the list of completions is known.
2616 (icomplete-separator): New custom.
2617 (icomplete-completions): Use it.
2618 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2619 (minibuffer-force-complete-and-exit): New command.
2620 (minibuffer--complete-and-exit): New function extracted from
2621 minibuffer-complete-and-exit.
2622 (minibuffer-complete-and-exit): Use it.
2623
2624 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2625 error message when the file doesn't exist (bug#12974).
2626
2627 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2628
2629 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2630
2631 2012-11-29 Glenn Morris <rgm@gnu.org>
2632
2633 * files.el (hack-dir-local-variables): Warn if try to set
2634 coding via dir-locals, since it doesn't work. (Bug#7169)
2635
2636 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2637 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2638 Set buffer-local value of desktop-save-buffer.
2639 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2640 New functions.
2641 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2642 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2643
2644 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2645 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2646 Doc fix.
2647 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2648 Doc fixes.
2649
2650 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2651
2652 * calc/calc-forms.el (calc-date-notation): Fix regexp
2653 used to find time codes. Fix symbol for seconds.
2654
2655 2012-11-27 Glenn Morris <rgm@gnu.org>
2656
2657 * emacs-lisp/derived.el (derived-mode-make-docstring):
2658 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2659
2660 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2661
2662 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2663 lexically scoped variables (bug#13005).
2664
2665 2012-11-27 Glenn Morris <rgm@gnu.org>
2666
2667 * vc/vc-hooks.el (vc-mistrust-permissions):
2668 Default to t, to avoid data-loss. (Bug#11490)
2669
2670 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2671
2672 * progmodes/python.el (python-indent-guess-indent-offset):
2673 If indentation is guessed make python-indent-offset buffer-local.
2674
2675 Fix Imenu regression.
2676 * progmodes/python.el (python-nav-beginning-of-defun):
2677 Fix forward movement when statement(s) separates point from defun.
2678 (python-imenu-prev-index-position): New function.
2679
2680 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2681
2682 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2683
2684 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2685 Don't set buffer-file-type. Return nil. (Bug#12989)
2686
2687 2012-11-27 Glenn Morris <rgm@gnu.org>
2688
2689 * hippie-exp.el (hippie-expand-try-functions-list):
2690 Re-autoload it. (Bug#12982)
2691
2692 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2693
2694 * descr-text.el (describe-char-padded-string):
2695 Call internal-char-font only on GUI frames. (Bug#11964)
2696
2697 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2698
2699 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2700 and obsoletion message.
2701
2702 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2703
2704 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2705 the constructs to keep outside of the `cl-block' (bug#12977).
2706
2707 2012-11-27 Chong Yidong <cyd@gnu.org>
2708
2709 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2710 keep reading until we get the up-event anyway, in order to process
2711 the up-event for mouse-1-click-follows-link (Bug#12971).
2712
2713 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2714
2715 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2716 base function is not yet defined (bug#12965).
2717 (ad-activate-advised-definition): Use ad-compile-function.
2718 (ad-activate): Use cond.
2719
2720 2012-11-25 Leo Liu <sdl.web@gmail.com>
2721
2722 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2723 (Bug#12979)
2724
2725 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2726
2727 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2728 reftex-section-info-function in order to be compatible with
2729 Texinfo integration.
2730
2731 * textmodes/reftex.el (reftex-section-pre-regexp)
2732 (reftex-section-post-regexp, reftex-section-info-function):
2733 New variable.
2734 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2735 reftex-section-post-regexp, and reftex-section-info-function in order
2736 to be compatible with Texinfo integration.
2737
2738 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2739 use reftex-section-pre-regexp variable in order to be compatible with
2740 Texinfo integration.
2741
2742 2012-11-25 Chong Yidong <cyd@gnu.org>
2743
2744 * faces.el: Make face-spec-set more analogous to setq.
2745 (face-spec-set): Change the third arg to specify whether this
2746 function is being called via defface, customize, or a third party.
2747 Set the appropriate symbol properties. Clear the override spec if
2748 setting via Custom. Initialize face if necessary. (Bug#4988)
2749 (face-spec-recalc): Allow theme faces to completely replace the
2750 defface spec, in the same way as custom faces (Bug#8454).
2751
2752 * cus-face.el (custom-declare-face): Move face initialization to
2753 face-spec-set.
2754 (custom-theme-set-faces): Don't initialize the face name here, as
2755 that is now done in face-spec-set.
2756
2757 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2758 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2759 Simplify by using the new arg to face-spec-set.
2760
2761 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2762 reset face-override-spec too, and use custom-declare-face.
2763
2764 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2765
2766 * term/ns-win.el (ns-initialize-window-system): Move creation of
2767 fontsets here (Bug#11964).
2768
2769 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2770
2771 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2772 cell renaming.
2773
2774 2012-11-24 Chong Yidong <cyd@gnu.org>
2775
2776 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2777 obsolete.
2778
2779 * custom.el (custom-theme-set-variables): Use a topological sort
2780 for ordering by custom dependencies (Bug#12952).
2781 (custom--sort-vars, custom--sort-vars-1): New functions.
2782
2783 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2784
2785 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2786 lexical-binding (bug#12938).
2787
2788 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
2789
2790 * image-mode.el (image-transform-check-size): Use assertions only
2791 for images of type imagemagick.
2792
2793 Otherwise no error, image-transform-fit-to-{width,height} is
2794 silently ignored, as before. Doc fix.
2795
2796 2012-11-24 Chong Yidong <cyd@gnu.org>
2797
2798 * faces.el (color-defined-p): Doc fix (Bug#12853).
2799
2800 2012-11-24 Juri Linkov <juri@jurta.org>
2801
2802 * dired.el (dired-mark): Add optional arg `interactive'.
2803 Check for `use-region-p' if `interactive' is non-nil.
2804 (dired-unmark, dired-flag-file-deletion): Add optional arg
2805 `interactive'. Call `dired-mark' with the arg `interactive'.
2806 (Bug#10624)
2807
2808 * wdired.el: Revert 2012-10-17 change partly and replace it with
2809 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2810 (wdired-finish-edit): Add marks for new file names to
2811 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2812 after `revert-buffer'.
2813 (wdired-do-renames): Remove calls to `dired-remove-file',
2814 `dired-add-file', `dired-add-entry'. (Bug#11795)
2815
2816 2012-11-24 Alan Mackenzie <acm@muc.de>
2817
2818 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2819
2820 Fix bugs in the state cache. Enhance a debugging mechanism.
2821 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2822 "brace at column zero" strategy for C++.
2823 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2824 (c-parse-state-point): New variable.
2825 (c-record-parse-state-state): Record old parse state with
2826 `copy-tree'. Record previous value of point.
2827 (c-debug-parse-state-double-cons): New debugging function.
2828 (c-debug-parse-state): Call the above new function.
2829 (c-toggle-parse-state-debug): Output a confirmatory message.
2830
2831 * progmodes/cc-mode.el (c-before-change, c-after-change):
2832 Call c-invalidate-state-cache from `c-before-change' instead of
2833 `c-after-change'.
2834
2835 2012-11-23 Chong Yidong <cyd@gnu.org>
2836
2837 * find-cmd.el (find-constituents): Add executable, ipath,
2838 readable, samefile, writable, daystart, regextype (Bug#12856).
2839
2840 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2841
2842 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2843
2844 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2845
2846 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2847 definition. This fixes a bootstrap failure.
2848 (calc-gregorian-switch): In menu, put dates before regions.
2849 This is easier to follow, lines up better in the menu, and lets us
2850 coalesce regions that switch at the same time. Give country
2851 names, not "Vatican", as that's better for non-expert users.
2852 Use names that are stable between the date of switch and now, e.g.,
2853 Bohemia and Moravia (which existed then and now) and not
2854 Czechoslovakia (which didn't exist then and doesn't exist now).
2855 What is now the U.S. mostly did not switch at the same time as
2856 Britain, so omit the U.S. Correct spelling of "Britain".
2857 Catholic Switzerland was too much of a mess, so omit it.
2858
2859 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2860
2861 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2862 after the variable is changed.
2863
2864 2012-11-21 Daniel Colascione <dancol@dancol.org>
2865
2866 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2867 in SQL declarations for font-lock.
2868 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2869
2870 2012-11-21 Glenn Morris <rgm@gnu.org>
2871
2872 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2873 (face-italic-p): Add optional argument "inherit".
2874
2875 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2876 Remove -p suffix from names, for consistency with other set-face-*.
2877 (set-face-inverse-video): Fix interactive spec.
2878 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2879 * textmodes/table.el (table--update-cell-face):
2880 Use set-face-inverse-video rather than now obsolete alias.
2881
2882 2012-11-21 Eli Zaretskii <eliz@gnu.org>
2883
2884 * simple.el (line-move): Don't call line-move-partial if
2885 scroll-conservatively is in effect. (Bug#12927)
2886
2887 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2888
2889 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2890 Fallback on completion-at-point rather than
2891 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2892 (eshell-cmpl-initialize): Setup completion-at-point.
2893
2894 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2895
2896 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2897
2898 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
2899
2900 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2901 are remote, check out-of-band property for both.
2902
2903 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2904
2905 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2906 code rewrite.
2907
2908 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
2909
2910 More minor time fixes.
2911 * calendar/time-date.el: Commentary fix.
2912 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2913 too much other code depends on (0 0) time stamps.
2914 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2915 Add a couple of FIXME comments.
2916
2917 Minor cleanup for times as lists of four integers.
2918 * files.el (dir-locals-directory-cache):
2919 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2920 Doc fixes.
2921 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2922 * ps-bdf.el (bdf-file-newer-than-time):
2923 Process four-integers time stamps, not two. Doc fixes.
2924
2925 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2926
2927 * uniquify.el (uniquify-managed): Use defvar-local.
2928 (rename-buffer, create-file-buffer): Advise with advice-add.
2929 (uniquify-unload-function): Unadvise accordingly.
2930
2931 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2932 (trace-buffer): Don't purecopy.
2933 (trace-entry-message, trace-exit-message): Add `context' arg.
2934 (trace--timer): New var.
2935 (trace-make-advice): Adjust for use in nadvice.
2936 Add `context' argument. Delay `display-buffer' via a timer.
2937 (trace-function-internal): Use advice-add.
2938 (trace--read-args): New function.
2939 (trace-function-foreground, trace-function-background): Use it.
2940 (trace-function): Rename to trace-function-foreground and redefine as
2941 an alias to that new name.
2942 (untrace-function, untrace-all): Adjust to the use of nadvice.
2943
2944 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2945
2946 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2947
2948 * subr.el (called-interactively-p-functions): New var.
2949 (internal--called-interactively-p--get-frame): New macro.
2950 (called-interactively-p, interactive-p): Rewrite in Lisp.
2951 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2952 (called-interactively-p-functions): Use it.
2953 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2954 (called-interactively-p-functions): Use it.
2955 * allout.el (allout-called-interactively-p): Don't assume
2956 called-interactively-p is a subr.
2957
2958 2012-11-20 Glenn Morris <rgm@gnu.org>
2959
2960 * profiler.el (profiler-report-mode-map): Add a menu.
2961 No need to bind `q' because we derive from special-mode.
2962 (profiler-report-find-entry): Handle calls from the menu-bar.
2963
2964 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2965
2966 * emacs-lisp/byte-run.el (defun-declarations-alist):
2967 Allow a compiler-macro to be a lambda expression.
2968
2969 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2970 eval-when-compile.
2971 (python-syntax-context): Add compiler-macro.
2972 (python-font-lock-keywords): Simplify with De Morgan.
2973
2974 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2975
2976 * files.el (load-file): Require match in minibuffer selection, as was
2977 the case in Emacs-20 before we changed the spec to allow .elc files
2978 (bug#12935).
2979
2980 * json.el: Don't require cl since we don't use it.
2981 * color.el: Don't require cl.
2982 (color-complement): `caddr' -> `nth 2'.
2983
2984 * calendar/time-date.el (time-to-seconds): De-obsolete.
2985
2986 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2987
2988 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2989 year numbers.
2990 (math-date-to-julian-dt): Adjust the initial approximation for the
2991 year to deal with the new definition of the DATE.
2992
2993 2012-11-19 Daniel Colascione <dancol@dancol.org>
2994
2995 * term/w32-win.el (cygwin-convert-path-from-windows):
2996 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
2997
2998 2012-11-18 Chong Yidong <cyd@gnu.org>
2999
3000 * filecache.el (file-cache--read-list): New function.
3001 (file-cache-add-directory-list, file-cache-add-file-list)
3002 (file-cache-delete-file-list, file-cache-delete-directory-list):
3003 Use it to read a list of files or directories (Bug#12846).
3004 (file-cache-add-file, file-cache-add-directory)
3005 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3006 (file-cache-delete-directory): Print an message.
3007
3008 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3009
3010 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3011 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3012
3013 2012-11-18 Glenn Morris <rgm@gnu.org>
3014
3015 * image.el (insert-image, insert-sliced-image): Doc fix.
3016
3017 2012-11-18 Chong Yidong <cyd@gnu.org>
3018
3019 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3020 (Bug#12810).
3021
3022 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3023
3024 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3025 response when the target file is in a subdirectory (Bug#12757).
3026
3027 2012-11-18 Chong Yidong <cyd@gnu.org>
3028
3029 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3030
3031 2012-11-18 Glenn Morris <rgm@gnu.org>
3032
3033 * emacs-lisp/cl-lib.el (face-underline-p):
3034 Use set-face-underline rather than the alias set-face-underline-p.
3035
3036 * window.el (with-temp-buffer-window): Doc fix.
3037 * subr.el (with-output-to-temp-buffer):
3038 Add doc xref to with-temp-buffer-window.
3039
3040 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3041
3042 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3043 * calc/calc.el (math-format-date-cache): Declare.
3044
3045 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3046
3047 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3048 It also uses January 1, 1 AD as its day number 1.
3049 * calc/calc-forms.el (math-julian-date-beginning)
3050 (math-julian-date-beginning-int): Implement this.
3051
3052 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3053
3054 * descr-text.el (quail-find-key):
3055 * dired.el (desktop-file-name):
3056 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3057 * generic-x.el (comint-mode, comint-exec):
3058 * image-dired.el (widget-forward):
3059 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3060 (speedbar-change-expand-button-char)
3061 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3062 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3063 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3064 (widget-field-action, widget-value-set):
3065 * speedbar.el (imenu--make-index-alist):
3066 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3067 (ring-length, ring-insert):
3068 * vcursor.el (compare-windows-skip-whitespace):
3069 * woman.el (dired-get-filename):
3070 Declare functions.
3071
3072 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3073
3074 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3075
3076 * calc/calc.el (calc-gregorian-switch): New variable.
3077
3078 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3079 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3080 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3081 (math-leap-year-p): Add option to distinguish between Julian
3082 and Gregorian calendars.
3083 (math-day-number): Use `math-day-in-year' to do the computations.
3084 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3085 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3086 to do the computations.
3087 (math-date-to-dt): Use `math-date-to-julian-dt' and
3088 `math-date-to-gregorian-dt' to do the computations.
3089 (calcFunc-weekday, math-format-date-part): Use the new version of
3090 the DATE to determine the weekday.
3091 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3092 when necessary.
3093
3094 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3095
3096 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3097 Cygwin; otherwise use 'file:'. (Bug#12914)
3098 (cygwin-convert-path-from-windows): Declare, to avoid
3099 byte-compiler warnings.
3100
3101 2012-11-17 Andreas Politz <politza@fh-trier.de>
3102
3103 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3104 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3105 prefix and negative numeric prefix args (Bug#12795).
3106
3107 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3108
3109 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3110 Don't signal an error with a score that is too low to add to the
3111 list of top scores. (Bug#12779)
3112
3113 2012-11-17 Chong Yidong <cyd@gnu.org>
3114
3115 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3116
3117 * filecache.el (file-cache-add-file): Handle relative file name in
3118 the argument (Bug#12694).
3119
3120 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3121
3122 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3123
3124 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3125
3126 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3127
3128 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3129
3130 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3131
3132 * window.el (enlarge-window, shrink-window): Don't mention return
3133 value in doc-string (Bug#12896).
3134 (window--display-buffer): Don't resize frames - it won't work
3135 with all window managers and defeat pop-up-frame-alist.
3136 (display-buffer-alist): In doc-string explain that CONDITION can
3137 be a function and which arguments are passed to it (Bug#12854).
3138 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3139 expressions (Bug#12854).
3140 (display-buffer): Pass ACTION argument to
3141 display-buffer-assq-regexp.
3142
3143 2012-11-16 Glenn Morris <rgm@gnu.org>
3144
3145 * window.el (fit-frame-to-buffer-bottom-margin)
3146 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3147
3148 * faces.el (face-underline-p): Use face-attribute-specified-or.
3149
3150 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3151
3152 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3153
3154 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3155
3156 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3157
3158 2012-11-16 Glenn Morris <rgm@gnu.org>
3159
3160 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3161 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3162
3163 * faces.el (face-underline-p): Doc fix. Handle :underline being
3164 things other than `t' (a string, a list).
3165 (face-inverse-video-p): Doc fix.
3166 (set-face-underline): Rename it back from set-face-underline-p.
3167 Doc fix. Allow interactive input of values other than t.
3168 (read-face-attribute): Apply formatting to :underline,
3169 since like :box and :stipple it can take list values.
3170
3171 * term.el (ansi-term): Don't let C-x escape-char binding
3172 clobber the more standard C-c binding. (Bug#12842)
3173
3174 * subr.el (set-temporary-overlay-map): Doc fix.
3175
3176 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3177
3178 * window.el (record-window-buffer)
3179 (display-buffer-record-window): When copying the markers to
3180 window-point preserve window-point-insertion-type. (Bug#12588)
3181
3182 2012-11-16 Glenn Morris <rgm@gnu.org>
3183
3184 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3185 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3186 Use new names for hooks rather than obsolete aliases.
3187
3188 2012-11-15 Daniel Colascione <dancol@dancol.org>
3189
3190 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3191 prefix instead of "file:" so that when FILE-NAME begins with "//",
3192 as it does when the target file is on a network share, url-handler
3193 isn't confused.
3194
3195 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3196
3197 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3198 a preactivated advice from an old advice.el; they're not compatible!
3199
3200 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3201
3202 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3203 Fix string-spec case.
3204
3205 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3206
3207 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3208
3209 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3210 (advice--buffer-local-function-sample): New var.
3211 (advice--set-buffer-local, advice--buffer-local): New functions.
3212 (add-function, remove-function): Use them.
3213
3214 2012-11-15 Drew Adams <drew.adams@oracle.com>
3215
3216 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3217
3218 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3219
3220 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3221 potential binding of print-gensym to t, and prettify (back)quotes in
3222 case they appear in args's default values (bug#12884).
3223
3224 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3225
3226 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3227 (advice-eval-interactive-spec): New function.
3228 (advice--make-interactive-form): Support around advice (bug#12844).
3229
3230 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3231
3232 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3233 more strict. Add docstring.
3234 (ruby-expression-expansion-re): Extract from
3235 `ruby-match-expression-expansion'.
3236 (ruby-syntax-propertize-function): After everything else, search
3237 for expansions in string literals, mark their insides as
3238 whitespace syntax and save match data for font-lock.
3239 (ruby-font-lock-keywords): Use the 2nd group from expression
3240 expansion matches.
3241 (ruby-match-expression-expansion): Use the match data saved to the
3242 text property in ruby-syntax-propertize-function.
3243
3244 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3247 (bug#12879).
3248
3249 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3250
3251 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3252 start/end keyword a bit harder. Works with different values of N.
3253 Add more comments.
3254 (ruby-end-of-block): Update accordingly.
3255
3256 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3257
3258 * woman.el (woman-file-name): Don't mess with unread-command-events
3259 (bug#12861).
3260
3261 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3262 Remove out of date self-require hack.
3263 (ad-do-advised-functions): Use simple `dolist'.
3264 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3265 (ad-advice-definition): Redefine as functions.
3266 (ad-advice-classes): Move before first use.
3267 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3268 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3269 (ad--defalias-fset): Remove functions.
3270 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3271 (ad-get-orig-definition): Rewrite.
3272 (ad-make-advised-definition-docstring): Change base docstring.
3273 (ad-real-orig-definition): Rewrite.
3274 (ad-map-arglists): Change name of called function.
3275 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3276 (ad-make-advised-definition): Simplify.
3277 (ad-assemble-advised-definition): Tweak for new calling context.
3278 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3279 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3280 function and call ad-activate if needed.
3281 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3282 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3283 (ad-compile-function): Compile ad-Advice-*.
3284 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3285 (ad-start-advice, ad-stop-advice): Remove.
3286
3287 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3288
3289 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3290 period before class method names, not after. Remove handling of
3291 one impossible case. Add comments.
3292
3293 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3294
3295 * emacs-lisp/advice.el: Remove support for freezing.
3296 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3297 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3298 Remove support for `freeze'.
3299
3300 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3301 override the default.
3302 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3303 cl--dotimes/dolist.
3304 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3305 `cl' is loaded.
3306
3307 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3308 from add-advice.
3309 (advice--strip-macro): New function.
3310 (advice--defalias-fset): Use them to handle macros.
3311 (advice-add): Use them.
3312 (advice-member-p): Correctly handle macros.
3313
3314 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3315
3316 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3317 Never font-lock the beginning of singleton class as heredoc.
3318
3319 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3320
3321 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3322
3323 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3324
3325 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3326 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3327 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3328
3329 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3330
3331 Fix end-of-defun misbehavior.
3332 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3333 python-beginning-of-defun-function. Handle nested defuns
3334 correctly.
3335 (python-nav-end-of-defun): Rename from
3336 python-end-of-defun-function. Ensure forward movement.
3337 (python-info-current-defun): Reimplement to work as intended
3338 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3339 parent defuns as soon as possible.
3340
3341 2012-11-13 Glenn Morris <rgm@gnu.org>
3342
3343 * progmodes/flymake.el (flymake-error-bitmap)
3344 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3345 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3346
3347 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3348
3349 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3350 backward, always stop at indentation. Reverts the change from
3351 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3352
3353 2012-11-13 Glenn Morris <rgm@gnu.org>
3354
3355 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3356 Add ibuffer-filter-by-derived-mode.
3357
3358 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3359 the same name shadowing each other.
3360
3361 * window.el (with-temp-buffer-window): Doc tweak.
3362
3363 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3364
3365 * help.el (temp-buffer-max-height):
3366 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3367 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3368
3369 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3370
3371 * emacs-lisp/nadvice.el: New package.
3372 * subr.el (special-form-p): New function.
3373 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3374 (elp-all-instrumented-list): Remove var.
3375 (elp-not-profilable): Remove elp-wrapper.
3376 (elp-profilable-p): Use autoloadp and special-form-p.
3377 (elp--advice-name): New const.
3378 (elp-instrument-function): Use advice-add.
3379 (elp--instrumented-p): New predicate.
3380 (elp-restore-function): Use advice-remove.
3381 (elp-restore-all, elp-reset-all): Use mapatoms.
3382 (elp-set-master): Use elp--instrumented-p.
3383 (elp--make-wrapper): Rename from elp-wrapper, return a function
3384 suitable for advice-add. Use cl-inf.
3385 (elp-results): Use mapatoms+elp--instrumented-p.
3386 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3387 (debug-function-list): Remove var.
3388 (debug): Rename arg, and then let-bind it explicitly inside.
3389 (debugger-setup-buffer): Rename arg.
3390 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3391 (debugger-frame-number): Adjust to new debug-on-entry setup.
3392 (debug--implement-debug-on-entry): Rename from
3393 implement-debug-on-entry, add argument.
3394 (debugger-special-form-p): Remove, use special-form-p instead.
3395 (debug-on-entry): Use advice-add.
3396 (debug--function-list): New function.
3397 (cancel-debug-on-entry): Use it, along with advice-remove.
3398 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3399 (debugger-list-functions): Use debug--function-list instead of
3400 debug-function-list.
3401 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3402 (ad-special-form-p): Remove, use special-form-p instead.
3403 (ad-set-advice-info): Use add-function and remove-function.
3404 (ad--defalias-fset): Adjust accordingly.
3405
3406 2012-11-10 Glenn Morris <rgm@gnu.org>
3407
3408 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3409 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3410 (report-emacs-bug-create-existing-bugs-buffer)
3411 (report-emacs-bug-parse-query-results)
3412 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3413
3414 * term.el (term-default-fg-color, term-default-bg-color):
3415 Make obsolete, rather than just saying "deprecated" in the doc.
3416
3417 * term.el (term): Rename from `term-face'.
3418 (term-current-face, ansi-term-color-vector)
3419 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3420 Update all users.
3421
3422 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3423
3424 * server.el (server-create-window-system-frame): Handle Nextstep
3425 specially (Bug#12780).
3426
3427 2012-11-10 Glenn Morris <rgm@gnu.org>
3428
3429 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3430 Unautoload, and make obsolete. (Bug#7449)
3431
3432 2012-11-10 Chong Yidong <cyd@gnu.org>
3433
3434 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3435 rename from diff-remove-trailing-whitespace (Bug#12831).
3436
3437 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3438
3439 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3440 miscompilation of trace.el.
3441
3442 2012-11-10 Glenn Morris <rgm@gnu.org>
3443
3444 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3445
3446 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3447
3448 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3449 (bug#12812).
3450
3451 2012-11-10 Chong Yidong <cyd@gnu.org>
3452
3453 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3454 a defcustom with an appropriate :set function.
3455 (minibuffer-default--in-prompt-regexps): New function.
3456
3457 2012-11-10 Glenn Morris <rgm@gnu.org>
3458
3459 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3460 (define-modify-macro): Doc fixes.
3461
3462 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3463 (gv-define-simple-setter): Update doc of `fix-return'.
3464
3465 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3466
3467 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3468 twice when `fix-return' is set (bug#12813).
3469
3470 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3471 gv-define-simple-setter (bug#12812).
3472
3473 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3474 (bug#12756).
3475
3476 2012-11-10 Glenn Morris <rgm@gnu.org>
3477
3478 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3479
3480 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3481 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3482 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3483 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3484
3485 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3486
3487 2012-11-10 Leo Liu <sdl.web@gmail.com>
3488
3489 * ido.el (ido-set-matches-1): Improve flex matching performance by
3490 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3491
3492 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3493
3494 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3495 (ad--defalias-fset): New function.
3496 (ad-safe-fset): Remove.
3497 (ad-make-freeze-definition): Use cl-letf*.
3498
3499 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3500
3501 * subr.el (dolist): Don't bind VAR in RESULT.
3502
3503 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3504 (fset, documentation): Don't save real def since we don't advise.
3505 (ad-do-advised-functions): Remove problematic `result-form'.
3506 (ad-safe-fset): `ad-real-fset' => `fset'.
3507 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3508 uses CL's dolist internally.
3509 (ad-arglist): Remove unused arg `name'.
3510 (ad-docstring, ad-make-advised-docstring):
3511 `ad-real-documentation' => `documentation'.
3512 (warning-suppress-types): Declare.
3513 (ad-set-arguments): Simple CSE.
3514 (ad-recover-normality): Sanity check.
3515
3516 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3517 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3518
3519 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3520
3521 * ses.el: symbol to coordinate mapping is made by symbol property
3522 `ses-cell'. This means that the same mapping is done for all SES
3523 sheets. That is good enough for cells with standard A1 names, but
3524 not for named cell. So a hash map is added for the latter.
3525 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3526 (ses-sym-rowcol): Use hashmap for named cell.
3527 (ses-is-cell-sym-p): New defun.
3528 (ses-decode-cell-symbol): New defun.
3529 (ses-create-cell-variable): Add cell to hashmap when name is not
3530 A1-like.
3531 (ses-rename-cell): Check that cell new name is not already in
3532 spreadsheet with the use of ses-is-cell-sym-p
3533 (ses-rename-cell): Use hash map for named cells, but accept also
3534 renaming back to A1-like.
3535
3536 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3537
3538 * emacs-lisp/advice.el: Use new dynamic docstrings.
3539 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3540 Use dynamic-docstring-function instead of ad-advice-info.
3541 (ad--make-advised-docstring): New function extracted from
3542 ad-make-advised-docstring.
3543 (ad-make-advised-docstring): Use it.
3544 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3545 from sql-help.
3546 (sql-help): Use it with dynamic-docstring-function.
3547
3548 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3549
3550 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3551
3552 * files.el (hack-one-local-variable--obsolete): New function.
3553 (hack-one-local-variable): Use it for obsolete settings.
3554
3555 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3556 the new name.
3557
3558 * progmodes/js.el (js--filling-paragraph): New var.
3559 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3560 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3561 less sneaky.
3562
3563 2012-11-08 Julien Danjou <julien@danjou.info>
3564
3565 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3566 `auto-mode-alist' (Bug#12835).
3567
3568 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3569
3570 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3571 (perl--prettify-symbols-alist): New const.
3572 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3573 New functions.
3574 (perl-font-lock-keywords-2): Use them.
3575 (perl-electric-noindent-p): New function.
3576 (perl-mode): Use it to set up electric-indent-mode.
3577 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3578 (perl-mode-map): Remove bindings for them.
3579 (perl-imenu-generic-expression, perl-outline-level):
3580 Match functions&packages in column>0.
3581
3582 * env.el (env--substitute-vars-regexp): New const.
3583 (substitute-env-vars): Use it. Add `only-defined' arg.
3584 * net/tramp.el (tramp-replace-environment-variables): Use it.
3585
3586 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3587 Byte-compile *before* eval in eval-and-compile.
3588 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3589 (byte-compile-file-form-autoload): Don't hide actual definition.
3590 (byte-compile-maybe-guarded): Accept `functionp' as well.
3591
3592 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3593
3594 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3595
3596 * notifications.el (notifications-get-server-information-method):
3597 New defconst.
3598 (notifications-get-capabilities): Fix docstring.
3599 (notifications-get-server-information): New defun.
3600
3601 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3602
3603 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3604 readability.
3605
3606 * textmodes/ispell.el: Experimental support for support debugging.
3607 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3608 buffer for ispell.
3609 (ispell-print-if-debug): New function to print stuff to
3610 `ispell-debug-buffer' if debugging is enabled.
3611 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3612 show some debugging info.
3613 (ispell-buffer-with-debug): New function that creates a debugging
3614 buffer and calls `ispell-buffer' with debugging enabled.
3615
3616 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3617 comment in autoconf mode. (Bug#12768)
3618
3619 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3620
3621 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3622 frame-first-window, frame-root-window, frame-selected-window,
3623 minibuffer-selected-window, minibuffer-window,
3624 window-absolute-pixel-edges, window-at, window-body-height,
3625 window-body-width, window-display-table, window-combination-limit,
3626 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3627 window-inside-edges, window-inside-pixel-edges, window-left-child,
3628 window-left-column, window-margins, window-next-buffers,
3629 window-next-sibling, window-new-normal, window-new-total,
3630 window-normal-size, window-parameter, window-parameters, window-parent,
3631 window-pixel-edges, window-point, window-prev-buffers,
3632 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3633 window-start, window-text-height, window-top-child, window-top-line,
3634 window-total-height, window-total-width and window-use-time to the list
3635 of functions without side-effects.
3636 (toplevel): Add window-valid-p to the list of error-free functions
3637 without side-effects.
3638
3639 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3640
3641 * textmodes/ispell.el (ispell-program-name):
3642 Update spellchecker parameters when customized.
3643
3644 2012-11-04 Glenn Morris <rgm@gnu.org>
3645
3646 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3647
3648 2012-11-04 Chong Yidong <cyd@gnu.org>
3649
3650 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3651 same-window-* variables.
3652
3653 2012-11-04 Juri Linkov <juri@jurta.org>
3654
3655 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3656 (isearch-describe-key, isearch-describe-mode): Use a display
3657 action instead of binding same-window-* variables (Bug#10040).
3658
3659 2012-11-03 Glenn Morris <rgm@gnu.org>
3660
3661 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3662 Rename handler properties back from cl-- to cl-. (Bug#12788)
3663
3664 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3665
3666 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3667
3668 * term/pc-win.el: Don't load term/internal from here.
3669
3670 * loadup.el: Load term/internal from here.
3671
3672 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3673
3674 * progmodes/python.el (inferior-python-mode): Fix hang in
3675 jit-lock (Bug#12645).
3676
3677 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3678
3679 * window.el (switch-to-visible-buffer)
3680 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3681
3682 2012-11-03 Glenn Morris <rgm@gnu.org>
3683
3684 * emacs-lisp/cl-lib.el (cl--random-time):
3685 Rename from cl-random-time. (Bug#12773)
3686 (cl--gensym-counter, cl--random-state): Update callers.
3687 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3688
3689 2012-11-03 Chong Yidong <cyd@gnu.org>
3690
3691 * cus-start.el: Make cursor-type customizable (Bug#11633).
3692
3693 2012-11-02 Glenn Morris <rgm@gnu.org>
3694
3695 * filecache.el: No need to load find-lisp when compiling.
3696 (find-lisp-find-files): Autoload it.
3697 (file-cache-add-directory-recursively): Don't require find-lisp.
3698
3699 * image.el (image-type-from-file-name): Trivial simplification.
3700
3701 * emacs-lisp/bytecomp.el (byte-compile-eval):
3702 Decouple "noruntime" and "cl-functions" warnings.
3703
3704 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3705
3706 * play/gomoku.el (gomoku-display-statistics): Update mode line
3707 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3708
3709 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3710
3711 * window.el (quit-restore-window): If the window has been
3712 created on an existing frame and ended up as the sole window on
3713 that frame, do not delete it (Bug#12764).
3714
3715 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3718 Rename from sh--inside-arithmetic-expression, handle more cases
3719 (bug#11263).
3720
3721 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3722 (sh-font-lock-open-heredoc): Use it (bug#12770).
3723
3724 2012-10-30 Glenn Morris <rgm@gnu.org>
3725
3726 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3727
3728 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3729
3730 2012-10-29 Chong Yidong <cyd@gnu.org>
3731
3732 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3733 function key is stored in a keyboard macro (Bug#4894).
3734
3735 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3736
3737 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3738
3739 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3740 header comments".
3741 (diff-unified->context, diff-context->unified)
3742 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3743
3744 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3745
3746 * files.el (find-alternate-file): Only ask one question (bug#12487).
3747
3748 2012-10-29 Chong Yidong <cyd@gnu.org>
3749
3750 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3751 Suggested by Dan Nicolaescu (Bug#6326).
3752
3753 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3754
3755 * startup.el (fancy-about-screen): Don't message (Bug#12680).
3756
3757 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3758
3759 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3760
3761 * face-remap.el (face-remap-add-relative): Handle the case where a
3762 face-remapping-alist entry is a cons cell (Bug#12762).
3763
3764 2012-10-29 Kevin Ryde <user42@zip.com.au>
3765
3766 * woman.el (woman-parse-numeric-value): Handle picas correctly
3767 (Bug#12639).
3768
3769 2012-10-29 Glenn Morris <rgm@gnu.org>
3770
3771 * emacs-lisp/cl.el (defsetf): Doc fix.
3772
3773 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3774
3775 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3776 syntax to the matching opener, if any (bug#12547).
3777 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3778 matching open as a "case-(".
3779 (sh-smie-rc-grammar): Add a corresponding rule for it.
3780
3781 2012-10-28 Daniel Hackney <dan@haxney.org>
3782
3783 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3784 "PKGNAME-autoloads.el" in case we created it.
3785
3786 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3787
3788 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3789 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3790 (completion--twq-all): Disable too-strict assertions.
3791
3792 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3793
3794 2012-10-27 Eli Zaretskii <eliz@gnu.org>
3795
3796 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3797 text to match the real keybindings.
3798
3799 2012-10-27 Juri Linkov <juri@jurta.org>
3800
3801 * wdired.el (wdired-keep-marker-rename): New defcustom.
3802 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3803 (Bug#11795)
3804
3805 * dired.el (dired-keep-marker-rename): Add reference to
3806 `wdired-keep-marker-rename' in the docstring.
3807 Add default character value ?R to display initially in
3808 Customization UI instead of ?@.
3809
3810 2012-10-27 Martin Rudalics <rudalics@gmx.at>
3811
3812 * window.el (display-buffer): In doc-string describe
3813 window-height and window-width alist entries.
3814
3815 * time.el (display-time-world): Restore fit-window-to-buffer
3816 behavior.
3817
3818 2012-10-27 Chong Yidong <cyd@gnu.org>
3819
3820 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3821
3822 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
3823
3824 * minibuffer.el (completion-category-overrides): New completion
3825 category `bookmark' (bug#11131).
3826
3827 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3828
3829 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3830 Silence bogus compiler warnings for ad-do-it.
3831
3832 * bookmark.el (bookmark-completing-read): Set the completion category
3833 to `bookmark' (bug#11131).
3834
3835 2012-10-26 Bastien <bzg@altern.org>
3836 Stefan Monnier <monnier@iro.umontreal.ca>
3837
3838 * face-remap.el: Use lexical-binding.
3839 (text-scale-adjust): Improve docstring. Use itself for the temporary
3840 overlay-map bindings, so as to repeat the "Use..." message each time.
3841
3842 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3843
3844 * emacs-lisp/macroexp.el (macroexp--expand-all):
3845 Obey byte-compile-warning-enabled-p (bug#12486).
3846
3847 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3848 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3849
3850 2012-10-26 Martin Rudalics <rudalics@gmx.at>
3851
3852 * mouse.el (mouse-drag-line): Move last form into preceding when
3853 clause (Bug#12731).
3854
3855 * help.el (resize-temp-buffer-window): Fix doc-string.
3856
3857 2012-10-25 David Engster <deng@randomsample.de>
3858
3859 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3860 Remove. This feature is already integrated in imenu.
3861
3862 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3863 always loaded. Require `speedbar' unconditionally.
3864
3865 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3866
3867 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3868
3869 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3870
3871 * net/ldap.el (ldap-search-internal): The official ldif format starts
3872 with a "version: 1" header (bug#12724).
3873
3874 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3875 (bug#12721).
3876
3877 2012-10-25 Glenn Morris <rgm@gnu.org>
3878
3879 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3880
3881 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3882
3883 * minibuffer.el (minibuffer-force-complete): Use one more marker
3884 for the temporary-overlay-map command (bug#12619).
3885
3886 2012-10-24 Chong Yidong <cyd@gnu.org>
3887
3888 * time.el (display-time-world-mode): Derive from special-mode.
3889 (display-time-world): Use display-buffer (Bug#12708).
3890 (display-time-world-mode-map): Variable deleted.
3891 (display-time-world-display): Wrap the final delete-char inside
3892 inhibit-read-only.
3893
3894 2012-10-24 Chong Yidong <cyd@gnu.org>
3895
3896 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3897 Doc fix.
3898
3899 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3900
3901 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3902
3903 * minibuffer.el (completion--all-sorted-completions-location): New var.
3904 (completion--cache-all-sorted-completions)
3905 (completion--flush-all-sorted-completions): Use it.
3906 (completion-in-region, completion-in-region--postch)
3907 (completion-at-point, completion-help-at-point): Use markers in
3908 completion-in-region--data (bug#12619).
3909
3910 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3911
3912 * progmodes/compile.el (compilation-start): Try to handle common
3913 quoting of `cd' argument (bug#12640).
3914
3915 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3916 (bug#12671).
3917
3918 2012-10-23 Glenn Morris <rgm@gnu.org>
3919
3920 * progmodes/gud.el (gud-menu-map):
3921 Check gdb-active-process is bound. (Bug#12358)
3922
3923 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3924
3925 * repeat.el (repeat): Set real-this-command (bug#12232).
3926
3927 * htmlfontify.el (hfy-post-html-hook):
3928 * filesets.el (filesets-cache-fill-content-hook):
3929 * arc-mode.el (archive-extract-hook):
3930 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3931 * net/rcirc.el (rcirc-sentinel-functions)
3932 (rcirc-receive-message-functions, rcirc-activity-functions)
3933 (rcirc-print-functions):
3934 * net/dbus.el (dbus-event-error-functions):
3935 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3936 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3937 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3938 * term/sun.el (sun-raw-prefix-hooks):
3939 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3940
3941 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
3942
3943 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3944 Set `tramp-chunksize' to 1. This improves the performance.
3945 (tramp-smb-wait-for-output): Add timeout to
3946 `tramp-accept-process-output' calls.
3947
3948 2012-10-23 Chong Yidong <cyd@gnu.org>
3949
3950 * faces.el (font-list-limit): Define as an obsolete variable.
3951
3952 * startup.el (command-line):
3953 * cus-start.el: Don't refer to font-list-limit.
3954
3955 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3956
3957 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3958
3959 * subr.el (internal-temp-output-buffer-show): Rename from
3960 temp-output-buffer-show, since previously compiled files expect this name.
3961
3962 2012-10-23 Glenn Morris <rgm@gnu.org>
3963
3964 * image.el (image-type-from-file-name): If multiple types match,
3965 return the first one that is supported. (Bug#9045)
3966
3967 2012-10-22 Glenn Morris <rgm@gnu.org>
3968
3969 * image.el (imagemagick-enabled-types): Doc fix.
3970
3971 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3972
3973 * progmodes/which-func.el (which-func-current): The hash-table may have
3974 an explicit nil (bug#12338).
3975
3976 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3977
3978 * electric.el (electric-pair-delete-selection-self-insert-function):
3979 Rename to electric-pair-will-use-region, return a boolean.
3980 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3981
3982 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3983 (delete-selection-pre-hook): Use use-region-p.
3984 (delete-selection-self-insert-function): Remove.
3985 (self-insert-command): Obey self-insert-uses-region-functions.
3986 (self-insert-iso): Revert to previous setting, since we don't actually
3987 know what that command does.
3988 (delete-selection-self-insert-hooks): Remove.
3989
3990 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3991
3992 * delsel.el (delete-selection-helper): New function, extracted from
3993 delete-selection-pre-hook.
3994 (delete-selection-pre-hook): Use it.
3995 (delete-selection-self-insert-function): New function.
3996 (delete-selection-self-insert-hooks): New hook.
3997 (self-insert-command, self-insert-iso): Use it.
3998 * electric.el (electric-pair-syntax): New function, extracted from
3999 electric-pair-post-self-insert-function.
4000 (electric-pair-post-self-insert-function): Use it.
4001 (electric-pair-delete-selection-self-insert-function): New function.
4002 (electric-pair-mode): Require delsel and setup
4003 delete-selection-self-insert-hooks (bug#11520).
4004
4005 2012-10-20 Chong Yidong <cyd@gnu.org>
4006
4007 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4008 no changes to show (Bug#12586).
4009
4010 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4011 list explicitly (Bug#12571).
4012
4013 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4014
4015 * progmodes/flymake.el (flymake-create-temp-inplace):
4016 Use file-truename.
4017
4018 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4019
4020 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4021
4022 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4023
4024 * calc/calc-units.el (math-extract-units): Properly extract powers
4025 of units.
4026
4027 2012-10-20 Daniel Colascione <dancol@dancol.org>
4028
4029 * frame.el (make-frame): Set x-display-name as we used to in order
4030 to unbreak creating an X11 frame from an Emacs daemon started
4031 without a display.
4032
4033 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4034
4035 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4036 the same completion-field (bug#12221).
4037
4038 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4039
4040 * emacs-lisp/debug.el (debug): Record height of debugger window
4041 also when debugger will be back (Bug#8789).
4042
4043 2012-10-18 Chong Yidong <cyd@gnu.org>
4044
4045 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4046 Convert to defcustom.
4047 (gdb-get-source-file): Don't bind pop-up-windows.
4048
4049 * progmodes/gud.el (gud-display-line): Don't specially re-use
4050 other frames for the gdb-mi case (Bug#12648).
4051
4052 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4053
4054 * emacs-lisp/advice.el: Clean up commentary a bit.
4055 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4056 (byte-code-function-p): Never redefine.
4057
4058 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4059
4060 2012-10-18 Glenn Morris <rgm@gnu.org>
4061
4062 * dired.el (dired-sort-toggle): Some ls implementations only allow
4063 a single option string. (Bug#12666)
4064
4065 * minibuffer.el (completion-cycle-threshold): Doc fix.
4066
4067 2012-10-17 Kenichi Handa <handa@gnu.org>
4068
4069 * international/mule.el (set-keyboard-coding-system):
4070 Recover input meta mode when the new coding system doesn not use 8-bit.
4071 Supply TERMINAL arg to set-input-meta-mode.
4072
4073 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4074
4075 * wdired.el (wdired-old-marks): New variable.
4076 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4077 (wdired-do-renames): Move point with renamed file and don't lose
4078 mark status (Bug#11795).
4079
4080 2012-10-16 Juri Linkov <juri@jurta.org>
4081
4082 * replace.el (query-replace-help): Mention multi-buffer replacement
4083 keys in the Help message. (Bug#12655)
4084
4085 2012-10-15 Chong Yidong <cyd@gnu.org>
4086
4087 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4088
4089 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4090
4091 * window.el (display-buffer): Doc fix.
4092
4093 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4094 Adjust the msft regexp to the output of Studio 2010, and move msft
4095 before edg-1. See the discussion on emacs-devel,
4096 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4097 for the details.
4098
4099 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4100
4101 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4102 (oset): Move uses of object-class-fast macro after its definition.
4103
4104 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4105
4106 2012-10-13 Chong Yidong <cyd@gnu.org>
4107
4108 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4109 enabled, re-enable it (Bug#11963).
4110
4111 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4112
4113 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4114 non-nil, restore window configuration (Bug#12623).
4115
4116 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4117
4118 * help-fns.el (describe-variable, describe-function-1):
4119 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4120
4121 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4122
4123 2012-10-12 Glenn Morris <rgm@gnu.org>
4124
4125 * mail/rmailsum.el (rmail-header-summary):
4126 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4127
4128 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4129
4130 * progmodes/python.el (python-mode-map):
4131 Replace subtitute-key-definition with proper command remapping.
4132 (python-nav--up-list): Fix behavior for blocks on the same level.
4133
4134 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4135
4136 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4137
4138 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4139 changes to the format of load-history.
4140
4141 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4142 completion-ignore-case in case that var is buffer-local (bug#12615).
4143
4144 2012-10-11 Kenichi Handa <handa@gnu.org>
4145
4146 * international/eucjp-ms.el: Re-generated.
4147
4148 2012-10-10 Kenichi Handa <handa@gnu.org>
4149
4150 * select.el (xselect--encode-string): If a coding is specified for
4151 selection, and that is compatible with COMPOUND_TEXT, use it.
4152
4153 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4154
4155 * window.el (switch-to-buffer-preserve-window-point): New option.
4156 (switch-to-buffer):
4157 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4158
4159 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4160
4161 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4162 Don't document nil as a useful value (bug#12583).
4163
4164 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4165
4166 * net/tramp.el (tramp-debug-message):
4167 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4168 (with-tramp-progress-reporter): Rename from
4169 `tramp-with-progress-reporter'.
4170 (with-tramp-file-property, with-tramp-connection-property):
4171 Move from tramp-cache.el, rename from `with-file-property' and
4172 `with-connection-property', respectively.
4173
4174 * net/tramp-cache.el: Remove `with-file-property' and
4175 `with-connection-property'.
4176
4177 * net/tramp.el:
4178 * net/tramp-gvfs.el:
4179 * net/tramp-sh.el:
4180 * net/tramp-smb.el: Adapt callees.
4181
4182 * net/trampver.el: Update release number.
4183
4184 2012-10-09 Glenn Morris <rgm@gnu.org>
4185
4186 * w32-fns.el (set-message-beep):
4187 * term/w32-win.el (set-message-beep): Update declarations.
4188
4189 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4190
4191 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4192 (mode-line-widen, mode-line-input-method-map)
4193 (mode-line-coding-system-map, mode-line-remote)
4194 (mode-line-unbury-buffer, mode-line-bury-buffer)
4195 (mode-line-next-buffer, mode-line-previous-buffer):
4196 Replace save-selected-window+select-window => with-selected-window.
4197
4198 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4199 * progmodes/cc-vars.el (bq-process): Remove, unused.
4200
4201 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4202
4203 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4204
4205 Implemented `backward-up-list'-like navigation.
4206 * progmodes/python.el (python-nav-up-list)
4207 (python-nav-backward-up-list): New functions.
4208 (python-mode-map): Define substitute key for backward-up-list to
4209 python-nav-backward-up-list.
4210
4211 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4212
4213 * progmodes/python.el (python-fill-paragraph): Rename from
4214 python-fill-paragraph-function. Fixed fill-paragraph for
4215 decorators (Bug#12605).
4216
4217 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4218
4219 * progmodes/python.el (python-shell-output-filter): Handle extra
4220 carriage return in OSX (Bug#12409).
4221
4222 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4223
4224 Fix shell handling of unbalanced quotes and parens in output.
4225 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4226 (python-syntax-propertize-function): Use it.
4227 (python-shell-output-syntax-table): New var.
4228 (inferior-python-mode): Prevent unbalanced parens/quotes from
4229 previous output mess with current input context.
4230
4231 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4232
4233 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4234 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4235
4236 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4237
4238 * ffap.el (ffap-replace-file-component): Support Tramp file name
4239 syntax, not only ange-ftp's one.
4240
4241 2012-10-08 Glenn Morris <rgm@gnu.org>
4242
4243 * cus-start.el (message-log-max): Set :version.
4244
4245 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4246
4247 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4248
4249 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4250 the minibuffer window (Bug#10851).
4251
4252 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4253
4254 Enhancements on forward-sexp movement.
4255 * progmodes/python.el (python-nav-beginning-of-statement)
4256 (python-nav-end-of-statement): Return point-marker.
4257 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4258 (python-info-current-symbol)
4259 (python-info-statement-starts-block-p): Rename from
4260 python-info-beginning-of-block-p.
4261 (python-info-statement-ends-block-p): Rename from
4262 python-info-end-of-block-p.
4263 (python-info-beginning-of-statement-p)
4264 (python-info-end-of-statement-p)
4265 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4266 New functions.
4267
4268 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4269
4270 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4271 frame-selected-windows.
4272
4273 2012-10-08 Daniel Colascione <dancol@dancol.org>
4274
4275 * battery.el (battery-status-function): Check for
4276 w32-battery-status itself, not system-time windows-nt.
4277
4278 * frame.el: Require cl-lib.
4279 (display-format-alist): New variable mapping frame types to
4280 functions that initialize them.
4281 (window-system-for-display): New function: interprets
4282 display-format-alist.
4283 (make-frame-on-display): Remove existing display-selection logic
4284 and just forward to make-frame, which will now DTRT.
4285 (make-frame): Restructure to use window-system-for-display to
4286 figure out how to create a frame on a given display.
4287 (display-mouse-p): Look for frame-type w32, not a particular
4288 system-type.
4289
4290 * loadup.el: Load w32 lisp code when we have the w32 feature.
4291
4292 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4293 system-type windows-nt.
4294
4295 * server.el (server-create-window-system-frame): Look for window
4296 type.
4297 (server-proces-filter): Only force a window system when windows-nt
4298 _and_ w32. Explain why.
4299
4300 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4301 of window systems we configure for the mode.
4302
4303 * startup.el (command-line): Mark window system is initialized
4304 after we've done it.
4305
4306 * common-win.el (x-select-text): Look for w32, not windows-nt.
4307
4308 * ns-win.el: Require cl-lib. Add ourselves to
4309 display-format-alist.
4310 (ns-initialize-window-system): Assert we're not initialized twice.
4311
4312 * w32-win.el: Enable lexical binding; require cl-lib; add
4313 ourselves to display-format-alist.
4314 (w32-handle-dropped-file): Convert incoming dropped files from
4315 Windows paths to Cygwin ones before passing them on to the rest of
4316 Emacs.
4317 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4318 (w32-initialize-window-system): Assert we're not initialized twice.
4319
4320 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4321 (x-initialize-window-system): Assert we're not initialized twice.
4322
4323 * w32-common-fns.el: New File.
4324 (w32-version, w32-using-nt, w32-get-clipboard-data)
4325 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4326 (w32-charset-info-alist, x-last-selected, text)
4327 (x-get-selection-value, x-selection-value): Move here.
4328
4329 * w32-fns.el: Require w32-common-fns.
4330 (w32-version, w32-using-nt, w32-get-clipboard-data)
4331 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4332 (w32-charset-info-alist, x-last-selected, text)
4333 (x-get-selection-value, x-selection-value): Move to
4334 w32-common-fns.
4335
4336 * w32-vars.el:
4337 (w32-allow-system-shell, w32-system-shells): Define only in
4338 non-cygwin case.
4339
4340 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4341
4342 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4343 (read-passwd): Remove a few more potential sources of leaks.
4344
4345 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4346
4347 * progmodes/python.el (inferior-python-mode)
4348 (python-shell-make-comint): Fix initialization of local
4349 variables copied from parent buffer.
4350
4351 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4352
4353 * term/ns-win.el (ns-read-file-name): Update declaration to match
4354 nsfns.m.
4355 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4356 it is set when font is acted upon.
4357
4358 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4359
4360 Enhancements to indentation.
4361 * progmodes/python.el (python-indent-context): Give priority to
4362 inside-string context. Make comments indentation markers.
4363 (python-indent-region): Do not mess with strings, unless it's the
4364 enclosing set of quotes.
4365
4366 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4367
4368 * window.el (internal--before-save-selected-window)
4369 (internal--after-save-selected-window): New functions extracted from
4370 save-selected-window. Make sure we return the `alist' we construct.
4371 (save-selected-window): Use them.
4372
4373 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4374 Use with-selected-window.
4375
4376 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4377 forms that define macros (bug#12593).
4378
4379 2012-10-07 Kenichi Handa <handa@gnu.org>
4380
4381 * international/mule-conf.el (compound-text-with-extensions):
4382 Add :mime-charset property as x-ctext.
4383
4384 2012-10-07 Stefan Merten <smerten@oekonux.de>
4385
4386 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4387 (rst-indent-literal-normal, rst-indent-literal-minimized)
4388 (rst-indent-comment): Correct :version tag.
4389 (rst-official-cvs-rev): Correct version string.
4390
4391 2012-10-07 Glenn Morris <rgm@gnu.org>
4392
4393 * mail/rmailmm.el (rmail-mime-process-multipart):
4394 Do not confuse a multipart message with an epilogue
4395 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4396
4397 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4398
4399 Fix shell output retrieval and comint-prompt-regexp init.
4400 * progmodes/python.el (inferior-python-mode):
4401 (python-shell-make-comint): Fix initialization of
4402 comint-prompt-regexp from copied file local variables.
4403 (python-shell-fetched-lines): Remove var.
4404 (python-shell-output-filter-in-progress): Rename from
4405 python-shell-fetch-lines-in-progress.
4406 (python-shell-output-filter-buffer): Rename from
4407 python-shell-fetch-lines-string.
4408 (python-shell-fetch-lines-filter): Delete function.
4409 (python-shell-output-filter): New function.
4410 (python-shell-send-string-no-output): Use them.
4411
4412 2012-10-07 Glenn Morris <rgm@gnu.org>
4413
4414 * hi-lock.el (hi-lock-process-phrase):
4415 Try to make it less fragile. (Bug#7161)
4416
4417 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4418
4419 2012-10-06 Glenn Morris <rgm@gnu.org>
4420
4421 * ehelp.el (electric-help-mode): Use help-mode rather than
4422 non-existent mode `help'.
4423 (electric-help-map): Use button-buffer-map. (Bug#10917)
4424
4425 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4426 (reftex-create-bibtex-footer): Fix custom types.
4427
4428 * progmodes/sh-script.el (sh-indent-after-continuation):
4429 Add explicit :group.
4430
4431 * textmodes/rst.el (rst-preferred-decorations)
4432 (rst-shift-basic-offset): Clarify obsolescence versions.
4433
4434 * profiler.el (profiler): Add missing group :version tag.
4435 * avoid.el (mouse-avoidance-banish-position):
4436 * proced.el (proced-renice-command):
4437 * calc/calc.el (calc-ensure-consistent-units):
4438 * calendar/icalendar.el (icalendar-import-format-uid):
4439 * net/tramp.el (tramp-save-ad-hoc-proxies):
4440 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4441 * progmodes/flymake.el (flymake-error-bitmap)
4442 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4443 * progmodes/sh-script.el (sh-indent-after-continuation):
4444 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4445 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4446 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4447 (vhdl-array-index-record-field-in-sensitivity-list)
4448 (vhdl-indent-comment-like-next-code-line):
4449 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4450 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4451 (reftex-cite-key-separator, reftex-create-bibtex-header)
4452 (reftex-create-bibtex-footer):
4453 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4454 (rst-indent-literal-normal, rst-indent-literal-minimized)
4455 (rst-indent-comment): Add missing custom :version tags.
4456
4457 * calendar/timeclock.el (timeclock-modeline-display):
4458 Add missing obsolete alias for renamed user option.
4459
4460 * strokes.el (strokes-modeline-string):
4461 * emulation/crisp.el (crisp-mode-modeline-string):
4462 * eshell/esh-mode.el (eshell-status-in-modeline):
4463 Aliases to defcustoms must come before the defcustom.
4464
4465 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4466 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4467 (cal-tex-cursor-week-monday): Doc fixes.
4468 (cal-tex-cursor-week2-summary): Doc fix.
4469 Rename from cal-tex-cursor-week-at-a-glance.
4470
4471 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4472 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4473
4474 * calendar/calendar.el (calendar-mode-map):
4475 Add cal-tex-cursor-week2-summary.
4476
4477 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4478
4479 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4480
4481 * subr.el (read-passwd-map): New var.
4482 (read-passwd): Use `read-string' again.
4483 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4484
4485 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4486
4487 * register.el (append-to-register, prepend-to-register):
4488 Deactivate mark, as does `copy-to-register' (bug#12389).
4489
4490 2012-10-06 Chong Yidong <cyd@gnu.org>
4491
4492 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4493
4494 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4495
4496 * international/characters.el: Fix simple mistake ((car chars) ->
4497 elt), delete duplicated code.
4498
4499 2012-10-06 Glenn Morris <rgm@gnu.org>
4500
4501 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4502
4503 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4504
4505 * color.el (color-hsl-to-rgb): Fix incorrect results for
4506 small and large hue values. (Bug#12559)
4507
4508 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4509
4510 Enhancements to docstring formatting when filling paragraphs.
4511 * progmodes/python.el (python-fill-docstring-style): Rename from
4512 python-fill-string-style. Added new style.
4513 (python-fill-string): Use new style. Better checks for
4514 docstrings.
4515
4516 2012-10-05 Glenn Morris <rgm@gnu.org>
4517
4518 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4519
4520 * color.el (color-name-to-rgb, color-rgb-to-hex)
4521 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4522 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4523 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4524 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4525
4526 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4527
4528 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4529
4530 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4531 to get the correct size across symlinks.
4532
4533 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4534
4535 2012-10-04 Juri Linkov <juri@jurta.org>
4536
4537 * replace.el (query-replace-interactive): Declare obsolete.
4538 (query-replace-read-from): Add the last incremental search string
4539 to the list of default values accessible via M-n.
4540 (map-query-replace-regexp): Use `read-regexp'.
4541 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4542 (map-query-replace-regexp, replace-string, replace-regexp):
4543 Fix docstrings to replace mentions of `query-replace-interactive'
4544 with alternatives. (Bug#12526)
4545
4546 2012-10-04 Juri Linkov <juri@jurta.org>
4547
4548 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4549 (dired-pop-to-buffer): Declare obsolete.
4550 (dired-mark-pop-up): Doc fix.
4551
4552 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4553
4554 Allow user to set docstring style for fill-paragraph.
4555 * progmodes/python.el
4556 (python-fill-comment-function, python-fill-string-function)
4557 (python-fill-decorator-function, python-fill-paren-function):
4558 Remove :safe for defcustoms.
4559 (python-fill-string-style): New defcustom
4560 (python-fill-paragraph-function): Enhance context detection.
4561 (python-fill-string): Honor python-fill-string-style settings.
4562
4563 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4564
4565 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4566 after setting its buffer (Bug#10805).
4567
4568 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4569
4570 Fix cornercase for string syntax.
4571 * progmodes/python.el (python-syntax-propertize-function):
4572 Simplify and enhance the regexp for unescaped quotes. Now it also
4573 matches quotes in weird situations like the single quote in
4574 "something\"'".
4575 (python-syntax-stringify): Simplify num-quotes detecting code.
4576
4577 2012-10-03 Glenn Morris <rgm@gnu.org>
4578
4579 * help-macro.el (three-step-help):
4580 Revert 2012-09-29 change. (Bug#12567)
4581
4582 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4583
4584 * menu-bar.el (kill-this-buffer): Don't do anything when
4585 `menu-frame' is not alive or visible (Bug#8184).
4586
4587 * emacs-lisp/debug.el (debug): When quitting the debugger window
4588 restore current buffer (Bug#12502).
4589
4590 2012-10-02 Chong Yidong <cyd@gnu.org>
4591
4592 * progmodes/hideif.el (hif-lookup, hif-defined):
4593 Handle semantic-c-takeover-hideif.
4594
4595 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4596
4597 Change sampling interval units from ms to ns.
4598 * profiler.el (profiler-sampling-interval): Change units
4599 from ms to ns, multiplying the default by 1000000 so that
4600 it remains 1 ms.
4601 (profiler-report-cpu-line-format): Give enough room for
4602 the maximum counters on 64-bit hosts.
4603 (profiler-report-render-calltree-1): Call them "CPU samples",
4604 not "Time (ms)", since they are not milliseconds now (and
4605 never really were).
4606
4607 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4608
4609 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4610 Fix querying BBDB for entries without a last name (Bug#11580).
4611
4612 2012-10-02 Chong Yidong <cyd@gnu.org>
4613
4614 * emacs-lisp/eieio.el: Restore Version header.
4615
4616 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4617
4618 * vc/diff-mode.el (diff--auto-refine-data): New var.
4619 (diff-hunk): Use it to delay refinement.
4620 (diff-mode): Remove overlays when we turn off font-lock.
4621
4622 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4623 (table-initialize-table-fixed-width-mode)
4624 (table-set-table-fixed-width-mode): Remove functions.
4625 (table-command-list): Move initialization into declaration.
4626 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4627 (table-with-cache-buffer): Use `declare'.
4628 (table-span-cell): Simplify via CSE.
4629 (table-fixed-width-mode): Use define-minor-mode.
4630 (table-call-interactively, table-funcall, table-apply): Remove.
4631 (table-function): New function, to replace them.
4632
4633 * bookmark.el (bookmark-search-pattern): Remove var.
4634 (bookmark-read-search-input): Remove function.
4635 (bookmark-bmenu-search): Reimplement using a minibuffer.
4636
4637 * faces.el (modeline): Remove obsolete face name.
4638
4639 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4640 and give a non-nil default value.
4641 (add-change-log-entry): Simplify accordingly.
4642
4643 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4644
4645 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4646 (vc-git-log-edit-toggle-amend): New function.
4647 (vc-git-log-edit-toggle-signoff): New function.
4648 (vc-git-log-edit-mode): New major mode.
4649 (vc-git-log-edit-mode-map): Keymap for it.
4650 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4651
4652 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4653 header names.
4654 (log-edit-toggle-header): New function.
4655 (log-edit-extract-headers): Accept function values in HEADERS alist.
4656
4657 2012-10-01 David Engster <deng@randomsample.de>
4658
4659 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4660 from symbol property and change message to be more consistent with
4661 Emacs proper.
4662 (eieio-describe-generic): Add filename for each implementation.
4663 Fix indices for generic and normal methods.
4664 (eieio-method-def, eieio-class-def): New buttons.
4665 (eieio-help-find-method-definition)
4666 (eieio-help-find-class-definition): New functions.
4667 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4668 class, constructor and method definitions.
4669
4670 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4671 information in symbol property.
4672 (scoped-class): Remove.
4673 (eieio-slot-name-index, call-next-method): Check if it is bound.
4674
4675 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4676
4677 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4678 (eieio-custom-mode): New major mode.
4679 (eieio-customize-object): Use it.
4680
4681 2012-10-01 Eric Ludlam <zappo@gnu.org>
4682
4683 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4684 specifying the expected class, and whether subclassing is allowed.
4685 (eieio-persistent-convert-list-to-object):
4686 (eieio-persistent-validate/fix-slot-value)
4687 (eieio-persistent-slot-type-is-class-p): New functions.
4688 (eieio-named::slot-missing): Doc fix.
4689
4690 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4691 Stop using unused publd variable.
4692
4693 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4694 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4695 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4696 (eieio-speedbar-handle-click): Do not specify a class for the
4697 method. Fixes method invocation order problems with EDE.
4698
4699 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4700
4701 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4702 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4703
4704 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4705
4706 * bookmark.el (bookmark-version-control): Give tags in the
4707 :type choices (Bug#12309), and improve doc string.
4708 (bookmark-write-file): Bind `print-circle' to `t' to allow
4709 circular custom bookmark types. (Bug#12503)
4710
4711 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4712
4713 Revert the FOLLOW-SYMLINKS change for file-attributes.
4714 * files.el (remote-file-name-inhibit-cache, after-find-file):
4715 * time.el (display-time-file-nonempty-p): Undo last change.
4716
4717 * profiler.el (profiler-sampling-interval): Change default back to 1.
4718 See Stefan Monnier in
4719 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4720
4721 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4722
4723 Shell output catching a la gud-gdb.
4724 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4725 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4726 New Vars.
4727 (python-shell-fetch-lines-filter): New function.
4728 (python-shell-send-string-no-output): Use them.
4729
4730 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4731
4732 * profiler.el (profiler-sampling-interval): Rename from
4733 profiler-sample-interval.
4734 (profiler-sampling-interval): Default to 10.
4735 (profiler-find-profile): New command (was profiler-find-log).
4736 (profiler-find-profile-other-window): New command.
4737 (profiler-find-profile-other-frame): New command.
4738 (profiler-profile): Introduce API-level data structure.
4739
4740 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4741
4742 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4743 * files.el (remote-file-name-inhibit-cache):
4744 * time.el (display-time-file-nonempty-p): Use it.
4745 * files.el (after-find-file): Don't chase links before calling
4746 file-exists-p, as file-exists-p already does the right thing.
4747
4748 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
4749
4750 Merge from standalone RefTeX repository.
4751
4752 The following ChangeLog entries are shortened versions of the
4753 original ones with file paths adapted. A not so strongly edited
4754 version of the original ChangeLog can be found in the commit log.
4755
4756 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4757 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4758 Correctly handle new value type returned by `reftex-citation'.
4759
4760 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4761 that entries with whitespace at various places are found.
4762 Doc fix. Include entries that are cross-referenced from cited entries.
4763 Include @String definitions in the resulting bib file. Add header
4764 and footer defined in `reftex-create-bibtex-header' and
4765 `reftex-create-bibtex-footer'.
4766 (reftex-do-citation): Make it possible again to insert
4767 non-existent entries. Save match data when asking for optional
4768 arguments. Return all keys, not just the first one.
4769 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4770 all citations in the same line.
4771 (reftex-parse-bibtex-entry): Accept additional optional argument
4772 `raw' and keep quotes or braces if it is non-nil. Match fields
4773 containing hyphens besides word constituents.
4774 (reftex-get-string-refs): New function.
4775 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4776 and ask if it should be reread in case it did.
4777 (reftex-pop-to-bibtex-entry)
4778 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4779 entries with spaces or tabs in front of arguments.
4780 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4781 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4782 Match entries containing numbers and symbol constituents.
4783 (reftex-do-citation, reftex-figure-out-cite-format):
4784 Use `reftex-cite-key-separator'.
4785
4786 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4787 (reftex-mouse-view-crossref): Explain why point is set.
4788
4789 * textmodes/reftex-global.el: Whitespace changes.
4790
4791 * textmodes/reftex-index.el: Move provide statement to end of
4792 file.
4793 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4794 (reftex-index-visit-phrases-buffer): Set marker when visiting
4795 buffer. This allows for returning from the phrases file to the
4796 file one was just editing instead of the file where the last
4797 phrases was added from.
4798 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4799 punctuation syntax as it usually is not used as string quote in
4800 TeX-related modes and may occur unmatched. The change also
4801 prevents fontification of quoted content.
4802 (reftex-index-phrases-mode): Use it.
4803
4804 * textmodes/reftex-parse.el (reftex-parse-from-file):
4805 Move backward one char if a `\' was matched after a section macro.
4806 (reftex-parse-from-file): Use beginning of match instead of end as
4807 bound.
4808
4809 * textmodes/reftex-ref.el: Adapt creation of
4810 `reftex-<package>-<macro>' functions to new structure of
4811 `reftex-ref-style-alist'.
4812 (reftex-reference): Use `reftex-ref-style-list' function.
4813 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4814 reference macro if `reftex-ref-macro-prompt' is non-nil.
4815 (reftex-reference): Pass refstyle to `reftex-format-special'.
4816 Determine reference macro by looking at
4817 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4818 Use only one special format function.
4819 (reftex-varioref-vref, reftex-fancyref-fref)
4820 (reftex-fancyref-Fref): Remove definitions. The functions are now
4821 generated from `reftex-ref-style-alist'.
4822 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4823 Remove.
4824 (reftex-format-special): New function.
4825
4826 * textmodes/reftex-sel.el
4827 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4828 of `reftex-ref-style-alist'. Remove code for testing macro type.
4829 (reftex-select-toggle-varioref)
4830 (reftex-select-toggle-fancyref): Remove.
4831 (reftex-select-cycle-ref-style-internal)
4832 (reftex-select-cycle-ref-style-forward)
4833 (reftex-select-cycle-ref-style-backward): New functions.
4834 (reftex-select-label-map): Use `v' and `V' for general cycling
4835 through reference styles. Add `p' for switching between number
4836 and page reference types.
4837
4838 * textmodes/reftex-toc.el (reftex-re-enlarge):
4839 Call `enlarge-window' only if there is something to do because in Emacs
4840 the horizontal version throws an error even if the parameter is 0.
4841
4842 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4843 (reftex-plug-into-AUCTeX): Doc fix.
4844 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4845 string. Adapt to new name.
4846 (reftex-ref-style-alist): Change structure so that it is not
4847 possible to use multiple different package names within a style.
4848 Remove the symbols for symbols for macro type distinction.
4849 Add characters for macro selection.
4850 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4851 (reftex-create-bibtex-footer): New variables.
4852 (reftex-format-ref-function): Mention third argument of special
4853 format function.
4854 (reftex-ref-style-alist, reftex-ref-style-default-list):
4855 New variables.
4856 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4857 to new implementation. Mark as obsolete. Add compatibility code
4858 for honoring the variable values in case they are set.
4859 (reftex-cite-format-builtin, reftex-bibliography-commands):
4860 Add support for ConTeXt.
4861 (reftex-format-ref-function, reftex-format-cite-function):
4862 Fix custom type.
4863 (reftex-cite-key-separator): New variable.
4864
4865 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4866 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4867 `reftex-syntax-table' because parens have to retain their paren
4868 syntax in order for parsing of BibTeX entries like @book(...) to
4869 work.
4870 (reftex-in-comment): Do not error out if `comment-start-skip' is
4871 not set. Deal correctly with escaped comment characters.
4872 (reftex-tie-multifile-symbols): Add doc string.
4873 Initialize `reftex-ref-style-list'.
4874 (reftex-untie-multifile-symbols): Add doc string.
4875 (reftex-add-index-macros): Doc fix.
4876 (reftex-ref-style-activate, reftex-ref-style-toggle)
4877 (reftex-ref-style-list): New functions.
4878 (reftex-mode-menu): Use them. Adapt to new structure of
4879 `reftex-ref-style-alist'.
4880 (reftex-select-with-char): Kill the RefTeX Select buffer when
4881 done.
4882 (reftex-remove-if): New function.
4883 (reftex-erase-all-selection-and-index-buffers)
4884 (reftex-mode-menu): Reference styles are now computed from
4885 `reftex-ref-style-alist'. Fix typo.
4886 (reftex-report-bug): New function.
4887 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4888 algorithms with O(n log n). Introduce optional argument SORT (not
4889 yet used).
4890
4891 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4892
4893 Enhancements for triple-quote string syntax.
4894 * progmodes/python.el (python-syntax-propertize-function):
4895 Match both quote cases in one regexp.
4896 (python-syntax-stringify): Handle matches properly.
4897
4898 2012-09-30 Juri Linkov <juri@jurta.org>
4899
4900 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4901 to nil around the call to `insert' to prevent
4902 directory time modification by lock_file. (Bug#2295)
4903 * tar-mode.el (tar-summarize-buffer): Idem.
4904
4905 2012-09-30 Juri Linkov <juri@jurta.org>
4906
4907 * facemenu.el (list-colors-sort): Add option "Luminance".
4908 (list-colors-sort-key): Implement it.
4909
4910 * vc/diff-mode.el (diff-refine-removed):
4911 * vc/ediff-init.el (ediff-fine-diff-A):
4912 * vc/smerge-mode.el (smerge-refined-removed):
4913 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4914
4915 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4916
4917 * term/ns-win.el (x-file-dialog): New function.
4918
4919 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
4920
4921 * ido.el (ido-max-directory-size): Default to nil; the current
4922 default is small for POSIX systems, and impractical on Windows 7
4923 now that lstat returns directory sizes for NTFS.
4924
4925 2012-09-30 Martin Rudalics <rudalics@gmx.at>
4926
4927 In buffer display functions handle window-height/window-width
4928 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
4929 * window.el (window--display-buffer): New argument ALIST.
4930 Obey window-height and window-width alist entries.
4931 (window--try-to-split-window): New argument ALIST.
4932 Bind window-combination-limit to t when the window's size shall be
4933 changed and window-combination-limit equals `window-size'.
4934 (display-buffer-in-atom-window)
4935 (display-buffer-in-major-side-window)
4936 (display-buffer-in-side-window, display-buffer-same-window)
4937 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4938 (display-buffer-pop-up-window, display-buffer-below-selected)
4939 (display-buffer-at-bottom, display-buffer-in-previous-window)
4940 (display-buffer-use-some-window): Adjust all callers of
4941 window--display-buffer and window--try-to-split-window.
4942 (fit-frame-to-buffer): New option.
4943 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4944 is non-nil.
4945 (display-buffer-in-major-side-window): Evaluate window-height /
4946 window-width alist entries.
4947
4948 * help.el (temp-buffer-resize-frames)
4949 (temp-buffer-resize-regexps): Remove options.
4950 (temp-buffer-resize-mode): Adjust doc-string.
4951 (resize-temp-buffer-window): Don't consult
4952 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4953 temp-buffer-resize-frames.
4954
4955 * dired.el (dired-mark-pop-up):
4956 Call display-buffer-below-selected with a fit-window-to-buffer alist
4957 entry.
4958
4959 2012-09-30 Chong Yidong <cyd@gnu.org>
4960
4961 * server.el (server-host): Document the security implications.
4962 (server-auth-key): Doc fix.
4963
4964 * startup.el (initial-buffer-choice): Doc fix.
4965
4966 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4967
4968 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4969 restriction change.
4970
4971 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4972
4973 * help-fns.el (help-fns--obsolete): Fix last change.
4974
4975 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4976
4977 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4978 (minor-mode-map-alist): Remove redundant code.
4979
4980 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4981 visited in a buffer.
4982 (cvs-insert-visited-file): New function.
4983 (find-file-hook): Use it.
4984
4985 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4986
4987 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4988 chose face.
4989 (log-edit-empty-buffer-p): Don't require a space after a header.
4990
4991 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4992
4993 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4994
4995 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4996 a proper minor-mode.
4997
4998 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4999
5000 2012-09-29 Glenn Morris <rgm@gnu.org>
5001
5002 * winner.el (winner-mode): Remove variable (let define-minor-mode
5003 handle it).
5004 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5005 Doc fixes.
5006 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5007 (winner-mode): Use define-minor-mode.
5008
5009 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5010 the full definition in loaddefs, rather than duplicating it.
5011
5012 * help-macro.el (three-step-help): No need to autoload defcustom.
5013
5014 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5015 (inferior-lisp-program, inferior-lisp-load-command)
5016 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5017 No need to autoload defcustoms.
5018
5019 * hippie-exp.el (hippie-expand-try-functions-list)
5020 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5021 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5022 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5023 (hippie-expand-only-buffers): No need to autoload defcustoms.
5024 * progmodes/vhdl-mode.el (vhdl-line-expand):
5025 Explicitly load hippie-exp, so it does not get autoloaded
5026 while hippie-expand-try-functions-list is let-bound.
5027
5028 2012-09-28 Glenn Morris <rgm@gnu.org>
5029
5030 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5031
5032 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5033 Only "cl.el" counts as cl these days.
5034
5035 2012-09-28 Juri Linkov <juri@jurta.org>
5036
5037 Display archive errors in the echo area instead of inserting
5038 to the file buffer.
5039
5040 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5041 to STDERR-TEST that can be a regexp matching a successful output.
5042 Create a temporary file and redirect stderr to it. Search for
5043 STDERR-TEST in the stderr output and display it in the echo area
5044 if no match is found.
5045 (archive-extract-by-file): New function like
5046 `archive-extract-by-stdout' but extracting archives to files
5047 and looking for successful matches in stdout. Function body is
5048 mostly copied from `archive-rar-extract'.
5049 (archive-rar-extract): Use `archive-extract-by-file'.
5050 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5051
5052 2012-09-28 Leo Liu <sdl.web@gmail.com>
5053
5054 * pcomplete.el (pcomplete-show-completions):
5055 Use minibuffer-message to make pcomplete usable in minibuffer.
5056
5057 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5058
5059 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5060
5061 * type-break.el: Use lexical-binding.
5062 (type-break-mode): Use define-minor-mode.
5063
5064 * emacs-lisp/pcase.el (pcase--mark-used): New.
5065 (pcase--u1): Use it (bug#12512).
5066
5067 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5068 in load-history with the right file name.
5069
5070 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5071
5072 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5073 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5074 (doc-view-get-bounding-box): Make bounding box slicing work for
5075 ODF and DVI documents.
5076
5077 2012-09-28 Glenn Morris <rgm@gnu.org>
5078
5079 * type-break.el (type-break-mode, type-break-interval)
5080 (type-break-good-rest-interval, type-break-keystroke-threshold):
5081 No need to autoload.
5082 (type-break-good-rest-interval, type-break-keystroke-threshold):
5083 Add :set-after.
5084
5085 2012-09-28 Chong Yidong <cyd@gnu.org>
5086
5087 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5088 Add :version tag.
5089
5090 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5091
5092 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5093
5094 2012-09-27 Glenn Morris <rgm@gnu.org>
5095
5096 * faces.el (x-display-name): Declare (for without-x builds).
5097
5098 * linum.el (linum-format): Don't autoload it. Improve :type.
5099
5100 * progmodes/tcl.el: Don't require outline when compiling.
5101 (outline-regexp, outline-level): Declare.
5102 * textmodes/sgml-mode.el: Don't require outline when compiling.
5103 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5104
5105 * term.el (term-ansi-reset):
5106 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5107
5108 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5109 files for RCS and SCCS. (Bug#9781)
5110
5111 2012-09-27 Chong Yidong <cyd@gnu.org>
5112
5113 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5114 change; value should be t.
5115
5116 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5117
5118 * image-mode.el: Use lexical-binding.
5119 (image-mode-winprops): Use t to stand for the window of
5120 a buffer that's not displayed.
5121 * doc-view.el (doc-view-new-window-function): Handle the new
5122 t in winprops.
5123 (doc-view-enlarge): Make it a real nop if the size is not changed.
5124 (doc-view-display): Handle the case where the buffer is not (yet?)
5125 displayed in any window.
5126 (doc-view-saved-settings): New var.
5127 (doc-view-mode): Use it.
5128 (doc-view-fallback-mode): Set it.
5129
5130 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5131 Set lexical-binding.
5132 (minibuffer-eldef-shorten-default): New var.
5133 (minibuffer-default-in-prompt-regexps): Use it for new default.
5134 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5135
5136 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5137
5138 * international/uni-bidi.el:
5139 * international/uni-category.el:
5140 * international/uni-name.el:
5141 * international/uni-numeric.el: Regenerate.
5142
5143 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5144 Stefan Monnier <monnier@iro.umontreal.ca>
5145
5146 * profiler.el: New file.
5147
5148 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5149
5150 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5151 (testcover-reinstrument): Simplify with CSE.
5152
5153 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5154
5155 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5156
5157 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5158
5159 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5160 (verilog-auto-input, verilog-auto-insert-lisp)
5161 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5162 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5163 (verilog-auto-unused, verilog-auto-wire)
5164 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5165 newline. Reported by Andrew Jones.
5166 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5167 Reported by Brad Dobbie.
5168 (verilog-batch-delete-trailing-whitespace):
5169 Create verilog-batch-delete-trailing-whitespace.
5170 Reported by Brad Dobbie.
5171 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5172 parameters from another module. Reported by Dan Katz.
5173 (verilog-auto, verilog-auto-assign-modport)
5174 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5175 AUTOINOUTMODPORT for UVM interface module shell generation.
5176 Reported by Brad Dobbie.
5177 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5178 standard behavior.
5179 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5180 Reported by Matt Martin.
5181
5182 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5183
5184 * window.el (window--resize-child-windows): When resizing child
5185 windows proportionally, process them in reverse order to
5186 preserve the "when splitting a window the new one gets the odd
5187 line" behavior.
5188 (window--resize-root-window-vertically): When resizing the
5189 minibuffer window try to affect only windows at the bottom of the
5190 frame. (Bug#12419)
5191
5192 2012-09-25 Chong Yidong <cyd@gnu.org>
5193
5194 * subr.el (declare): Doc fix.
5195
5196 * help-fns.el (help-fns--obsolete): Handle macros properly.
5197
5198 2012-09-25 Chong Yidong <cyd@gnu.org>
5199
5200 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5201 this function obsolete.
5202
5203 * calendar/cal-x.el (calendar-two-frame-setup)
5204 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5205 * calendar/calendar.el (american-calendar, european-calendar)
5206 (calendar-for-loop):
5207 * comint.el (comint-dynamic-simple-complete)
5208 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5209 * desktop.el (desktop-load-default):
5210 * dired-x.el (dired-omit-here-always)
5211 (dired-hack-local-variables, dired-default-directory):
5212 * emacs-lisp/derived.el (derived-mode-class):
5213 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5214 * emacs-lock.el (toggle-emacs-lock):
5215 * epa.el (epa-display-verify-result):
5216 * epg.el (epg-sign-keys, epg-start-sign-keys)
5217 (epg-passphrase-callback-function):
5218 * eshell/esh-util.el (eshell-for):
5219 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5220 (eshell-add-to-window-buffer-names):
5221 * files.el (locate-file-completion):
5222 * imenu.el (imenu-example--create-c-index)
5223 (imenu-example--create-lisp-index)
5224 (imenu-example--lisp-extract-index-name)
5225 (imenu-example--name-and-position):
5226 * international/mule-cmds.el (princ-list):
5227 * international/mule-diag.el (decode-codepage-char):
5228 * international/mule-util.el (detect-coding-with-priority):
5229 * iswitchb.el (iswitchb-read-buffer):
5230 * mail/mailalias.el (mail-complete):
5231 * mail/sendmail.el (mail-sent-via):
5232 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5233 (mouse-major-mode-menu):
5234 * password-cache.el (password-read-and-add):
5235 * pcomplete.el (pcomplete-parse-comint-arguments):
5236 * progmodes/sh-script.el (sh-maybe-here-document):
5237 * replace.el (query-replace-regexp-eval):
5238 * savehist.el (savehist-load):
5239 * simple.el (choose-completion-delete-max-match):
5240 * term.el (term-dynamic-simple-complete):
5241 * vc/ediff-init.el (ediff-check-version):
5242 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5243 * vc/vc.el (vc-diff-switches-list):
5244 * view.el (view-return-to-alist-update): Likewise.
5245
5246 * subr.el (eval-next-after-load, makehash, insert-string)
5247 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5248 mark obsolete.
5249 (mode-line-inverse-video): Variable deleted.
5250
5251 * international/mule-util.el (string-to-sequence): Remove.
5252
5253 * calendar/calendar.el (calendar-version):
5254 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5255 (icalendar-convert-diary-to-ical):
5256 * cus-edit.el (custom-mode):
5257 * ansi-color.el (ansi-color-unfontify-region):
5258 * international/latin1-disp.el (latin1-char-displayable-p):
5259 * progmodes/cwarn.el (turn-on-cwarn-mode):
5260 * progmodes/which-func.el (which-func-update-1):
5261 Use define-obsolete-function-alias.
5262
5263 * net/newst-backend.el (newsticker-cache-filename):
5264 * net/newst-treeview.el (newsticker-groups-filename):
5265 Fix incorrect obsolescence declaration.
5266
5267 * allout.el (allout-passphrase-hint-string): Likewise.
5268 (allout-init): Use a declare form to mark obsolete.
5269
5270 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5271 this applies to functions.
5272
5273 * iswitchb.el (iswitchb-read-buffer): Move code of
5274 iswitchb-define-mode-map here, and delete that obsolete function.
5275
5276 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5277 font-lock-reference-face.
5278
5279 2012-09-25 Glenn Morris <rgm@gnu.org>
5280
5281 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5282 Doc fixes.
5283
5284 * eshell/em-term.el (eshell-term-name):
5285 Default to term-term-name. (Bug#12485)
5286
5287 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5288
5289 * progmodes/python.el (python-shell-send-buffer): Better handling
5290 of "if __name__ == '__main__':" conditionals when sending the buffer.
5291
5292 2012-09-24 Glenn Morris <rgm@gnu.org>
5293
5294 * eshell/esh-cmd.el (eshell-find-alias-function):
5295 Tighten up file-name regexp. (Bug#12499)
5296
5297 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5298
5299 Enhancements for triple-quote string syntax.
5300 * progmodes/python.el (python-quote-syntax): Remove.
5301 (python-syntax-propertize-function): New value.
5302 (python-syntax-count-quotes, python-syntax-stringify):
5303 New functions.
5304
5305 2012-09-24 Chong Yidong <cyd@gnu.org>
5306
5307 * mail/supercite.el (sc-version): Remove obsolete function.
5308 (sc-describe): Don't mark as obsolete, since it is bound.
5309 (sc-submit-bug-report): Remove.
5310
5311 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5312 (cvs-commit-buffer-require-final-newline): Remove.
5313 (log-edit-require-final-newline)
5314 (log-edit-changelog-full-paragraphs): Default to t.
5315
5316 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5317 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5318 * vc/vc.el (vc-checkout-carefully): Likewise.
5319
5320 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5321 (emerge-version): Remove.
5322
5323 * progmodes/compile.el (compile-internal): Remove.
5324 (compilation-parse-errors-function): Fix typo.
5325
5326 * international/mule.el (set-char-table-default): Remove.
5327 (set-coding-priority, make-coding-system, generic-char-p)
5328 (charset-list, charset-bytes, charset-id): Use declare to mark
5329 functions as obsolete.
5330
5331 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5332 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5333 * vc/vc-hooks.el (vc-default-registered): Don't use
5334 vc-master-templates.
5335
5336 * font-lock.el (font-lock-reference-face):
5337 Use define-obsolete-variable-alias.
5338
5339 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5340 * calendar/calendar.el (calendar-font-lock-keywords):
5341 * calendar/diary-lib.el (diary-font-lock-keywords)
5342 (diary-fancy-font-lock-keywords):
5343 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5344 * textmodes/reftex-index.el (reftex-insert-index):
5345 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5346 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5347 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5348 * progmodes/prolog.el (prolog-font-lock-keywords):
5349 * progmodes/idlwave.el (idlwave-idl-keywords):
5350 * progmodes/ada-mode.el (ada-font-lock-keywords):
5351 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5352
5353 2012-09-24 Glenn Morris <rgm@gnu.org>
5354
5355 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5356
5357 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5358
5359 * progmodes/python.el (python-indent-line): More consistent cursor
5360 movement behavior.
5361
5362 2012-09-23 Stefan Merten <smerten@oekonux.de>
5363
5364 * textmodes/rst.el: Fix compiler warning.
5365
5366 2012-09-23 Roland Winkler <winkler@gnu.org>
5367
5368 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5369 Transcribe also LaTeX hyphenation.
5370 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5371 bibtex-reformat-previous-options.
5372
5373 2012-09-23 Roland Winkler <winkler@gnu.org>
5374
5375 * proced.el (proced-renice-command): New variable.
5376 (proced-marked-processes): New function.
5377 (proced-with-processes-buffer): New macro.
5378 (proced-send-signal): Use them.
5379 (proced-renice): New command bound to r.
5380
5381 2012-09-23 Roland Winkler <winkler@gnu.org>
5382
5383 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5384 ibuffer-saved-filter-groups has one element, shortcut the call of
5385 completing-read. (Bug#12331)
5386
5387 2012-09-23 Chong Yidong <cyd@gnu.org>
5388
5389 * bindings.el (mode-line-toggle-read-only):
5390 * bs.el (bs-toggle-readonly):
5391 * buff-menu.el (Buffer-menu-toggle-read-only):
5392 * dired.el (dired-toggle-read-only):
5393 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5394
5395 2012-09-23 Chong Yidong <cyd@gnu.org>
5396
5397 * image.el (image-type-available-p): Adapt to init-image-library
5398 argument changes.
5399
5400 2012-09-22 Juri Linkov <juri@jurta.org>
5401
5402 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5403 `dired-toggle-read-only'. (Bug#12462)
5404
5405 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5406
5407 * subr.el (temp-output-buffer-show): New function.
5408 (with-output-to-temp-buffer): Call temp-output-buffer-show
5409 instead of internal-temp-output-buffer-show.
5410
5411 2012-09-22 Chong Yidong <cyd@gnu.org>
5412
5413 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5414 (Bug#12462).
5415
5416 * repeat.el (repeat): Doc fix (Bug#12348).
5417
5418 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5419 (Bug#10909).
5420
5421 * simple.el (shell-command-on-region): Doc fix.
5422 (read-only-mode): Doc fix.
5423
5424 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5425
5426 * emacs-lisp/timer.el (run-with-idle-timer)
5427 (timer-activate-when-idle): Warn against reinvoking an idle timer
5428 from within its own timer action. (Bug#12447)
5429
5430 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5431
5432 * cus-start.el (window-combination-limit): Add new optional
5433 values.
5434 * window.el (temp-buffer-window-show)
5435 (window--try-to-split-window): Handle new values of
5436 window-combination-limit (Bug#1806).
5437 (split-window): Test window-combination-limit for t instead of
5438 non-nil.
5439 (display-buffer-at-bottom): New buffer display action function.
5440 * help.el (temp-buffer-resize-regexps): New option.
5441 (temp-buffer-resize-mode): Rewrite doc-string.
5442 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5443 Don't resize reused window. Suggested by Glenn Morris.
5444
5445 2012-09-22 Stefan Merten <smerten@oekonux.de>
5446
5447 * textmodes/rst.el: Revamp section title faces.
5448 (rst-official-version)
5449 (rst-package-emacs-version-alist): Sync with official version
5450 V1.4.0.
5451 (rst-faces-defaults, rst-set-level-default)
5452 (rst-level-face-max, rst-level-face-base-color)
5453 (rst-level-face-base-light, rst-level-face-format-light)
5454 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5455 (rst-adornment-faces-alist): Match new setup.
5456 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5457 (rst-level-5, rst-level-6): New faces.
5458
5459 2012-09-22 Chong Yidong <cyd@gnu.org>
5460
5461 * simple.el (undo): Handle indirect buffers (Bug#8207).
5462
5463 2012-09-21 Leo Liu <sdl.web@gmail.com>
5464
5465 IDO: Disable match re-ordering for buffer switching.
5466 * ido.el (ido-buffer-disable-smart-matches): New variable.
5467 (ido-set-matches-1): Use it. (Bug#2042)
5468
5469 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5470
5471 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5472 Fix 2011-05-17 change. (Bug#12418)
5473
5474 2012-09-21 Leo Liu <sdl.web@gmail.com>
5475
5476 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5477
5478 2012-09-21 Glenn Morris <rgm@gnu.org>
5479
5480 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5481 Be more robust about locating simple.el.
5482
5483 2012-09-21 Glenn Morris <rgm@gnu.org>
5484
5485 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5486
5487 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5488
5489 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5490
5491 2012-09-20 Juri Linkov <juri@jurta.org>
5492
5493 * replace.el (query-replace-read-from): Use `read-regexp' instead
5494 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5495 (occur-read-primary-args): Use `read-regexp' instead of
5496 `read-string'.
5497 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5498 `read-from-minibuffer'.
5499 * isearch.el (isearch-occur): Use `read-regexp' instead of
5500 `read-string'.
5501 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5502 `read-from-minibuffer'.
5503 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5504 of `read-string'. (Bug#7567)
5505
5506 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5507 and allow accepting a list of strings prepended to a list of
5508 standard default values. Doc fix. (Bug#12321)
5509
5510 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5511
5512 * replace.el (read-regexp): Don't add ": " when PROMPT already
5513 ends with a colon and space. (Bug#12321)
5514
5515 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5516
5517 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5518 error.
5519
5520 2012-09-20 Stefan Merten <smerten@oekonux.de>
5521
5522 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5523 Fixes feature request bug#11711.
5524 (rst-mode): Create `imenu-create-index-function'.
5525 (rst-get-stripped-line): Delete after refactoring.
5526 (rst-section-tree, rst-section-tree-rec)
5527 (rst-section-tree-point): Refactor and document properly.
5528 (rst-imenu-find-adornments-for-position)
5529 (rst-imenu-convert-cell, rst-imenu-create-index):
5530 New function.
5531
5532 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5533
5534 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5535 (macroexp--expand-all): Use it.
5536 (macroexp--funcall-and-return): Remove by folding it into its sole
5537 caller (macroexp--warn-and-return).
5538 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5539 Use macroexp--obsolete-warning.
5540
5541 * calc/calc.el: Fix last change by removing the whole chunk, since it
5542 was only needed back when Calc was not bundled.
5543
5544 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5545
5546 * emacs-lisp/debug.el (debug): Restore assignment to
5547 debugger-old-buffer removed on 2012-09-08.
5548
5549 2012-09-20 Juri Linkov <juri@jurta.org>
5550
5551 * dired-aux.el (dired-diff): Remove (require 'diff) since
5552 `diff-latest-backup-file' is now autoloaded.
5553
5554 2012-09-20 Chong Yidong <cyd@gnu.org>
5555
5556 * vc/diff.el (diff-latest-backup-file): Autoload.
5557
5558 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5559
5560 * calc/calc.el: Remove redundant autoload shape check.
5561 (sel-mode): Don't defvar.
5562 (calc-get-stack-element): Add `sel-mode' arg instead.
5563 (calc-top, calc-top-list): Pass it this additional argument.
5564 * calc/calc-store.el (calc-store-map):
5565 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5566 (calc-map-equation, calc-outer-product, calc-inner-product):
5567 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5568
5569 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5570
5571 2012-09-19 Juri Linkov <juri@jurta.org>
5572
5573 * dired-aux.el (dired-diff): Add (require 'diff) because
5574 `diff-latest-backup-file' is not autoloaded.
5575 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5576 of `dired-get-filename' to t to not report error when there is
5577 no default file on the current line.
5578
5579 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5580
5581 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5582 macroexp--eval-if-compile.
5583 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5584 (macroexp--expand-all): Use them (bug#12371).
5585
5586 * doc-view.el (doc-view-guess-paper-size)
5587 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5588
5589 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5590
5591 New feature: set optimal slice from BoundingBox information.
5592 * doc-view.el (doc-view-mode-map): Add keybinding.
5593 (doc-view-menu): Add menu entry.
5594 (doc-view-set-slice): Adapt docstring.
5595 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5596 (doc-view-scale-bounding-box)
5597 (doc-view-set-slice-from-bounding-box): New functions.
5598 (doc-view-paper-sizes): New defvar.
5599
5600 2012-09-19 Glenn Morris <rgm@gnu.org>
5601
5602 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5603 (byte-compile-log-warning): Autoload. (Bug#12371)
5604
5605 * calendar/calendar.el (calendar-american-month-header)
5606 (calendar-european-month-header, calendar-iso-month-header)
5607 (calendar-month-header): New options.
5608 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5609 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5610
5611 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5612
5613 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5614
5615 2012-09-18 Juri Linkov <juri@jurta.org>
5616
5617 * dired-aux.el (dired-diff): Restore original functionality of
5618 getting the default value, but keep new feature of using the
5619 latest existing backup file (`diff-latest-backup-file').
5620
5621 2012-09-18 Juri Linkov <juri@jurta.org>
5622
5623 * dired.el (dired-mark): If the region is active in Transient Mark
5624 mode, mark all files in the active region. Doc fix.
5625 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5626 Doc fix. (Bug#10624)
5627
5628 2012-09-18 Juri Linkov <juri@jurta.org>
5629
5630 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5631 attributes for M-n are pulled from the file at point.
5632 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5633 Suggested by Drew Adams. (Bug#10624)
5634
5635 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5636
5637 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5638 whitespace after "end".
5639 (ruby-do-end-to-brace): Collapse block to one line if it fits
5640 within fill-column.
5641
5642 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5643
5644 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5645 value.
5646 (debug): Don't remove debugger window when debugger is expected
5647 to be back.
5648
5649 2012-09-18 Chong Yidong <cyd@gnu.org>
5650
5651 * custom.el (defface): Doc fix.
5652
5653 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5654
5655 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5656
5657 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5658 to initialize query-on-exit; then test that instead (bug#12288).
5659
5660 2012-09-17 Stefan Merten <smerten@oekonux.de>
5661
5662 * textmodes/rst.el: Add support for `testcover'.
5663 (rst-defcustom-testcover, rst-testcover-add-compose)
5664 (rst-testcover-add-1value): New functions.
5665 (rst-portable-mark-active-p): Replace by `use-region-p'.
5666 (rst-update-section, rst-classify-adornment)
5667 (rst-find-title-line): Mark `1value' forms.
5668 (rst-classify-adornment): Remove superfluous form.
5669 (rst-update-section, rst-get-adornments-around)
5670 (rst-adornment-complete-p, rst-get-next-adornment)
5671 (rst-adjust, rst-promote-region)
5672 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5673 (rst-find-pfx-in-region, rst-section-tree-rec)
5674 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5675 (rst-toc-node, rst-toc, rst-forward-section)
5676 (rst-iterate-leftmost-paragraphs)
5677 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5678 (rst-bullet-list-region)
5679 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5680 (rst-compile-find-conf, rst-compile)
5681 (rst-repeat-last-character): Fix style.
5682
5683 2012-09-17 Chong Yidong <cyd@gnu.org>
5684
5685 * comint.el (comint--complete-file-name-data): Don't add a space
5686 if the status is `sole'; that adds a gratuitous space in the
5687 completion-cycling case (Bug#12092).
5688
5689 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5690
5691 2012-09-17 Richard Stallman <rms@gnu.org>
5692
5693 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5694 only in the mime-shown mode, not in raw mode.
5695 (rmail-mime): Toggle off mime by displaying the message without
5696 mime processing. (Bug#12305)
5697
5698 * mail/rmail.el (rmail-retry-failure):
5699 Turn off mime processing first. (Bug#12037)
5700
5701 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5702
5703 2012-09-17 Chong Yidong <cyd@gnu.org>
5704
5705 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5706 (shell-dynamic-complete-functions): Convert to defcustom.
5707 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5708
5709 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5710 * comint.el (comint-prompt-read-only):
5711 * custom.el (defcustom):
5712 * hi-lock.el (hi-lock-mode):
5713 * ibuffer.el (ibuffer-formats):
5714 * ielm.el (ielm-prompt-read-only):
5715 * novice.el (disable-command):
5716 * saveplace.el (toggle-save-place):
5717 * speedbar.el (speedbar-supported-extension-expressions):
5718 * startup.el (auto-save-list-file-prefix, init-file-user)
5719 (after-init-hook, inhibit-startup-echo-area-message):
5720 * strokes.el (strokes-help):
5721 * time-stamp.el (time-stamp):
5722 * calendar/calendar.el (calendar, diary-file):
5723 * calendar/diary-lib.el (diary-mail-entries, diary)
5724 (diary-list-entries-hook):
5725 * calendar/holidays.el (holidays, calendar-holidays):
5726 * calendar/lunar.el (lunar-phases):
5727 * calendar/solar.el (sunrise-sunset):
5728 * emulation/edt.el (edt-load-keys):
5729 * emulation/viper.el (viper-mode):
5730 * eshell/em-alias.el (eshell-command-aliases-list):
5731 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5732 * international/ogonek.el (ogonek-information):
5733 * net/tramp-cmds.el (tramp-bug):
5734 * net/quickurl.el (quickurl-reread-hook-postfix):
5735 * play/decipher.el (decipher-font-lock-keywords):
5736 * progmodes/cc-styles.el (c-set-style):
5737 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5738 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5739 * progmodes/octave-mod.el (octave-mode):
5740 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5741 * progmodes/verilog-mode.el (verilog-read-defines):
5742 * textmodes/two-column.el (2C-mode): Likewise.
5743
5744 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5745
5746 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5747 that holds many addresses.
5748
5749 2012-09-16 Chong Yidong <cyd@gnu.org>
5750
5751 * align.el (align-areas): Call the indication function with
5752 positions instead of markers for arguments (Bug#12343).
5753
5754 * files.el (parse-colon-path): Use split-string (Bug#12351).
5755
5756 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5757 (display-buffer-function): Mark as obsolete.
5758
5759 * progmodes/compile.el (compilation-parse-errors): Accept list
5760 values similar to font-lock-keywords (Bug#12136).
5761 Suggested by Oleksandr Manzyuk.
5762 (compilation-error-regexp-alist): Doc fix.
5763
5764 2012-09-15 Glenn Morris <rgm@gnu.org>
5765
5766 * version.el (emacs-bzr-version-bzr): New function.
5767 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5768
5769 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5770 checkouts, check the parent dirstate matches the branch.
5771 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5772 empty string.
5773
5774 * version.el (emacs-bzr-version): Doc fix.
5775 (emacs-bzr-version-dirstate): New function.
5776 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5777 is local try and check that it matches the branch. If not, just
5778 use dirstate information. (Bug#12441)
5779
5780 2012-09-14 Juri Linkov <juri@jurta.org>
5781
5782 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5783 (Bug#12399)
5784
5785 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5786
5787 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5788
5789 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5790 Remove obsolete byte-compiler hack that tried to silence some warnings.
5791 (edebug-submit-bug-report): Remove.
5792 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5793 Remove aliases, use the un-prefixed name instead.
5794 (edebug-pop-to-buffer): Consider other frames.
5795 (edebug-original-read):: Make it more obvious that it's always defined.
5796 (edebug--make-form-data-entry, edebug--form-data-name)
5797 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5798 single-dashed name, and implement with cl-defstruct.
5799 (edebug-set-form-data-entry): Use the standard accessors.
5800 (edebug-make-top-form-data-entry): Use push.
5801 (edebug-no-match): Drop useless `funcall'.
5802 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5803 to functions.
5804 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5805 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5806 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5807 (easy-menu-define, with-custom-print): Remove redundant specs.
5808 (edebug-outside-overriding-local-map)
5809 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5810 (edebug--display): Bind unread-command-events directly to nil rather
5811 than binding it to unread-command-events and later setting it to nil.
5812 (edebug--display): Kill edebug-eval-buffer here...
5813 (edebug--recursive-edit): ...rather than here.
5814 Bind standard-output and standard-input.
5815 (edebug-eval): Check cl-macroexpand-all is fboundp.
5816 (edebug-temp-display-freq-count): Fix last change.
5817
5818 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5819 * subr.el (noreturn, 1value): Add `debug' spec.
5820 * emacs-lisp/advice.el: Require cl-lib.
5821 (ad-copy-tree): Remove, use copy-tree instead.
5822 (ad-dolist): Remove use dolist or cl-dolist instead.
5823 (ad-do-return): Remove, use cl-return instead.
5824 (defadvice): Add `debug' spec.
5825
5826 2012-09-13 Juri Linkov <juri@jurta.org>
5827
5828 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5829 (Bug#12399)
5830
5831 2012-09-13 Glenn Morris <rgm@gnu.org>
5832
5833 * calc/calc.el (math-compose-expr):
5834 * calc/calc-ext.el (math-compose-expr):
5835 * progmodes/cc-defs.el (cl-macroexpand-all):
5836 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5837 (cl-macroexpand-all): Update declarations.
5838
5839 * vc/vc.el: No need to require ediff.
5840 (ediff-load-version-control): Declare.
5841 (ediff-vc-internal): Fix declaration.
5842 (vc-version-ediff): Require ediff.
5843
5844 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5845
5846 Use a more backwards-compatible timer format (Bug#12430).
5847 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5848 being right after USECS, as that better supports old code that
5849 inadvisedly looked directly at the timer vector.
5850
5851 2012-09-13 Kenichi Handa <handa@gnu.org>
5852
5853 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5854 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5855 `coding-priority' property of these language environment.
5856
5857 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5858
5859 Fix glitches caused by addition of psec to timers (Bug#12430).
5860 * image.el (image-animate-timer):
5861 * time.el (display-time-world-timer):
5862 Use timer--function and timer--args rather than raw access to
5863 timer vector.
5864
5865 2012-09-13 Glenn Morris <rgm@gnu.org>
5866
5867 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5868 If not compiling a file, try using load-file-name.
5869
5870 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5871
5872 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5873 Fix last change.
5874 (edebug-update-eval-list): Use `push'.
5875
5876 * emacs-lisp/edebug.el: Use lexical-binding.
5877 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5878 Mark unused args with underscore.
5879 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5880 (edebug-form-data): Use defvar-local.
5881 (edebug-make-before-and-after-form, edebug-make-after-form):
5882 Use backquote.
5883 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5884 Not dynamically scoped any more.
5885 (edebug--enter-trace): Add arguments `function' and `args'.
5886 Rename from edebug-enter-trace.
5887 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5888 (edebug--update-coverage): Add `after-index' and `value' args.
5889 Rename from edebug-update-coverage.
5890 (edebug-slow-after): Call it accordingly.
5891 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5892 edebug-recursive-edit.
5893 (edebug--display): Call it accordingly. Add args `value',
5894 `offset-index', and `arg-mode'. Rename from edebug-display.
5895 (edebug-debugger, edebug): Call it accordingly.
5896 (edebug-eval-display-list): Use dolist.
5897
5898 2012-09-12 Juri Linkov <juri@jurta.org>
5899
5900 * info.el (Info-search): Don't check for isearch-mode and
5901 isearch-regexp before let-binding search-spaces-regexp to
5902 Info-search-whitespace-regexp.
5903 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5904 search-whitespace-regexp if isearch-lax-whitespace or
5905 isearch-regexp-lax-whitespace is non-nil.
5906 (Info-mode): Don't set local variable search-whitespace-regexp.
5907 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5908
5909 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5910
5911 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5912 (debugger-env-macro): Remove support for unread-command-char.
5913
5914 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5915 the temporary map re-appearing on emulation-mode-map-alists.
5916
5917 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5918 since 22.1.
5919
5920 * ehelp.el (with-electric-help): Accept functions in
5921 electric-help-form-to-execute.
5922 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5923 And replace unread-command-char -> unread-command-events.
5924
5925 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
5926
5927 Sync with Tramp 2.2.6.
5928
5929 * net/tramp.el (tramp-accept-process-output): Don't use
5930 JUST-THIS-ONE in the XEmacs case.
5931
5932 * net/trampver.el: Update release number.
5933
5934 2012-09-12 Martin Rudalics <rudalics@gmx.at>
5935
5936 * emacs-lisp/debug.el (debugger-previous-window-height):
5937 New variable.
5938 (debug): When debugger-jumping-flag is non-nil try to restore
5939 height of debugger window. (Bug#8789)
5940
5941 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5942
5943 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5944 overriding-local-map and pre/post-command-hook here.
5945 (edebug-recursive-edit): Do it here instead (bug#12345).
5946 (edebug-outside-unread-command-char): Remove all uses of
5947 unread-command-char.
5948
5949 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5950 inhibit-debugger is bound instead.
5951
5952 2012-09-11 Bastien Guerry <bzg@gnu.org>
5953
5954 * subr.el (set-temporary-overlay-map): Add a docstring.
5955 (Bug#12346)
5956
5957 2012-09-11 Bastien Guerry <bzg@gnu.org>
5958
5959 * minibuffer.el (completion-table-subvert): Fix docstring.
5960 (Bug#12347)
5961
5962 2012-09-11 Bastien Guerry <bzg@gnu.org>
5963
5964 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
5965
5966 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5967
5968 * progmodes/sql.el: Version 3.1
5969 (sql-db2-escape-newlines): New variable.
5970 (sql-escape-newlines-filter): Use it.
5971
5972 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
5973
5974 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5975
5976 2012-09-10 Dan Nicolaescu <dann@gnu.org>
5977
5978 * vc/diff-mode.el (diff-mode-menu):
5979 Bind diff-remove-trailing-whitespace.
5980
5981 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5982
5983 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
5984 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5985 (emacs-lisp-byte-code-mode): New functions.
5986 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5987 (eval-defun-2): Remove bogus interactive spec.
5988 (lisp-indent-line): Remove redundant whole-exp code, now done in
5989 indent-according-to-mode.
5990 (save-match-data): Remove redundant indent data.
5991
5992 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5993 Use `declare'.
5994
5995 2012-09-09 Juri Linkov <juri@jurta.org>
5996
5997 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5998 (replace-lax-whitespace, query-replace-regexp)
5999 (query-replace-regexp-eval, replace-regexp): Doc fix.
6000 (perform-replace, replace-highlight): Let-bind
6001 isearch-lax-whitespace to replace-lax-whitespace and
6002 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6003
6004 * isearch.el (isearch-query-replace): Let-bind
6005 replace-lax-whitespace to isearch-lax-whitespace and
6006 replace-regexp-lax-whitespace to
6007 isearch-regexp-lax-whitespace. (Bug#10885)
6008
6009 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6010
6011 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6012
6013 2012-09-09 Alan Mackenzie <acm@muc.de>
6014
6015 * progmodes/cc-engine.el (c-state-cache-init):
6016 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6017 (c-record-parse-state-state):
6018 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6019
6020 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6021
6022 * register.el (register-separator): Rename from
6023 separator-register. All uses changed. Doc fix.
6024 (register): Fix version.
6025
6026 2012-09-09 Chong Yidong <cyd@gnu.org>
6027
6028 * replace.el (query-replace-map): Bind four new symbols for
6029 requesting window scrolling.
6030
6031 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6032 query-replace-map (Bug#8948).
6033
6034 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6035
6036 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6037 since they are now in query-replace-map.
6038
6039 * window.el (scroll-other-window-down): Make the arg optional.
6040
6041 2012-09-09 Chong Yidong <cyd@gnu.org>
6042
6043 * files.el (hack-local-variables-confirm): Use quit-window to kill
6044 the *Local Variables* buffer.
6045
6046 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6047
6048 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6049 not just expect to be at its beginning. Adjust callees.
6050 Succeed when do-end block has no space before the pipe character.
6051 (ruby-brace-to-do-end): When the original block is one-liner,
6052 convert to multiline. Reindent the result.
6053
6054 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6055
6056 * register.el (register): New group.
6057 (separator-register): New user option.
6058 (increment-register): Route it to `append-to-register', if
6059 register contains text. Implication is that `C-x r +' can now be
6060 used for appending to a text register (bug#12217).
6061 (append-to-register, prepend-to-register): Add separator based on
6062 `separator-register'.
6063
6064 2012-09-08 Alan Mackenzie <acm@muc.de>
6065
6066 AWK Mode: make auto-newline work when there's "==" in the pattern.
6067 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6068 correctly.
6069 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6070 Test more rigorously for "=" token.
6071
6072 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6073
6074 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6075 Only fail when reached LIMIT.
6076
6077 2012-09-08 Chong Yidong <cyd@gnu.org>
6078
6079 * dired.el (dired-mode-map): Don't bind M-=.
6080
6081 * dired-aux.el (dired-diff): Use backup file as default.
6082
6083 2012-09-08 Drew Adams <drew.adams@oracle.com>
6084
6085 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6086
6087 2012-09-08 Chong Yidong <cyd@gnu.org>
6088
6089 * subr.el (syntax-after, syntax-class): Doc fix.
6090
6091 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6092
6093 * window.el (display-buffer-in-previous-window): New buffer
6094 display action function.
6095
6096 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6097 (debugger-previous-window): New variable.
6098 (debug): Rewrite using display-buffer-in-previous-window,
6099 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6100
6101 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6102
6103 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6104
6105 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6106
6107 * progmodes/python.el (python-shell-send-string):
6108 When default-directory is remote, create temp file on remote
6109 filesystem.
6110 (python-shell-send-file): When file is remote, pass local view of
6111 file paths to remote Python interpreter. (Bug#12340)
6112
6113 2012-09-07 Chong Yidong <cyd@gnu.org>
6114
6115 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6116
6117 * files.el (after-find-file): Don't fail on a read-only buffer if
6118 require-final-newline is `visit' or `visit-save' (Bug#11156).
6119
6120 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6121
6122 * userlock.el (ask-user-about-supersession-threat):
6123 Use read-char-choice (Bug#12093).
6124
6125 2012-09-07 Chong Yidong <cyd@gnu.org>
6126
6127 * subr.el (buffer-narrowed-p): New function.
6128
6129 * ses.el (ses-widen):
6130 * simple.el (count-words--buffer-message):
6131 * net/browse-url.el (browse-url-of-buffer): Use it.
6132
6133 * simple.el (count-words-region): Don't signal an error if there
6134 is a non-nil prefix arg and the mark is not set.
6135
6136 * help.el (describe-key-briefly): Allow the message to be seen
6137 when invoked from the minibuffer (Bug#7014).
6138
6139 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6140
6141 * progmodes/ruby-mode.el (ruby-end-of-defun)
6142 (ruby-beginning-of-defun): Simplify, allow indentation before
6143 block beginning and end keywords.
6144 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6145 (ruby-end-of-defun): Expect that the point is at the beginning of
6146 the defun.
6147
6148 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6149
6150 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6151 (bug#12367).
6152 (cl--make-usage-args): Strip _ from argument names.
6153
6154 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6155
6156 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6157 obsolete alias speedbar-key-map.
6158 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6159 (vhdl-index-menu-init): Don't use obsolete variable
6160 font-lock-maximum-size.
6161
6162 2012-09-06 Chong Yidong <cyd@gnu.org>
6163
6164 * frame.el (window-system-version): Mark as obsolete.
6165
6166 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6167 of obsolete variable speedbar-key-map.
6168
6169 2012-09-06 Juri Linkov <juri@jurta.org>
6170
6171 * replace.el (replace-lax-whitespace): New defcustom.
6172 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6173 (replace-string, replace-regexp): Mention it in docstrings.
6174 (perform-replace, replace-highlight): Let-bind
6175 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6176 to the values of replace-lax-whitespace and regexp-flag.
6177 Don't let-bind search-whitespace-regexp. (Bug#10885)
6178
6179 * isearch.el (isearch-query-replace): Let-bind
6180 replace-lax-whitespace instead of let-binding
6181 replace-search-function and replace-re-search-function.
6182 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6183 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6184 (isearch-toggle-symbol): Set isearch-regexp to nil
6185 in isearch-word mode (like in isearch-toggle-word).
6186
6187 2012-09-06 Juri Linkov <juri@jurta.org>
6188
6189 * replace.el (replace-search-function)
6190 (replace-re-search-function): Set default values to nil.
6191 (perform-replace): Let-bind isearch-related variables based on
6192 replace-related values, call `isearch-search-fun' and let-bind
6193 the result to `search-function'. Remove code that sets
6194 `search-function' and `search-string' separately for
6195 `delimited-flag'.
6196 (replace-highlight): Add new argument `delimited-flag' and
6197 rename other arguments to the names used in `perform-replace'.
6198 Let-bind `isearch-word' to the argument `delimited-flag'.
6199 (Bug#10885, bug#10887)
6200
6201 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6202
6203 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6204 ruby-beginning-of-indent, simplify, allow all keywords to have
6205 indentation before them.
6206 (ruby-beginning-of-indent): Adjust for above. Search until the
6207 found point is not inside a string or comment.
6208 (ruby-font-lock-keywords): Allow symbols to start with "@"
6209 character, give them higher priority than variables.
6210 (ruby-syntax-propertize-function)
6211 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6212 matchers. Expression expansions are not comments when inside a
6213 string, and there comment syntax status is irrelevant.
6214 (ruby-match-expression-expansion): New function. Check that
6215 expression expansion is inside a string, and it's not escaped.
6216 (ruby-font-lock-keywords): Use it.
6217
6218 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6219
6220 * help.el (temp-buffer-max-height): New default value.
6221 (temp-buffer-resize-frames): New option.
6222 (resize-temp-buffer-window): Optionally resize frame.
6223
6224 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6225 (fit-frame-to-buffer): New function.
6226
6227 2012-09-05 Glenn Morris <rgm@gnu.org>
6228
6229 * emulation/cua-rect.el (cua--init-rectangles):
6230 * textmodes/picture.el (picture-mode-map):
6231 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6232 like forward-char and backward-char. (Bug#12317)
6233
6234 2012-09-05 Leo Liu <sdl.web@gmail.com>
6235
6236 * progmodes/flymake.el (flymake-warning-re): New variable.
6237 (flymake-parse-line): Use it.
6238
6239 2012-09-05 Glenn Morris <rgm@gnu.org>
6240
6241 * calendar/holidays.el (holiday-christian-holidays):
6242 Rename an entry. (Bug#12289)
6243
6244 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6245
6246 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6247 (bug#12222).
6248
6249 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6250
6251 * loadup.el: Load macroexp. Remove hack.
6252 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6253 (macroexp--expand-all): Use it to get better warnings.
6254 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6255 (internal-macroexpand-for-load): New functions.
6256 (macroexp--pending-eager-loads): New var.
6257 (emacs-startup-hook): New hack to replace one in loadup.el.
6258 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6259 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6260 (cl-psetf): Simplify.
6261 (cl-defstruct): Add indent rule.
6262
6263 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6264
6265 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6266 over `user-mail-address' for the SMTP MAIL FROM envelope.
6267 (smtpmail-via-smtp): Ditto.
6268
6269 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6270
6271 * progmodes/ruby-mode.el: Clean up keybindings.
6272 (ruby-mode-map): Don't bind ruby-electric-brace,
6273 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6274 backward-kill-word, reindent-then-newline-and-indent.
6275 (ruby-mark-defun): Remove.
6276 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6277 (ruby-mode): Set local beginning-of-defun-function and
6278 end-of-defun-function values.
6279
6280 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6281
6282 * window.el (temp-buffer-window-setup-hook)
6283 (temp-buffer-window-show-hook): New hooks.
6284 (temp-buffer-window-setup, temp-buffer-window-show)
6285 (with-temp-buffer-window): New functions.
6286 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6287 (special-display-popup-frame): Make sure the window used shows BUFFER.
6288
6289 * help.el (temp-buffer-resize-mode): Fix doc-string.
6290 (resize-temp-buffer-window): New optional argument WINDOW.
6291
6292 * files.el (recover-file, save-buffers-kill-emacs):
6293 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6294
6295 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6296
6297 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6298 remote definition of `default-directory', ensure we can connect.
6299
6300 2012-09-02 Juri Linkov <juri@jurta.org>
6301
6302 Toggle whitespace matching mode with M-s SPC.
6303 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6304
6305 * isearch.el (search-whitespace-regexp): Doc fix.
6306 Remove cons cell customization.
6307 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6308 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6309 New variables.
6310 (isearch-forward, isearch-forward-regexp): Doc fix.
6311 (isearch-toggle-lax-whitespace): New command.
6312 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6313 (re-search-forward-lax-whitespace)
6314 (re-search-backward-lax-whitespace): New functions.
6315 (isearch-whitespace-regexp): Remove function.
6316 (isearch-query-replace): Let-bind replace-search-function and
6317 replace-re-search-function.
6318 (isearch-occur): Let-bind search-spaces-regexp according to the
6319 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6320 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6321 condition for C-q SPC.
6322 (isearch-search-fun-default): Use new functions mentioned above.
6323 (isearch-search-forward, isearch-search-backward): Remove functions.
6324 (isearch-search): Don't let-bind search-spaces-regexp.
6325 (isearch-lazy-highlight-space-regexp): Remove variable.
6326 (isearch-lazy-highlight-lax-whitespace)
6327 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6328 (isearch-lazy-highlight-new-loop): Use them.
6329 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6330
6331 2012-09-02 Chong Yidong <cyd@gnu.org>
6332
6333 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6334
6335 2012-09-02 Glenn Morris <rgm@gnu.org>
6336
6337 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6338
6339 2012-09-01 Glenn Morris <rgm@gnu.org>
6340
6341 * term.el: Tidy up menu definitions.
6342 (term-mode-map): Use easymenu for In/Out, Complete menus.
6343 (term-pager-break-map): Initialize in the defvar.
6344 (term-terminal-menu, term-signals-menu): Define with easymenu.
6345 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6346 (term-pager-menu): New, extracted from term-process-pager.
6347 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6348 (term-update-mode-line): Propertize line/char and page items.
6349 (term-process-pager): Move keymap initialization elsewhere.
6350
6351 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6352
6353 * window.el (switch-to-prev-buffer): Handle additional values of
6354 BURY-OR-KILL argument. Don't switch in minibuffer window.
6355 (switch-to-next-buffer): Don't switch in minibuffer window.
6356 (quit-restore-window): New function based on quit-window.
6357 Handle additional values of former KILL argument.
6358 (quit-window): Call quit-restore-window with appropriate
6359 interpretation of KILL argument.
6360 (display-buffer-below-selected): New buffer display action
6361 function.
6362
6363 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6364
6365 * minibuffer.el (completion-at-point-functions): Complete docstring
6366 (bug#12254).
6367
6368 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6369
6370 Better seed support for (random).
6371 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6372 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6373 * play/mpuz.el, play/tetris.el, play/zone.el:
6374 * calc/calc-comb.el (math-init-random-base):
6375 * play/blackbox.el (bb-init-board):
6376 * play/life.el (life):
6377 * server.el (server-use-tcp):
6378 * type-break.el (type-break):
6379 Remove unnecessary call to (random t).
6380 * net/sasl.el (sasl-unique-id-function):
6381 Change (random t) to (random), now that the latter is more random.
6382 * play/life.el (life-initialized): Remove no-longer-needed var.
6383
6384 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6385
6386 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6387 Consider frame's buffer predicate when choosing the buffer.
6388 (Bug#12081)
6389
6390 2012-08-30 Richard Stallman <rms@gnu.org>
6391
6392 * simple.el (special-mode-map): Delete binding for `z'.
6393
6394 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6395
6396 * progmodes/compile.el (compilation-always-kill): Doc fix.
6397
6398 2012-08-30 Chong Yidong <cyd@gnu.org>
6399
6400 * window.el (display-buffer-reuse-frames): Make the obsolescence
6401 message more informative.
6402
6403 2012-08-30 Glenn Morris <rgm@gnu.org>
6404
6405 * paren.el (show-paren-delay):
6406 Add a :set function. Doc fix. (Bug#12297)
6407
6408 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6409
6410 * progmodes/compile.el (compilation-always-kill): New var.
6411 (compilation-start): Use it.
6412
6413 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6414
6415 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6416 * files.el (read-only-mode): Move to simple.el.
6417
6418 * files.el (read-only-mode): New minor mode.
6419 (toggle-read-only): Use it and mark obsolete.
6420 (find-file--read-only):
6421 * vc/vc.el (vc-next-action, vc-checkout):
6422 * vc/vc-cvs.el (vc-cvs-checkout):
6423 * obsolete/vc-mcvs.el (vc-mcvs-update):
6424 * ffap.el (ffap--toggle-read-only): Update callers.
6425
6426 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6427
6428 * eshell/esh-ext.el (eshell-external-command): Do not examine
6429 remote shell scripts.
6430 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6431
6432 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6433 "/usr/local/sbin".
6434
6435 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6436
6437 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6438
6439 2012-08-28 Leo Liu <sdl.web@gmail.com>
6440
6441 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6442 completion-at-point. (Bug#12220)
6443
6444 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6445
6446 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6447
6448 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6449
6450 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6451 be buffer-local; add delete-trailing-whitespace (bug#12259).
6452
6453 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6454
6455 * progmodes/hideif.el (hif-compress-define-list):
6456 Fix typo. (Bug#11951)
6457
6458 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6459
6460 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6461 buffer local setting.
6462
6463 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6464 rcirc-encode-coding-system.
6465
6466 2012-08-28 Leo Liu <sdl.web@gmail.com>
6467
6468 * net/rcirc.el (rcirc-split-message): New function.
6469 (rcirc-send-message): Use it. (Bug#12051)
6470
6471 2012-08-28 Juri Linkov <juri@jurta.org>
6472
6473 * info.el (Info-fontify-node): Hide empty lines at the end of
6474 the node. (Bug#12272)
6475
6476 2012-08-27 Drew Adams <drew.adams@oracle.com>
6477
6478 * dired.el (dired-pop-to-buffer): Make window start at beginning
6479 of buffer (Bug#12281).
6480
6481 2012-08-26 Chong Yidong <cyd@gnu.org>
6482
6483 * window.el (special-display-regexps, special-display-frame-alist)
6484 (special-display-buffer-names, special-display-function)
6485 (display-buffer-reuse-frames): Mark as obsolete.
6486
6487 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6488
6489 * help.el (help-print-return-message): Don't treat
6490 display-buffer-reuse-frames specially.
6491
6492 2012-08-26 Chong Yidong <cyd@gnu.org>
6493
6494 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6495 New variable, replacing gdb-frame-parameters.
6496 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6497 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6498 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6499 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6500 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6501 the functions directly with gdb-display-buffer-other-frame-action.
6502 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6503 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6504 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6505 (gdb-display-registers-buffer): Define directly.
6506 (def-gdb-display-buffer): Macro deleted.
6507 (gdb-display-buffer): Remove second and third args, callers don't
6508 use them. Defer to the default display-buffer behavior, apart
6509 from making windows dedicated.
6510 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6511
6512 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6513
6514 * window.el (display-buffer-pop-up-frame): Handle a
6515 pop-up-frame-parameters alist entry.
6516 (display-buffer): Document it.
6517
6518 2012-08-26 Chong Yidong <cyd@gnu.org>
6519
6520 * isearch.el (search-whitespace-regexp): Make string and nil
6521 values apply to both ordinary and regexp search. Allow a cons
6522 cell value to distinguish between the two.
6523 (isearch-whitespace-regexp, isearch-search-forward)
6524 (isearch-search-backward): New functions.
6525 (isearch-occur, isearch-search-fun-default, isearch-search)
6526 (isearch-lazy-highlight-new-loop): Use them.
6527 (isearch-forward, isearch-forward-regexp): Doc fix.
6528
6529 2012-08-26 Chong Yidong <cyd@gnu.org>
6530
6531 * faces.el (help-argument-name): Always inherit from italic
6532 (Bug#12213).
6533
6534 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6535
6536 * window.el (window--even-window-heights): Even heights when
6537 WINDOW and the selected window form a vertical combination.
6538 (display-buffer-use-some-window): Provide that window used gets
6539 sized back by quit-window. (Bug#11880) and (Bug#12091)
6540
6541 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6542
6543 Fix file time stamp problem with bzr and CVS (Bug#12001).
6544 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6545 in the file's time stamp, since the version control system loses
6546 that information.
6547
6548 2012-08-22 Juri Linkov <juri@jurta.org>
6549
6550 * info.el (Info-fontify-node): Hide the suffix of the
6551 Info file name in the header line. (Bug#12187)
6552
6553 2012-08-22 Glenn Morris <rgm@gnu.org>
6554
6555 * calendar/cal-tex.el (cal-tex-weekly-common):
6556 Restore leading blank page.
6557
6558 2012-08-22 Le Wang <l26wang@gmail.com>
6559
6560 * misc.el (forward-to-word, backward-to-word): Activate or extend
6561 the region under `shift-select-mode'. (Bug#12231)
6562
6563 2012-08-22 Bastien Guerry <bzg@gnu.org>
6564
6565 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6566 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6567 gives details on why the space is never needed.
6568
6569 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6570
6571 * window.el (walk-window-tree, window-with-parameter):
6572 New optional argument MINIBUF to control whether these functions
6573 should run on the minibuffer window.
6574 (window-at-side-list): Don't operate on minibuffer window.
6575 (window-in-direction): Simplify and rewrite doc-string.
6576 (window--size-ignore): Rename to window--size-ignore-p.
6577 Update callers.
6578 (display-buffer-in-atom-window, window--major-non-side-window)
6579 (window--major-side-window, display-buffer-in-major-side-window)
6580 (delete-side-window, display-buffer-in-side-window):
6581 New functions.
6582 (window--side-check, window-deletable-p, delete-window)
6583 (delete-other-windows, split-window): Handle side windows and
6584 atomic windows appropriately.
6585 (window--display-buffer): Call display-buffer-record-window also
6586 when the window buffer did not change.
6587
6588 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6589
6590 * help-fns.el (help-fns--key-bindings):
6591 Abbreviate non-symbol remap targets. (Bug#12174)
6592
6593 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6594
6595 * dired.el (dired-mark-remembered): Don't clobber point.
6596 (Bug#11795)
6597
6598 2012-08-22 Glenn Morris <rgm@gnu.org>
6599
6600 * progmodes/bug-reference.el (bug-reference): New custom group.
6601 (bug-reference-bug-regexp): Make it a defcustom.
6602
6603 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6604
6605 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6606 (js-paren-indent-offset, js-square-indent-offset)
6607 (js-curly-indent-offset): Add :safe (Bug#12257).
6608
6609 2012-08-22 Edward O'Connor <hober0@gmail.com>
6610
6611 * json.el (json-key-format): Add error properties.
6612 (json-encode-key): New function.
6613 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6614 Use json-encode-key.
6615
6616 2012-08-22 Glenn Morris <rgm@gnu.org>
6617
6618 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6619 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6620 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6621 Update for above change.
6622
6623 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6624
6625 * cus-face.el (custom-face-attributes): Fix customize type for the
6626 :underline attribute. (Bug#11805)
6627
6628 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6629
6630 * window.el (window-point-1, set-window-point-1): Remove.
6631 (window-in-direction, record-window-buffer)
6632 (set-window-buffer-start-and-point, split-window-below)
6633 (window--state-get-1, display-buffer-record-window):
6634 Replace calls to window-point-1 and set-window-point-1 by calls to
6635 window-point and set-window-point respectively.
6636
6637 2012-08-21 Glenn Morris <rgm@gnu.org>
6638
6639 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6640 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6641 Use it.
6642
6643 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6644 (cal-tex-shortday): New function.
6645 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6646 (cal-tex-cursor-filofax-daily): Use the above.
6647
6648 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6649 New functions.
6650 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6651 (cal-tex-cursor-filofax-week): Use them.
6652
6653 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6654 New constants.
6655 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6656 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6657
6658 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6659 (cal-tex-end-document): Don't rely on buffer name.
6660
6661 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6662 Use cal-tex-vspace.
6663 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6664 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6665 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6666 Use cal-tex-arg.
6667
6668 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6669 (cal-tex-cursor-week, cal-tex-cursor-week2)
6670 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6671 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6672 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6673 (cal-tex-insert-preamble, cal-tex-b-document)
6674 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6675 Improve cal-tex-cmd usage.
6676
6677 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6678 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6679 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6680 (cal-tex-weekly-paper): New function.
6681 (cal-tex-cursor-week, cal-tex-cursor-week2)
6682 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6683 (cal-tex-cursor-day): Use it.
6684
6685 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6686 (cal-tex-cursor-filofax-week): Remove leading blank page.
6687
6688 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6689 Add autoload cookie. For now at least, don't use color, since
6690 no other cal-tex function does.
6691
6692 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6693 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6694 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6695
6696 2012-08-21 Juri Linkov <juri@jurta.org>
6697
6698 * info.el (Info-file-attributes): New variable.
6699 (info-insert-file-contents): Add file attributes to
6700 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6701 `Info-toc-nodes' when previous modtime of the Info file is less
6702 than new modtime.
6703 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6704 of info.el. (Bug#12230)
6705
6706 2012-08-20 Glenn Morris <rgm@gnu.org>
6707
6708 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6709 * calendar/holidays.el (calendar-holiday-list):
6710 Report errors with display-warning rather than beep'n'sleep.
6711
6712 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6713
6714 * net/tramp.el (tramp-accept-process-output): Accept only output
6715 from PROC. Otherwise, process filters and sentinels might be
6716 confused. (Bug#12145)
6717
6718 2012-08-20 Chong Yidong <cyd@gnu.org>
6719
6720 * descr-text.el (describe-text-properties-1): Use overlays-in to
6721 report on empty overlays (Bug#3322).
6722
6723 2012-08-20 Glenn Morris <rgm@gnu.org>
6724
6725 * mail/rmailout.el (rmail-output-read-file-name):
6726 Trap and report errors in rmail-output-file-alist elements.
6727
6728 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6729 since most non-font-lock faces are not also variables).
6730
6731 2012-08-20 Edward Reingold <reingold@iit.edu>
6732
6733 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6734 New function. (Bug12160)
6735
6736 2012-08-19 Glenn Morris <rgm@gnu.org>
6737
6738 * mail/rmailout.el (rmail-output-read-file-name):
6739 Fix previous change (when the alist is nil or does not match).
6740
6741 2012-08-19 Chong Yidong <cyd@gnu.org>
6742
6743 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6744 (Bug#12228).
6745
6746 2012-08-18 Chong Yidong <cyd@gnu.org>
6747
6748 * simple.el (yank-handled-properties): New defcustom.
6749 (yank-excluded-properties): Add font-lock-face and category.
6750 (yank): Doc fix.
6751
6752 * subr.el (remove-yank-excluded-properties):
6753 Obey yank-handled-properties. The special handling of font-lock-face
6754 and category is now done this way, instead of being hard-coded.
6755 (insert-for-yank-1): Remove font-lock-face handling.
6756 (yank-handle-font-lock-face-property)
6757 (yank-handle-category-property): New function.
6758
6759 2012-08-17 Glenn Morris <rgm@gnu.org>
6760
6761 * mail/rmailout.el (rmail-output-read-file-name):
6762 Check rmail-output-file-alist against the full message body
6763 in the correct rmail buffer. (Bug#12214)
6764
6765 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
6766
6767 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6768 Eliminate superfluous prompt. (Bug#12203)
6769
6770 2012-08-17 Chong Yidong <cyd@gnu.org>
6771
6772 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6773 font spec, set the font directly (Bug#3228).
6774
6775 2012-08-17 Martin Rudalics <rudalics@gmx.at>
6776
6777 * window.el (delete-window): Fix last fix.
6778
6779 2012-08-16 Martin Rudalics <rudalics@gmx.at>
6780
6781 * window.el (window-valid-p): Move to window.c.
6782 (window-child, window-child-count, window-last-child)
6783 (window-normalize-window, window-combined-p)
6784 (window-combinations, window-atom-root, window-min-size)
6785 (window-sizable, window-sizable-p, window-size-fixed-p)
6786 (window-min-delta, window-max-delta, window--resizable)
6787 (window--resizable-p, window-resizable, window-total-size)
6788 (window-full-height-p, window-full-width-p, window-body-size)
6789 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6790 (minimize-window, window-deletable-p, delete-window)
6791 (delete-other-windows, set-window-buffer-start-and-point)
6792 (next-buffer, previous-buffer, split-window, balance-windows-2)
6793 (set-window-text-height, window-buffer-height)
6794 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6795 (truncated-partial-width-window-p): Minor code adjustments.
6796 In doc-strings state whether the argument window has to denote a
6797 live, valid or any window.
6798
6799 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6800
6801 * progmodes/subword.el (subword-forward-function)
6802 (subword-backward-function, subword-forward-regexp)
6803 (subword-backward-regexp): New variables.
6804 (subword-forward, subword-forward-internal, subword-backward-internal):
6805 Use new variables, eg so that different "word" definitions
6806 can be easily used. (Bug#11411)
6807
6808 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6811 for composite selectors.
6812 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6813 operation just because we can't find a previous revision.
6814
6815 2012-08-15 Chong Yidong <cyd@gnu.org>
6816
6817 * frame.el (set-frame-font): Accept font objects.
6818
6819 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6820
6821 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6822
6823 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6824
6825 * man.el (Man-overstrike-face, Man-underline-face)
6826 (Man-reverse-face): Remove variables.
6827 (Man-overstrike, Man-underline, Man-reverse): New faces.
6828 (Man-fontify-manpage): Use them instead of the variables.
6829 (Man-cleanup-manpage): Comment change.
6830 (Man-ansi-color-map): New variable.
6831 (Man-fontify-manpage): Use it.
6832 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6833
6834 Implement ANSI SGR parameters 22-27 (bug#12146).
6835 * ansi-color.el (ansi-colors): Doc fix.
6836 (ansi-color-context, ansi-color-context-region): Doc fix.
6837 (ansi-color--find-face): New function.
6838 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6839 Rename the local variable `face' to `codes' since it is now a list of
6840 ansi codes. Doc fix.
6841 (ansi-color-get-face): Remove.
6842 (ansi-color-parse-sequence): New function, derived from
6843 ansi-color-get-face.
6844 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6845 codes 22-27.
6846
6847 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6848
6849 * subr.el (read-passwd): Allow use from a minibuffer.
6850
6851 2012-08-14 Eli Zaretskii <eliz@gnu.org>
6852
6853 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6854 inside comments and strings as identifiers.
6855
6856 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6857 expression to evaluate. This allows to evaluate expressions with
6858 embedded whitespace.
6859 (gud-tooltip-tips): Add a blank before the newline in the
6860 message-box text, for the benefit of message-box emulation on
6861 MS-Windows.
6862
6863 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6864 messages from GDB, pop them up in a tooltip to give feedback to
6865 user.
6866 (gdb-tooltip-print-1): Quote the expression to evaluate.
6867 This allows to evaluate expressions with embedded whitespace.
6868 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6869 if the TTY name is nil or empty (which happens when communicating
6870 with the inferior via pipes, e.g. on MS-Windows).
6871 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6872 don't send that to the GUD buffer.
6873
6874 2012-08-14 Glenn Morris <rgm@gnu.org>
6875
6876 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6877 Optimize away setq-default with no args, as for setq. (Bug#12195)
6878
6879 2012-08-14 Chong Yidong <cyd@gnu.org>
6880
6881 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6882
6883 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6884 (Bug#12085).
6885
6886 2012-08-14 Glenn Morris <rgm@gnu.org>
6887
6888 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6889
6890 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
6891
6892 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6893 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6894 Use cached shell name.
6895
6896 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6897
6898 * progmodes/python.el (python-shell-send-string):
6899 (python-shell-send-setup-code): Do not use `format' with `message'.
6900
6901 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6902
6903 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6904 (ruby-percent-literal-beg-re): New constant.
6905 (ruby-syntax-general-delimiters-goto-beg): Rename to
6906 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6907 (ruby-syntax-propertize-general-delimiters): Rename to
6908 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6909 popular term. Adjust comments everywhere.
6910 (ruby-syntax-propertize-percent-literal): Only propertize when not
6911 inside a simple string or comment. When the literal is unclosed,
6912 leave the text after it unpropertized.
6913 (ruby-syntax-methods-before-regexp): New constant.
6914 (ruby-syntax-propertize-function): Use it to recognize regexps.
6915 Don't look at the text after regexp, just use the whitelist.
6916
6917 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6918
6919 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6920 non-nil always load the compiled file if it exists. (Bug#12197)
6921
6922 2012-08-14 Chong Yidong <cyd@gnu.org>
6923
6924 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6925 (hi-lock-set-pattern): When deciding whether to use font lock or
6926 overlays, look at font-lock-mode instead of font-lock-fontified
6927 (Bug#12168).
6928 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6929 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6930
6931 2012-08-14 Daiki Ueno <ueno@unixuser.org>
6932
6933 * subr.el (internal--after-with-selected-window): Fix typo
6934 (Bug#12193).
6935
6936 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6937
6938 Use `completion-table-dynamic' for completion functions.
6939 * progmodes/python.el
6940 (python-shell-completion--do-completion-at-point)
6941 (python-shell-completion--get-completions):
6942 Remove functions.
6943 (python-shell-completion-complete-at-point): New function.
6944 (python-completion-complete-at-point): Use it.
6945
6946 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
6947
6948 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6949 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6950
6951 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6952
6953 * subr.el (function-get): Refine `autoload' arg so it can also
6954 autoload functions for gv.el (bug#12191).
6955 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6956 autoloads macros.
6957
6958 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6959 Prefer pcase-let over destructuring-bind.
6960 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6961 Also, remove whitespace as we go, rather than after accumulating the
6962 various places.
6963
6964 * subr.el (internal--before-with-selected-window)
6965 (internal--after-with-selected-window): Fix typo seleted->selected.
6966 (with-selected-window): Adjust callers.
6967 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6968
6969 2012-08-13 Bastien Guerry <bzg@gnu.org>
6970
6971 * window.el (special-display-popup-frame): Minor docstring
6972 enhancement. (Bug#12172)
6973
6974 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6975
6976 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6977 type 1-6.
6978 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6979 extended headers.
6980
6981 * files.el (hack-local-variables-filter): Remove useless eval.
6982
6983 2012-08-13 Martin Rudalics <rudalics@gmx.at>
6984
6985 * subr.el (with-selected-window): Fix last change.
6986
6987 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6988
6989 * subr.el (internal--before-with-seleted-window)
6990 (internal--after-with-seleted-window): New functions.
6991 (with-selected-window): Use them, to replace dependency on
6992 tty-top-frame.
6993
6994 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6995
6996 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6997 binding for `newline'.
6998 (ruby-move-to-block): When moving backward, stop at block opening,
6999 not indentation.
7000 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7001 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7002 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7003 `ruby-toggle-block'.
7004
7005 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7006
7007 * ibuffer.el (ibuffer-do-toggle-read-only):
7008 * dired.el (dired-toggle-read-only):
7009 * buff-menu.el (Buffer-menu-toggle-read-only):
7010 * bindings.el (mode-line-toggle-read-only):
7011 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7012
7013 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7014
7015 * descr-text.el (describe-char): Put the overlays over the
7016 "displayed as" character.
7017
7018 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7019
7020 * calc/calc-units.el (math-default-units-table): Give an
7021 initial value.
7022 (math-put-default-units): Add options to put composite units and
7023 unit systems in the default units table.
7024 (calc-convert-units): Send composite units to
7025 `math-put-default-units' when appropriate.
7026
7027 2012-08-11 Glenn Morris <rgm@gnu.org>
7028
7029 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7030
7031 * tutorial.el (help-with-tutorial):
7032 * emacs-lisp/copyright.el (copyright-update-directory):
7033 * emacs-lisp/autoload.el (autoload-find-generated-file)
7034 (autoload-find-file): Disable local eval: (for insurance).
7035
7036 * files.el (hack-local-variables-filter): If an eval: form is not
7037 known to be safe, and enable-local-variables is :safe, then ignore
7038 the form totally, as is done for non-eval forms. (Bug#12155)
7039 This is CVE-2012-3479.
7040
7041 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7042
7043 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7044 (rx-form): Simplify.
7045
7046 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7047
7048 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7049 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7050 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7051 (ruby-syntax-propertize-function): Adjust for changes in
7052 `ruby-syntax-propertize-heredoc'.
7053
7054 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7055
7056 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7057 binding (use `M-;' instead).
7058 (ruby-singleton-class-p): New function.
7059 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7060
7061 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7062
7063 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7064
7065 2012-08-10 Chong Yidong <cyd@gnu.org>
7066
7067 * progmodes/python.el (python-shell-get-process-name): Don't mess
7068 with same-window-buffer-names.
7069
7070 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7071 (eshell-remove-from-window-buffer-names): Make obsolete.
7072 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7073 (eshell): Just use pop-to-buffer-same-window instead.
7074
7075 2012-08-10 Chong Yidong <cyd@gnu.org>
7076
7077 * bindings.el: Bind M-= back to count-words-region.
7078
7079 * simple.el (count-words-region): Accept a prefix arg for acting
7080 on the entire buffer.
7081 (count-words--buffer-message): New helper function.
7082
7083 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7084
7085 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7086 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7087 (event-start, event-end): Use posn-at-point to return a more
7088 informative posn.
7089 (posnp): New function.
7090 * mouse.el (popup-menu-normalize-position): Use it.
7091
7092 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7093
7094 * mouse.el (popup-menu-normalize-position): New function.
7095 (popup-menu): Use `popup-menu-normalize-position' to normalize
7096 the form for POSITION argument.
7097
7098 * term/x-win.el (x-menu-bar-open):
7099 Use the value returend from (posn-at-point) as position
7100 passed to `popup-menu'.
7101
7102 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7103
7104 * calc/calccomp.el (math-compose-expr): Add extra argument
7105 indicating that parentheses should be put around products in
7106 denominators. Give multiplication precedence over division during
7107 composition.
7108
7109 2012-08-09 Chong Yidong <cyd@gnu.org>
7110
7111 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7112 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7113 (Man-untabify-command, manual-program): Convert to defcustom
7114 (Bug#10429).
7115
7116 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7117
7118 * descr-text.el (describe-char): Don't insert extra newlines
7119 (Bug#10127).
7120
7121 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7122 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7123
7124 * align.el (align-region): Delete temporary markers (Bug#10047).
7125 Plus some code cleanups.
7126
7127 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7128
7129 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7130 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7131 (python-shell-internal-last-output): Use make-local-variable
7132 instead of make-variable-buffer-local.
7133
7134 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7135
7136 * progmodes/python.el: Enhancements to forward-sexp.
7137 (python-nav-forward-sexp): Rename from
7138 python-nav-forward-sexp-function.
7139 (python-nav--forward-sexp, python-nav--backward-sexp):
7140 New functions.
7141
7142 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7143
7144 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7145 modes and simplification modes.
7146
7147 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7148
7149 * delsel.el (delete-selection-pre-hook): Don't propagate the
7150 file-supersession signals (bug#12161).
7151
7152 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7153
7154 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7155 (cl-map-extents): Add compatibility aliases (bug#12135).
7156
7157 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7158
7159 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7160 tests by `ignore-error'.
7161 (tramp-find-shell): Open also a new shell, when cache is already
7162 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7163
7164 2012-08-08 Juri Linkov <juri@jurta.org>
7165
7166 * bookmark.el: Add `defaults' property to the bookmark record.
7167 (bookmark-current-buffer): Doc fix.
7168 (bookmark-make-record): Add `defaults' property with default values
7169 to the bookmark record.
7170 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7171 with `bookmark-insert-current-bookmark'.
7172 (bookmark-set): Get `defaults' property from the bookmark record
7173 and use it in `read-from-minibuffer'.
7174 (bookmark-insert-current-bookmark): Remove function.
7175
7176 * info.el (Info-bookmark-make-record): Add `defaults' property
7177 with values of canonical Info node name, the current Info file
7178 name and the current Info node name. (Bug#12107)
7179
7180 2012-08-08 Juri Linkov <juri@jurta.org>
7181
7182 * files.el (basic-save-buffer): Use `buffer-name' as the default
7183 of `read-file-name' when buffer is not visiting a file (bug#12128).
7184
7185 2012-08-08 Juri Linkov <juri@jurta.org>
7186
7187 * info.el (Info-isearch-search): Doc fix.
7188 (Info-search): Change search-failed message from "initial node" to
7189 "end of node" (bug#12078).
7190 (Info-isearch-search): Change `isearch-string-state' to
7191 `isearch--state-string'.
7192
7193 2012-08-08 Glenn Morris <rgm@gnu.org>
7194
7195 * language/persian.el: Remove file.
7196 * language/misc-lang.el: Move unique part of persian.el here.
7197 * loadup.el: Remove language/persian.
7198
7199 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7200
7201 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7202
7203 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7204
7205 * progmodes/python.el: Fix defsubst warning.
7206 (python-syntax-context) Rename from python-info-ppss-context.
7207 (python-syntax-context-type): Rename from
7208 python-info-ppss-context-type.
7209 (python-syntax-comment-or-string-p): Rename from
7210 python-info-ppss-comment-or-string-p.
7211
7212 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7213
7214 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7215
7216 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7217
7218 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7219 a defcustom that is quoted with backquote.
7220
7221 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7222 Fix handling of interactive spec when the body uses return.
7223 (math-do-arg-check, math-define-function-body): Use backquote forms.
7224 * calc/calc-ext.el (math-defcache): Likewise.
7225 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7226 * allout.el (allout-new-exposure): Likewise.
7227 * calc/calcalg2.el (math-tracing-integral): Likewise.
7228 * info.el (Info-last-menu-item): Likewise.
7229 * emulation/vip.el (vip-loop): Likewise.
7230 * textmodes/artist.el (artist-funcall): Likewise.
7231 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7232 Construct menu-item directly.
7233
7234 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7235 Don't declare.
7236
7237 2012-08-07 Chong Yidong <cyd@gnu.org>
7238
7239 * simple.el (deactivate-mark): Preserve text properties when
7240 saving the primary selection (Bug#8384).
7241
7242 2012-08-07 Kevin Ryde <user42@zip.com.au>
7243
7244 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7245 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7246 and continue processing (Bug#12110).
7247
7248 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7249
7250 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7251 syntax-propertize-function (bug#10095).
7252
7253 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7254
7255 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7256 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7257 describe-function-1.
7258 (describe-function-1): Use them. Move compiler macro after sig.
7259 (help-fns--compiler-macro): Use function-get. Assume we're already in
7260 standard-output. Adjust layout to new call order.
7261
7262 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7263 re-binding a symbol that has a symbol-macro (bug#12119).
7264
7265 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7266
7267 * language/persian.el: New file. (Bug#11812)
7268 * loadup.el: Add language/persian.el.
7269
7270 2012-08-06 Chong Yidong <cyd@gnu.org>
7271
7272 * window.el (window--maybe-raise-frame): New function.
7273 (window--display-buffer): Split off from here.
7274 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7275 (display-buffer-pop-up-window, display-buffer-use-some-window):
7276 Obey an inhibit-switch-frame action alist entry.
7277 (display-buffer): Update doc.
7278
7279 * replace.el (occur-after-change-function): Avoid losing focus by
7280 using the inhibit-switch-frame display parameter (Bug#12139).
7281
7282 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7283
7284 Make internal shell process buffer names start with space.
7285 * progmodes/python.el (python-shell-make-comint): Add optional
7286 argument INTERNAL.
7287 (run-python-internal): Use it.
7288 (python-shell-internal-get-or-create-process): Check for new
7289 internal buffer names.
7290
7291 2012-08-06 Glenn Morris <rgm@gnu.org>
7292
7293 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7294 Do less getting and setting of environment variables.
7295
7296 2012-08-05 Chong Yidong <cyd@gnu.org>
7297
7298 * proced.el (proced): Add substitution string to docstring to
7299 trigger autoloading of the proced library on C-h f (Bug#1768).
7300
7301 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7302 Don't show defvars which have no second argument (Bug#8638).
7303
7304 * imenu.el (imenu-generic-expression): Move documentation here
7305 from imenu--generic-function.
7306 (imenu--generic-function): Refer to imenu-generic-expression.
7307
7308 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7309
7310 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7311 indentation declaration.
7312 (viper-loop): Add indentation declaration (Bug#7025).
7313
7314 2012-08-05 Chong Yidong <cyd@gnu.org>
7315
7316 * help-fns.el (describe-variable): Add hyperlink for
7317 directory-local variables files. Improve buffer-local and
7318 permanent-local reporting; suggested by MON KEY (Bug#6644).
7319
7320 * help-mode.el (help-dir-local-var-def): New button type.
7321
7322 * files.el (kill-buffer-hook): Provide a defvar.
7323
7324 2012-08-05 Glenn Morris <rgm@gnu.org>
7325
7326 * eshell/esh-ext.el (eshell/addpath):
7327 Also update eshell-path-env. (Bug#12013)
7328
7329 2012-08-05 Chong Yidong <cyd@gnu.org>
7330
7331 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7332
7333 * fringe.el (fringe-styles): Add docstring.
7334 (fringe--check-mode): New function.
7335 (set-fringe-mode, set-fringe-style): Use it.
7336 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7337
7338 * files.el (set-auto-mode): Fix invalid setq call.
7339
7340 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7341
7342 * isearch.el: Misc simplification; use defstruct.
7343 (isearch-mode-map): Dense maps now work like sparse ones.
7344 (isearch--state): New defstruct.
7345 (isearch-string-state, isearch-message-state, isearch-point-state)
7346 (isearch-success-state, isearch-forward-state)
7347 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7348 (isearch-wrapped-state, isearch-barrier-state)
7349 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7350 replaced by defstruct's accessors.
7351 (isearch--set-state): Rename from isearch-top-state and change
7352 calling convention.
7353 (isearch-push-state): Use new isearch--get-state.
7354 (isearch-toggle-word): Disable regexp when enabling word.
7355 (isearch-message-prefix): Remove unused arg _c-q-hack.
7356 (isearch-message-suffix): Remove unused arg _ellipsis.
7357
7358 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7359
7360 * simple.el (list-processes--refresh): For a server use :host or
7361 :local as the address.
7362 (list-processes): Doc fix.
7363
7364 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7365
7366 * lisp/mpc.el: Support password in host argument.
7367 (mpc--proc-connect): Parse and use new password element.
7368 Set mpc-proc variable instead of returning process.
7369 (mpc-proc): Adjust accordingly.
7370
7371 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7372
7373 * whitespace.el (whitespace-display-mappings): Use Unicode
7374 codepoints, instead of emacs-mule codepoints. See
7375 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7376 for the details.
7377
7378 * files.el (file-truename): Don't skip symlink-chasing part on
7379 windows-nt. Incorporate the resolution of 8+3 short aliases on
7380 Windows into the loop that recursively chases symlinks.
7381 Compare directory and its parent case-insensitively on MS-Windows and
7382 MS-DOS.
7383
7384 2012-08-03 Chong Yidong <cyd@gnu.org>
7385
7386 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7387
7388 * sort.el (sort-regexp-fields): Doc fix.
7389
7390 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7391
7392 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7393 labels regex position point at the expected place.
7394
7395 2012-08-03 MON KEY <monkey@sandpframing.com>
7396
7397 * net/imap.el (imap-interactive-login, imap-authenticate)
7398 (imap-mailbox-lsub, imap-mailbox-list)
7399 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7400 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7401 (imap-parse-response): Doc fix.
7402
7403 2012-08-03 João Távora <joaotavora@gmail.com>
7404
7405 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7406 if sexp scanning does not move point (Bug#5734).
7407
7408 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7409
7410 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7411 Add listings, minted, and ctable packages.
7412 (reftex-label-alist-builtin): Move listings, minted, and ctable
7413 entries before LaTeX.
7414 (reftex-label-alist): Docfix.
7415
7416 2012-08-02 Bastien Guerry <bzg@gnu.org>
7417
7418 * replace.el (occur): Fix docstring (bug#12122).
7419
7420 2012-08-02 Glenn Morris <rgm@gnu.org>
7421
7422 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7423
7424 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7425
7426 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7427 * international/mule-cmds.el: Create
7428 inactivate-current-input-method-function as an obsolete alias for
7429 deactivate-current-input-method-function. See Katsumi Yamaoka in
7430 <http://bugs.gnu.org/10150#46>.
7431
7432 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7433
7434 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7435 of nested `if's.
7436
7437 2012-08-01 Glenn Morris <rgm@gnu.org>
7438
7439 * progmodes/autoconf.el (autoconf-definition-regexp):
7440 Add AH_TEMPLATE, adjust submatch numbering.
7441 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7442 (autoconf-current-defun-function): Update for above change.
7443 (autoconf-current-defun-function): First skip to end of current word.
7444
7445 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7446
7447 * calendar/cal-html.el (cal-html-insert-agenda-days):
7448 Fix typo. (Bug#12018)
7449
7450 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7451
7452 Shell processes: enhancements to startup and CEDET compatibility.
7453 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7454 (python-shell-make-comint): accept-process-output at startup.
7455 (run-python-internal): Set inferior-python-mode-hook to nil.
7456 (python-shell-internal-get-or-create-process): call sit-for.
7457 (python-preoutput-result): Add obsolete alias.
7458 (python-shell-internal-send-string): Use it.
7459 (python-shell-send-setup-code): Remove call to
7460 accept-process-output.
7461
7462 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7463
7464 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7465 (Bug#12108)
7466
7467 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7468
7469 * calc-mode.el (calc-basic-simplification-mode): Rename from
7470 `calc-limited-simplification-mode'.
7471 (calc-alg-simplification-mode): New function.
7472 (calc-set-simplify-mode): Adjust message.
7473
7474 * calc.el (calc-set-mode-line): Adjust mode line display for
7475 basic simplification mode.
7476
7477 * calc-help.el (calc-m-prefix-help): Update help message.
7478
7479 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7480 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7481
7482 2012-07-31 Bastien Guerry <bzg@gnu.org>
7483
7484 * man.el (man): Fix comment. (bug#12101)
7485
7486 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7487
7488 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7489 Don't return a non-nil value when no suitable buffer was found.
7490
7491 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7492
7493 * progmodes/python.el (run-python-internal): Disable font lock for
7494 internal shells.
7495
7496 2012-07-30 Stefan Merten <smerten@oekonux.de>
7497
7498 * textmodes/rst.el: Silence `checkdoc-ispell'.
7499 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7500 (rst-official-version, rst-official-cvs-rev)
7501 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7502 (rst-mode-map): New key binding.
7503
7504 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7505
7506 Update .PHONY listings in makefiles.
7507 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7508 autoloads, update-subdirs, updates, bzr-update, update-authors,
7509 compile-onefile, compile-calc, backup-compiled-files,
7510 compile-after-backup, compile-one-process, mh-autoloads,
7511 bootstrap-clean, distclean, maintainer-clean.
7512
7513 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7514
7515 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7516 (calc-set-mode-line): Don't display "AlgSimp ".
7517
7518 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7519 (calc-lim-simplify-mode): New function.
7520 (calc-set-simplify-mode): Default to 'alg.
7521 (calc-default-simplify-mode): Make algebraic simplifications
7522 the default.
7523
7524 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7525 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7526
7527 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7528 indicate new simplification modes.
7529
7530 * calc/README: Mention new default simplification mode.
7531
7532 * calc/calc.el (math-normalize-error): New variable.
7533 (math-normalize): Set `math-normalize-error' to t
7534 when there's an error.
7535
7536 * calc/calc-alg.el (math-simplify): Don't simplify when
7537 `math-normalize' returns an error.
7538
7539 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7540
7541 * international/mule-cmds.el (set-locale-environment): Revert last
7542 change, since display-graphic-p returns nil when this function is
7543 called during startup. Instead...
7544
7545 * term/w32console.el (terminal-init-w32console): ...setup the
7546 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7547
7548 2012-07-29 Juri Linkov <juri@jurta.org>
7549
7550 * simple.el (goto-line): Don't display default line number in the
7551 prompt because it should be displayed by `read-number' (bug#9952).
7552 Add the current line number to the defaults of `goto-line' to
7553 allow its easier modification by users with `M-n' (bug#9201).
7554
7555 * subr.el (read-number): Support multiple default values like in
7556 other minibuffer reading functions. Replace `read' with
7557 `string-to-number' for consistency with `number-to-string'.
7558
7559 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7560
7561 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7562 * emulation/viper-init.el (viper-deactivate-input-method-action):
7563 Rename from viper-inactivate-input-method-action.
7564 (viper-deactivate-input-method):
7565 Rename from viper-inactivate-input-method.
7566 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7567 * international/mule-cmds.el (deactivate-input-method):
7568 Rename from inactivate-input-method.
7569 Also run input-method-deactivate-hook.
7570 (deactivate-current-input-method-function):
7571 Rename from inactivate-current-input-method-function.
7572 (input-method-deactivate-hook): New hook.
7573 (input-method-inactivate-hook): Mark obsolete.
7574 (inactivate-input-method): Mark obsolete.
7575
7576 * international/quail.el (quail-activate):
7577 Also run quail-deactivate-hook.
7578 (quail-deactivate): Rename from quail-inactivate.
7579 * international/robin.el (robin-activate):
7580 Also run robin-deactivate-hook.
7581 (robin-deactivate): Rename from robin-inactivate.
7582
7583 2012-07-29 Chong Yidong <cyd@gnu.org>
7584
7585 * simple.el (indicate-copied-region): New function.
7586 (kill-ring-save): Split off from here.
7587
7588 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7589 (kill-rectangle): Set deactivate-mark to t on read-only error.
7590
7591 * register.el (copy-to-register, copy-rectangle-to-register):
7592 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7593 (append-to-register, prepend-to-register): Call indicate-copied-region.
7594
7595 2012-07-29 Juri Linkov <juri@jurta.org>
7596
7597 * simple.el (async-shell-command-buffer): New defcustom.
7598 (shell-command): Use it. (Bug#4719)
7599
7600 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7601
7602 * international/mule-cmds.el (set-locale-environment): In a
7603 console session on MS-Windows, set up keyboard and terminal
7604 encoding from the OEM codepage, not the ANSI codepage.
7605 (Bug#12055)
7606
7607 2012-07-28 Chong Yidong <cyd@gnu.org>
7608
7609 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7610 gdb-get-location.
7611
7612 2012-07-28 Leo Liu <sdl.web@gmail.com>
7613
7614 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7615 the alist (bug#12029).
7616
7617 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7618
7619 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7620 (compile-always, compile-first)
7621 ($(lisp)/calendar/cal-loaddefs.el)
7622 ($(lisp)/calendar/diary-loaddefs.el)
7623 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7624 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7625 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7626 instead of on update-subdirs.
7627 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7628
7629 2012-07-28 Chong Yidong <cyd@gnu.org>
7630
7631 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7632 directory if vc-deduce-backend returns nil (Bug#7350).
7633
7634 * simple.el (delete-trailing-lines): New option.
7635 (delete-trailing-whitespace): Obey it (Bug#11879).
7636
7637 2012-07-28 David Engster <deng@randomsample.de>
7638
7639 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7640 Explanation of new 'symbol-qnames feature in doc-strings.
7641 (xml-maybe-do-ns): Return expanded names as plain symbols if
7642 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7643 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7644
7645 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7646
7647 Consistent completion in inferior python with emacs -nw.
7648 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7649 binding in inferior-python-mode-map with "\t".
7650 (python-shell-completion-complete-at-point)
7651 (python-completion-complete-at-point): Remove interactive spec.
7652
7653 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7654
7655 * calc/calccomp.el (math-compose-expr): Undo previous change.
7656
7657 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7658
7659 * progmodes/python.el (python-mode-map): Add keybinding for
7660 run-python.
7661 (python-shell-make-comint): Fix pop-to-buffer call.
7662 (run-python): Autoload. New arg SHOW.
7663 (python-shell-get-or-create-process): Do not pop python process
7664 buffer.
7665
7666 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7667
7668 * notifications.el (notifications-on-action-signal)
7669 (notifications-on-closed-signal): Use also the bus address for the map.
7670 (notifications-notify, notifications-close-notification)
7671 (notifications-get-capabilities): Add optional argument BUS.
7672
7673 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7674
7675 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7676 Add support for the lstlisting and minted environments, and for the
7677 ctable macro.
7678 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7679 labels written in keyvals syntax.
7680
7681 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7682
7683 * calc/calccomp.el (math-compose-expr): Use parentheses when
7684 there is a product in the denominator of a fraction.
7685
7686 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7687
7688 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7689 ($(lisp)/calendar/diary-loaddefs.el)
7690 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7691 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7692 Fixes failures in parallel bootstrap because subdirs.el is being
7693 rewritten while the autoload files are built at the same time,
7694 which needs to load subdirs.el.
7695
7696 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7697
7698 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7699 (mouse-drag-line): Don't exit tracking when a switch-frame or
7700 switch-window event occurs (Bug#12006).
7701
7702 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7703
7704 * mouse.el (popup-menu): Fix last change.
7705
7706 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7707
7708 Autoload from Lisp with more care. Follow aliases when looking for
7709 function properties.
7710 * subr.el (autoloadp): New function.
7711 (symbol-file): Use it.
7712 (function-get): New function.
7713 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7714 autoload-do-load.
7715 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7716 (lisp-indent-function):
7717 * emacs-lisp/gv.el (gv-get):
7718 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7719 * emacs-lisp/byte-opt.el (byte-optimize-form):
7720 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7721 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7722 Use function-get.
7723 * emacs-lisp/cl.el: Don't propagate function properties any more.
7724
7725 * speedbar.el (speedbar-add-localized-speedbar-support):
7726 * emacs-lisp/disass.el (disassemble-internal):
7727 * desktop.el (desktop-load-file):
7728 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7729 (describe-function-1):
7730 * emacs-lisp/find-func.el (find-function-noselect):
7731 * emacs-lisp/elp.el (elp-instrument-function):
7732 * emacs-lisp/advice.el (ad-has-proper-definition):
7733 * apropos.el (apropos-safe-documentation, apropos-macrop):
7734 * emacs-lisp/debug.el (debug-on-entry):
7735 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7736 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7737 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7738
7739 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7740
7741 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7742 function, not an obsolete variable (Bug#12046).
7743
7744 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7745
7746 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7747
7748 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7749
7750 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7751 window only if it is still live (Bug#12034).
7752
7753 2012-07-25 Martin Rudalics <rudalics@gmx.at>
7754
7755 * subr.el (redirect-frame-focus): Add advertised calling
7756 convention (Bug#12030).
7757
7758 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7759
7760 Prefer typical American spelling for "acknowledgment".
7761 * vc/add-log.el (change-log-acknowledgment): Rename from
7762 change-log-acknowledgement, with an alias for the old name.
7763
7764 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7765
7766 * calc-alg.el (math-simplify-divide): Don't cross multiply
7767 in an equation when the lhs is a variable.
7768
7769 2012-07-24 Julien Danjou <julien@danjou.info>
7770
7771 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7772 Remove, unused.
7773
7774 2012-07-23 Eli Zaretskii <eliz@gnu.org>
7775
7776 * startup.el (command-line): Don't display an empty user name in
7777 the error message about non-existent home directory, when
7778 init-file-user was set to an empty string. See
7779 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7780 for the details and context.
7781
7782 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7783
7784 * ses.el (ses-cell-formula-aset): New macro.
7785 (ses-cell-references-aset): New macro.
7786 (ses-cell-p): New function.
7787 (ses-rename-cell): Do no longer rely on complex operations like
7788 ses-cell-set-formula or ses-set-cell to change the cell and handle
7789 the undo at the same time, but rather use lower level new macros
7790 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7791 the undo directly. Refresh the mode line.
7792
7793 2012-07-21 Leo Liu <sdl.web@gmail.com>
7794
7795 * progmodes/cc-cmds.el (c-defun-name):
7796 Use match-string-no-properties instead for consistency.
7797
7798 2012-07-20 Leo Liu <sdl.web@gmail.com>
7799
7800 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7801 (Bug#7879)
7802
7803 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7804
7805 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7806
7807 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7808 * progmodes/bug-reference.el, misearch.el: Provide themselves
7809 (bug#11915).
7810
7811 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7812 of narrowed buffer (bug#11966).
7813
7814 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7815
7816 * ses.el (ses-rename-cell): Set new name also in reference list of
7817 cells of which the renamed cell depends.
7818
7819 2012-07-20 Masatake YAMATO <yamato@redhat.com>
7820
7821 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7822 to check whether menu-bar is shown or not. If not shown,
7823 show the menu-bar as a popup menu instead of using tmm.
7824 * mouse.el (popup-menu): Accept `point' as `position' argument.
7825
7826 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7827
7828 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7829 up inside string symbol literal (bug#11923).
7830
7831 2012-07-20 Eli Zaretskii <eliz@gnu.org>
7832
7833 * startup.el (fancy-startup-text): Read the whole tutorial, not
7834 just its first 256 bytes. Prevents gibberish in display of the
7835 tutorial title.
7836
7837 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7838
7839 Drop idle buffer compaction due to an absence of the
7840 proved efficiency.
7841 * compact.el: Remove.
7842
7843 2012-07-19 Sam Steingold <sds@gnu.org>
7844
7845 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7846 vc-bzr-pull & vc-bzr-merge-branch.
7847 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7848 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7849 for consistency with compilation-error-regexp-alist.
7850 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7851 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7852 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7853 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7854
7855 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7856
7857 * emacs-lisp/chart.el: Use lexical-binding.
7858 (chart-emacs-storage): Don't hardcode the list of entries.
7859
7860 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7861
7862 Next round of tweaks caused by Fgarbage_collect changes.
7863 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7864
7865 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7866
7867 Compact buffers when idle.
7868 * compact.el: New file.
7869
7870 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7871
7872 * subr.el (eventp): Presume that if it looks vaguely like an event,
7873 it's an event (bug#10190).
7874
7875 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7876
7877 Enhancements to ppss related code (thanks Stefan).
7878 * progmodes/python.el (python-indent-context)
7879 (python-indent-calculate-indentation, python-indent-dedent-line)
7880 (python-indent-electric-colon, python-nav-forward-block)
7881 (python-mode-abbrev-table)
7882 (python-info-assignment-continuation-line-p): Simplify checks
7883 for ppss context.
7884 (python-info-continuation-line-p): Cleanup.
7885 (python-info-ppss-context): Do not catch 'quote.
7886 (python-info-ppss-context-type)
7887 (python-info-ppss-comment-or-string-p): Simplify.
7888
7889 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7890
7891 * progmodes/python.el: Enhancements to eldoc support.
7892 (python-info-current-symbol): New function.
7893 (python-eldoc-at-point): Use python-info-current-symbol.
7894 (python-info-current-defun): Fix cornercase on first defun scan.
7895 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7896 and signal error when no inferior python process is available.
7897
7898 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7899
7900 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7901 assume it's always t.
7902 (vc-git-registered): Remove caching, the function is only called
7903 once.
7904 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7905
7906 2012-07-18 Chong Yidong <cyd@gnu.org>
7907
7908 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7909
7910 * simple.el (count-words): Report on narrowing (Bug#9959).
7911
7912 * bindings.el: Bind M-= to count-words.
7913
7914 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7915
7916 2012-07-18 Masatake YAMATO <yamato@redhat.com>
7917
7918 * progmodes/sh-script.el (sh-imenu-generic-expression):
7919 Capture a function with `function' keyword and without parentheses
7920 like "function FOO" (bug#11856).
7921
7922 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7923
7924 * window.el (split-window-sensibly): Make WINDOW argument
7925 optional.
7926
7927 2012-07-18 Chong Yidong <cyd@gnu.org>
7928
7929 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7930
7931 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7932 and make C-x 8 RET exit isearch (Bug#11439).
7933
7934 * international/iso-transl.el: Move isearch-mode-map key
7935 definitions to isearch.el.
7936
7937 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7938
7939 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7940 (eieio-defclass): Use gv-define-setter when possible.
7941
7942 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7943
7944 Reflect recent changes in Fgarbage_collect.
7945 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7946 reflect new format of data returned by Fgarbage_collect.
7947
7948 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7949
7950 New utility functions + python-info-ppss-context fix (Bug#11910).
7951 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7952 (python-info-ppss-comment-or-string-p): New functions.
7953 (python-info-ppss-context): Small fix for string check.
7954
7955 2012-07-17 Juri Linkov <juri@jurta.org>
7956
7957 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7958 (dired-do-async-shell-command): Don't add `*' at the end of the
7959 command (Bug#11815).
7960 (dired-do-shell-command): Doc fix.
7961 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7962 Join the individual commands using either "&" or ";" as the
7963 separator depending on the values of these trailing characters.
7964 At the end re-add the trailing "&". (Bug#10598)
7965
7966 * simple.el (async-shell-command): Sync the interactive spec with
7967 `shell-command'. Doc fix.
7968 (shell-command): Doc fix.
7969
7970 2012-07-17 Juri Linkov <juri@jurta.org>
7971
7972 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7973
7974 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7975
7976 Final renames and doc fixes for movement commands (bug#11899).
7977 * progmodes/python.el (python-nav-beginning-of-statement):
7978 Rename from python-nav-statement-start.
7979 (python-nav-end-of-statement): Rename from
7980 python-nav-statement-end.
7981 (python-nav-beginning-of-block): Rename from
7982 python-nav-block-start.
7983 (python-nav-end-of-block): Rename from python-nav-block-end.
7984
7985 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7986
7987 * progmodes/python.el (python-shell-send-string-no-output):
7988 Allow accept-process-output to quit, keeping shell process ready for
7989 future interactions (Bug#11868).
7990
7991 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7992
7993 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7994
7995 * emacs-lisp/elint.el (elint-find-args-in-code):
7996 Use help-function-arglist, so as to handle lexical byte-code.
7997
7998 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7999 change (bug#11826).
8000
8001 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8002
8003 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8004 Avoid spuriously marking the buffer as modified because of c-is-sws.
8005
8006 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8007 as not-a-comment (bug#11946).
8008
8009 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8010 for uninterned vars.
8011
8012 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8013 Use read-event since we don't really want to read chars but bytes.
8014
8015 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8016 $$..$$ but also $..$ using regexps (bug#11953).
8017 Use tex-verbatim for \url and \path.
8018 (tex-font-lock-keywords): Define as defconst like the others.
8019 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8020
8021 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8022
8023 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8024 alias for insert-char.
8025
8026 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8027
8028 * progmodes/python.el: Simplified imenu implementation.
8029 (python-nav-jump-to-defun): Remove command.
8030 (python-mode-map): Use `imenu' instead.
8031 (python-nav-list-defun-positions-cache)
8032 (python-imenu-include-defun-type, python-imenu-make-tree)
8033 (python-imenu-subtree-root-label, python-imenu-index-alist):
8034 Remove vars.
8035 (python-nav-list-defun-positions, python-nav-read-defun)
8036 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8037 (python-imenu-make-tree, python-imenu-create-index):
8038 Remove functions.
8039 (python-mode): Update to interact with imenu by setting
8040 `imenu-extract-index-name-function' only.
8041
8042 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8043
8044 * progmodes/python.el: Enhancements to navigation commands.
8045 (python-nav-backward-sentence)
8046 (python-nav-forward-sentence): Remove.
8047 (python-nav-backward-statement, python-nav-forward-statement)
8048 (python-nav-statement-start, python-nav-statement-end)
8049 (python-nav-backward-block, python-nav-forward-block)
8050 (python-nav-block-start, python-nav-block-end)
8051 (python-nav-forward-sexp-function)
8052 (python-info-current-line-comment-p)
8053 (python-info-current-line-empty-p): New functions.
8054 (python-indent-context): Use `python-nav-statement-start'.
8055
8056 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8057
8058 * eshell/em-ls.el (eshell/ls): Use `apply'.
8059
8060 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8061 multi-hops, instead of Tramp internals.
8062
8063 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8064
8065 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8066 when F1 and F2 are located on different hosts.
8067
8068 2012-07-14 Chong Yidong <cyd@gnu.org>
8069
8070 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8071 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8072 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8073 (xterm-mouse--read-event-sequence-1000)
8074 (xterm-mouse--read-event-sequence-1006): New functions. For old
8075 mouse protocol, handle M-mouse-X events correctly.
8076 (xterm-mouse-event): New arg specifying mouse protocol.
8077 (turn-on-xterm-mouse-tracking-on-terminal)
8078 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8079 sequence to toggle extended coordinates on newer XTerms.
8080 This appears to be harmless on terminals which do not support this.
8081
8082 2012-07-14 Leo Liu <sdl.web@gmail.com>
8083
8084 Add fringe bitmap indicators for flymake. (Bug#11253)
8085 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8086 (flymake-make-overlay): New arg BITMAP.
8087 (flymake-error-bitmap, flymake-warning-bitmap)
8088 (flymake-fringe-indicator-position): New user variables.
8089
8090 * fringe.el: New bitmap exclamation-mark.
8091
8092 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8093
8094 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8095 also (Bug#7879).
8096
8097 2012-07-14 Chong Yidong <cyd@gnu.org>
8098
8099 * electric.el (electric-pair-post-self-insert-function): Fix pair
8100 insertion in empty-region case (Bug#11520).
8101
8102 2012-07-14 Chong Yidong <cyd@gnu.org>
8103
8104 * bindings.el: Consolidate ctl-x-r-map bindings.
8105 Bind copy-rectangle-as-kill to C-x r w.
8106
8107 * rect.el, register.el: Move bindings to bindings.el.
8108
8109 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8110
8111 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8112
8113 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8114
8115 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8116
8117 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8118
8119 * bindings.el (top): Use `mapc' instead of `mapcar'.
8120
8121 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8122
8123 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8124
8125 * progmodes/sql.el (sql-comint): Suppress the check for program on
8126 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8127 (Bug#11908)
8128
8129 2012-07-13 Chong Yidong <cyd@gnu.org>
8130
8131 * bindings.el: Assign a non-nil permanent-local property to
8132 per-buffer variables which lack a default value (Bug#11930).
8133
8134 * help-fns.el (describe-variable): In the "automatically becomes
8135 local" notice, take note of permanent-local variables.
8136
8137 2012-07-13 Chong Yidong <cyd@gnu.org>
8138
8139 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8140 to allow printing the message when called from Lisp.
8141
8142 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8143 Remove toggle-read-only.
8144
8145 * bs.el (bs-toggle-readonly):
8146 * buff-menu.el (Buffer-menu-toggle-read-only):
8147 Remove with-no-warnings around toggle-read-only.
8148
8149 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8150 Remove with-no-warnings around toggle-read-only.
8151 (ffap-read-only, ffap-read-only-other-window)
8152 (ffap-read-only-other-frame): Callers changed.
8153
8154 * help-mode.el: Don't require view package.
8155 (help-mode-finish): Set buffer-read-only instead of calling
8156 toggle-read-only.
8157
8158 * bindings.el (mode-line-toggle-read-only):
8159 * dired.el (dired-toggle-read-only):
8160 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8161 with non-nil second arg.
8162
8163 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8164 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8165 directly.
8166
8167 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8168
8169 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8170 not incf.
8171
8172 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8173
8174 More CL cleanups and reduction of use of cl.el.
8175 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8176 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8177 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8178 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8179 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8180 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8181 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8182 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8183 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8184 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8185 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8186 * eshell/em-cmpl.el, eshell/em-banner.el:
8187 * calendar/parse-time.el: Use cl-lib.
8188 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8189 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8190 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8191 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8192 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8193 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8194 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8195 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8196 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8197 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8198 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8199 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8200 `lambda' rather than with `quote'.
8201 (eshell-do-opt): Adjust accordingly.
8202 (eshell-process-option): Simplify.
8203 * eshell/esh-var.el:
8204 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8205 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8206 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8207 to `pcase--dontcare'.
8208 * emacs-lisp/cl.el (labels): Mark obsolete.
8209 (cl--letf, letf): Move to cl-lib.
8210 (cl--letf*, letf*): Remove.
8211 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8212 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8213 (cl-progv): Rewrite.
8214 (cl--letf, cl-letf): Move from cl.el.
8215 (cl-letf*): New macro.
8216 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8217
8218 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8219
8220 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8221
8222 2012-07-11 Chong Yidong <cyd@gnu.org>
8223
8224 * vc/log-edit.el (log-edit-vc-backend): New variable.
8225 (log-edit): Doc fix.
8226
8227 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8228 argument of log-edit to set up all local variables.
8229 (vc-start-logentry): New optional arg specifying VC backend.
8230
8231 * vc/vc.el (vc-checkin): Use it.
8232 (vc-deduce-fileset): Handle Log Edit buffers.
8233 (vc-diff): Make first argument optional too.
8234
8235 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8236
8237 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8238
8239 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8240 command, just in case. The function is not needed anymore.
8241 (eshell-external-command): Do not call `eshell-remote-command'.
8242
8243 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8244
8245 Reduce use of (require 'cl).
8246 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8247 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8248 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8249 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8250 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8251 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8252 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8253 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8254 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8255 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8256 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8257 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8258 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8259 (byte-compile-unfold-bcf, byte-compile-check-variable):
8260 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8261 (byte-compile-nilconstp):
8262 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8263 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8264
8265 * emacs-lisp/gv.el (cond): Make it a valid place.
8266 (if): Simplify slightly.
8267
8268 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8269 (pcase--self-quoting-p): New function.
8270 (pcase--u1): Use it.
8271
8272 2012-07-10 Glenn Morris <rgm@gnu.org>
8273
8274 * emacs-lisp/authors.el (authors-fixed-entries):
8275 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8276
8277 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8278
8279 Rename configure.in to configure.ac (Bug#11603).
8280 * emacs-lisp/authors.el (authors-canonical-file-name):
8281 * progmodes/autoconf.el (autoconf-mode):
8282 Prefer configure.ac to configure.in.
8283
8284 2012-07-08 Chong Yidong <cyd@gnu.org>
8285
8286 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8287 Implement the mouse-1-click-follows-link handling properly.
8288
8289 * info.el (Info-link-keymap): Use follow-link mechanism for
8290 header-line links (Bug#374).
8291
8292 * simple.el (deactivate-mark): Do not set the primary selection
8293 if another program has acquired it (Bug#11772).
8294
8295 2012-07-07 Kevin Ryde <user42@zip.com.au>
8296
8297 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8298 (woman-decode-region): Replace escaped-escapes without destroying
8299 bold or underline (Bug#11552).
8300 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8301
8302 2012-07-07 Chong Yidong <cyd@gnu.org>
8303
8304 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8305 (interprogram-cut-function, interprogram-paste-function):
8306 Mention that we typically mean the clipboard.
8307
8308 2012-07-06 Glenn Morris <rgm@gnu.org>
8309
8310 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8311
8312 * files.el (toggle-read-only): Restrict message to interactive use.
8313
8314 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8315
8316 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8317
8318 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8319
8320 2012-07-06 Glenn Morris <rgm@gnu.org>
8321
8322 * Makefile.in (compile-one-process): Rename from "recompile".
8323
8324 * Makefile.in (bzr-update): "compile" is the same as "recompile
8325 autoloads", but parallelizable, so use that instead.
8326
8327 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8328
8329 * window.el (quit-window): Always restore window height when
8330 it's saved in quit-restore parameter (Bug#11810).
8331
8332 2012-07-06 Glenn Morris <rgm@gnu.org>
8333
8334 * simple.el (kill-whole-line): Doc tweak.
8335
8336 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8337
8338 * files.el (file-relative-name): Compare file names
8339 case-insensitively if on MS-Windows or MS-DOS, or if
8340 read-file-name-completion-ignore-case is non-nil. Don't use
8341 case-fold-search for this purpose. (Bug#11827)
8342
8343 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8344
8345 * calendar/cal-dst.el (calendar-current-time-zone):
8346 Return calendar-current-time-zone-cache if non-nil.
8347
8348 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8349 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8350
8351 * calendar/cal-dst.el (calendar-current-time-zone):
8352 Return calendar-current-time-zone-cache if non-nil.
8353
8354 2012-07-06 Glenn Morris <rgm@gnu.org>
8355
8356 * Makefile.in (cvs-update): Remove old alias.
8357
8358 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8359
8360 Sync with Tramp 2.2.6-pre.
8361
8362 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8363 compatible declaration.
8364
8365 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8366 Protect `list-load-path-shadows' call.
8367
8368 * net/tramp-compat.el (top): Require packages, which aren't
8369 autoloaded anymore for XEmacs. Protect call of
8370 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8371 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8372 it hurts at least for SXEmacs.
8373 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8374 standard-value for `temporary-file-directory'.
8375
8376 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8377 Redirect stderr to /dev/null.
8378 (tramp-sh-handle-write-region): uid and gid can be floats.
8379 Reported by Russell Sim <russell.sim@gmail.com>.
8380 (tramp-sh-handle-vc-registered): Hide errors.
8381 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8382 and `start-file-process'.
8383 (tramp-maybe-open-connection): Check also whether `non-essential'
8384 is bound.
8385
8386 2012-07-04 Chong Yidong <cyd@gnu.org>
8387
8388 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8389 (xml-parse-tag): Likewise, and avoid changing entity tables.
8390 (xml-syntax-table): Define from scratch, making sure not to give
8391 x2000 and other Unicode spaces whitespace syntax, since those are
8392 not spaces in XML.
8393 (xml-parse-fragment): Delete unused function.
8394 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8395 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8396 (xml-entity-ref, xml-pe-reference-re)
8397 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8398 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8399 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8400 (xml-entity-value-re): Use syntax references in regexps where
8401 possible; no need to define inside a let-binding.
8402 (xml-parse-dtd): Use xml-pe-reference-re.
8403 (xml-entity-or-char-ref-re): New defconst.
8404 (xml-parse-string, xml-substitute-special): Use it.
8405
8406 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8407
8408 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8409 (find-file--read-only): New function.
8410 (find-file-read-only, find-file-read-only-other-window)
8411 (find-file-read-only-other-frame): Use it.
8412 (insert-file-contents-literally): Don't `fset'.
8413 (get-free-disk-space): Use locate-dominating-file.
8414
8415 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8416 function is already compiled.
8417
8418 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8419
8420 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8421
8422 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8423 files on the same host.
8424
8425 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8426
8427 * help-fns.el (describe-function-1): Only call
8428 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8429
8430 2012-07-03 Chong Yidong <cyd@gnu.org>
8431
8432 * xml.el: Protect parser against XML bombs.
8433 (xml-entity-expansion-limit): New variable.
8434 (xml-parse-string, xml-substitute-special): Use it.
8435 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8436
8437 2012-07-03 Glenn Morris <rgm@gnu.org>
8438
8439 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8440 Allow linking to specific messages in debbugs reports (eg 123#5).
8441
8442 2012-07-02 Chong Yidong <cyd@gnu.org>
8443
8444 * xml.el: Fix entity and character reference expansion, allowing
8445 them to expand into markup as per XML spec.
8446 (xml-default-ns): New variable.
8447 (xml-entity-alist): Use XML spec definitions for lt and amp.
8448 (xml-parse-region): Make first two arguments optional.
8449 Discard text properties.
8450 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8451 All callers changed.
8452 (xml-parse-tag): Call xml-parse-tag-1. For backward
8453 compatibility, this function should not modify buffer contents.
8454 (xml-parse-tag-1): Fix opening-tag regexp.
8455 (xml-parse-string): Rewrite, handling entity and character
8456 references properly.
8457 (xml--entity-replacement-text): Signal an error if a parameter
8458 entity is undefined.
8459
8460 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8461
8462 * comint.el (comint-output-filter): Filter out repeated prompts.
8463
8464 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8465 and file-name-absolute-p.
8466 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8467 internal calls.
8468
8469 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8470
8471 Spelling fixes.
8472 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8473 Rename from byte-compile--refiy-function. All uses changed.
8474
8475 2012-07-01 Chong Yidong <cyd@gnu.org>
8476
8477 * xml.el (xml--parse-buffer): New function. Move most of
8478 xml-parse-region here.
8479 (xml-parse-region): Copy region into a temporary buffer, since
8480 parameter entity substitution requires changing buffer contents.
8481 Use xml--parse-buffer.
8482 (xml-parse-file): Use xml--parse-buffer.
8483 (xml-parse-dtd): Make parameter entity substitution work right.
8484 Use proper regexps for ELEMENT declarations (Bug#7172).
8485
8486 2012-06-30 Glenn Morris <rgm@gnu.org>
8487
8488 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8489
8490 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8491 Remove outdated and unnecessary dbus declarations.
8492
8493 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8494
8495 * emacs-lisp/timer.el (timer-until): Subtract results of
8496 float-time, instead of taking float-time of the result of
8497 time-subtract, since float-time signals an error for negative time
8498 arguments.
8499
8500 2012-06-30 Chong Yidong <cyd@gnu.org>
8501
8502 * xml.el (xml-*-re): Convert defvars into defconsts, and
8503 eval-and-compile them so eval-and-compile works on derivatives.
8504 (xml--entity-replacement-text): Use eval-and-comple.
8505
8506 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8507
8508 * vc/vc-git.el (vc-git-registered): Use cache property
8509 `git-registered'.
8510 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8511 `vc-git-working-revision' in order to benefit from the cache.
8512 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8513
8514 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8515
8516 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8517 removed (likely outside Emacs). (Bug#11757)
8518
8519 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8520
8521 * emacs-lisp/cl-lib.el: Require macroexp.
8522
8523 2012-06-30 Chong Yidong <cyd@gnu.org>
8524
8525 * xml.el: Implement XML parameter entities.
8526 (xml-parameter-entity-alist): New variable.
8527 (xml-parse-region, xml-parse-fragment): Preserve previous values
8528 of xml-entity-alist and xml-parameter-entity-alist, so that
8529 repeated calls on different documents do not change them.
8530 (xml-parse-tag): Fix doctype regexp.
8531 (xml--entity-replacement-text): New function.
8532 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8533 properly requires url retrieval which is unimplemented.
8534 (xml-escape-string): Doc fix.
8535
8536 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8537
8538 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8539
8540 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8541
8542 * fringe.el (fringe-mode): Doc fix.
8543
8544 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8545
8546 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8547 is non-nil.
8548 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8549 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8550
8551 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8552
8553 * calendar/cal-dst.el (calendar-current-time-zone):
8554 Return calendar-current-time-zone-cache if non-nil.
8555
8556 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8557
8558 * progmodes/which-func.el (which-func-format):
8559 Add mouse-face. (Bug#11698)
8560
8561 2012-06-29 Leo Liu <sdl.web@gmail.com>
8562
8563 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8564
8565 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8566
8567 * minibuffer.el (minibuffer-confirm-exit-commands):
8568 Add completion-at-point (bug#11725).
8569
8570 2012-06-29 Glenn Morris <rgm@gnu.org>
8571
8572 * progmodes/f90.el (f90-font-lock-keywords-2):
8573 Add some preprocessor elements. (Bug#10499)
8574
8575 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8576
8577 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8578 Use syntax-propertize (bug#11739).
8579
8580 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8581
8582 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8583
8584 2012-06-28 Julien Danjou <julien@danjou.info>
8585
8586 * term.el (term-handle-colors-array): Use a set of new faces to
8587 color the terminal. Also uses :inverse-video property.
8588 (term-default-fg-color): Set to nil by default, deprecate in favor
8589 of `term-face'.
8590 (term-default-bg-color): Set to nil by default, deprecate in favor
8591 of `term-face'.
8592 (term-current-face): Use `term-face' by default.
8593 (term-bold-attribute): Variable deleted.
8594
8595 2012-06-28 Glenn Morris <rgm@gnu.org>
8596
8597 * simple.el (completion-list-mode-finish):
8598 Don't use toggle-read-only. (Since completion-list-mode has
8599 a special mode-class, it wasn't doing anything extra anyway.)
8600
8601 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8602
8603 Make inlining of other-mode interpreted functions work (bug#11799).
8604 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8605 (byte-compile): Use it to fix compilation of lexical-binding closures.
8606 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8607 function, if needed.
8608
8609 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8610
8611 * help-mode.el (help-make-xrefs): Don't just withstand
8612 cyclic-variable-indirection but any error in documentation-property.
8613
8614 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8615 memory use.
8616 * bindings.el (bindings--define-key): New function.
8617 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8618 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8619 * bindings.el: Use it to purecopy define-key bindings.
8620
8621 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8622
8623 * emacs-lisp/cl.el (flet): Mark obsolete.
8624 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8625 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8626 * progmodes/js.el (js-c-fill-paragraph):
8627 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8628 (ebrowse-switch-member-buffer-to-derived-class):
8629 * play/5x5.el (5x5-solver): Use cl-flet.
8630
8631 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8632 (cl--symbol-function): New macro.
8633 (cl--letf, cl--letf*): Use it.
8634
8635 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8636 Strip "toggle-" if any.
8637
8638 2012-06-27 Glenn Morris <rgm@gnu.org>
8639
8640 * info.el (Info-default-directory-list): Move here from paths.el.
8641 * paths.el: Remove file, which is now empty.
8642 * loadup.el: No longer load "paths".
8643
8644 * custom.el (custom-initialize-delay): Doc fix.
8645
8646 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8647 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8648 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8649 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8650 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8651 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8652 * eshell/eshell.el (eshell-defgroup): Remove alias.
8653
8654 2012-06-27 Chong Yidong <cyd@gnu.org>
8655
8656 * help.el (help-enable-auto-load): New variable.
8657
8658 * help-fns.el (help-fns--autoloaded-p): New function.
8659 (describe-function-1): Refer to a function as "autoloaded" if it
8660 was autoloaded at any time in the past. Perform autoloading if
8661 help-enable-auto-load is non-nil.
8662
8663 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8664
8665 * makefile.w32-in (compile, compile-always): Depend on
8666 update-subdirs, not on subdirs.el. Otherwise, several different
8667 sub-targets of 'bootstrap' running in parallel could
8668 simultaneously write to subdirs.el, producing a garbled file.
8669
8670 2012-06-26 Sam Steingold <sds@gnu.org>
8671
8672 * files.el (file-name-base): New convenience function.
8673 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8674 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8675 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8676 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8677 * textmodes/ispell.el, textmodes/reftex-ref.el:
8678 * textmodes/tex-mode.el: Use it.
8679 Did not touch cedet and org because they are maintained elsewhere.
8680
8681 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8682
8683 * calendar/calendar.el (calendar-exit): Don't try to delete or
8684 iconify last frame. See:
8685 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8686
8687 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8688
8689 * server.el (server-process-filter): Remember dir in the
8690 process's `server-client-directory' properties.
8691
8692 2012-06-24 Chong Yidong <cyd@gnu.org>
8693
8694 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8695 non-tag text.
8696
8697 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8698
8699 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8700
8701 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8702
8703 * help-fns.el (describe-variable): Don't croak when doc is not found.
8704 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8705 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8706 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8707 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8708 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8709 ((lambda ..) ..).
8710 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8711
8712 2012-06-23 Chong Yidong <cyd@gnu.org>
8713
8714 * info.el (Info-mouse-follow-link): Accept symbol values of
8715 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8716 (Info-fontify-node): Use Info-link-keymap for all navigation
8717 buttons, with link-args property to perform the desired action.
8718 (Info-link-keymap): Doc fix.
8719 (Info-next-link-keymap, Info-prev-link-keymap)
8720 (Info-up-link-keymap): Delete now-unused keymaps.
8721
8722 2012-06-23 Chong Yidong <cyd@gnu.org>
8723
8724 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8725
8726 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8727 system abbrevs.
8728
8729 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8730
8731 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8732
8733 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8734 (bug#11719).
8735
8736 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8737 the requote function doesn't work properly (bug#11714).
8738
8739 2012-06-23 Glenn Morris <rgm@gnu.org>
8740
8741 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8742
8743 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8744
8745 Further GV/CL cleanups.
8746 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8747 gv-expander.
8748 (gv--defun-declaration): New function.
8749 (defun-declarations-alist): Use it.
8750 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8751 (gv-place): Autoload.
8752 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8753 original definition of dotimes and dolist.
8754 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8755 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8756 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8757 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8758 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8759 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8760 to the function's definition.
8761 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8762 * window.el:
8763 * files.el:
8764 * faces.el:
8765 * env.el: Don't use CL.
8766
8767 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8768
8769 Support higher-resolution time stamps (Bug#9000).
8770
8771 * calendar/time-date.el (with-decoded-time-value): New arg
8772 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8773 (encode-time-value): New optional arg PICO. New type 3.
8774 (time-to-seconds) [!float-time]: Support the new picoseconds
8775 component if it's used.
8776 (seconds-to-time, time-subtract, time-add):
8777 Support ps-resolution time stamps as well.
8778
8779 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8780 (timerp): Timer vectors now have length 9, not 8.
8781 (timer--time): Support new-style (4-part) time stamps.
8782 (timer-next-integral-multiple-of-time): Time stamps now have
8783 picosecond resolution, so take a bit more care about rounding.
8784 (timer-relative-time, timer-inc-time): New optional arg psecs.
8785 (timer-set-time-with-usecs): Set psecs to 0.
8786 (timer--activate): Check psecs component, too.
8787
8788 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8789
8790 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8791
8792 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8793 Move the non-essential binding to the post/pre-command-hook where it is
8794 more obviously correct.
8795
8796 * subr.el (read-passwd): Don't use a history at all.
8797 * savehist.el (savehist-save): Remove password saved accidentally
8798 because of the above bug.
8799
8800 2012-06-22 Bastien Guerry <bzg@gnu.org>
8801
8802 * files.el (toggle-read-only): Display a message telling whether
8803 the buffer is read-only or not (bug#11726).
8804
8805 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8806
8807 * emacs-lisp/gv.el: New file.
8808 * subr.el (push, pop): Extend to generalized variables.
8809 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8810 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8811 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8812 gv-define-simple-setter, and gv-define-expander.
8813 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8814 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8815 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8816 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8817 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8818 gv-letplace.
8819 (cl-defstruct): Don't define setf-method any more.
8820 * emacs-lisp/cl.el (flet): Don't autoload.
8821 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8822 (define-setf-expander, defsetf, define-modify-macro)
8823 (cl-struct-setf-expander): Move from cl-lib.el.
8824 * emacs-lisp/syntax.el:
8825 * emacs-lisp/ewoc.el:
8826 * emacs-lisp/smie.el:
8827 * emacs-lisp/cconv.el:
8828 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8829 (timer--time): Use gv-define-simple-setter.
8830 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8831 to avoid coding-system problems in subr.el. Adjust all users.
8832 (macroexp--maxsize, macroexp-small-p): New functions.
8833 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8834 * scroll-bar.el (scroll-bar-mode):
8835 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8836 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8837 * winner.el (winner-configuration, winner-make-point-alist)
8838 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8839 * files.el (locate-file-completion-table): Avoid list*.
8840
8841 2012-06-22 Chong Yidong <cyd@gnu.org>
8842
8843 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8844 (dired-create-files): Doc fix (Bug#11329).
8845 (dired-do-copy): Doc fix (Bug#11334).
8846 (dired-mark-read-string): Doc fix (Bug#11553).
8847
8848 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8849 Doc fix (Bug#11326).
8850 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8851 (dired-dwim-target): Doc fix.
8852
8853 * wdired.el (wdired-mode): Doc fix.
8854
8855 2012-06-22 Glenn Morris <rgm@gnu.org>
8856
8857 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8858 (pcmpl-rpm-cache-stamp-file): New constant.
8859 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8860 (pcmpl-rpm-packages): Optionally cache list of packages.
8861
8862 * pcmpl-rpm.el (pcmpl-rpm): New group.
8863 (pcmpl-rpm-query-options): New option.
8864 (pcmpl-rpm-packages): No need to inline it.
8865 Use pcmpl-rpm-query-options.
8866
8867 * calendar/calendar.el (calendar-in-read-only-buffer):
8868 Avoid some needless mode changes.
8869
8870 2012-06-21 Chong Yidong <cyd@gnu.org>
8871
8872 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8873 (desktop-path): Remove . from the default value (Bug#10977).
8874 (desktop-read): Use user-emacs-directory if desktop-path is nil.
8875
8876 2012-06-20 Chong Yidong <cyd@gnu.org>
8877
8878 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8879
8880 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8881
8882 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8883 (bug#11201).
8884
8885 2012-06-20 Chong Yidong <cyd@gnu.org>
8886
8887 * term.el (term-window-width): Handle the case of a missing right
8888 fringe (Bug#8837).
8889 (term-check-size): Use window-text-height (Bug#5445).
8890 (term-mode): Use define-derived-mode. Minor cleanups.
8891 Set font-lock-defaults (Bug#7692).
8892 (term-move-columns, term-insert-char, term-emulate-terminal)
8893 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
8894
8895 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
8896
8897 * net/ange-ftp.el (ange-ftp-get-passwd):
8898 Bind `enable-recursive-minibuffers'.
8899 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8900
8901 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8902
8903 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8904
8905 2012-06-19 Glenn Morris <rgm@gnu.org>
8906
8907 * progmodes/python.el (python-mode): Derive from prog-mode.
8908
8909 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8910
8911 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8912 (edt-user-menu-bar-update-buffers): New functions.
8913 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8914
8915 2012-06-19 Chong Yidong <cyd@gnu.org>
8916
8917 * subr.el (with-selected-window): Preserve the selected window's
8918 terminal's top-frame (Bug#4702).
8919
8920 * window.el (save-selected-window): Likewise.
8921
8922 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8923
8924 * progmodes/python.el (python-rx-constituents): Move backquote.
8925 (python-skeleton-define, python-define-auxiliary-skeleton):
8926 Use `declare'.
8927
8928 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
8929
8930 * minibuffer.el (read-file-name-default): Revert the patch from
8931 2012-06-17.
8932
8933 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8934
8935 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8936 (pcase--u1, pcase--q1): Don't use apply-partially.
8937
8938 2012-06-18 Glenn Morris <rgm@gnu.org>
8939
8940 * progmodes/python.el (python-proc, python-buffer)
8941 (python-send-receive, python-send-string): Fix obsolete versions.
8942
8943 2012-06-18 Martin Rudalics <rudalics@gmx.at>
8944
8945 * window.el (special-display-p): Completely remove stringp
8946 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8947
8948 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
8949
8950 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8951
8952 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8953
8954 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8955 * net/tramp-sh.el (tramp-maybe-open-connection):
8956 Throw if `non-essential' is non-nil.
8957
8958 2012-06-17 Martin Rudalics <rudalics@gmx.at>
8959
8960 * window.el (special-display-p): Signal an error if BUFFER-NAME
8961 is not a string (Bug#11713).
8962
8963 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8964
8965 * progmodes/python.el (python-info-beginning-of-backslash):
8966 Rename from python-info-beginning-of-backlash, as a spelling fix.
8967
8968 2012-06-17 Chong Yidong <cyd@gnu.org>
8969
8970 * term.el (term-emulate-terminal): If term-check-size is called,
8971 move point to the process mark without resetting point (Bug#4635).
8972
8973 2012-06-17 Glenn Morris <rgm@gnu.org>
8974
8975 * international/mule-cmds.el (mule-menu-keymap)
8976 (set-language-environment, set-locale-environment): Doc tweaks.
8977
8978 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8979
8980 * cus-face.el (custom-face-attributes): Add wave-style underline
8981 attribute.
8982 * faces.el (set-face-attribute): Update docstring to describe
8983 wave-style underline attribute.
8984
8985 2012-06-16 Chong Yidong <cyd@gnu.org>
8986
8987 * term/xterm.el (terminal-init-xterm): Discard input before
8988 querying background mode (Bug#10959).
8989
8990 2012-06-16 Stefan Merten <smerten@oekonux.de>
8991
8992 * textmodes/rst.el: Added and corrected some comments.
8993 (rst-re-alist-def): Improve symbol syntax.
8994 (rst-mode-syntax-table): Correct syntax entries.
8995 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8996 (rst-official-version, rst-official-cvs-rev): Update version
8997 information.
8998
8999 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9000
9001 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9002 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9003
9004 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9005
9006 * progmodes/python.el: New python.el merge.
9007 (python-guess-indent): Obsolete var.
9008 (python-indent-guess-indent-offset): New defcustom.
9009 (python-indent): Obsolete var.
9010 (python-indent-offset): New defcustom.
9011 (python-python-command, python-jython-command): Delete var.
9012 (python-shell-interpreter): New defcustom.
9013 (python-pdbtrack-do-tracking-p): Delete var.
9014 (python-pdbtrack-activate): New defcustom.
9015 (python-use-skeletons): Obsolete var.
9016 (python-skeleton-autoinsert): New defcustom.
9017 (inferior-python-filter-regexp, python-continuation-offset)
9018 (python-honour-comment-indentation, python-indent-string-contents)
9019 (python-jython-packages, python-mode-hook)
9020 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9021 (python-shell-prompt-alist)
9022 (python-source-modes): Delete defcustoms.
9023 (python-check-buffer-name, python-eldoc-setup-code)
9024 (python-eldoc-string-code, python-ffap-setup-code)
9025 (python-ffap-string-code, python-fill-comment-function)
9026 (python-fill-decorator-function, python-fill-paren-function)
9027 (python-fill-string-function, python-imenu-include-defun-type)
9028 (python-imenu-make-tree, python-imenu-subtree-root-label)
9029 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9030 (python-shell-compilation-regexp-alist)
9031 (python-shell-completion-module-string-code)
9032 (python-shell-completion-pdb-string-code)
9033 (python-shell-completion-setup-code)
9034 (python-shell-completion-string-code)
9035 (python-shell-enable-font-lock, python-shell-exec-path)
9036 (python-shell-extra-pythonpaths)
9037 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9038 (python-shell-process-environment)
9039 (python-shell-prompt-block-regexp)
9040 (python-shell-prompt-output-regexp)
9041 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9042 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9043 (python-shell-virtualenv-path): New defcustoms.
9044 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9045 (inferior-python-mode-syntax-table, python--prompt-regexp)
9046 (python-buffer, python-command python-python-command)
9047 (python-default-template, python-imports, python-indent-index)
9048 (python-indent-list, python-indent-list-length)
9049 (python-mode-running, python-pdbtrack-is-tracking-p)
9050 (python-preoutput-continuation, python-preoutput-leftover)
9051 (python-preoutput-result, python-preoutput-skip-next-prompt)
9052 (python-prev-dir/file, python-recursing)
9053 (python-saved-check-command, python-version-checked)
9054 (python-which-func-length-limit)
9055 (view-return-to-alist): Delete vars.
9056 (python-check-custom-command, python-dotty-syntax-table)
9057 (python-imenu-index-alist, python-indent-current-level)
9058 (python-indent-dedenters, python-indent-levels)
9059 (python-nav-beginning-of-defun-regexp)
9060 (python-nav-list-defun-positions-cache)
9061 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9062 (python-shell-internal-buffer)
9063 (python-skeleton-available): New vars.
9064 (def-python-skeleton): Delete macro.
9065 (python-skeleton-define): New macro.
9066 (python-define-auxiliary-skeleton, python-rx): New macros.
9067 (python-insert-class): Delete command.
9068 (python-skeleton-class): New command.
9069 (python-insert-def): Delete command.
9070 (python-skeleton-def): New command.
9071 (python-insert-for): Delete command.
9072 (python-skeleton-for): New command.
9073 (python-insert-if): Delete command.
9074 (python-skeleton-if): New command.
9075 (python-insert-try/except, python-insert-try/finally): Delete commands.
9076 (python-skeleton-try): New command.
9077 (python-insert-while): Delete command.
9078 (python-skeleton-while): New command.
9079 (python-backspace): Delete command.
9080 (python-indent-dedent-line-backspace): New command.
9081 (python-electric-colon): Delete command.
9082 (python-indent-electric-colon): New command.
9083 (python-guess-indent): Delete command.
9084 (python-indent-guess-indent-offset): New command.
9085 (python-shift-left): Delete command.
9086 (python-indent-shift-left): New command.
9087 (python-shift-right): Delete command.
9088 (python-indent-shift-right): New command.
9089 (python-find-function): Delete command.
9090 (python-nav-jump-to-defun): New command.
9091 (python-next-statement): Delete command.
9092 (python-nav-forward-sentence): New command.
9093 (python-previous-statement): Delete command.
9094 (python-nav-backward-sentence): New command.
9095 (python-fill-paragraph): Delete command.
9096 (python-fill-paragraph-function): New command.
9097 (python-send-buffer): Delete command.
9098 (python-shell-send-buffer): New command.
9099 (python-send-defun): Delete command.
9100 (python-shell-send-defun): New command.
9101 (python-send-region, python-send-region-and-go): Delete commands.
9102 (python-shell-send-region)
9103 (python-shell-switch-to-shell): New commands.
9104 (python-send-string): Delete command.
9105 (python-shell-send-string): New command.
9106 (python-switch-to-python): Delete command.
9107 (python-shell-switch-to-shell): New command.
9108 (python-describe-symbol): Delete command.
9109 (python-eldoc-at-point): New command.
9110 (python--set-prompt-regexp, python-args-to-list)
9111 (python-after-info-look, python-check-version)
9112 (python-check-comint-prompt, python-find-imports)
9113 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9114 (python-unload-function, python-expand-template)
9115 (python-maybe-jython, python-preoutput-filter)
9116 (python-pdbtrack-get-source-buffer)
9117 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9118 (python-pdbtrack-toggle-stack-tracking)
9119 (python-pdbtrack-track-stack-file, python-initial-text)
9120 (python-first-word, python-comment-line-p, python-send-command)
9121 (python-setup-brm, python-sentinel, python-set-proc)
9122 (python-skip-out, python-input-filter, python-outdent-p)
9123 (python-outline-level, python-backslash-continuation-line-p)
9124 (python-end-of-block, python-end-of-statement, python-mark-block)
9125 (python-beginning-of-block, python-beginning-of-statement)
9126 (python-blank-line-p, python-beginning-of-string)
9127 (python-open-block-statement-p): Delete functions.
9128 (python-indent-line, python-indent-line-1): Delete functions.
9129 (python-indent-line): New function.
9130 (python-indentation-levels): Delete function.
9131 (python-indent-calculate-levels): New function.
9132 (python-proc): Delete function.
9133 (python-shell-get-process): New function.
9134 (python-send-receive): Delete function.
9135 (python-shell-send-string-no-output): New function.
9136 (python-module-path): Delete function.
9137 (python-ffap-module-path): New function.
9138 (python-completion-at-point)
9139 (python-symbol-completions): Delete functions.
9140 (python-completion-complete-at-point): New function.
9141 (python-load-file): Delete function.
9142 (python-shell-send-file): New function.
9143 (python-calculate-indentation): Delete function.
9144 (python-indent-calculate-indentation): New function.
9145 (python-skip-comments/blanks): Delete function.
9146 (python-util-forward-comment): New function.
9147 (python-continuation-line-p): Delete function.
9148 (python-info-continuation-line-p): New function.
9149 (python-which-func, python-current-defun): Delete function.
9150 (python-info-current-defun): New function.
9151 (python-beginning-of-defun): Delete function.
9152 (python-nav-beginning-of-defun): New function.
9153 (python-close-block-statement-p)
9154 (python-block-end-p): Delete function.
9155 (python-info-closing-block): New function.
9156 (python-comint-output-filter-function)
9157 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9158 (python-fill-comment, python-fill-decorator, python-fill-paren)
9159 (python-fill-string, python-imenu-make-element-tree)
9160 (python-imenu-make-tree, python-imenu-tree-assoc)
9161 (python-indent-context, python-indent-dedent-line)
9162 (python-indent-line-function)
9163 (python-indent-post-self-insert-function)
9164 (python-indent-toggle-levels)
9165 (python-info-assignment-continuation-line-p)
9166 (python-info-beginning-of-backlash)
9167 (python-info-block-continuation-line-p)
9168 (python-info-closing-block-message)
9169 (python-info-line-ends-backslash-p)
9170 (python-info-looking-at-beginning-of-defun)
9171 (python-info-ppss-context, python-info-ppss-context-type)
9172 (python-nav-list-defun-positions, python-nav-read-defun)
9173 (python-nav-sentence-end, python-nav-sentence-start)
9174 (python-pdbtrack-comint-output-filter-function)
9175 (python-pdbtrack-set-tracked-buffer)
9176 (python-shell-calculate-exec-path)
9177 (python-shell-calculate-process-environment)
9178 (python-shell-completion--do-completion-at-point)
9179 (python-shell-completion--get-completions)
9180 (python-shell-completion-complete-at-point)
9181 (python-shell-completion-complete-or-indent)
9182 (python-shell-get-or-create-process)
9183 (python-shell-get-process-name)
9184 (python-shell-internal-get-or-create-process)
9185 (python-shell-internal-get-process-name)
9186 (python-shell-internal-send-string, python-shell-make-comint)
9187 (python-shell-parse-command, python-shell-send-setup-code)
9188 (python-skeleton-add-menu-items)
9189 (python-util-clone-local-variables, python-util-position)
9190 (run-python-internal, python-indentation-levels)
9191 (python-nav-beginning-of-defun)
9192 (python-completion-complete-at-point): New functions.
9193 (run-python): Change arguments. New API requirements.
9194
9195 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9196
9197 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9198 (bug#11649).
9199
9200 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9201 (macroexp--expand-all): Use it.
9202
9203 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9204 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9205 Use `cl-function' instead.
9206
9207 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9208
9209 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9210 Suggested by Stefan Monnier while discussing bug#11657.
9211
9212 2012-06-14 Sam Steingold <sds@gnu.org>
9213
9214 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9215
9216 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9217
9218 * play/doctor.el (doctor-doc): Remove parameter and use
9219 doctor-sent instead of sent.
9220 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9221
9222 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9223
9224 * files.el: Require cl-lib.
9225 (file-name-non-special): Replace case -> cl-case.
9226
9227 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9228
9229 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9230 mapping from #' to function*.
9231
9232 2012-06-13 Chong Yidong <cyd@gnu.org>
9233
9234 * mouse.el (mouse-drag-track): Do not set the mark if the user
9235 releases the mouse without selecting anything (Bug#11588).
9236
9237 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9238
9239 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9240 as well (bug#11646).
9241
9242 * loadup.el: Count byte-code functions as well.
9243
9244 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9245 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9246
9247 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9248 (bug#11649). Add cl-defun and cl-defmacro.
9249
9250 2012-06-13 Drew Adams <drew.adams@oracle.com>
9251
9252 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9253 Fix last change.
9254
9255 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9256
9257 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9258 Otherwise, it blocks in batch mode.
9259
9260 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9261
9262 * help-mode.el (bookmark-make-record-default): Declare.
9263
9264 2012-06-13 Chong Yidong <cyd@gnu.org>
9265
9266 * emacs-lisp/package.el (list-packages): Compute a list of
9267 packages that are newly-available since the last list-packages
9268 invocation.
9269 (package-menu--new-package-list): New var.
9270 (package-menu--generate, package-menu--print-info)
9271 (package-menu--status-predicate, package-menu-mark-install):
9272 Handle new status label "new".
9273
9274 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9275
9276 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9277 conversion to backquotes.
9278
9279 2012-06-12 Chong Yidong <cyd@gnu.org>
9280
9281 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9282 Rename from gud-inhibit-global-bindings.
9283
9284 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9285
9286 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9287 hook from nxml-glyph-set-hook.
9288
9289 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9290 declaration.
9291
9292 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9293
9294 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9295 Convert to defcustom.
9296
9297 2012-06-12 Drew Adams <drew.adams@oracle.com>
9298
9299 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9300 New functions.
9301 (help-mode): Use them.
9302
9303 2012-06-11 Glenn Morris <rgm@gnu.org>
9304
9305 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9306 Use preprocessor face for directives.
9307 (fortran-directive-re): Doc fix.
9308
9309 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9310
9311 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9312 conversion to backquotes (bug#11652).
9313
9314 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9315 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9316 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9317 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9318 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9319 (cl-ninth, cl-tenth): Mark them as inlinable.
9320 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9321 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9322 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9323 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9324 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9325 (cl-list*, cl-adjoin): Don't put an autoload manually.
9326 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9327 (cl--compiler-macro-list*): Add autoload cookie.
9328 (cl--compiler-macro-cXXr): New function.
9329
9330 * help-fns.el (help-fns--compiler-macro): New function extracted from
9331 describe-function-1; follow aliases and use `compiler-macro' property.
9332 (describe-function-1): Use it.
9333
9334 2012-06-11 Chong Yidong <cyd@gnu.org>
9335
9336 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9337 is uninstalled, if imagemagick is installed.
9338
9339 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9340
9341 * emacs-lisp/cl-lib.el: Use lexical-binding.
9342 (cl-map-extents, cl-maclisp-member): Remove.
9343 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9344 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9345 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9346 * emacs-lisp/cl-extra.el: Use lexical-binding.
9347 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9348 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9349 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9350 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9351 * emacs-lisp/cl-seq.el: Use lexical-binding.
9352 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9353 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9354 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9355 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9356 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9357 CL's internals.
9358
9359 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9360
9361 Sync with Tramp 2.2.6-pre.
9362
9363 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9364 `print-length' and `print-level' to nil, in order to avoid
9365 truncation. Reported by Christopher Schmidt
9366 <christopher@ristopher.com>.
9367
9368 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9369
9370 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9371 New defmacro.
9372 (tramp-compat-copy-directory): Add optional argument
9373 COPY-CONTENTS. It is not handled yet.
9374
9375 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9376 (tramp-ftp-file-name-p): Simplify.
9377
9378 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9379 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9380 connection vector.
9381
9382 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9383 (tramp-methods): Do not use `tramp-password-end-of-line'.
9384 (tramp-completion-function-alist-putty): Handle UNIX case.
9385 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9386 (tramp-do-file-attributes-with-stat)
9387 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9388 gid as real numbers. They could run out of integer range on cygwin.
9389 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9390 (tramp-sh-handle-expand-file-name): Handle hops.
9391 (tramp-open-connection-setup-interactive-shell):
9392 Use `tramp-cleanup'. Move check for busyboxes ...
9393 (tramp-find-shell): ... here. Simplify implementation.
9394 Set "remote-shell" property also for alternative shells.
9395 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9396 If failing, a regular file would be written otherwise.
9397 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9398 (tramp-find-inline-encoding): Cache the coding commands in the
9399 process cache. Apply test command on the remote side, if defined.
9400 (tramp-find-inline-compress): Cache the compress commands in the
9401 process cache.
9402 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9403 when requested. Handle hops.
9404 (tramp-current-connection): New defvar.
9405 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9406 Throw `suppress', if there was a failed connection shortly before.
9407 Handle user interrupt. (Bug#10187)
9408 (tramp-get-inline-compress, tramp-get-inline-coding):
9409 Read connection properties from the process cache.
9410
9411 * net/tramp-smb.el (tramp-smb-server-version)
9412 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9413 New defconsts.
9414 (tramp-smb-prompt): Extend for powershell prompt.
9415 (tramp-smb-file-name-handler-alist): Add handlers for
9416 `process-file', `shell-command' and `start-file-process'.
9417 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9418 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9419 (tramp-smb-file-name-p): Simplify.
9420 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9421 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9422 (tramp-smb-shell-quote-argument): New defuns.
9423 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9424 Implement using "tar". By this, time-stamps are preserved.
9425 (tramp-smb-handle-copy-file): Handle also the case of directories.
9426 (tramp-smb-do-file-attributes-with-stat)
9427 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9428 Use `tramp-get-connection-buffer').
9429 (tramp-smb-handle-rename-file): Use "rename", when source and
9430 target are on the same share.
9431 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9432 Use `tramp-smb-server-version'.
9433 (tramp-smb-wait-for-output): Remove prompt.
9434
9435 * net/tramp.el (top): Require 'cl.
9436 (tramp-methods, tramp-rsh-end-of-line):
9437 Remove `tramp-password-end-of-line' from docstring.
9438 (tramp-save-ad-hoc-proxies): New defcustom.
9439 (tramp-completion-function-alist): Adapt docstring.
9440 (tramp-default-password-end-of-line): Remove defcustom.
9441 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9442 (tramp-user-regexp, tramp-file-name-regexp-unified)
9443 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9444 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9445 (tramp-remote-file-name-spec-regexp): New defconst.
9446 (tramp-file-name-structure): Extend structure for hops.
9447 (tramp-get-method-parameter): Move up.
9448 (tramp-file-name-p, tramp-dissect-file-name)
9449 (with-parsed-tramp-file-name): Handle hops.
9450 (tramp-file-name-hop): New defun.
9451 (tramp-make-tramp-file-name): New optional arg HOP.
9452 (tramp-message-show-progress-reporter-message): New defvar.
9453 (tramp-with-progress-reporter): Use it. We cannot use
9454 `tramp-message-show-message' here, because this suppresses also
9455 error buffers.
9456 (tramp-error-with-buffer): Suppress buffer view, if
9457 `tramp-message-show-message' is nil.
9458 Use `tramp-get-connection-buffer'.
9459 (tramp-cleanup): New defun.
9460 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9461 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9462 an error unchanged.
9463 (tramp-completion-handle-file-name-all-completions): Handle hops.
9464 Fix an error when called from ido.
9465 (tramp-completion-dissect-file-name): Use better local variable
9466 name. Add hop to the vector.
9467 (tramp-handle-insert-file-contents): Use progress-reporter for the
9468 whole scenario.
9469 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9470 to `t'.
9471 (tramp-check-for-regexp): Simplify search.
9472 (tramp-enter-password): Remove it. Move implementation ...
9473 (tramp-action-password): ... here.
9474 (tramp-mode-string-to-int, tramp-local-host-p)
9475 (tramp-make-tramp-temp-file, tramp-read-passwd)
9476 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9477 Set tramp-autoload cookie.
9478
9479 * net/trampver.el: Update release number.
9480
9481 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9482 Michael Albinus <michael.albinus@gmx.de>
9483
9484 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9485 (tramp-parse-group, tramp-parse-file)
9486 (tramp-parse-shostkeys-sknownhosts): New defuns.
9487 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9488 (tramp-parse-shosts-group, tramp-parse-sconfig)
9489 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9490 (tramp-parse-sknownhosts, tramp-parse-hosts)
9491 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9492 Use them.
9493 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9494 (tramp-parse-putty-group): Don't narrow.
9495 (tramp-parse-putty): Make a loop.
9496 (tramp-file-name-handler): Catch the `suppress' signal.
9497
9498 2012-06-11 Chong Yidong <cyd@gnu.org>
9499
9500 * image.el (imagemagick-register-types): Put the ImageMagick entry
9501 at the end of image-type-file-name-regexps.
9502
9503 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9504
9505 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9506 (pcase, pcase-let*, pcase-dolist): Use them.
9507
9508 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9509
9510 * emacs-lisp/pcase.el (pcase--let*): New function.
9511 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9512 (pcase--expand): Use macroexp-let².
9513
9514 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9515
9516 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9517 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9518 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9519 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9520 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9521 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9522
9523 2012-06-10 Glenn Morris <rgm@gnu.org>
9524
9525 * mail/rmail.el (rmail-yank-current-message): Leave point at
9526 correct position. (Bug#11660)
9527
9528 2012-06-10 Chong Yidong <cyd@gnu.org>
9529
9530 * allout-widgets.el: Fix code header.
9531
9532 2012-06-10 Chong Yidong <cyd@gnu.org>
9533
9534 * cus-edit.el (customize-changed-options-previous-release):
9535 Bump to 24.1.
9536
9537 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9538
9539 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9540
9541 2012-06-09 Chong Yidong <cyd@gnu.org>
9542
9543 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9544
9545 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9546
9547 * window.el (special-display-popup-frame): Don't use
9548 window--display-buffer (Bug#11651).
9549
9550 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9551
9552 Fix parallel builds: make sure loaddefs.el is not being written
9553 while Lisp files are compiled.
9554 (compile): Don't depend on 'mh-autoloads'.
9555 (compile-CMD, compile-SH): Depend on 'autoloads'.
9556 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9557
9558 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9559
9560 2012-06-09 Chong Yidong <cyd@gnu.org>
9561
9562 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9563 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9564 Doc fixes (Bug#11225).
9565
9566 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9567
9568 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9569 a function if there's a clear indication that it has a compiler-macro.
9570 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9571 (macro-declarations-alist): Add arglist to declaration functions.
9572 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9573 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9574 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9575 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9576 Also add autoload to find the compiler macro.
9577 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9578 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9579 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9580 (cl--compiler-macro-get): New functions, replacing calls to
9581 cl-define-compiler-macro.
9582 (cl-typep) [compiler-macro]: Use macroexp-let².
9583
9584 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9585
9586 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9587 string properly, fixes Bug#11473.
9588
9589 2012-06-08 Chong Yidong <cyd@gnu.org>
9590
9591 * faces.el (set-face-attribute): Doc fix.
9592 (modify-face): Don't use :bold and :italic.
9593 (error, warning, success): Tweak definitions.
9594
9595 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9596 (custom-modified, custom-set, custom-changed, custom-themed)
9597 (custom-saved, custom-button, custom-button-mouse)
9598 (custom-button-pressed, custom-state, custom-comment-tag)
9599 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9600 (custom-group-subtitle): Use new-style face specs.
9601 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9602 (custom-set-face, custom-changed-face, custom-saved-face)
9603 (custom-button-face, custom-button-pressed-face)
9604 (custom-documentation-face, custom-state-face)
9605 (custom-comment-face, custom-comment-tag-face)
9606 (custom-variable-tag-face, custom-variable-button-face)
9607 (custom-face-tag-face, custom-group-tag-face-1)
9608 (custom-group-tag-face): Remove obsolete face alias.
9609
9610 * epa.el (epa-validity-high, epa-validity-medium)
9611 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9612 (epa-field-name, epa-field-body):
9613 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9614 (font-lock-keyword-face, font-lock-builtin-face)
9615 (font-lock-function-name-face, font-lock-variable-name-face)
9616 (font-lock-type-face, font-lock-constant-face):
9617 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9618 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9619 * speedbar.el (speedbar-button-face, speedbar-file-face)
9620 (speedbar-directory-face, speedbar-tag-face)
9621 (speedbar-selected-face, speedbar-highlight-face)
9622 (speedbar-separator-face):
9623 * whitespace.el (whitespace-newline, whitespace-space)
9624 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9625 (whitespace-line, whitespace-space-before-tab)
9626 (whitespace-space-after-tab, whitespace-indentation)
9627 (whitespace-empty):
9628 * emulation/cua-base.el (cua-global-mark):
9629 * eshell/em-prompt.el (eshell-prompt):
9630 * net/newst-plainview.el (newsticker-new-item-face)
9631 (newsticker-old-item-face, newsticker-immortal-item-face)
9632 (newsticker-obsolete-item-face, newsticker-date-face)
9633 (newsticker-statistics-face, newsticker-default-face):
9634 * net/newst-reader.el (newsticker-feed-face)
9635 (newsticker-extra-face, newsticker-enclosure-face):
9636 * net/newst-treeview.el (newsticker-treeview-face)
9637 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9638 (newsticker-treeview-immortal-face)
9639 (newsticker-treeview-obsolete-face)
9640 (newsticker-treeview-selection-face):
9641 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9642 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9643 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9644 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9645 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9646 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9647 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9648 (mpuz-text):
9649 * progmodes/vera-mode.el (vera-font-lock-number)
9650 (vera-font-lock-function, vera-font-lock-interface):
9651 * textmodes/table.el (table-cell): Use new-style face specs, and
9652 don't use the old :bold and :italic attributes.
9653
9654 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9655 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9656 (ebrowse-member-class, ebrowse-progress): Likewise.
9657 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9658 (ebrowse-file-name-face, ebrowse-default-face)
9659 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9660 (ebrowse-progress-face): Remove obsolete faces.
9661
9662 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9663 Inherit from error and warning faces respectively.
9664
9665 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9666 Likewise.
9667 (flyspell-incorrect-face, flyspell-duplicate-face):
9668 Remove obsolete aliases.
9669
9670 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9671
9672 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9673 Avoid infloop.
9674
9675 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9676
9677 * startup.el (argv, argi): Make lexically scoped.
9678 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9679 * emacs-lisp/cl-macs.el: Use lexical-binding.
9680 Rename cl-bind-* to cl--bind-*.
9681 * files.el: Don't require `cl' since it doesn't use it.
9682 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9683
9684 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9685
9686 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9687 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9688 instead of calling external sort utility.
9689 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9690
9691 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9692
9693 * descr-text.el (describe-char): Mention how to insert the
9694 character, if the current input method doesn't support it.
9695 See the discussion in this thread for the details:
9696 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9697
9698 2012-06-08 Sam Steingold <sds@gnu.org>
9699
9700 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9701 XF86Back to previous-buffer.
9702 (minibuffer-local-map): Bind them to next-history-element and
9703 previous-history-element respectively.
9704 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9705 help-go-back respectively.
9706 * info.el (Info-mode-map): Bind them to Info-history-forward and
9707 Info-history-back respectively.
9708 These are the keys next to Up on the ThinkPad keyboard.
9709
9710 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9711
9712 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9713 * emacs-lisp/cl-macs.el: Provide itself.
9714 (cl--labels-convert-cache): New var.
9715 (cl--labels-convert): New function.
9716 (cl-flet, cl-labels): New implementation with new semantics, relying on
9717 lexical-binding.
9718 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9719 (cl-closure-vars, cl--function-convert-cache)
9720 (cl--function-convert): Move from cl-macs.el.
9721 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9722 rename by removing the "cl-" prefix.
9723 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9724
9725 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9726
9727 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9728 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9729 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9730 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9731 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9732 (cl-hash-table-count): Add old compatibility aliases.
9733
9734 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9735 Use macroexpand-all-environment instead.
9736 (cl--old-macroexpand): New var.
9737 (cl--sm-macroexpand): New function.
9738 (cl-symbol-macrolet): Use it during macro expansion.
9739 (cl--function-convert-cache): New var.
9740 (cl--function-convert): New function, extracted from
9741 cl-macroexpand-all.
9742 (cl-lexical-let): Use it.
9743
9744 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9745 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9746 (cl-member): Remove old alias.
9747
9748 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9749 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9750 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9751 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9752 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9753 (cl-macroexpand-cmacs): Remove var.
9754 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9755 Use macroexpand-all instead.
9756
9757 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9758
9759 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9760 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9761 (macroexp-copyable-p): New functions and macros.
9762 * emacs-lisp/edebug.el (edebug-unwrap):
9763 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9764 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9765 (pcase--let*): Remove.
9766 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9767 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9768 macroexp-const-p instead.
9769 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9770
9771 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9772 instead of "cl-" for internal definitions. Use macroexp-const-p.
9773 (cl-old-bc-file-form): Remove var.
9774 (cl-const-exprs-p): Remove fun.
9775 (cl-labels, cl-macrolet): Use backquote.
9776 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9777 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9778 (cl-define-setf-expander): Rename from cl-define-setf-method.
9779 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9780
9781 * international/mule-cmds.el: Don't require CL.
9782 (view-hello-file): Don't use `letf'.
9783
9784 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9785
9786 * tmm.el (tmm-prompt): Use string-prefix-p.
9787 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9788 (tmm-add-prompt): Use minibuffer-completion-help.
9789 (tmm-delete-map): Remove.
9790
9791 * subr.el (kbd): Make it its own function.
9792
9793 2012-06-07 Stefan Merten <smerten@oekonux.de>
9794
9795 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9796 Silence compiler warnings. Fix versions.
9797 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9798 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9799 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9800 (rst-package-emacs-version-alist): Correct Emacs version to
9801 represent major merge with upstream.
9802 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9803
9804 2012-06-06 Glenn Morris <rgm@gnu.org>
9805
9806 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9807 Only print environment variables if set.
9808
9809 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9812 (macroexp--cons): Rename from maybe-cons.
9813 (macroexp--accumulate): Rename from macroexp-accumulate.
9814 (macroexp--all-forms): Rename from macroexpand-all-forms.
9815 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9816 (macroexp--expand-all): Rename from macroexpand-all-1.
9817
9818 2012-06-06 Sam Steingold <sds@gnu.org>
9819
9820 * calendar/calendar.el (calendar-in-read-only-buffer):
9821 Call `special-mode' to enable the standard read-only keybindings.
9822
9823 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9824
9825 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9826 with "loading" messages (bug#11635).
9827
9828 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
9829
9830 * files.el (enable-remote-dir-locals): New option.
9831 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9832
9833 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9834 Ensure, that the temp directory is local.
9835
9836 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9837 `temporary-file-directory'.
9838
9839 * progmodes/python.el (python-send-region): Ensure, that the
9840 temporary file is created also in the remote case.
9841
9842 2012-06-06 Glenn Morris <rgm@gnu.org>
9843
9844 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9845 (vc-rcs-update-changelog): Use it.
9846
9847 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9848
9849 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9850 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9851 (vc-sccs-diff): Replace use of the external vcdiff script.
9852
9853 2012-06-05 Glenn Morris <rgm@gnu.org>
9854
9855 * ledit.el: Move to obsolete/.
9856
9857 2012-06-05 Sam Steingold <sds@gnu.org>
9858
9859 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9860 patch (Bug#11140).
9861
9862 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9863
9864 * emacs-lisp/cust-print.el: Move to obsolete.
9865
9866 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9867 compiler-macro expansion.
9868
9869 Add native compiler-macro support.
9870 * emacs-lisp/macroexp.el (macroexpand-all-1):
9871 Support compiler-macros directly. Properly follow aliases and apply
9872 the compiler macros more thoroughly.
9873 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9874 macroexpand now properly follows aliases.
9875 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9876 (cl-compiler-macroexpand): Use new prop.
9877 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9878
9879 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9880
9881 2012-06-05 Martin Rudalics <rudalics@gmx.at>
9882
9883 * window.el (get-lru-window, get-mru-window, get-largest-window):
9884 New argument NOT-SELECTED to avoid picking the selected window.
9885 (window--display-buffer-1, window--display-buffer-2): Replace by
9886 new function window--display-buffer
9887 (display-buffer-same-window, display-buffer-reuse-window)
9888 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9889 Use window--display-buffer.
9890 (display-buffer-use-some-window): Remove temporary dedication
9891 hack by calling get-lru-window and get-largest-window with
9892 NOT-SELECTED argument non-nil. Call window--display-buffer.
9893
9894 2012-06-05 Glenn Morris <rgm@gnu.org>
9895
9896 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9897 Replace external vcdiff script.
9898
9899 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9900
9901 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9902
9903 2012-06-04 Chong Yidong <cyd@gnu.org>
9904
9905 * image.el (imagemagick-types-inhibit): Revert last change.
9906 Add INFO and M.
9907 (imagemagick-enabled-types): Remove CIN and EPS*.
9908
9909 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9910
9911 * emacs-lisp/cl-lib.el: Rename from cl.el.
9912 * emacs-lisp/cl.el: New compatibility file.
9913 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9914 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9915 to obey the "cl-" prefix.
9916 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9917
9918 2012-06-03 Glenn Morris <rgm@gnu.org>
9919
9920 * emacs-lisp/authors.el (authors-aliases): Addition.
9921
9922 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9923 Fix :version.
9924
9925 2012-06-03 Stefan Merten <smerten@oekonux.de>
9926
9927 * textmodes/rst.el: Add comments.
9928 (rst-transition, rst-adornment): New faces.
9929 (rst-adornment-faces-alist): Make default safe to reevaluate.
9930 Fixes
9931 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9932 Improve customization tags.
9933 (rst-define-level-faces): Clarify meaning.
9934
9935 2012-06-03 Chong Yidong <cyd@gnu.org>
9936
9937 * progmodes/compile.el (compilation-mode-line-fail)
9938 (compilation-mode-line-run, compilation-mode-line-exit):
9939 New faces.
9940 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9941
9942 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9943
9944 * progmodes/which-func.el (which-func-update-ediff-windows):
9945 New function. Use it in ediff-select-hook (Bug#11478).
9946
9947 2012-06-03 Chong Yidong <cyd@gnu.org>
9948
9949 * bindings.el: Remove explicit help text from format-mode-line.
9950 It is now supplied by mode-line-default-help-echo.
9951 (mode-line-front-space, mode-line-end-spaces)
9952 (mode-line-misc-info): New variables.
9953 (mode-line-modes, mode-line-position): Move the default value to
9954 the variable definition.
9955 (mode-line-default-help-echo): New defcustom.
9956 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9957 (mode-line-modified-help-echo): New functions.
9958 (mode-line-mule-info, mode-line-modified): Use them.
9959 (mode-line-eol-desc, propertized-buffer-identification):
9960 Consistency fixes for help text.
9961 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9962 set-buffer-file-coding-system (Bug#289).
9963 (mode-line-mule-info-help-echo): Update help text.
9964
9965 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9966
9967 * simple.el (execute-extended-command): Set real-this-command
9968 (bug#11506).
9969
9970 2012-06-02 Chong Yidong <cyd@gnu.org>
9971
9972 Remove incorrect uses of "modeline" in comments, docstrings, and
9973 function/variable names (Bug#10329).
9974
9975 * cus-edit.el (mode-line):
9976 * dframe.el (dframe-mouse-hscroll):
9977 * emacs-lisp/re-builder.el:
9978 * emacs-lisp/easy-mmode.el (define-minor-mode):
9979 * frame.el (set-frame-name):
9980 * help.el (lookup-minor-mode-from-indicator):
9981 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9982 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9983 (c-toggle-hungry-state):
9984 * progmodes/antlr-mode.el (antlr-language-alist):
9985 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9986 * progmodes/vhdl-mode.el (vhdl-mode):
9987 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9988 * term/ns-win.el (ns-face-at-pos):
9989 * term/sup-mouse.el (sup-mouse-report):
9990 * textmodes/flyspell.el (flyspell-mode-line-string):
9991 * textmodes/ispell.el (ispell-highlight-face):
9992 * textmodes/reftex-global.el:
9993 * vc/vc-arch.el (vc-arch-mode-line-string):
9994 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9995 * vc/vc-git.el (vc-git-mode-line-string):
9996 * vc/vc-hooks.el (vc-display-status)
9997 (vc-default-mode-line-string):
9998 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9999
10000 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10001
10002 * dired.el (dired-sort-set-mode-line): Rename from
10003 dired-sort-set-modeline. All callers changed.
10004
10005 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10006 eshell-status-in-modeline.
10007
10008 * foldout.el (foldout-mode-line-string): Rename from
10009 foldout-modeline-string. All callers changed.
10010 (foldout-update-mode-line): Rename from foldout-update-modeline.
10011
10012 * subr.el (redraw-modeline): Make into obsolete alias.
10013
10014 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10015 timeclock-modeline-display. Make old name an alias.
10016 (timeclock-update-mode-line): Likewise. All callers changed.
10017 (timeclock-mode-line-display): No need to check before using
10018 add-hook.
10019 (timeclock-relative, timeclock-day-over-hook)
10020 (timeclock-use-elapsed, timeclock-mode-string)
10021 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10022
10023 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10024 crisp-mode-modeline-string.
10025
10026 * play/solitaire.el (solitaire-build-mode-line): Rename from
10027 solitaire-build-modeline. All callers changed.
10028
10029 * play/zone.el (zone-hiding-mode-line): Rename from
10030 zone-hiding-modeline. All callers changed.
10031 (zone): Remove unusued `modeline-hidden-level' property.
10032
10033 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10034 xscheme-modeline-initialize. All callers changed.
10035
10036 * strokes.el (strokes-lighter): Rename from
10037 strokes-modeline-string.
10038
10039 * textmodes/sgml-mode.el (html-face-tag-alist)
10040 (html-tag-face-alist): Use mode-line face instead of obsolete
10041 alias modeline.
10042
10043 2012-06-02 Stefan Merten <smerten@oekonux.de>
10044
10045 * textmodes/rst.el: Always require `cl'.
10046 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10047
10048 2012-06-02 Chong Yidong <cyd@gnu.org>
10049
10050 * image.el (imagemagick-enabled-types): Rename from
10051 imagemagick-types-enable. Add many more types.
10052 (imagemagick-types-inhibit): Change default to nil.
10053 (imagemagick-filter-types): Caller changed.
10054
10055 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10056
10057 * emacs-lisp/cl-macs.el: Use backquotes.
10058 (cl-transform-function-property): Use eval-and-compile rather than
10059 abusing `require'.
10060 (defstruct): Use declare-function instead of with-no-warnings.
10061
10062 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10063 (byte-compile-output-docform): Re-add the print-circle bindings.
10064 (byte-compile-fix-header): Use #$ just because it's shorter.
10065 (byte-compile-output-file-form): Remove defun/defmacro.
10066
10067 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10068
10069 * simple.el (choose-completion): Remove now obsolete binding for
10070 owindow.
10071
10072 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10073
10074 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10075 in order to avoid "Stack overflow in regexp matcher".
10076
10077 2012-05-31 Glenn Morris <rgm@gnu.org>
10078
10079 * image.el: For clarity, call imagemagick-register-types at
10080 top-level, rather than relying on a custom :initialize.
10081 (imagemagick-types-enable): New option. (Bug#11557)
10082 (imagemagick-filter-types): New function. (Bug#7406)
10083 (imagemagick-register-types): Use imagemagick-filter-types.
10084 If disabling support, remove elements altogether rather
10085 than using an impossible regexp.
10086 (imagemagick-types-inhibit): Give it the default init function.
10087
10088 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10089
10090 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10091 Handle arbitrary file name lengths (Bug#11585).
10092
10093 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10094
10095 * desktop.el (desktop-read): Clear previous and next buffers for
10096 all windows and bury *Messages* buffer (bug#11556).
10097
10098 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10099
10100 Add `declare' for `defun'. Align `defmacro's with it.
10101 * emacs-lisp/easy-mmode.el (define-minor-mode)
10102 (define-globalized-minor-mode): Don't autoload the var definitions.
10103 * emacs-lisp/byte-run.el: Use lexical-binding.
10104 (defun-declarations-alist, macro-declarations-alist): New vars.
10105 (defmacro, defun): Use them.
10106 (make-obsolete, define-obsolete-function-alias)
10107 (make-obsolete-variable, define-obsolete-variable-alias):
10108 Use `declare'.
10109 (macro-declaration-function): Mark obsolete.
10110 * emacs-lisp/autoload.el: Use lexical-binding.
10111 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10112
10113 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10114
10115 * textmodes/ispell.el (ispell-with-no-warnings):
10116 Define as a macro.
10117 (ispell-kill-ispell, ispell-change-dictionary):
10118 Use `called-interactively-p' for Emacs instead of obsolete
10119 `interactive-p'.
10120
10121 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10122
10123 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10124 (macro-declaration-function): Move var from C code.
10125 (macro-declaration-function): Define function with defalias.
10126 * emacs-lisp/macroexp.el (macroexpand-all-1):
10127 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10128 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10129 defun/defmacro any more.
10130 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10131 Provide fallback for unknown arglist.
10132 (byte-compile-arglist-warn): Change calling convention.
10133 (byte-compile-output-file-form): Move print-vars binding.
10134 (byte-compile-output-docform): Simplify accordingly.
10135 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10136 (byte-compile-defmacro-declaration): Remove.
10137 (byte-compile-file-form-defmumble): Generalize to defalias.
10138 (byte-compile-output-as-comment): Return byte-positions.
10139 Simplify callers accordingly.
10140 (byte-compile-lambda): Use `assert'.
10141 (byte-compile-defun, byte-compile-defmacro): Remove.
10142 (byte-compile-file-form-defalias):
10143 Use byte-compile-file-form-defmumble.
10144 (byte-compile-defalias-warn): Remove.
10145
10146 2012-05-29 Stefan Merten <smerten@oekonux.de>
10147
10148 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10149 possible. Fix authors. Improve comments. Improve loading of `cl'.
10150
10151 (rst-mode-abbrev-table): Merge definition.
10152 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10153 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10154
10155 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10156
10157 * calendar/icalendar.el
10158 (icalendar-export-region): Export UID properly.
10159
10160 2012-05-29 Leo Liu <sdl.web@gmail.com>
10161 * calendar/icalendar.el (icalendar-import-format):
10162 Add `icalendar-import-format-uid' (Bug#11525).
10163 (icalendar-import-format-uid): New.
10164 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10165 Export UID.
10166
10167 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10168
10169 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10170 different alternative patterns.
10171 (pcase-codegen): Be more careful to preserve identity.
10172 (pcase--u1): Don't forget to mark vars as used.
10173
10174 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10175 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10176 (byte-compile-from-buffer): ...rather than here.
10177
10178 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10179 functions from byte-compile-function-environment.
10180
10181 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10182
10183 * window.el (window-deletable-p): Avoid deleting the root window
10184 of a frame with an active minibuffer.
10185
10186 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10187
10188 * simple.el (choose-completion): Use quit-window (Bug#11567).
10189
10190 2012-05-29 Chong Yidong <cyd@gnu.org>
10191
10192 * whitespace.el (whitespace-cleanup): Fix usage of
10193 whitespace-empty-at-bob-regexp (Bug#11492).
10194
10195 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10196
10197 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10198 revert (Bug#11488).
10199
10200 2012-05-29 Juri Linkov <juri@jurta.org>
10201
10202 * isearch.el (isearch-mode-map): Bind `M-s _' to
10203 `isearch-toggle-symbol'. Bind `M-s c' to
10204 `isearch-toggle-case-fold'.
10205 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10206 (isearch-forward): Add `M-s _' to the docstring.
10207 (isearch-forward-symbol, isearch-toggle-case-fold)
10208 (isearch-symbol-regexp): New functions. (Bug#11381)
10209
10210 2012-05-29 Juri Linkov <juri@jurta.org>
10211
10212 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10213 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10214 a function, call it to get the regexp.
10215 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10216 property `isearch-message-prefix' instead of the string "word ".
10217 (isearch-search-fun-default): For the case of `isearch-word',
10218 return a lambda that calls re-search-forward/re-search-backward
10219 with a regexp returned by `word-search-regexp' or by the function
10220 in `isearch-word'.
10221
10222 2012-05-29 Juri Linkov <juri@jurta.org>
10223
10224 * isearch.el (isearch-search-fun-default): New function.
10225 (isearch-search-fun): Move default part to the new function
10226 `isearch-search-fun-default'.
10227 (isearch-search-fun-function): Set the default value to
10228 `isearch-search-fun-default'. (Bug#11381)
10229
10230 * comint.el (comint-history-isearch-end):
10231 Use `isearch-search-fun-default'.
10232 (comint-history-isearch-search): Use `isearch-search-fun-default'
10233 and remove spacial case for `isearch-word'.
10234 (comint-history-isearch-wrap): Remove spacial case for
10235 `isearch-word'.
10236
10237 * hexl.el (hexl-isearch-search-function):
10238 Use `isearch-search-fun-default'.
10239
10240 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10241 Use `word-search-regexp' for `isearch-word'.
10242
10243 * misearch.el (multi-isearch-search-fun):
10244 Use `isearch-search-fun-default'.
10245
10246 * simple.el (minibuffer-history-isearch-search):
10247 Use `isearch-search-fun-default' and remove spacial case for
10248 `isearch-word'.
10249 (minibuffer-history-isearch-wrap): Remove spacial case for
10250 `isearch-word'.
10251
10252 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10253 Remove spacial case for `isearch-word'.
10254 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10255
10256 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10257
10258 Decrease XEmacs incompatibilities.
10259 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10260 Use `string-match'.
10261 (flyspell-delete-region-overlays): Use alternative definition for
10262 XEmacs.
10263 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10264 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10265 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10266 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10267 `define-obsolete-face-alias' under XEmacs, but old method.
10268
10269 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10270 `with-no-warnings' definition or Emacs alias.
10271 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10272 (ispell-word): Do not use `region-p' if XEmacs.
10273
10274 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10275
10276 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10277 Check for `ispell-dictionary-base-alist' instead of full
10278 `ispell-dictionary-alist'.
10279 (ispell-init-process): Show spellchecker when starting new Ispell
10280 process.
10281
10282 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10283
10284 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10285 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10286
10287 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10288
10289 * version.el (motif-version-string, gtk-version-string)
10290 (ns-version-string): Declare.
10291
10292 2012-05-27 Juri Linkov <juri@jurta.org>
10293
10294 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10295 after the `eval-defun-1' specialcaseing
10296 like in `edebug-eval-defun' (bug#10181).
10297
10298 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10299 like in `eval-defun-1'.
10300
10301 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10302
10303 * mail/sendmail.el (mail-yank-region):
10304 Recognize rmail-yank-current-message in addition to insert-buffer.
10305 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10306 a *mail* buffer created through rmail-start-mail with sendmail as
10307 mail-user-agent.
10308
10309 2012-05-27 Chong Yidong <cyd@gnu.org>
10310
10311 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10312 Default to 256 (Bug#11267).
10313
10314 * help.el (describe-mode): Doc fix.
10315
10316 2012-05-26 Glenn Morris <rgm@gnu.org>
10317
10318 * w32-fns.el (w32-init-info): Remove.
10319 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10320
10321 * info.el (info-initialize): For self-contained NS builds, put the
10322 included info/ directory at the front. (Bug#2791)
10323
10324 * paths.el (Info-default-directory-list): Make it a defcustom,
10325 mainly so that we can use custom-initialize-delay.
10326
10327 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10328
10329 * subr.el (buffer-has-markers-at): Mark obsolete.
10330
10331 * subr.el (lambda): Use declare.
10332
10333 * emacs-lisp/lisp-mode.el (lambda):
10334 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10335
10336 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10337
10338 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10339
10340 2012-05-26 Glenn Morris <rgm@gnu.org>
10341
10342 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10343
10344 2012-05-25 Glenn Morris <rgm@gnu.org>
10345
10346 * paths.el: Remove no-byte-compile.
10347 * loadup.el: No need to load paths.el uncompiled.
10348
10349 * image.el (imagemagick-types-inhibit): Doc fix.
10350
10351 * version.el: Remove no-byte-compile and associated formatting.
10352 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10353 is ancient code from when there was an "inc-vers.el".
10354
10355 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10356
10357 * progmodes/gdb-mi.el: Minor style changes.
10358 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10359 Turn into minor modes.
10360 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10361 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10362 (gdb-shell): Remove unneeded let-binding.
10363 (gdb-get-many-fields): Eliminate O(n²) behavior.
10364
10365 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10366
10367 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10368 platforms that don't link in fontset.c.
10369
10370 2012-05-25 Juri Linkov <juri@jurta.org>
10371
10372 Use the same diff color scheme as in modern VCSes (bug#10181).
10373
10374 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10375 to avoid confusion with `diff-added' that now uses green colors.
10376 (diff-removed): Use shades of red.
10377 (diff-added): Use shades of green.
10378 (diff-changed): Leave just the yellow color.
10379 (diff-use-changed-face): New variable.
10380 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10381 how to highlight context diff changes.
10382 (diff-refine-change): Use shades of yellow.
10383 (diff-refine-removed): New face that uses shades of red.
10384 (diff-refine-added): New face that uses shades of green.
10385 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10386 `diff-refine-removed' in the call to `smerge-refine-subst'
10387 depending on the value of `diff-use-changed-face'.
10388
10389 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10390 (smerge-other): Use shades of green.
10391 (smerge-base): Use shades of yellow.
10392 (smerge-refined-change): Empty face.
10393 (smerge-refined-removed): New face that uses shades of red.
10394 (smerge-refined-added): New face that uses shades of green.
10395 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10396 args `props-r' and `props-a', and use them. Doc fix.
10397 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10398 on its value use different faces `smerge-refined-change',
10399 `smerge-refined-removed', `smerge-refined-added' in the call to
10400 `smerge-refine-subst'.
10401
10402 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10403 Add face condition `min-colors 88' with shades of red.
10404 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10405 `min-colors 88' with shades of green.
10406 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10407 `min-colors 88' with shades of yellow.
10408
10409 2012-05-24 Glenn Morris <rgm@gnu.org>
10410
10411 * paths.el (prune-directory-list, remote-shell-program): Move to...
10412 * files.el (prune-directory-list, remote-shell-program): ...here.
10413 For the latter, delay initialization, prefer ssh, just search PATH.
10414
10415 * paths.el (term-file-prefix): Move to faces.el (the only user).
10416 * faces.el (term-file-prefix): Move here, make it a defcustom.
10417
10418 * paths.el (news-directory, news-path, news-inews-program):
10419 Move to gnus/nnspool.el.
10420
10421 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10422
10423 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10424 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10425 Make the latter a defcustom, with a delayed initialization.
10426
10427 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10428 These were deleted from Gnus itself late 2010.
10429
10430 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10431
10432 * progmodes/which-func.el (which-func-ff-hook):
10433 Check against user-error, not error.
10434
10435 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10436 cl-specs.el, which no longer exists.
10437
10438 2012-05-22 Glenn Morris <rgm@gnu.org>
10439
10440 * info.el (info-emacs-bug): New command.
10441 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10442 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10443
10444 2012-05-21 Glenn Morris <rgm@gnu.org>
10445
10446 * makefile.w32-in (update-subdirs-SH):
10447 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10448
10449 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10450
10451 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10452
10453 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10454 Simplify Maven regexp, and make sure the file can't start with a space
10455 (bug#11517).
10456
10457 2012-05-21 Glenn Morris <rgm@gnu.org>
10458
10459 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10460 Scrap superfluous subshells.
10461
10462 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10463
10464 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10465 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10466
10467 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10468
10469 * calc/calc.el (calc-ensure-consistent-units): New variable.
10470
10471 * calc/calc-units.el (math-consistent-units-p)
10472 (math-check-unit-consistency): New functions.
10473 (calc-quick-units, calc-convert-units):
10474 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10475 is non-nil.
10476 (calc-extract-units): Fix typo.
10477
10478 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10479
10480 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10481
10482 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10483 (flyspell-default-deplacement-commands): Don't spell check after
10484 repeated window/frame switches (e.g. triggered by mouse-movement).
10485 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10486 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10487 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10488 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10489 Remove unused vars.
10490 (flyspell-get-casechars, flyspell-get-not-casechars):
10491 Simplify; Don't bother removing a ] just to add it back.
10492 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10493
10494 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10495
10496 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10497 New functions.
10498 (math-function-table): Add support for more C functions.
10499
10500 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10501
10502 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10503 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10504 Protect delay handling for otherchars against empty otherchars.
10505
10506 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10507
10508 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10509 their respective macro declarations.
10510 * skeleton.el (define-skeleton):
10511 * progmodes/compile.el (define-compilation-mode):
10512 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10513 (define-ibuffer-filter):
10514 * emacs-lisp/generic.el (define-generic-mode):
10515 * emacs-lisp/easy-mmode.el (define-minor-mode)
10516 (define-globalized-minor-mode):
10517 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10518 * emacs-lisp/byte-run.el (defsubst):
10519 * custom.el (deftheme): Add doc-string metadata.
10520
10521 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10522
10523 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10524
10525 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10526
10527 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10528
10529 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10530 * emacs-lisp/cl-macs.el: Idem.
10531 * emacs-lisp/cl-specs.el: Remove.
10532
10533 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10534
10535 Minor renaming of internal CL functions and variables.
10536 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10537 (cl--position): Rename from cl-position.
10538 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10539 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10540 (cl--random-state): Rename from *random-state*.
10541
10542 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10543
10544 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10545 parens around the arg list (bug#11499).
10546
10547 2012-05-17 Juri Linkov <juri@jurta.org>
10548
10549 * isearch.el (word-search-regexp, word-search-backward)
10550 (word-search-forward, word-search-backward-lax)
10551 (word-search-forward-lax): Move functions from search.c
10552 (bug#10145, bug#11381).
10553
10554 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10555
10556 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10557 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10558 Delay for otherchars as for normal word components.
10559
10560 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10561
10562 * minibuffer.el (completion--sifn-requote): Fix last change.
10563 (minibuffer-local-must-match-filename-map):
10564 Move define-obsolete-variable-alias before its var.
10565
10566 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10567
10568 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10569
10570 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10571 behavior.
10572 (completion--string-equal-p): New function.
10573 (completion--twq-all): Use it to get better assertion failure data.
10574
10575 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10576 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10577 (shell--requote-argument): New functions.
10578 (shell-completion-vars): Use them.
10579 (shell--parse-pcomplete-arguments): Rename from
10580 shell-parse-pcomplete-arguments.
10581 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10582 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10583 Obey comint-file-name-quote-list.
10584
10585 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10586 (smie-indent-keyword): Use it.
10587
10588 2012-05-14 Stefan Merten <smerten@oekonux.de>
10589
10590 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10591
10592 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10593
10594 * net/rlogin.el (rlogin-mode-map): Fix last change.
10595
10596 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10597
10598 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10599 the following \r\n using a single `process-send-string', since the
10600 Lotus SMTP server refuses to accept any commands if they are sent
10601 with two `process-send-string's (Bug#11444).
10602
10603 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10604
10605 * shell.el (shell-parse-pcomplete-arguments):
10606 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10607
10608 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10609
10610 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10611 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10612 (image-transform-width, image-transform-fit-width): New functions.
10613 (image-transform-properties): Use them.
10614 (image-transform-check-size): New function.
10615 (image-toggle-display-image): Use it (for testing).
10616 (image-transform-set-rotation): Reduce angle mod 360.
10617 Delete obsolete comment.
10618
10619 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10620
10621 * image-mode.el: Fix scaling (bug#11399).
10622 (image-transform-resize): Doc fix.
10623 (image-transform-properties): Default scale is 1 and height should
10624 be an integer.
10625
10626 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10627
10628 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10629 than hard-coding `car', to fix misbehavior when moving forward.
10630
10631 2012-05-13 Chong Yidong <cyd@gnu.org>
10632
10633 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10634 (tabulated-list-entries, tabulated-list-padding)
10635 (tabulated-list-sort-key): Make permanent-local.
10636
10637 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10638 (electric-buffer-list): Put electric buffer menu
10639 command descriptions in this docstring, instead of the docstring
10640 of electric-buffer-menu-mode. Code cleanups.
10641 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10642 Electric-buffer-menu-mode.
10643 (electric-buffer-update-highlight): Minor code cleanup.
10644
10645 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10646
10647 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10648 (Bug#11447)
10649
10650 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10651
10652 Move define-obsolete-variable-alias before the var's definition.
10653 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10654 * tooltip.el (tooltip-hook):
10655 * textmodes/reftex-toc.el (reftex-toc-map):
10656 * textmodes/reftex-sel.el (reftex-select-label-map)
10657 (reftex-select-bib-map):
10658 * textmodes/reftex-index.el (reftex-index-map)
10659 (reftex-index-phrases-map):
10660 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10661 * progmodes/meta-mode.el (meta-mode-map):
10662 * novice.el (disabled-command-hook):
10663 * loadhist.el (unload-hook-features-list):
10664 * frame.el (blink-cursor):
10665 * files.el (find-file-not-found-hooks, write-file-hooks)
10666 (write-contents-hooks):
10667 * emulation/tpu-edt.el (GOLD-map):
10668 * emacs-lock.el (emacs-lock-from-exiting):
10669 * emacs-lisp/generic.el (generic-font-lock-defaults):
10670 * emacs-lisp/chart.el (chart-map):
10671 * dos-fns.el (register-name-alist):
10672 * dired-x.el (dired-omit-files-p):
10673 * desktop.el (desktop-enable):
10674 * cus-edit.el (custom-mode-hook):
10675 * buff-menu.el (buffer-menu-mode-hook):
10676 * bookmark.el (bookmark-read-annotation-text-func)
10677 (bookmark-exit-hooks):
10678 * allout.el (allout-mode-deactivate-hook)
10679 (allout-exposure-change-hook, allout-structure-added-hook)
10680 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10681 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10682 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10683 comes before the corresponding variable's definition.
10684
10685 2012-05-12 Chong Yidong <cyd@gnu.org>
10686
10687 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10688 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10689 (Buffer-menu-mode-map): Bind it.
10690 (Buffer-menu--pretty-name): Add a mouse-face property.
10691
10692 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10693
10694 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10695 (prolog-upper-case-string, prolog-lower-case-string)
10696 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10697 (prolog-use-smie, prolog-smie-grammar): New vars.
10698 (prolog-smie-forward-token, prolog-smie-backward-token)
10699 (prolog-smie-rules): New funs.
10700 (prolog-comment-indent): Remove.
10701 (prolog-mode-variables): Use default comment indentation instead.
10702 Setup SMIE.
10703 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10704 (prolog-mode): Don't call them any more.
10705 (prolog-electric-colon, prolog-electric-dash)
10706 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10707
10708 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10709
10710 * minibuffer.el (completion--twq-all): Again, allow case differences.
10711
10712 * term.el: Move keymap initialization code to be more idiomatic.
10713 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10714 (term-terminal-menu): Move initialization into declaration.
10715 (term-escape-char): Let the user set it in her .emacs.
10716
10717 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10718 Provide SMIE-based indentation (not enabled by default yet).
10719 (sh-mode-map): Don't bind electric keys.
10720 Use electric-pair-mode instead of skeleton-pair.
10721 (sh-assignment-regexp): Fit within 80 columns.
10722 (sh-indent-supported): Specify actual shell name instead of boolean.
10723 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10724 (sh-maybe-here-document): Use it. Make obsolete.
10725 (sh-electric-here-document-mode) New minor mode.
10726 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10727 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10728 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10729 (sh-smie-rc-grammar, sh-use-smie): New vars.
10730 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10731 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10732 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10733 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10734 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10735 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10736 (sh-set-shell): Use smie-setup if requested.
10737
10738 * term.el (term-set-escape-char): Properly set term-escape-char.
10739 See http://stackoverflow.com/questions/10524656.
10740
10741 2012-05-10 Chong Yidong <cyd@gnu.org>
10742
10743 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10744 Use url-generic-parse-url, and handle host names and Windows
10745 filenames properly.
10746 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10747 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10748 URL schemes to work on.
10749 (ffap--toggle-read-only): New function.
10750 (ffap-read-only, ffap-read-only-other-window)
10751 (ffap-read-only-other-frame): Use it.
10752 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10753 necessary for ffap-url-unwrap-remote.
10754
10755 2012-05-10 Dave Abrahams <dave@boostpro.com>
10756
10757 * cus-start.el (create-lockfiles): Add it.
10758
10759 2012-05-09 Chong Yidong <cyd@gnu.org>
10760
10761 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10762 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10763
10764 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10765
10766 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10767
10768 2012-05-09 Chong Yidong <cyd@gnu.org>
10769
10770 * ansi-color.el (ansi-color-process-output): Check for validity of
10771 comint-last-output-start before using it. This avoids a bad
10772 interaction with gdb-mi's input/output buffer.
10773
10774 2012-05-09 Glenn Morris <rgm@gnu.org>
10775
10776 * files.el (dir-locals-read-from-file):
10777 Mention dir-locals in any error message.
10778
10779 2012-05-09 Chong Yidong <cyd@gnu.org>
10780
10781 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10782 package (Bug#11410).
10783
10784 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10785 variables into description.
10786
10787 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10788
10789 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10790 shell-delimiter-argument-list (bug#11348).
10791 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10792
10793 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
10794
10795 * textmodes/rst.el: Silence byte-compiler warnings.
10796 (rst-re-alist, rst-reset-section-caches): Move around.
10797 (rst-re): Use `characterp', not `char-valid-p'.
10798 (font-lock-beg, font-lock-end): Declare.
10799
10800 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10801 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10802
10803 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10804
10805 2012-05-08 Glenn Morris <rgm@gnu.org>
10806
10807 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10808
10809 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10810
10811 * vc/log-edit.el: Add GNU coding standards highlighting.
10812 (log-edit-font-lock-gnu-style)
10813 (log-edit-font-lock-gnu-keywords): New vars.
10814 (log-edit-font-lock-keywords): New fun.
10815 (log-edit-mode): Don't fold case in font-lock.
10816 (log-edit-font-lock-keywords): Do not assume case-folding.
10817
10818 * imenu.el: Misc cleanup. Make docstrings out of comments.
10819 Use lexical-binding.
10820 (imenu--index-alist, imenu--last-menubar-index-alist)
10821 (imenu-menubar-modified-tick): Use defvar-local.
10822 (imenu--split-menu): Remove unused var.
10823 (imenu--cleanup-seen): Declare as global.
10824 (imenu--cleanup): Use dolist.
10825
10826 * subr.el (defvar-local): Add debug spec and doc-string position.
10827
10828 2012-05-08 Glenn Morris <rgm@gnu.org>
10829
10830 * language/burmese.el, language/cham.el, language/czech.el:
10831 * language/english.el, language/georgian.el, language/greek.el:
10832 * language/japanese.el, language/khmer.el, language/korean.el:
10833 * language/lao.el, language/misc-lang.el, language/romanian.el:
10834 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10835 * language/thai.el, language/utf-8-lang.el:
10836 Remove no-byte-compile setting.
10837
10838 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10839
10840 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10841
10842 * progmodes/make-mode.el (makefile-browse):
10843 Remove unnecessary interactive. (Bug#11324)
10844
10845 2012-05-07 Glenn Morris <rgm@gnu.org>
10846
10847 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10848
10849 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10850
10851 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10852
10853 * loadup.el: Preload newcomment.el.
10854 * newcomment.el: Move autoload-only code to toplevel.
10855
10856 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10857 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10858 Handle new :right-align column property.
10859 (tabulated-list-print-col): Idem, plus use `display' text-property to
10860 try and preserve alignment for variable pitch fonts.
10861
10862 2012-05-07 Chong Yidong <cyd@gnu.org>
10863
10864 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10865 (tabulated-list-use-header-line): New var.
10866 (tabulated-list-init-header): Use it.
10867 (tabulated-list-print-fake-header): New function.
10868 (tabulated-list-print): Use it.
10869 (tabulated-list-sort-button-map): Add non-header-line commands.
10870 (tabulated-list-init-header): Add column name property to basic
10871 labels as well.
10872 (tabulated-list-col-sort): Handle non-header-line button case.
10873 (tabulated-list--sort-by-column-name): Fix a corner case.
10874
10875 * buff-menu.el (list-buffers--refresh):
10876 Handle Buffer-menu-use-header-line.
10877
10878 2012-05-06 Chong Yidong <cyd@gnu.org>
10879
10880 * buff-menu.el: Convert to Tabulated List mode.
10881 (Buffer-menu-buffer+size-width): Make obsolete.
10882 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10883 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10884 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10885 documentation into docstring of buffer-menu.
10886 (Buffer-menu-toggle-files-only): Add an informative message.
10887 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10888 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10889 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10890 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10891 (Buffer-menu-execute, Buffer-menu-select)
10892 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10893 (Buffer-menu-bury): Use Tabulated List machinery.
10894 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10895 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
10896 Delete.
10897 (list-buffers--refresh): New function.
10898 (list-buffers-noselect): Use it.
10899 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10900 (Buffer-menu--pretty-file-name): New helper functions.
10901
10902 * loadup.el: Preload tabulated-list.
10903
10904 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10905 tabulated-list-sort-column.
10906 (tabulated-list-init-header): Add the initial aligning space even
10907 if tabulated-list-padding is zero.
10908
10909 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10910
10911 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10912 whose cdr is not a cons cell correctly (bug#11038).
10913
10914 2012-05-06 Chong Yidong <cyd@gnu.org>
10915
10916 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10917 Accept additional plist in column descriptors.
10918 (tabulated-list-init-header): Obey it.
10919 (tabulated-list-get-entry): New function.
10920 (tabulated-list-put-tag): Use it. Use string-width instead of
10921 length.
10922 (tabulated-list--column-number): New function.
10923 (tabulated-list-print): Use it.
10924 (tabulated-list-print-col): New function.
10925 Set `tabulated-list-column-name' property on each column's text.
10926 (tabulated-list-print-entry): Use it.
10927 (tabulated-list-delete-entry, tabulated-list-set-col):
10928 New functions.
10929 (tabulated-list-sort-column): New command (Bug#11337).
10930
10931 * buff-menu.el (list-buffers): Move C-x C-b binding from
10932 buff-menu.el to bindings.el.
10933
10934 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10935 :advertised-binding feature.
10936
10937 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10938
10939 * progmodes/compile.el (compilation-internal-error-properties):
10940 Calculate start position correctly when end-col is set but
10941 end-line is not (Bug#11382).
10942
10943 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10944
10945 * man.el (Man-unindent): Use text-property-default-nonsticky to
10946 prevent untabify from inheriting face properties (Bug#11408).
10947
10948 2012-05-05 Stefan Merten <smerten@oekonux.de>
10949
10950 * textmodes/rst.el: Major merge with upstream development up to
10951 Docutils SVN r7399 / rst.el V1.2.1.
10952
10953 Clarify maintainership and authors.
10954
10955 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10956 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10957 (rst-official-version, rst-official-cvs-rev, rst-version)
10958 (rst-package-emacs-version-alist): New functions and variables
10959 for version information.
10960
10961 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10962 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10963 (rst-mode-syntax-table, rst-mode): New and corrected functions
10964 and variables representing reStructuredText features.
10965
10966 (rst-re): New function for reStructuredText regexes. Use in
10967 many places.
10968
10969 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10970 (rst-mode-map): Rebind keys.
10971
10972 (rst-mode-lazy, rst-font-lock-keywords)
10973 (rst-font-lock-extend-region)
10974 (rst-font-lock-extend-region-internal)
10975 (rst-font-lock-extend-region-extend)
10976 (rst-font-lock-find-unindented-line-limit)
10977 (rst-font-lock-find-unindented-line-match)
10978 (rst-adornment-level, rst-font-lock-adornment-level)
10979 (rst-font-lock-adornment-match)
10980 (rst-font-lock-handle-adornment-pre-match-form)
10981 (rst-font-lock-handle-adornment-matcher): Major revision of
10982 font-locking. Integrate with other code. Use `jit-lock-mode'.
10983
10984 (rst-preferred-adornments, rst-adjust-hook)
10985 (rst-new-adornment-down, rst-preferred-bullets)
10986 (rst-preferred-bullets, rst-indent, rst-indent-width)
10987 (rst-indent-field, rst-indent-literal-normal)
10988 (rst-indent-literal-minimized, rst-indent-comment): Change,
10989 extend and improve customization.
10990
10991 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10992 (rst-normalize-cursor-position, rst-get-decoration)
10993 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10994 (rst-rstrip, rst-toc-insert-find-delete-contents)
10995 (rst-shift-fill-region, rst-compute-bullet-tabs)
10996 (rst-debug-print-tabs, rst-debug-mark-found)
10997 (rst-shift-region-guts, rst-shift-region-right)
10998 (rst-shift-region-left, rst-use-char-classes)
10999 (rst-font-lock-keywords-function)
11000 (rst-font-lock-indentation-point)
11001 (rst-font-lock-find-unindented-line-begin)
11002 (rst-font-lock-find-unindented-line-end)
11003 (rst-font-lock-find-unindented-line)
11004 (rst-font-lock-adornment-point, rst-font-lock-level)
11005 (rst-adornment-level-alist): Remove functions and variables.
11006
11007 (rst-compare-adornments, rst-get-adornment-match)
11008 (rst-suggest-new-adornment, rst-get-adornments-around)
11009 (rst-adornment-complete-p, rst-get-next-adornment)
11010 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11011 (rst-straighten-adornments): Standardize function names to
11012 use "adornment" instead of "decoration". Correct callers.
11013 Similar standardizing in many places.
11014
11015 (rst-update-section, rst-adjust, rst-promote-region)
11016 (rst-enumerate-region, rst-bullet-list-region)
11017 (rst-repeat-last-character): Correct use of `interactive'.
11018
11019 (rst-classify-adornment, rst-find-all-adornments)
11020 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11021 (rst-find-leftmost-column, rst-repeat-last-character):
11022 Refactor functions.
11023
11024 (rst-find-title-line, rst-reset-section-caches)
11025 (rst-get-adornments-around, rst-adjust-adornment-work)
11026 (rst-arabic-to-roman, rst-roman-to-arabic)
11027 (rst-insert-list-pos, rst-insert-list-new-item)
11028 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11029 New functions.
11030
11031 (rst-all-sections, rst-section-hierarchy)
11032 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11033 New variables.
11034
11035 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11036 configuration instead of only buffer. Change where necessary.
11037
11038 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11039 (rst-shift-region, rst-adaptive-fill): New functions for
11040 indentation and filling.
11041
11042 (rst-comment-line-break, rst-comment-indent)
11043 (rst-comment-insert-comment, rst-comment-region)
11044 (rst-uncomment-region): New functions for handling comments.
11045
11046 (rst-compile): Quote shell arguments.
11047
11048 (rst-compile-pdf-preview, rst-compile-slides-preview):
11049 Delete temporary files after use.
11050
11051 2012-05-05 Glenn Morris <rgm@gnu.org>
11052
11053 * calendar/cal-html.el: Optionally include holidays in the output.
11054 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11055 (cal-html-holidays): New option.
11056 (cal-html-css-default): Add holiday entry.
11057 (holiday-in-range): Autoload it.
11058 (cal-html-htmlify-entry): Add optional class argument.
11059 (cal-html-htmlify-list): Add optional holidays argument.
11060 (cal-html-insert-agenda-days): Include holidays in the output.
11061 (cal-html-one-month): Maybe include holidays.
11062
11063 * calendar/holidays.el (holiday-in-range):
11064 Move here from cal-tex-list-holidays.
11065 * calendar/cal-tex.el (cal-tex-list-holidays):
11066 Make it an obsolete alias for holiday-in-range. Update all callers.
11067
11068 2012-05-05 Chong Yidong <cyd@gnu.org>
11069
11070 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11071 Nextstep.
11072
11073 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11074
11075 * files.el (file-auto-mode-skip): New var.
11076 (set-auto-mode-1): Use it.
11077
11078 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11079
11080 * repeat.el: Use lexical-binding.
11081 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11082 (repeat-undo-count): Remove.
11083 (repeat):
11084 * progmodes/octave-mod.el (octave-abbrev-start):
11085 * progmodes/f90.el (f90-abbrev-start):
11086 * face-remap.el (text-scale-adjust):
11087 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11088
11089 * emacs-lisp/pcase.el (pcase--let*): New function.
11090 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11091 a bit more.
11092 (pcase--split-pred): Be more clever about ruling out overlap between
11093 a predicate and some constant pattern.
11094 (pcase--q1): Use `null' instead of (eq foo nil).
11095
11096 * subr.el (setq-local, defvar-local): New macros.
11097 (kbd): Redefine as an alias.
11098 (with-selected-window): Leave unrelated frames alone.
11099 (set-temporary-overlay-map): New function.
11100
11101 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11102
11103 * subr.el (user-error): New function.
11104 * window.el (switch-to-buffer):
11105 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11106 (smerge-match-conflict):
11107 * simple.el (previous-matching-history-element)
11108 (next-matching-history-element, goto-history-element, undo-more)
11109 (undo-start):
11110 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11111 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11112 (next-file, tags-loop-scan, list-tags, complete-tag):
11113 * progmodes/compile.el (compilation-loop):
11114 * mouse.el (mouse-minibuffer-check):
11115 * man.el (Man-bgproc-sentinel, Man-goto-page):
11116 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11117 (Info-history-forward, Info-follow-reference, Info-menu)
11118 (Info-extract-menu-item, Info-extract-menu-counting)
11119 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11120 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11121 (Info-next-reference, Info-prev-reference, Info-index)
11122 (Info-index-next, Info-follow-nearest-node)
11123 (Info-copy-current-node-name):
11124 * imenu.el (imenu--make-index-alist)
11125 (imenu-default-create-index-function, imenu-add-to-menubar):
11126 * files.el (basic-save-buffer, recover-file):
11127 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11128 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11129 (checkdoc-message-text, checkdoc-defun):
11130 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11131 * cus-edit.el (customize-changed-options, customize-rogue)
11132 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11133 (custom-variable-mark-to-reset-standard)
11134 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11135 (custom-file):
11136 * completion.el (check-completion-length):
11137 * comint.el (comint-search-arg)
11138 (comint-previous-matching-input-string-position)
11139 (comint-previous-matching-input)
11140 (comint-replace-by-expanded-history-before-point, comint-send-input)
11141 (comint-copy-old-input, comint-backward-matching-input)
11142 (comint-goto-process-mark, comint-set-process-mark):
11143 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11144 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11145
11146 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11147
11148 * dabbrev.el (dabbrev--ignore-case-p): New function.
11149 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11150 Use it.
11151
11152 * files.el (automount-dir-prefix): Mark as obsolete.
11153
11154 2012-05-04 Glenn Morris <rgm@gnu.org>
11155
11156 * patcomp.el, play/bruce.el: Move to obsolete/.
11157
11158 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11159
11160 Fix minor Y10k bugs.
11161 * arc-mode.el (archive-unixdate):
11162 * autoinsert.el (auto-insert-alist):
11163 * calc/calc-forms.el (math-this-year):
11164 * emacs-lisp/copyright.el (copyright-current-year)
11165 (copyright-update-year, copyright):
11166 * tar-mode.el (tar-clip-time-string):
11167 * time.el (display-time-update):
11168 Don't assume years have 4 digits.
11169
11170 2012-05-04 Chong Yidong <cyd@gnu.org>
11171
11172 * dos-w32.el (file-name-buffer-file-type-alist)
11173 (direct-print-region-use-command-dot-com):
11174 * ffap.el (ffap-menu-regexp):
11175 * find-file.el (ff-special-constructs):
11176 * follow.el (follow-debug):
11177 * forms.el (forms--debug):
11178 * iswitchb.el (iswitchb-all-frames):
11179 * ido.el (ido-all-frames):
11180 * emacs-lisp/timer.el (timer-max-repeats):
11181 * mail/feedmail.el (feedmail-mail-send-hook)
11182 (feedmail-mail-send-hook-queued):
11183 * mail/footnote.el (footnote-signature-separator):
11184 * mail/mailabbrev.el (mail-alias-separator-string)
11185 (mail-abbrev-mode-regexp):
11186 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11187 * progmodes/idlwave.el (idlwave-libinfo-file)
11188 (idlwave-default-completion-case-is-down)
11189 (idlwave-library-routines): Convert defvars to defcustoms.
11190
11191 * mail/rmail.el (rmail-decode-mime-charset):
11192 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11193 (idlwave-shell-fix-inserted-breaks)
11194 (idlwave-shell-activate-alt-keybindings)
11195 (idlwave-shell-use-breakpoint-glyph):
11196 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11197
11198 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11199
11200 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11201
11202 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11203
11204 * progmodes/verilog-mode.el (font-lock-keywords):
11205 Fix mis-highligting auto. Reported by Craig Barner.
11206 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11207 defines from global name space. Reported by Dan Dever.
11208 (verilog-auto-reset, verilog-auto-reset-widths)
11209 (verilog-auto-tieoff): Support using unbased numbers for
11210 AUTORESET and AUTOTIEOFF.
11211 (verilog-submit-bug-report): Update variable list.
11212 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11213 parenthesis from not matching. Reported by Michael Rytting.
11214 (verilog-auto-template-lint): Fix hash error when linting modules
11215 with no used templates.
11216 (verilog-warn, verilog-warn-error)
11217 (verilog-warn-fatal): When non-interactive report multiple
11218 warnings before exiting. Suggested by Brad Dobbie.
11219 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11220 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11221 to report unused template errors. Reported by Brad Dobbie.
11222 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11223 nets, bug438. Reported by Vns Blore.
11224 (verilog-auto-inout-module, verilog-auto-reg)
11225 (verilog-read-decls, verilog-read-sub-decls-sig)
11226 (verilog-signals-edit-wire-reg, verilog-signals-with):
11227 Fix passing of Verilog data types in ANSI input/output ports
11228 such as "output logic" into the AUTOs. Special case "wire" and
11229 "reg" for backwards compatibility presuming Verilog 2001.
11230 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11231 (verilog-preprocess): Fix replication of preprocess output.
11232 Reported by Brad Dobbie.
11233 (verilog-auto-inst-interfaced-ports):
11234 Create verilog-auto-inst-interfaced-ports, bug429.
11235 Reported by Julian Gorfajn.
11236 (verilog-after-save-font-hook)
11237 (verilog-before-save-font-hook): New variable.
11238 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11239 (verilog-save-font-mods): Wrap disabling fontification, reported
11240 by David Rogoff.
11241 (verilog-do-indent, verilog-pretty-declarations-auto)
11242 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11243 Reported by Pierre-David Pfister.
11244 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11245 of class declarations, bug292. Reported by Kevin Heilman.
11246 (verilog-read-decls): Fix 'parameter type' not appearing in
11247 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11248 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11249 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11250 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11251 Reported by David Kravitz.
11252
11253 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11254
11255 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11256 assignment with tests in ifs and for loops.
11257 (verilog-extended-complete-re, verilog-complete-reg): Change so
11258 that DPI inport functions don't look like fuction declarations.
11259 (verilog-pretty-expr): Don't line up assignment
11260 operations to the test and increment in if and for loops
11261 (verilog-extended-complete-re, verilog-complete-reg): Change so
11262 that DPI inport functions don't look like fuction declarations.
11263
11264 2012-05-03 Kenichi Handa <handa@m17n.org>
11265
11266 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11267 decoding, and show a warning message without signaling an error
11268 (Bug#11282).
11269
11270 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11271
11272 * emacs-lisp/bytecomp.el
11273 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11274 since cconv.el might have introduced :fun-body, internal-make-closure,
11275 and friends for bytecomp to handle (bug#11391).
11276 * custom.el (defcustom): Avoid ((λ ..) ..).
11277
11278 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11279
11280 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11281
11282 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11283
11284 * notifications.el (dbus-debug):
11285 * term/linux.el (gpm-mouse-enable):
11286 * term/screen.el (xterm-register-default-colors): Declare.
11287
11288 2012-05-02 Chong Yidong <cyd@gnu.org>
11289
11290 * cus-start.el (gc-cons-percentage, exec-suffixes)
11291 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11292 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11293 (make-cursor-line-fully-visible, void-text-area-pointer)
11294 (font-list-limit): Add customization data.
11295
11296 * allout.el (allout-exposure-change-functions)
11297 (allout-structure-added-functions)
11298 (allout-structure-deleted-functions)
11299 (allout-structure-shifted-functions): Rename abnormal hooks from
11300 *-hook, and convert to defcustoms.
11301 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11302 Convert to defcustoms.
11303 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11304
11305 * allout-widgets.el: Hook callers changed.
11306
11307 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11308
11309 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11310 the yanked message in preference to the default value of
11311 buffer-file-coding-system.
11312
11313 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11314
11315 * window.el (display-buffer--action-function-custom-type):
11316 Fix entry.
11317
11318 2012-05-02 Alan Mackenzie <acm@muc.de>
11319
11320 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11321
11322 2012-05-01 Glenn Morris <rgm@gnu.org>
11323
11324 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11325
11326 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11327
11328 * cus-edit.el (custom-variable-documentation): Simplify with format.
11329
11330 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11331 Stefan Monnier <monnier@iro.umontreal.ca>
11332
11333 * simple.el (suggest-key-bindings, execute-extended-command):
11334 Move from keyboard.c.
11335
11336 2012-05-01 Chong Yidong <cyd@gnu.org>
11337
11338 * follow.el: Eliminate advice.
11339 (set-process-filter, process-filter, sit-for): Advice deleted.
11340 (follow-mode-off-hook): Obsolete hook removed.
11341 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11342 Vars deleted.
11343 (follow-auto): Use a :set function.
11344 (follow-mode): Rewritten. Don't advise process filters.
11345 (follow-switch-to-current-buffer-all, follow-scroll-up)
11346 (follow-scroll-down): Assume follow-mode is bound.
11347 (follow-comint-scroll-to-bottom)
11348 (follow-align-compilation-windows): New functions.
11349 (follow--window-sorter): New function.
11350 (follow-all-followers): Use it to explicitly sort windows by their
11351 positions; don't make assumptions about next-window order.
11352 (follow-windows-start-end, follow-delete-other-windows-and-split)
11353 (follow-calc-win-start): Doc fix.
11354 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11355 vertical-motion unnecessarily.
11356 (follow-adjust-window): New function.
11357 (follow-post-command-hook): Use it.
11358 (follow-call-set-process-filter, follow-call-process-filter)
11359 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11360 (follow-stop-intercept-process-output, follow-generic-filter):
11361 Functions deleted.
11362 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11363 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11364 New functions, replacing advice on scroll-bar-* commands.
11365 (follow-mwheel-scroll): New function (Bug#4112).
11366
11367 * comint.el (comint-adjust-point): New function.
11368 (comint-postoutput-scroll-to-bottom): Use it.
11369 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11370
11371 2012-05-01 Glenn Morris <rgm@gnu.org>
11372
11373 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11374 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11375 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11376 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11377 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11378 Remove no-byte-compile setting.
11379
11380 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11381
11382 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11383 all-completions code to not return a number in the last cdr.
11384
11385 2012-04-30 Leo Liu <sdl.web@gmail.com>
11386
11387 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11388 read-only error.
11389
11390 2012-04-29 Chong Yidong <cyd@gnu.org>
11391
11392 * follow.el (follow-calc-win-end): Rewrite to handle partial
11393 screen lines correctly (Bug#8390).
11394 (follow-avoid-tail-recenter): Minor cleanup.
11395
11396 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11397
11398 Avoid the obsolete `assoc' package.
11399 * speedbar.el (speedbar-refresh): Avoid adelete.
11400 (speedbar-file-lists): Simplify and avoid aput.
11401 * man.el (Man--sections, Man--refpages): New vars, replacing
11402 Man-sections-alist and Man-refpages-alist.
11403 (Man-build-section-alist, Man-build-references-alist):
11404 Use them; avoid aput.
11405 (Man--last-section, Man--last-refpage): New vars.
11406 (Man-follow-manual-reference): Use them.
11407 Use the `default' arg of completing-read.
11408 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11409
11410 2012-04-27 Chong Yidong <cyd@gnu.org>
11411
11412 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11413
11414 * startup.el (x-apply-session-resources): New function.
11415
11416 * term/ns-win.el (ns-initialize-window-system):
11417 * term/w32-win.el (w32-initialize-window-system):
11418 * term/x-win.el (x-initialize-window-system): Use it to properly
11419 set menu-bar-mode and other vars from X resources, even if the
11420 initial frame is not a window-system frame (Bug#2299).
11421
11422 * subr.el (read-key): Avoid running filter function when setting
11423 up temporary tool bar entries (Bug#9922).
11424
11425 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11426
11427 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11428 (Bug#11344)
11429
11430 2012-04-27 Chong Yidong <cyd@gnu.org>
11431
11432 * select.el (xselect--encode-string): New function, split from
11433 xselect-convert-to-string.
11434 (xselect-convert-to-string): Use it.
11435 (xselect-convert-to-filename, xselect-convert-to-os)
11436 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11437 returned strings are properly encoded (Bug#11315).
11438
11439 2012-04-27 Chong Yidong <cyd@gnu.org>
11440
11441 * simple.el (delete-active-region): Move to killing custom group.
11442
11443 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11444
11445 * progmodes/which-func.el (which-func-current): Quote %
11446 characters for mode-line processing.
11447
11448 2012-04-27 Chong Yidong <cyd@gnu.org>
11449
11450 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11451 reaching eob (Bug#11286).
11452
11453 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11454
11455 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11456 (gdb): Make it buffer-local and init to zero.
11457 (gdb-control-commands-regexp): New variable.
11458 (gdb-send): Don't wrap in "-interpreter-exec console" if
11459 gdb-control-level is positive. Increment gdb-control-level
11460 whenever the command matches gdb-control-commands-regexp, and
11461 decrement it each time the command is "end". (Bug#11279)
11462
11463 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11464
11465 * window.el (adjust-window-trailing-edge, enlarge-window)
11466 (shrink-window, window-resize):
11467 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11468 windows (Bug#11276).
11469
11470 2012-04-27 Chong Yidong <cyd@gnu.org>
11471
11472 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11473 fix "missing prefix" warning. All callers changed.
11474
11475 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11476
11477 * emacs-lisp/assoc.el: Move to obsolete/.
11478
11479 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11480
11481 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11482
11483 * term/ns-win.el (ns-define-service):
11484 * progmodes/pascal.el (pascal-goto-defun):
11485 * progmodes/js.el (js--read-tab):
11486 * progmodes/etags.el (tags-lazy-completion-table):
11487 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11488 * emacs-lisp/ewoc.el (ewoc--wrap):
11489 * emacs-lisp/assoc.el (aput, adelete, amake):
11490 * doc-view.el (doc-view-convert-current-doc):
11491 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11492
11493 2012-04-26 Chong Yidong <cyd@gnu.org>
11494
11495 * image.el (image-type-from-buffer): Only return supported image
11496 type (Bug#9045).
11497
11498 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11499 value, for symmetry with diff-end-of-hunk.
11500 (diff-split-hunk, diff-find-source-location)
11501 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11502 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11503 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11504 compute the relevant hunk or file properly (Bug#6005).
11505 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11506
11507 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11508
11509 * vc/vc-mtn.el:
11510 * vc/vc-hg.el:
11511 * vc/vc-git.el:
11512 * vc/vc-dir.el:
11513 * vc/vc-cvs.el:
11514 * vc/vc-bzr.el:
11515 * vc/vc-arch.el:
11516 * vc/vc.el: Replace lexical-let by lexical-binding.
11517 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11518 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11519 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11520
11521 2012-04-26 Chong Yidong <cyd@gnu.org>
11522
11523 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11524 (diff-mode-shared-map): Bind it to / and [remap undo].
11525
11526 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11527 (ediff-window-setup-function): Use it as the default, to set up
11528 windows based on whether the current frame is graphical (Bug#2138).
11529 (ediff-choose-window-setup-function-automatically): Make obsolete.
11530
11531 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11532
11533 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11534
11535 * ffap.el: Remove old code for obsolete package.
11536 (ffap-complete-as-file-p): Remove.
11537
11538 Use completion-table-with-quoting for comint and pcomplete.
11539 * comint.el (comint--unquote&requote-argument)
11540 (comint--unquote-argument, comint--requote-argument): New functions.
11541 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11542 (comint-quote-filename): Use regexp-opt-charset.
11543 (comint--common-suffix, comint--common-quoted-suffix)
11544 (comint--table-subvert): Remove.
11545 (comint-unquote-function, comint-requote-function): New vars.
11546 (comint--complete-file-name-data): Use them with
11547 completion-table-with-quoting.
11548 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11549 * pcomplete.el (pcomplete-arg-quote-list)
11550 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11551 (pcomplete-unquote-argument-function): Default to non-nil.
11552 (pcomplete-unquote-argument): Simplify.
11553 (pcomplete--common-quoted-suffix): Remove.
11554 (pcomplete-requote-argument-function): New var.
11555 (pcomplete--common-suffix): New function.
11556 (pcomplete-completions-at-point): Use completion-table-with-quoting
11557 and completion-table-subvert.
11558
11559 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11560 (minibuffer--double-dollars): Preserve properties.
11561 (completion--sifn-requote): New function.
11562 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11563
11564 * minibuffer.el: Add support for completion of quoted/escaped data.
11565 (completion-table-with-quoting, completion-table-subvert): New funs.
11566 (completion--twq-try, completion--twq-all): New functions.
11567 (completion--nth-completion): New function.
11568 (completion-try-completion, completion-all-completions): Use it.
11569
11570 2012-04-25 Leo Liu <sdl.web@gmail.com>
11571
11572 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11573 Use compilation-message if available to find real filename.
11574
11575 2012-04-25 Chong Yidong <cyd@gnu.org>
11576
11577 * vc/diff-mode.el (diff-setup-whitespace): New function.
11578 (diff-mode): Use it.
11579
11580 * vc/diff.el (diff-sentinel):
11581 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11582 Whitespace mode variables based on diff style (Bug#8612).
11583
11584 2012-04-25 Leo Liu <sdl.web@gmail.com>
11585
11586 * progmodes/python.el (python-send-region): Add suffix .py to the
11587 temp file.
11588
11589 * files.el (auto-mode-alist): Use javascript-mode instead.
11590
11591 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11592
11593 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11594
11595 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11596 (soap-resolve-references-for-array-type): Hack to prevent self
11597 references, see Bug#9.
11598 (soap-parse-envelope): Report the contents of the 'detail' node
11599 when receiving a fault reply.
11600 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11601
11602 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11603 (soap-inspect-simple-type): New function.
11604
11605 * net/soap-client.el (soap-simple-type): New struct.
11606 (soap-default-xsd-types, soap-default-soapenc-types)
11607 (soap-decode-basic-type, soap-encode-basic-type):
11608 support unsignedInt and double basic types.
11609 (soap-resolve-references-for-simple-type)
11610 (soap-parse-simple-type, soap-encode-simple-type): New function.
11611 (soap-parse-schema): Parse xsd:simpleType declarations.
11612
11613 * net/soap-client.el (soap-default-xsd-types)
11614 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11615 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11616 the local name of "soapenc:Array".
11617 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11618 decoding integer, byte and anyURI xsd types.
11619
11620 2012-04-25 Chong Yidong <cyd@gnu.org>
11621
11622 * cus-edit.el (custom-buffer-create-internal): Update header text.
11623
11624 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11625
11626 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11627 settings on 'system-type', not on 'window-system'. On MS-Windows,
11628 set interactive-mode on in GDB.
11629
11630 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11631
11632 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11633 (ruby-syntax-propertize-regexp): Remove.
11634 (ruby-syntax-propertize-function): Split regexp into chunks.
11635 Match following code directly.
11636
11637 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11638
11639 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11640 (ruby-syntax-propertize-regexp): New function.
11641 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11642 by a special keyword.
11643
11644 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11645 (ruby-syntax-general-delimiters-goto-beg)
11646 (ruby-syntax-propertize-general-delimiters): New functions.
11647 (ruby-syntax-propertize-function): Use them to handle GDL.
11648 (ruby-font-lock-keywords): Move old handling of GDL...
11649 (ruby-font-lock-syntactic-keywords): .. to here.
11650 (ruby-calculate-indent): Adjust indentation for GDL.
11651
11652 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11653
11654 * notifications.el (top): Remove unneeded declarations.
11655 (notifications-specification-version): Change to "1.2".
11656 (notifications-interface, notifications-notify-method)
11657 (notifications-close-notification-method): Fix docstring.
11658 (notifications-get-capabilities-method): New defconst.
11659 (notifications-notify): Add :action-items, :resident and
11660 :transient hints. Change "image_data" to "image-data" and
11661 "image_path" to "image-path".
11662 (notifications-get-capabilities): New defun.
11663
11664 2012-04-24 Leo Liu <sdl.web@gmail.com>
11665
11666 * progmodes/python.el: Move hideshow setup to the end.
11667
11668 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11669
11670 * window.el (handle-select-window): Clear echo area since this is
11671 no more done by read_char (Bug#11304).
11672
11673 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11674
11675 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11676 and `/ M' to filter-derived-mode.
11677 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11678 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11679 (ibuffer-mark-by-mode): Use default rather than initial-input.
11680 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11681
11682 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11683
11684 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11685 (ibuffer-filter-by-derived-mode): New filter.
11686 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11687
11688 2012-04-23 Andreas Politz <politza@fh-trier.de>
11689
11690 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11691
11692 2012-04-23 Chong Yidong <cyd@gnu.org>
11693
11694 * cus-edit.el (customize-apropos, customize-apropos-options):
11695 Disable matching of non-option variables (Bug#11176).
11696 (customize-option, customize-option-other-window)
11697 (customize-changed-options): Doc fix.
11698 (customize-apropos-options, customize-apropos-faces)
11699 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11700
11701 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11702 Fix word list splitting (Bug#11132).
11703 (apropos-symbol, apropos-keybinding, apropos-label)
11704 (apropos-property, apropos-function-button)
11705 (apropos-variable-button, apropos-misc-button): New faces.
11706 (apropos-symbol-face, apropos-keybinding-face)
11707 (apropos-label-face, apropos-property-face, apropos-match-face):
11708 Variables removed (Bug#8396).
11709 (apropos-library-button, apropos-format-plist, apropos-print)
11710 (apropos-print-doc, apropos-describe-plist): Callers changed.
11711
11712 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11713
11714 * net/xesam.el (xesam-mode-map): Use let-bound map in
11715 initialization. (Bug#11292)
11716
11717 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11718
11719 Preserve ispell session localwords when switching back to
11720 original buffer.
11721
11722 * textmodes/ispell.el (ispell-buffer-session-localwords):
11723 New buffer-local variable to hold buffer session localwords.
11724 (ispell-kill-ispell): Add option 'clear to delete session
11725 localwords.
11726 (ispell-command-loop, ispell-change-dictionary)
11727 (ispell-buffer-local-words): Preserve session localwords when
11728 needed.
11729
11730 * textmodes/flyspell.el (flyspell-process-localwords)
11731 (flyspell-do-correct): Preserve session localwords when needed.
11732
11733 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11734
11735 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11736 using obsolete `translation-table-for-input'.
11737 (ispell-word, ispell-process-line, ispell-complete-word):
11738 Use plain `insert' instead of removed `ispell-insert-word'.
11739
11740 2012-04-22 Chong Yidong <cyd@gnu.org>
11741
11742 * cus-edit.el (custom-variable-menu)
11743 (custom-variable-reset-saved, custom-face-menu)
11744 (custom-face-reset-saved): If there is no saved value, make the
11745 "reset-saved" operation bring back the default (Bug#9509).
11746 (custom-face-state): Properly detect themed faces.
11747
11748 * faces.el (face-spec-set): Stop supporting deprecated form of
11749 third arg.
11750
11751 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
11752
11753 Move functions from C to Lisp. Make non-blocking method calls
11754 the default. Implement further D-Bus standard interfaces.
11755
11756 * net/dbus.el (dbus-message-internal): Declare function.
11757 Remove unneeded function declarations.
11758 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11759 (dbus-message-type-method-return, dbus-message-type-error)
11760 (dbus-message-type-signal): Declare variables. Remove local
11761 definitions.
11762 (dbus-interface-dbus, dbus-interface-peer)
11763 (dbus-interface-introspectable, dbus-interface-properties)
11764 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11765 Adapt docstring.
11766 (dbus-interface-objectmanager): New defconst.
11767 (dbus-call-method, dbus-call-method-asynchronously)
11768 (dbus-send-signal, dbus-method-return-internal)
11769 (dbus-method-error-internal, dbus-register-service)
11770 (dbus-register-signal, dbus-register-method): New defuns, moved
11771 from dbusbind.c
11772 (dbus-call-method-handler, dbus-setenv)
11773 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11774 New defuns.
11775 (dbus-call-method-non-blocking): Make it an obsolete function.
11776 (dbus-unregister-object, dbus-unregister-service)
11777 (dbus-handle-event, dbus-register-property)
11778 (dbus-property-handler): Obey the new structure of
11779 `bus-registered-objects'.
11780 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11781 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11782 Use `dbus-call-method'.
11783
11784 2012-04-22 Chong Yidong <cyd@gnu.org>
11785
11786 * cus-edit.el (custom-commands, custom-reset-menu)
11787 (Custom-reset-standard): Tweak labels.
11788 (custom-reset-button-menu): Change default to t.
11789 (custom-buffer-create-internal): For the custom-reset-button-menu
11790 case, put the revert button first.
11791 (custom-group-subtitle): New face.
11792 (custom-group-value-create): Align docstring to a specific column.
11793
11794 * wid-edit.el (widget-documentation-link-add): Don't handle
11795 indentation in this function.
11796 (widget-documentation-string-indent-to): New function.
11797 (widget-documentation-string-value-create): Use it.
11798
11799 * autorevert.el (auto-revert):
11800 * epg-config.el (epg):
11801 * ibuffer.el (ibuffer):
11802 * mpc.el (mpc):
11803 * ses.el (ses):
11804 * eshell/eshell.el (eshell):
11805 * net/ange-ftp.el (ange-ftp):
11806 * progmodes/ebnf2ps.el (postscript):
11807 * progmodes/flymake.el (flymake):
11808 * progmodes/prolog.el (prolog):
11809 * progmodes/verilog-mode.el (verilog-mode):
11810 * progmodes/which-func.el (which-func):
11811 * term/xterm.el (xterm):
11812 * textmodes/picture.el (picture):
11813 * textmodes/tildify.el (tildify):
11814 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11815 customization buffers.
11816
11817 2012-04-22 Alan Mackenzie <acm@muc.de>
11818
11819 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11820 Adding a ) can hide the resulting (..) from searches. Fix it.
11821 Bound the backward search to the position of the existing (.
11822
11823 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
11824
11825 * progmodes/verilog-mode.el (verilog-mode): Check whether
11826 which-func-modes is t before adding verilog-mode.
11827 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11828
11829 2012-04-21 Leo Liu <sdl.web@gmail.com>
11830
11831 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11832
11833 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11834
11835 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11836 filling of the last column of a table (Bug#5635).
11837 (woman-find-next-control-line): New arg, specifying an additional
11838 regexp component for the control line.
11839 (woman2-roff-buffer): Use it.
11840 (woman-break-table): New function.
11841 (woman2-TS): Use it.
11842
11843 2012-04-21 Chong Yidong <cyd@gnu.org>
11844
11845 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11846 (woman-horizontal-escapes, woman-negative-vertical-space)
11847 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11848 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11849
11850 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11851
11852 * minibuffer.el (completion-file-name-table): Complete user names.
11853
11854 2012-04-20 Leo Liu <sdl.web@gmail.com>
11855
11856 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11857 and pcase-let*.
11858
11859 2012-04-20 Chong Yidong <cyd@gnu.org>
11860
11861 * server.el (server-execute): Respect initial-buffer-choice if it
11862 is a string and there are no files to open (Bug#2825).
11863 (server-create-window-system-frame, server-create-tty-frame):
11864 Don't switch buffers here.
11865 (server-process-filter): Only try to open a window system frame if
11866 compiled with graphical support (Bug#8314).
11867
11868 2012-04-20 Dan Nicolaescu <dann@gnu.org>
11869
11870 * battery.el (battery-echo-area-format): Display remaining time
11871 for sysfs backend too (Bug#11269).
11872 (battery-linux-sysfs): Fix conditional for the charge.
11873
11874 2012-04-20 Chong Yidong <cyd@gnu.org>
11875
11876 * progmodes/gdb-mi.el (gdb): Revert previous change.
11877 (gdb-inferior-io--init-proc): New function.
11878 (gdb-init-1): Use it.
11879 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11880 responsible for allocating a new pty and hooking it to gdb when
11881 the old pty gets an EIO due to process exit.
11882 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11883 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11884 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11885
11886 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11887
11888 * window.el (window-min-size, window-sizable, window-min-delta)
11889 (window-max-delta, window--resizable, window-resizable)
11890 (window-total-size, window-full-height-p, window-full-width-p)
11891 (window-in-direction, window--resize-mini-window, window-resize)
11892 (window--resize-child-windows-normal)
11893 (window--resize-child-windows, window--resize-siblings)
11894 (window--resize-this-window, adjust-window-trailing-edge)
11895 (enlarge-window, shrink-window): Doc fixes.
11896
11897 2012-04-20 Chong Yidong <cyd@gnu.org>
11898
11899 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11900 New function to call delete-process on the gdb-inferior buffer's pty.
11901 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11902 pty process (Bug#11273).
11903 (gdb-update): New arg to suppress talking to the gdb process.
11904 (gdb-done-or-error): Use it.
11905 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11906 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11907 sentinel not being called.
11908
11909 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11910
11911 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11912
11913 2012-04-20 Glenn Morris <rgm@gnu.org>
11914
11915 * net/network-stream.el (open-network-stream): Doc fix.
11916
11917 2012-04-20 Chong Yidong <cyd@gnu.org>
11918
11919 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11920
11921 2012-04-20 Alan Mackenzie <acm@muc.de>
11922
11923 Ensure searching for keywords is case sensitive.
11924
11925 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11926 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11927 (c-defun-name, c-mark-function, c-cpp-define-name)
11928 (c-comment-indent, c-scan-conditionals, c-indent-defun)
11929 (c-context-line-break): Bind case-fold-search to nil.
11930
11931 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11932 Bind case-fold-search to nil.
11933
11934 2012-04-20 Chong Yidong <cyd@gnu.org>
11935
11936 * mail/sendmail.el (mail-bury): Call return action with the right
11937 Rmail buffer (Bug#11242).
11938
11939 * server.el (server-process-filter): Handle corner case where both
11940 tty and nowait options are present (Bug#11102).
11941
11942 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11943
11944 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
11945 (top level): Put into the executable the ident-style '$Id:' tag on
11946 windows-nt as well.
11947
11948 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11949
11950 * electric.el (electric-indent-post-self-insert-function): Check that
11951 electric-indent-mode is enabled in current buffer.
11952
11953 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11954
11955 * imenu.el (imenu-progress-message): Restore; it is "used" in
11956 erc/erc-imenu.el and net/snmp-mode.el.
11957
11958 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11959
11960 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11961 (mouse-avoidance-nudge-mouse): Remove unused binding.
11962
11963 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11964
11965 * descr-text.el (describe-char):
11966 * progmodes/python.el (python-describe-symbol):
11967 Don't call `toggle-read-only', set `buffer-read-only'.
11968
11969 * imenu.el (imenu-default-goto-function): Mark unused args.
11970 (imenu-progress-message): Remove obsolete macro; all callers changed.
11971
11972 * subr.el (keymap-canonicalize): Remove unused binding.
11973 (read-passwd): Mark unused arg.
11974
11975 * tutorial.el (tutorial--display-changes): Remove unused binding.
11976 (tutorial--save-tutorial-to): Remove unused variable.
11977
11978 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11979 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11980 (package-generate-autoloads, package-menu--generate)
11981 (package-menu--find-upgrades): Remove unused bindings.
11982
11983 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11984 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11985 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11986 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11987 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11988 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11989 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11990 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11991 (cua-delete-char-rectangle): Mark unused args.
11992 (cua-align-rectangle): Remove unused binding.
11993
11994 * mail/rmail.el (compilation--message->loc)
11995 (epa--find-coding-system-for-mime-charset): Declare.
11996
11997 * net/dbus.el (dbus-register-service): Declare.
11998 (dbus-name-owner-changed-handler): Remove unused binding.
11999
12000 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12001 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12002 (nxml-scan-backward-within): Mark unused arg.
12003 (nxml-dynamic-markup-word): Remove unused binding.
12004
12005 * mouse.el (mouse-menu-major-mode-map):
12006 * emacs-lisp/authors.el (authors-scan-change-log)
12007 (authors-add-to-author-list):
12008 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12009 * emacs-lisp/smie.el (smie-auto-fill):
12010 * mail/sendmail.el (mail-bury):
12011 * mail/unrmail.el (unrmail):
12012 * net/tls.el (open-tls-stream):
12013 * textmodes/picture.el (picture-mouse-set-point):
12014 Remove unused bindings.
12015
12016 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12017
12018 * net/tramp.el (tramp-action-password): Let-bind
12019 `enable-recursive-minibuffers' to t.
12020
12021 2012-04-18 Sam Steingold <sds@gnu.org>
12022
12023 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12024 instead of 'string to accommodate values like [f11].
12025 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12026 * progmodes/gdb-mi.el: Likewise.
12027
12028 2012-04-18 Leo Liu <sdl.web@gmail.com>
12029
12030 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12031 current buffer.
12032 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12033 LOCAL is nil.
12034
12035 2012-04-18 Chong Yidong <cyd@gnu.org>
12036
12037 * simple.el (line-move): Use forward-line if in batch mode
12038 (Bug#11053).
12039
12040 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12041
12042 * files.el (after-find-file): Do not try to add a final newline if
12043 the buffer is read-only (Bug#11156).
12044
12045 2012-04-17 Richard Stallman <rms@gnu.org>
12046
12047 * mail/rmail.el (rmail-start-mail):
12048 Pass (rmail-mail-return...) for the return-action.
12049 Pass (rmail-yank-current-message...) for the yank-action.
12050 (rmail-yank-current-message): New function.
12051 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12052 (rmail-reply): Likewise.
12053 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12054
12055 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12056 buffer, not the last. Reject temp buffers. Use the rmail-mode
12057 buffer, not newbuf.
12058
12059 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12060
12061 * server.el (server-ensure-safe-dir): Simplify.
12062
12063 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12064
12065 * emacs-lisp/smie.el: Provide smarter auto-filling.
12066 (smie-auto-fill): New function.
12067 (smie-setup): Use it.
12068
12069 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12070
12071 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12072
12073 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12074 (comment-indent): Use it.
12075
12076 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12077
12078 * ses.el: The overall change is to add cell renaming, that is
12079 setting fancy names for cell symbols other than name matching
12080 "\\`[A-Z]+[0-9]+\\'" regexp .
12081 (ses-localvars): Add ses--renamed-cell-symb-list.
12082 (ses-create-cell-variable): New defun.
12083 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12084 (ses-relocate-formula): Relocate formulas only for cells the
12085 symbols of which are not renamed, i.e. symbols whose names do not
12086 match regexp "\\`[A-Z]+[0-9]+\\'".
12087 (ses-relocate-all): Relocate values only for cells the symbols of
12088 which are not renamed.
12089 (ses-load): Create cells variables as the (ses-cell ...) are read,
12090 in order to check row col consistency with cell symbol name only
12091 for cells that are not renamed.
12092 (ses-replace-name-in-formula): New defun.
12093 (ses-rename-cell): New defun.
12094
12095 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12096
12097 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12098 New option (bug#11118).
12099 (perl-calculate-indent): Respect it.
12100
12101 2012-04-17 Glenn Morris <rgm@gnu.org>
12102
12103 * dired-aux.el (dired-mark-read-string): Doc fix.
12104
12105 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12106
12107 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12108 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12109
12110 2012-04-17 Glenn Morris <rgm@gnu.org>
12111
12112 * mouse.el (mouse-drag-track):
12113 * speedbar.el (speedbar-frame-mode):
12114 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12115
12116 2012-04-16 Leo Liu <sdl.web@gmail.com>
12117
12118 * progmodes/python.el: Trivial cleanup.
12119
12120 2012-04-16 Glenn Morris <rgm@gnu.org>
12121
12122 * vc/vc.el (vc-string-prefix-p):
12123 * vc/pcvs-util.el (cvs-string-prefix-p):
12124 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12125 * mpc.el (mpc-string-prefix-p):
12126 Make all of these into obsolete aliases for string-prefix-p.
12127 Update callers.
12128 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12129
12130 * textmodes/two-column.el: Move custom options to the start.
12131 (frame-width): Remove compat definition.
12132 (2C-associate-buffer, 2C-dissociate):
12133 Use with-current-buffer rather than save-excursion.
12134 (2C-dissociate): Force a mode-line update.
12135 (2C-autoscroll): Use ignore-errors.
12136
12137 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12138 Autoload trivia.
12139
12140 * emacs-lisp/cl-extra.el (*random-state*):
12141 Remove unnecessary declaration.
12142
12143 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12144
12145 * play/cookie1.el (cookie-snarf):
12146 Give an explicit error if input file cannot be read.
12147
12148 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12149
12150 * progmodes/perl-mode.el (c-macro-expand):
12151 Remove unnecessary autoload (it is in loaddefs.el).
12152
12153 * textmodes/picture.el (picture-desired-column)
12154 (picture-update-desired-column): Convert comments to doc-strings.
12155 (picture-substitute): Remove function.
12156 (picture-mode-map): Initialize in the defvar.
12157
12158 * woman.el: Remove eval-after-load for tar-mode.
12159 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12160 (woman-tar-extract-file): Autoload it.
12161
12162 * frame.el (automatic-hscrolling): Make this alias obsolete.
12163
12164 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12165
12166 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12167 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12168 (ispell-dictionary-base-alist): Revert to original XEmacs
12169 friendly version for default. [:alpha:] will be added in
12170 `ispell-set-spellchecker-params' if needed.
12171
12172 2012-04-16 Chong Yidong <cyd@gnu.org>
12173
12174 * image.el (imagemagick--file-regexp): New variable.
12175 (imagemagick-register-types): Use it.
12176 (imagemagick-types-inhibit): Add :set function. Allow new value
12177 of t to inhibit all types.
12178
12179 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12180 so we can preload it.
12181
12182 * loadup.el (fboundp): Preload regexp-opt, needed by
12183 imagemagick-register-types.
12184
12185 2012-04-15 Chong Yidong <cyd@gnu.org>
12186
12187 * frame.el (scrolling): Remove nearly unused customization group.
12188
12189 * scroll-all.el (scroll-all-mode): Move to windows group.
12190
12191 2012-04-15 Chong Yidong <cyd@gnu.org>
12192
12193 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12194
12195 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12196
12197 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12198 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12199
12200 2012-04-15 Glenn Morris <rgm@gnu.org>
12201
12202 * simple.el (process-file-side-effects): Doc fix.
12203
12204 2012-04-15 Glenn Morris <rgm@gnu.org>
12205
12206 * international/mule-cmds.el (set-language-environment): Doc fix.
12207
12208 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12209
12210 * server.el (server-auth-key, server-generate-key): Doc fixes.
12211 (server-get-auth-key): Doc fix. Use `string-match-p'.
12212 (server-start): Reflow docstring.
12213
12214 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12215
12216 * server.el (server-generate-key): `called-interactively-p'
12217 requires a parameter.
12218
12219 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12220
12221 * server.el (server-auth-key): New variable.
12222 (server-generate-key, server-get-auth-key): New function.
12223 (server-start): Use the new variable and functions to allow
12224 setting a permanent server key (bug#9423).
12225
12226 2012-04-14 Leo Liu <sdl.web@gmail.com>
12227
12228 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12229
12230 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12231
12232 Spelling fixes.
12233 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12234 Emacs uses American spelling.
12235
12236 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12237
12238 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12239 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12240 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12241 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12242
12243 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12244
12245 * progmodes/which-func.el (which-func-modes): Change default.
12246
12247 2012-04-14 Kim F. Storm <storm@cua.dk>
12248
12249 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12250 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12251
12252 2012-04-14 Chong Yidong <cyd@gnu.org>
12253
12254 * custom.el (custom-theme-set-variables): Doc fix.
12255
12256 2012-04-14 Glenn Morris <rgm@gnu.org>
12257
12258 * international/mule.el (set-auto-coding-for-load): Doc fix.
12259
12260 2012-04-14 Alan Mackenzie <acm@muc.de>
12261
12262 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12263 imenu work again for Objective C Mode. Correct the *-index values,
12264 these having been disturbed by a previous change in 2011-08.
12265
12266 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12267 Correct two search limits.
12268
12269 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12270
12271 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12272
12273 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12274
12275 * international/characters.el: Fix sorting.
12276
12277 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12278
12279 * international/characters.el: Add more missing Latin case pairs.
12280
12281 2012-04-14 Glenn Morris <rgm@gnu.org>
12282
12283 * files.el (dir-locals-set-class-variables): Doc fix.
12284
12285 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12286
12287 * international/characters.el: Add set-case-syntax-pair call for
12288 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12289 counterpart. (Bug#11209)
12290
12291 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12292
12293 2012-04-14 Glenn Morris <rgm@gnu.org>
12294
12295 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12296
12297 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12298
12299 * textmodes/ispell.el (ispell-dictionary-base-alist):
12300 Add data for Hebrew.
12301
12302 2012-04-14 Chong Yidong <cyd@gnu.org>
12303
12304 * net/rcirc.el (rcirc-cmd-quit):
12305 Revert 2012-03-18 change (Bug#11192).
12306
12307 2012-04-14 Glenn Morris <rgm@gnu.org>
12308
12309 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12310
12311 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12312
12313 * minibuffer.el (completion-in-region-mode-map):
12314 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12315
12316 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12317
12318 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12319
12320 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12321
12322 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12323 to allow `C-M-f' and `C-M-b' to move to the nearest path
12324 separator (bug#9511).
12325
12326 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12327
12328 * avoid.el: Require cl when compiling. And also move the
12329 `provide' to the end.
12330
12331 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12332
12333 * avoid.el (mouse-avoidance-banish-position): New variable.
12334 (mouse-avoidance-banish-destination): Use it (bug#10165).
12335
12336 2012-04-13 Leo Liu <sdl.web@gmail.com>
12337
12338 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12339
12340 2012-04-13 Ken Brown <kbrown@cornell.edu>
12341
12342 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12343 this is no longer needed now that cygstart understands file:// URLs.
12344 (browse-url-filename-alist): For the same reason, don't modify
12345 file:// URLs on Cygwin.
12346
12347 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12348
12349 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12350 the region on shift if the binding is already shifted (bug#11221).
12351
12352 2012-04-12 Glenn Morris <rgm@gnu.org>
12353
12354 * mail/mailpost.el: Move to obsolete/.
12355
12356 2012-04-12 Drew Adams <drew.adams@oracle.com>
12357
12358 * imenu.el (imenu--generic-function): Ignore invisible definitions
12359 (bug#10123).
12360
12361 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12362
12363 * hexl.el (hexl-bits): New variable.
12364 (hexl-options): Mention the variable in the doc string.
12365 (hexl-rulerise, hexl-line-displen): New functions.
12366 (hexl-mode): Mention the new variable.
12367 (hexl-mode, hexl-current-address, hexl-current-address):
12368 Use the displen.
12369 (hexl-ascii-start-column): New function.
12370 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12371 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12372
12373 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12374
12375 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12376 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12377 the encoding, as expected by hunspell.
12378
12379 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12380
12381 * battery.el (battery--linux-sysfs-regexp): New const.
12382 (battery-status-function): Use it. Remove yeeloong special case.
12383 (battery-yeeloong-sysfs): Remove.
12384 (battery-echo-area-format): Remove yeeloong special case.
12385
12386 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12387
12388 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12389 Reported by Noah Friedman.
12390
12391 * subr.el (read-passwd): Use read-string.
12392
12393 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12394
12395 * vcursor.el (vcursor-move): Increase the priority of the overlay
12396 (bug#9663).
12397
12398 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12399
12400 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12401 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12402
12403 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12404
12405 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12406 define-minor-mode (bug#10760).
12407
12408 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12409
12410 * progmodes/grep.el (rgrep): Tweak the find command line so
12411 that directories matching `grep-find-ignored-files' won't be
12412 pruned (bug#10351).
12413
12414 2012-04-11 Chong Yidong <cyd@gnu.org>
12415
12416 * startup.el (command-line): Remove support for long-obsolete
12417 variable font-lock-face-attributes.
12418
12419 2012-04-11 Glenn Morris <rgm@gnu.org>
12420
12421 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12422
12423 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12424
12425 * window.el (window--state-get-1): Obey window-point-insertion-type.
12426
12427 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12428
12429 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12430 to previous function when point is on the first character of a
12431 function. Take care of that in `narrow-to-defun' (bug#6157).
12432
12433 2012-04-11 Glenn Morris <rgm@gnu.org>
12434
12435 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12436 not just file-errors.
12437
12438 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12439 (vc-bzr-sha1): Use internal sha1.
12440
12441 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12442
12443 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12444
12445 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12446
12447 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12448 that start in the middle of the line (bug#10496).
12449
12450 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12451
12452 * battery.el (battery-linux-proc-acpi): Only one battery is
12453 discharged at a time, but that seems to confuse battery.el when
12454 computing `rate-type' for the battery not being discharged
12455 (bug#10332).
12456
12457 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12458
12459 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12460
12461 * international/quail.el: Use dolist and simplify.
12462 (quail-define-package, quail-update-keyboard-layout)
12463 (quail-define-rules): Use dolist.
12464 (quail-insert-kbd-layout, quail-get-translation): CSE.
12465
12466 * tmm.el: Use dolist, remove left over hook.
12467 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12468 Use dolist.
12469 (calendar-load-hook): Don't mess with it.
12470
12471 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12472 Use derived-mode-p. Run the diff asynchronously.
12473
12474 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12475
12476 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12477
12478 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12479
12480 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12481 (list-dynamic-libraries--loaded): New function.
12482 (list-dynamic-libraries--refresh): Use it.
12483
12484 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12485
12486 * progmodes/python.el (python-fill-paragraph):
12487 Make python-fill-region in a multiline string work when font-lock is
12488 disabled (bug#7018).
12489
12490 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12491
12492 * language/european.el (cp775): Add oem/legacy (en)coding on
12493 DOS/MS Windows for the Baltic languages. There are still plenty
12494 of texts written in this encoding/codepage (bug#6519).
12495
12496 2012-04-10 Glenn Morris <rgm@gnu.org>
12497
12498 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12499 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12500
12501 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12502
12503 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12504 next-line "n" and previous-line "p" in order to make recentf more
12505 consistent with ibuffer, dired or org-mode (bug#9387).
12506
12507 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12508
12509 * image.el (put-image): Return the overlay created instead of the
12510 optional input string (bug#7834). Note that this may break code
12511 that is (for some reason or other) depending on `put-image'
12512 returning the string.
12513
12514 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12515
12516 * simple.el (zap-to-char): Allow zapping using input methods
12517 (bug#1580).
12518
12519 * textmodes/fill.el (fill-region): Leave point and mark where they
12520 were before filling (bug#5399).
12521
12522 2012-04-09 Glenn Morris <rgm@gnu.org>
12523
12524 * version.el (emacs-bzr-get-version):
12525 Handle lightweight checkouts of local branches.
12526
12527 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12528
12529 * international/characters.el: Recover lost case pairs. (Bug#11209)
12530
12531 2012-04-09 Chong Yidong <cyd@gnu.org>
12532
12533 * custom.el (custom-variable-p): Return nil for non-symbol
12534 arguments instead of signaling an error.
12535 (user-variable-p): Obsolete alias for custom-variable-p.
12536
12537 * apropos.el (apropos-variable):
12538 * files-x.el (read-file-local-variable):
12539 * simple.el (set-variable):
12540 * woman.el (woman-mini-help):
12541 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12542
12543 2012-04-09 Glenn Morris <rgm@gnu.org>
12544
12545 * startup.el (normal-top-level): Don't look for leim-list.el
12546 in places where it will not be found. (Bug#910)
12547
12548 * international/mule-cmds.el (set-default-coding-systems):
12549 * files.el (normal-mode):
12550 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12551 This function was removed with ucs-tables.el in 2008.
12552
12553 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12554
12555 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12556 ispell-encoding8-command to "-i", without a trailing space.
12557 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12558 separate command-line arguments, to specify the encoding, since
12559 that's how hunspell expects it.
12560
12561 2012-04-08 Glenn Morris <rgm@gnu.org>
12562
12563 * loadup.el: Load bindings before cus-start.
12564 This reduces somewhat the number of "rogue" settings in emacs -Q.
12565
12566 2012-04-07 Glenn Morris <rgm@gnu.org>
12567
12568 * version.el (emacs-bzr-get-version): New function.
12569 (emacs-bzr-version): New variable.
12570 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12571 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12572
12573 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12574
12575 * international/uni-bidi.el, international/uni-category.el:
12576 * international/uni-combining.el, international/uni-decimal.el:
12577 * international/uni-decomposition.el, international/uni-digit.el:
12578 * international/uni-lowercase.el, international/uni-mirrored.el:
12579 * international/uni-name.el, international/uni-numeric.el:
12580 * international/uni-titlecase.el, international/uni-uppercase.el:
12581 Update for Unicode 6.1.
12582
12583 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12584
12585 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12586
12587 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12588
12589 * window.el (shrink-window): Mention the `window-min-height'
12590 variable in the doc string.
12591
12592 2012-04-05 Bastien Guerry <bzg@altern.org>
12593
12594 * color.el (color-lighten-name): Fix typo.
12595
12596 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12597
12598 * server.el (server--on-display-p): New function.
12599 (server--on-display-p): Use it.
12600
12601 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12602
12603 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12604 (bug#11145).
12605
12606 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12607
12608 * comint.el (comint--common-quoted-suffix): Check string boundary
12609 before comparing (bug#11158).
12610 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12611
12612 2012-04-04 Chong Yidong <cyd@gnu.org>
12613
12614 * minibuffer.el (completion-extra-properties): Doc fix.
12615
12616 * subr.el (delayed-warnings-hook): Doc fix.
12617
12618 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12619
12620 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12621 selection (Bug#11159).
12622 (epa-insert-keys): Inform that the default public key will be
12623 exported if no key is selected.
12624
12625 2012-04-04 Richard Stallman <rms@gnu.org>
12626
12627 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12628
12629 2012-04-03 Chong Yidong <cyd@gnu.org>
12630
12631 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12632 mail-insert-file, not its obsolete alias mail-attach-file.
12633
12634 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12635
12636 * notifications.el (notifications-notify): Fix docstring.
12637
12638 2012-04-02 Glenn Morris <rgm@gnu.org>
12639
12640 * emacs-lisp/authors.el (authors-aliases): Another addition.
12641
12642 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12643
12644 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12645 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12646 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12647
12648 2012-04-01 Chong Yidong <cyd@gnu.org>
12649
12650 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12651 Handle root directory properly.
12652 (copy-directory): Caller changed.
12653
12654 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12655 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12656
12657 2012-03-31 Glenn Morris <rgm@gnu.org>
12658
12659 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12660
12661 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12662
12663 * calendar/calendar.el (calendar-window-list)
12664 (calendar-hide-window): Restore. (Bug#11140)
12665 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12666
12667 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12668
12669 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12670
12671 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12672 Check if file is a symlink (Bug#10489).
12673
12674 * files.el (copy-directory): Likewise.
12675
12676 2012-03-30 Chong Yidong <cyd@gnu.org>
12677
12678 * image.el (imagemagick-types-inhibit)
12679 (imagemagick-register-types): Doc fix.
12680
12681 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12682
12683 * textmodes/ispell.el (ispell-get-extended-character-mode):
12684 Disable extended-char-mode for hunspell. hunspell does not support it
12685 and treats ~word as ordinary words in pipe mode.
12686
12687 2012-03-30 Glenn Morris <rgm@gnu.org>
12688
12689 * tutorial.el (help-with-tutorial): Ensure local variables don't
12690 happen to make the buffer read-only. (Bug#11127)
12691
12692 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12693
12694 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12695 (perl-calculate-indent): Return `noindent' in strings.
12696
12697 2012-03-28 Sam Steingold <sds@gnu.org>
12698
12699 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12700 instead of the broken adhockery which does not prevent calendar
12701 buffers from being displayed at random after exit.
12702 (calendar-window-list, calendar-hide-window): Remove the broken
12703 adhockery.
12704
12705 2012-03-28 Glenn Morris <rgm@gnu.org>
12706
12707 * replace.el (query-replace-map): Doc fix.
12708
12709 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12710
12711 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12712 contents. (Bug#11109)
12713
12714 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12715
12716 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12717 (bug#11077).
12718 (avl-tree--check, avl-tree--check-node): New funs.
12719
12720 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12721
12722 * window.el (switch-to-visible-buffer): New option.
12723 (switch-to-prev-buffer, switch-to-next-buffer):
12724 Observe switch-to-visible-buffer. Make sure that checking for a window
12725 showing a buffer already is done on the same frame.
12726
12727 2012-03-27 Glenn Morris <rgm@gnu.org>
12728
12729 * startup.el (mail-host-address): Doc fix.
12730
12731 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12732
12733 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12734 than 197 variables.
12735
12736 2012-03-26 Ami Fischman <ami@fischman.org>
12737
12738 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12739
12740 2012-03-26 Glenn Morris <rgm@gnu.org>
12741
12742 * files.el (save-buffers-kill-emacs): Doc fix.
12743
12744 * startup.el (normal-top-level, command-line, command-line-1):
12745 Give them doc strings.
12746
12747 2012-03-25 Eli Zaretskii <eliz@gnu.org>
12748
12749 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12750 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12751
12752 2012-03-25 Chong Yidong <cyd@gnu.org>
12753
12754 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12755 theme if it was previously enabled before (Bug#11031).
12756
12757 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12758 spec with custom-face-get-current-spec if its :shown-value is not
12759 determined yet (Bug#9337).
12760 (customize-create-theme, custom-theme-revert): Doc fixes.
12761
12762 * button.el (button-at): Minor addition to docstring.
12763
12764 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
12765
12766 * vc/vc.el (vc-merge): Fix a prompt.
12767
12768 2012-03-24 Chong Yidong <cyd@gnu.org>
12769
12770 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12771 point (Bug#9623).
12772
12773 * button.el (button-at): Minor addition to docstring.
12774
12775 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 * newcomment.el (comment-choose-indent): No space after BOL.
12778
12779 2012-03-22 Sam Steingold <sds@gnu.org>
12780
12781 * window.el (switch-to-prev-buffer): Revert last patch because the
12782 bug turned out to be an advertised feature (Elisp manual 28.14).
12783
12784 2012-03-22 Glenn Morris <rgm@gnu.org>
12785
12786 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12787 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12788
12789 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12790
12791 * net/network-stream.el (network-stream-open-starttls): Make error
12792 message under Windows be less misleading.
12793
12794 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12795
12796 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12797 understands (bug#9942).
12798
12799 2012-03-22 Chong Yidong <cyd@gnu.org>
12800
12801 * simple.el (end-of-visible-line): Handle return value of
12802 next-single-property-change properly (Bug#9371).
12803
12804 2012-03-22 Kenichi Handa <handa@m17n.org>
12805
12806 * international/quail.el (quail-insert-kbd-layout): Fix previous
12807 change. To avoid unwanted bidi reordering, use
12808 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12809
12810 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12811
12812 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12813 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12814 (ruby-beginning-of-indent): Be more careful with the difference
12815 between word-boundary and symbol boundary.
12816 (ruby-mode-syntax-table): Make : a symbol constituent.
12817
12818 2012-03-21 Andreas Politz <politza@fh-trier.de>
12819
12820 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12821
12822 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12823
12824 * progmodes/etags.el (tags-completion-at-point-function):
12825 Improve last fix.
12826
12827 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12828
12829 2012-03-21 Sam Steingold <sds@gnu.org>
12830
12831 * progmodes/etags.el (tags-completion-at-point-function):
12832 Avoid the error when point is inside the pattern.
12833
12834 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12835
12836 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12837 line (Bug#10855).
12838
12839 2012-03-21 Drew Adams <drew.adams@oracle.com>
12840
12841 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12842
12843 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12844
12845 * ido.el (ido-set-current-directory, ido-read-internal)
12846 (ido-choose-completion-string, ido-completion-help): Handle nil
12847 value of ido-completion-buffer (Bug#11008).
12848
12849 2012-03-21 Sam Steingold <sds@gnu.org>
12850
12851 * window.el (switch-to-prev-buffer): Do not switch to a visible
12852 window previous buffer, just like with the frame previous buffers.
12853
12854 2012-03-21 Chong Yidong <cyd@gnu.org>
12855
12856 * faces.el (make-face, make-empty-face, copy-face):
12857 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12858 Doc fixes.
12859
12860 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12861
12862 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12863 (widget-complete): Remove broken use of it.
12864
12865 2012-03-20 Chong Yidong <cyd@gnu.org>
12866
12867 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12868 Use string-width and truncate-string-width to handle arbitrary
12869 characters.
12870
12871 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12872
12873 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12874 to draw rectangles, not squares. (Regression introduced by revno
12875 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12876
12877 2012-03-18 Chong Yidong <cyd@gnu.org>
12878
12879 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12880 it is not yet defined (for temacs).
12881
12882 2012-03-18 Leo Liu <sdl.web@gmail.com>
12883
12884 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12885 prefix.
12886
12887 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12888
12889 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12890 (ispell-choices-win-default-height, ispell-silently-savep)
12891 (ispell-dictionary-alist, ispell-encoding8-command)
12892 (ispell-check-version, ispell-aspell-find-dictionary)
12893 (ispell-valid-dictionary-list, ispell-words-keyword)
12894 (ispell-get-word, ispell-internal-change-dictionary)
12895 (ispell-region, ispell-skip-region-list)
12896 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12897 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12898 (ispell-message-text-end, ispell-message)
12899 (ispell-buffer-local-parsing): Doc fix.
12900
12901 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
12902
12903 * htmlfontify.el: Add support for code block fontification for ODT
12904 export (Bug #9914).
12905 (hfy-optimisations): Define new option
12906 `body-text-only'
12907 (hfy-fontify-buffer): Honor above setting.
12908 (hfy-begin-span, hfy-end-span): New routines factored out form
12909 `hfy-fontify-buffer'.
12910 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12911 that permit insertion of custom tags.
12912 (hfy-fontify-buffer): Use above handlers.
12913 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12914 (hfy-face-to-css): Re-defined to be a variable.
12915 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
12916 over multiple runs. This is made possible by having the caller let
12917 bind a special variable `hfy-user-sheet-assoc'.
12918 (htmlfontify-string): New defun.
12919 (hfy-compile-face-map): Make sure that the last char in the
12920 buffer is correctly fontified.
12921 (hfy-face-resolve-face): Whitespace only change.
12922
12923 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12924
12925 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12926 message more clear.
12927
12928 2012-03-16 Leo Liu <sdl.web@gmail.com>
12929
12930 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12931
12932 2012-03-16 Alan Mackenzie <acm@muc.de>
12933
12934 Further optimize the handling of large macros.
12935
12936 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12937 limit to a call of `c-literal-limits'.
12938 (c-determine-+ve-limit): New function.
12939 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12940 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
12941 In CASE 5B, restrict a search limit to 500.
12942 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12943
12944 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12945 Restrict macro bounds to +-500 from after-change's BEG END.
12946
12947 2012-03-16 Leo Liu <sdl.web@gmail.com>
12948
12949 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12950
12951 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12952
12953 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
12954 `special-mode' setting of `buffer-read-only'. (Bug#11010)
12955
12956 2012-03-16 Glenn Morris <rgm@gnu.org>
12957
12958 * view.el (view-buffer, view-buffer-other-window)
12959 (view-buffer-other-frame): Doc fixes re special mode-class.
12960
12961 * subr.el (eval-after-load): If named feature is provided not from
12962 a file, run after-load forms. (Bug#10946)
12963
12964 * calendar/calendar.el (calendar-insert-at-column):
12965 Handle non-unit-width characters a bit better. (Bug#10978)
12966
12967 2012-03-15 Chong Yidong <cyd@gnu.org>
12968
12969 * emacs-lisp/ring.el (ring-extend): New function.
12970 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12971
12972 * comint.el (comint-read-input-ring)
12973 (comint-add-to-input-history): Grow comint-input-ring lazily.
12974
12975 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12976
12977 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12978 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12979
12980 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12981 (imenu-add-to-menubar): Don't add a redundant index.
12982 (imenu-update-menubar): Handle a dynamically composed keymap.
12983
12984 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12985
12986 * mail/sendmail.el (mail-encode-header):
12987 Bind rfc2047-encode-encoded-words to nil.
12988
12989 2012-03-13 Glenn Morris <rgm@gnu.org>
12990
12991 * calendar/calendar.el (calendar-string-spread):
12992 Handle non-unit-width characters a bit better. (Bug#10978)
12993
12994 2012-03-13 Leo Liu <sdl.web@gmail.com>
12995
12996 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12997 directory and file as argument (Bug#10822).
12998
12999 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13000
13001 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13002 For dynamically generated code, follow $PC.
13003 (gdb-disassembly-handler-custom): Handle no function name case.
13004
13005 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13006
13007 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13008 * emulation/ws-mode.el (ws-query-replace):
13009 * sort.el (sort-regexp-fields):
13010 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13011
13012 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13013
13014 * dabbrev.el: Fix cycle completion order (bug#10963).
13015 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13016 (dabbrev-completion): Don't use an obarray; provide
13017 a cycle-sort-function.
13018
13019 2012-03-12 Leo Liu <sdl.web@gmail.com>
13020
13021 * simple.el (kill-new): Use equal-including-properties for comparison.
13022 (kill-do-not-save-duplicates): Doc fix.
13023
13024 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13025
13026 * dabbrev.el: Fix cycle completion (bug#10963).
13027 Use lexical binding and wrap to 80 columns.
13028 (dabbrev-completion): Delay computing the list of completions.
13029
13030 2012-03-12 Kenichi Handa <handa@m17n.org>
13031
13032 * international/quail.el (quail-insert-kbd-layout): Surround each
13033 row by LRO and PDF instead of inserting many LRMs. Pad the left
13034 and right of each non-spacing marks. Insert invisible space
13035 between lower and upper characters to prevent composition.
13036
13037 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13038
13039 * minibuffer.el (minibuffer-complete): Don't get confused when the
13040 function is run twice via different commands (bug#10958).
13041 (complete-with-action): Fix docstring.
13042
13043 2012-03-12 Chong Yidong <cyd@gnu.org>
13044
13045 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13046 (nxml-completion-at-point-function): New function.
13047 (nxml-mode): Use it.
13048 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13049
13050 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13051 Load generated autoloads file before byte compiling (Bug#10970).
13052 (package--make-autoloads-and-compile): New helper fun.
13053
13054 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13055
13056 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13057
13058 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13059
13060 * autorevert.el (auto-revert-handler): Ensure, that
13061 file-readable-p is applied only for local files or in
13062 auto-revert-tail-mode.
13063
13064 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13065
13066 * server.el (server-eval-at): Handle non-tcp connections.
13067 Decode result string.
13068
13069 * server.el (server-msg-size): New constant.
13070 (server-reply-print): New function.
13071 (server-eval-and-print): Use it.
13072 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13073 Handle -print-nonl.
13074
13075 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13076
13077 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13078 (Bug#10987).
13079
13080 2012-03-11 Chong Yidong <cyd@gnu.org>
13081
13082 * simple.el (goto-line): Doc fix (Bug#9938).
13083
13084 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13085
13086 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13087 when finished (Bug#10963).
13088
13089 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13090
13091 * window.el (split-window-below): Fix bug in case where
13092 split-window-keep-point is nil (Bug#10971).
13093
13094 2012-03-11 Juri Linkov <juri@jurta.org>
13095
13096 * replace.el (replace-highlight): Set isearch-word to nil
13097 unconditionally. (Bug#10887)
13098
13099 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13100
13101 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13102 mairix-replace-illegal-chars; all callers changed. Don't remove
13103 ^, ~, and = characters: they are meaningful in mairix search specs.
13104 (mairix-widget-create-query): Add usage information about mairix
13105 search forms: negating words, searching for substrings, etc.
13106
13107 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13108
13109 * international/fontset.el (font-encoding-alist): Add an entry for
13110 ksx1001 (Bug#5667).
13111
13112 2012-03-10 Richard Stallman <rms@gnu.org>
13113
13114 * mail/sendmail.el (mail-encode-header):
13115 Set rfc2047-encode-encoded-words.
13116
13117 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13118
13119 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13120 view buffer means not swapped.
13121 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13122 (rmail-write-region-annotate): Error if real text has disappeared.
13123
13124 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13125
13126 2012-03-10 Chong Yidong <cyd@gnu.org>
13127
13128 * emulation/cua-rect.el (cua--init-rectangles):
13129 * emulation/cua-base.el (cua--init-keymaps):
13130 Add delete-forward-char to remappings (Bug#9666).
13131
13132 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13133
13134 * speedbar.el (speedbar-unhighlight-one-tag-line):
13135 Avoid unhighlighting due to frame switching (Bug#10275).
13136
13137 2012-03-10 Chong Yidong <cyd@gnu.org>
13138
13139 * minibuffer.el (completion-in-region, completion-help-at-point):
13140 Give the completion field overlay a high priority (Bug#6830).
13141
13142 * dired.el (dired-goto-file): Recognize absolute file name
13143 listings (Bug#7126).
13144 (dired-goto-file-1): New helper function.
13145 (dired-toggle-read-only): Inhibit warnings.
13146
13147 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13148
13149 * net/dbus.el (dbus-property-handler): Return empty array if
13150 there are no properties.
13151
13152 2012-03-09 Leo Liu <sdl.web@gmail.com>
13153
13154 * savehist.el (savehist-printable): Stricter check for string
13155 value (Bug#10937).
13156
13157 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13158
13159 * mail/smtpmail.el (smtpmail-send-it):
13160 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13161 valid mbox format.
13162
13163 2012-03-09 Glenn Morris <rgm@gnu.org>
13164
13165 * files.el (dir-locals-find-file):
13166 Don't check result is regular, readable.
13167 (dir-locals-read-from-file): Demote errors.
13168
13169 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13170
13171 * international/quail.el (quail-insert-kbd-layout):
13172 Insert invisible LRM characters before each character in a keyboard
13173 layout cell, to prevent their reordering by bidi display engine.
13174 For details, see the discussion in
13175 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13176
13177 2012-03-08 Alan Mackenzie <acm@muc.de>
13178
13179 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13180 the starting position; make it extend the marked region when
13181 invoked repeatedly - all under appropriate circumstances.
13182 Fixes bugs #5525, #10906.
13183
13184 2012-03-08 Glenn Morris <rgm@gnu.org>
13185
13186 * files.el (locate-dominating-file, dir-locals-find-file):
13187 Undo 2012-03-06 change.
13188
13189 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13190
13191 * international/quail.el (quail-help):
13192 Force bidi-paragraph-direction be left-to-right. See discussion in
13193 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13194 for the reason.
13195
13196 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13197
13198 Avoid superfluous registering of signals. (Bug#10807)
13199
13200 * notifications.el (notifications-on-action-object)
13201 (notifications-on-close-object): New defvars.
13202 (notifications-on-action-signal, notifications-on-closed-signal):
13203 Unregister the signal if not needed any longer.
13204 (notifications-notify): Register `notifications-action-signal' or
13205 `notifications-closed-signal', if :on-action or :on-close has been
13206 passed as argument.
13207
13208 2012-03-07 Chong Yidong <cyd@gnu.org>
13209
13210 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13211 non-X platforms.
13212
13213 2012-03-06 Glenn Morris <rgm@gnu.org>
13214
13215 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13216 (x-disown-selection-internal, x-get-selection-internal):
13217 Doc fix (add arglist signatures). (Bug#10783)
13218
13219 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13220
13221 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13222 Handle breakpoints with no "type".
13223
13224 2012-03-06 Glenn Morris <rgm@gnu.org>
13225
13226 * files.el (locate-dominating-file): Add optional predicate argument.
13227 (dir-locals-find-file): Make use of above change.
13228
13229 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13230
13231 * info.el (Info-insert-dir): Also try "dir.gz".
13232
13233 2012-03-06 Glenn Morris <rgm@gnu.org>
13234
13235 * files.el (dir-locals-find-file):
13236 Ignore non-readable or non-regular files. (Bug#10928)
13237
13238 * files.el (locate-dominating-file): Doc fix.
13239
13240 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13241
13242 * calendar/calendar.el (calendar-set-mode-line):
13243 `getenv' returns a string. (Bug#10951)
13244
13245 2012-03-05 Leo Liu <sdl.web@gmail.com>
13246
13247 * simple.el (backward-delete-char-untabify): Constrain point to
13248 field (Bug#10939).
13249
13250 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13251
13252 2012-03-05 Chong Yidong <cyd@gnu.org>
13253
13254 * simple.el (count-words): If called from Lisp, return the word
13255 count, for symmetry with `count-lines'. Arglist changed.
13256 (count-words--message): Args changed. Consolidate counting code
13257 from count-words and count-words-region.
13258 (count-words-region): Caller changed.
13259 (count-lines-region): Make it an obsolete alias.
13260
13261 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13262
13263 * saveplace.el (save-place-to-alist)
13264 (save-place-ignore-files-regexp): Allow value nil to disable this
13265 feature.
13266
13267 2012-03-04 Chong Yidong <cyd@gnu.org>
13268
13269 * faces.el (face-spec-reset-face): For the default face, reset the
13270 attributes to default values (Bug#10748).
13271
13272 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13273
13274 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13275 previous patch: Check `message-send-mail-function', and not the
13276 default function (bug#10897).
13277
13278 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13279
13280 * notifications.el (notifications-on-action-signal)
13281 (notifications-on-closed-signal): Check for unique service name of
13282 incoming event. Fix error in removing entry.
13283 (top): Register for signals with wildcard service name.
13284 (notifications-notify): Use daemon unique service name for map entries.
13285
13286 2012-03-04 Chong Yidong <cyd@gnu.org>
13287
13288 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13289
13290 2012-03-04 Glenn Morris <rgm@gnu.org>
13291
13292 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13293 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13294 (expand-abbrev, define-abbrev-table): Doc fixes.
13295
13296 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13297
13298 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13299 `message-default-send-mail-function' and not `send-mail-function'
13300 when doing the prompting for `sendmail-query-once' before sending
13301 in Message buffers (bug#10897).
13302
13303 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13304 This is inconsistent with all the other stream functions, which leave
13305 the setting up to the higher levels (if so wanted) (bug#10931).
13306
13307 2012-03-02 Alan Mackenzie <acm@muc.de>
13308
13309 Depessimize the handling of very large macros.
13310
13311 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13312 (c-macro-cache-syntactic): New variables to implement a one
13313 element macro cache.
13314 (c-invalidate-macro-cache): New function.
13315 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13316 Adapt to use the new cache.
13317 (c-state-safe-place): Use better the cache of safe positions.
13318 (c-state-semi-nonlit-pos-cache)
13319 (c-state-semi-nonlit-pos-cache-limit):
13320 New variables for...
13321 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13322 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13323 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13324 Use c-state-semi-safe-place.
13325
13326 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13327 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13328
13329 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13330
13331 * jka-compr.el (jka-compr-call-process):
13332 Apply `file-accessible-directory-p' only when the default directory is
13333 not remote.
13334
13335 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13336
13337 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13338 access of FILE2, if FILE1 does not exist.
13339
13340 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13341 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13342
13343 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13344 Add "PAGER=" to `process-environment'.
13345
13346 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13347
13348 * progmodes/sql.el: Bug fix
13349 (sql-get-login-ext): Save login values in globals.
13350 (sql-get-login): Use new version of `sql-get-login-ext'.
13351 (sql-interactive-mode): Set global `sql-connection' to nil.
13352 (sql-connect): Set global values for connection.
13353 (sql-product-interactive): Save global values as buffer local.
13354
13355 2012-02-29 Leo Liu <sdl.web@gmail.com>
13356
13357 * abbrev.el (define-abbrevs): Reset sys to nil.
13358
13359 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13360
13361 * files.el (file-equal-p): Rename from `files-equal-p'.
13362 Return nil when one or both files don't exist.
13363 (file-subdir-of-p): Now only top directory must exists,
13364 return nil if it doesn't.
13365 (copy-directory): No need to test with `file-subdir-of-p' after
13366 creating dir.
13367 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13368 to `file-equal-p'.
13369
13370 2012-02-28 Glenn Morris <rgm@gnu.org>
13371
13372 * shell.el (shell-mode):
13373 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13374 * play/landmark.el (landmark-font-lock-face-O):
13375 * play/handwrite.el (handwrite):
13376 * play/gomoku.el (gomoku-O):
13377 * net/browse-url.el (browse-url-browser-display):
13378 * international/mule.el (define-charset):
13379 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13380 * filesets.el (filesets-find-file-delay):
13381 * eshell/em-xtra.el (eshell-xtra):
13382 * eshell/em-unix.el (eshell-grep):
13383 * emulation/viper.el (viper-mode):
13384 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13385 * emacs-lisp/easymenu.el (easy-menu-define):
13386 * calendar/timeclock.el (timeclock-use-display-time):
13387 * bs.el (bs-mode):
13388 * bookmark.el (bookmark-save-flag):
13389 Doc fix (standardize possessive apostrophe usage).
13390
13391 2012-02-27 Chong Yidong <cyd@gnu.org>
13392
13393 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13394 Fix key-binding lookup for ESC key (Bug#9146).
13395
13396 * font-lock.el (font-lock-specified-p): Rename from
13397 font-lock-spec-present. Callers changed.
13398
13399 2012-02-27 Daniel Hackney <dan@haxney.org>
13400
13401 * emacs-lisp/package.el (package-compute-transaction):
13402 Handle holding a package version to t in package-load-list.
13403
13404 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13405
13406 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13407 (tramp-get-inode, tramp-get-device): Use cached values.
13408
13409 2012-02-26 Alan Mackenzie <acm@muc.de>
13410
13411 Check there is a font-lock specification before doing initial
13412 fontification.
13413
13414 * font-core.el (font-lock-mode): Move the conditional from
13415 :after-hook to font-lock-initial-fontify.
13416 (font-lock-default-function): Move the check for a specification
13417 to font-lock-spec-present.
13418
13419 * font-lock.el (font-lock-initial-fontify): Call ...
13420 (font-lock-spec-present): New function.
13421
13422 2012-02-26 Jim Blandy <jimb@red-bean.com>
13423
13424 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13425 (gdb-send): Apply it to the operand of the '-interpreter-exec
13426 console' command, so that we can pass arguments with (say) quotes
13427 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13428
13429 2012-02-26 Chong Yidong <cyd@gnu.org>
13430
13431 * help-fns.el (describe-function-1): Clarify description of
13432 remapping (Bug#10844).
13433
13434 * files.el (files-equal-p): Doc fix.
13435 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13436 and quit the loop once a mismatch is found.
13437
13438 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13439
13440 * bs.el (bs--show-with-configuration): Don't throw an error
13441 if the window cannot be split; otherwise, subsequent calls to
13442 bs-show fail, restoring a stale window config. (Bug#10882)
13443
13444 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13445
13446 * term/ns-win.el (global-map): Bind ns-drag-file to
13447 ns-find-file (Bug#5855, Bug#10050).
13448
13449 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13450
13451 * calendar/parse-time.el (parse-time-string): Allow extractor to
13452 return nil.
13453
13454 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13455
13456 * net/tramp.el (tramp-file-name-for-operation):
13457 Add `files-equal-p' and `file-subdir-of-p'.
13458
13459 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13460 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13461 Add COPY-CONTENTS argument.
13462
13463 2012-02-25 Chong Yidong <cyd@gnu.org>
13464
13465 Add custom groups for VC backends, for consistency with vc-bzr.
13466
13467 * vc/vc-arch.el (vc-arch):
13468 * vc/vc-cvs.el (vc-cvs):
13469 * vc/vc-git.el (vc-git):
13470 * vc/vc-hg.el (vc-hg):
13471 * vc/vc-mtn.el (vc-mtn):
13472 * vc/vc-rcs.el (vc-rcs):
13473 * vc/vc-sccs.el (vc-sccs):
13474 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13475 All relevant defcustoms reassigned.
13476
13477 2012-02-25 Chong Yidong <cyd@gnu.org>
13478
13479 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13480
13481 * term/x-win.el (x-initialize-window-system): Reduce default for
13482 x-selection-timeout to 5 seconds (Bug#8869).
13483
13484 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13485
13486 * files.el (files-equal-p, file-subdir-of-p): New functions.
13487 (copy-directory): Error when trying to copy a directory on itself.
13488 Add missing copy-contents arg to tramp handler.
13489 * dired-aux.el (dired-copy-file-recursive): Same.
13490 (dired-create-files): Modify destination when source is equal to
13491 dest when copying files.
13492 Return also when dest is a subdir of source. (Bug#10489)
13493
13494 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13495
13496 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13497 (Bug#10874)
13498
13499 2012-02-23 Alan Mackenzie <acm@muc.de>
13500
13501 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13502 parameter "after-hook:" to allow the expansion to run code after
13503 the execution of the mode hooks.
13504
13505 * font-lock.el (font-lock-initial-fontify): New function extracted
13506 from font-lock-mode-internal.
13507
13508 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13509 :after-hook.
13510
13511 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13512
13513 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13514 (completion--cache-all-sorted-completions): New function.
13515 (completion-all-sorted-completions): Use it.
13516 (completion--do-completion, minibuffer-force-complete):
13517 Use it to re-instate the flush hook.
13518
13519 * icomplete.el (icomplete-completions): Replace last fix with a better
13520 one (bug#10850).
13521
13522 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13523
13524 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13525 when it might call us back infinitely (bug#10797).
13526
13527 2012-02-23 Glenn Morris <rgm@gnu.org>
13528
13529 * minibuffer.el (completion-category-overrides): Doc fix.
13530
13531 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13532
13533 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13534 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13535
13536 2012-02-23 Glenn Morris <rgm@gnu.org>
13537
13538 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13539 (authors-obsolete-files-regexps, authors-ignored-files)
13540 (authors-ambiguous-files, authors-renamed-files-alist):
13541 Add more entries.
13542
13543 2012-02-23 Juri Linkov <juri@jurta.org>
13544
13545 * isearch.el (isearch-occur): Sync interactive spec with occur's
13546 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13547
13548 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13549
13550 2012-02-22 Juri Linkov <juri@jurta.org>
13551
13552 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13553 (ucs-insert): Doc fix. Check for hex digits in the string.
13554 Don't display `nil' in the error message. (Bug#10857)
13555
13556 2012-02-22 Alan Mackenzie <acm@muc.de>
13557
13558 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13559
13560 2012-02-22 Glenn Morris <rgm@gnu.org>
13561
13562 * ffap.el (ffap-c-path):
13563 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13564
13565 2012-02-22 Chong Yidong <cyd@gnu.org>
13566
13567 * custom.el (load-theme): Doc fix.
13568
13569 2012-02-22 Glenn Morris <rgm@gnu.org>
13570
13571 * dired-x.el (dired-guess-shell-alist-default):
13572 Remove escape sequences from nroff output. (Bug#172)
13573
13574 2012-02-21 Glenn Morris <rgm@gnu.org>
13575
13576 * vc/emerge.el (emerge-defvar-local):
13577 Set `permanent-local' property rather than unused `preserved'.
13578
13579 * textmodes/picture.el (picture-delete-char): New alias.
13580 (picture-mode-map): Use it. (Bug#10860)
13581 (picture-mode): Doc fix.
13582
13583 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13584
13585 * newcomment.el (uncomment-region-default): Remove unused binding.
13586
13587 2012-02-21 Glenn Morris <rgm@gnu.org>
13588
13589 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13590 (picture-self-insert, picture-tab-chars): Doc fix.
13591 (picture-mode-map): Fix C-a, C-e.
13592
13593 2012-02-20 Glenn Morris <rgm@gnu.org>
13594
13595 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13596
13597 2012-02-20 Leo Liu <sdl.web@gmail.com>
13598
13599 * icomplete.el (icomplete-completions): Check FROM arg before
13600 passing to substring (Bug#10850).
13601
13602 2012-02-19 Chong Yidong <cyd@gnu.org>
13603
13604 * comint.el: Require ansi-color.
13605 (comint-output-filter-functions): Add ansi-color-process-output.
13606
13607 * ansi-color.el: Don't set comint-output-filter-functions; it is
13608 now in the initial value defined in comint.el.
13609 (ansi-color-apply-face-function): New variable.
13610 (ansi-color-apply-on-region): Use it.
13611 (ansi-color-apply-overlay-face): New function.
13612
13613 * shell.el (shell): No need to require ansi-color.
13614 (shell-mode): Use ansi-color-apply-face-function to highlight
13615 color escapes using font-lock-face property (Bug#10835).
13616
13617 2012-02-19 Chong Yidong <cyd@gnu.org>
13618
13619 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13620 mode-line formats (Bug#10839).
13621
13622 2012-02-18 Glenn Morris <rgm@gnu.org>
13623
13624 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13625
13626 * mail/undigest.el (unforward-rmail-message): Doc fix.
13627
13628 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13629
13630 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13631
13632 * international/characters.el (script-list): Sync with the latest
13633 Unicode Character Database.
13634
13635 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13636
13637 * international/titdic-cnv.el: Remove duplicate coding tag.
13638 * language/cham.el: Likewise.
13639 * language/tai-viet.el: Likewise.
13640
13641 2012-02-18 Glenn Morris <rgm@gnu.org>
13642
13643 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13644 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13645 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13646 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13647 * calendar/holidays.el (holiday-bahai-holidays)
13648 (calendar-holidays, list-holidays):
13649 Use utf-8 Bahá'í in doc-strings, menus, etc.
13650
13651 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13652
13653 * saveplace.el (save-place-ignore-files-regexp): New variable
13654 allowing for excluding files from saving their location of point.
13655 The default value matches the temporary commit message editing
13656 files from Git, SVN, Bazaar, and Mercurial.
13657 (save-place-to-alist): Use it.
13658
13659 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13660 Stefan Monnier <monnier@iro.umontreal.ca>
13661
13662 * newcomment.el (uncomment-region-default): Don't leave extra space
13663 when an arg is provided (bug#8150).
13664
13665 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13666
13667 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13668
13669 2012-02-17 Glenn Morris <rgm@gnu.org>
13670
13671 * net/socks.el: Require network-stream. (Bug#10599)
13672
13673 2012-02-17 Kenichi Handa <handa@m17n.org>
13674
13675 * international/charprop.el:
13676 * international/uni-name.el:
13677 * international/uni-old-name.el:
13678 * international/uni-comment.el: Regenerate.
13679
13680 2012-02-16 Glenn Morris <rgm@gnu.org>
13681
13682 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13683 Interactively in calendar buffer, give an error if not on a date.
13684
13685 2012-02-15 Glenn Morris <rgm@gnu.org>
13686
13687 * shell.el (shell-delimiter-argument-list):
13688 Revert 2011-02-17 change. (Bug#8027)
13689
13690 2012-02-15 Chong Yidong <cyd@gnu.org>
13691
13692 * minibuffer.el (completion-at-point-functions): Doc fix.
13693
13694 * custom.el (defcustom): Doc fix; note use of defvar.
13695
13696 2012-02-15 Glenn Morris <rgm@gnu.org>
13697
13698 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13699 Doc fixes.
13700
13701 2012-02-14 Glenn Morris <rgm@gnu.org>
13702
13703 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13704
13705 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13706
13707 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13708 way the ports list is computed.
13709 (smtpmail-query-smtp-server): Prompt the user for a port number if
13710 we can't connect to any of the standard ports (bug#10810).
13711
13712 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13713
13714 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13715
13716 2012-02-13 Glenn Morris <rgm@gnu.org>
13717
13718 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13719
13720 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13721
13722 * net/gnutls.el (gnutls-trustfiles): New variable.
13723 (gnutls-negotiate): Use it.
13724
13725 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13726
13727 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13728 does its stuff if Gnus is running.
13729
13730 2012-02-13 Alan Mackenzie <acm@muc.de>
13731
13732 Fix a loop in c-set-fl-decl-start.
13733
13734 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13735 c-backward-syntactic-ws actually moves backwards.
13736
13737 2012-02-13 Leo Liu <sdl.web@gmail.com>
13738
13739 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13740 beginning so that all \C-o chars are removed.
13741
13742 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13743
13744 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13745
13746 2012-02-12 Alan Mackenzie <acm@muc.de>
13747
13748 Fix infinite loop with long macros.
13749 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13750
13751 2012-02-12 Chong Yidong <cyd@gnu.org>
13752
13753 * window.el (display-buffer): Doc fix (Bug#10785).
13754
13755 2012-02-12 Glenn Morris <rgm@gnu.org>
13756
13757 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13758 (x-disown-selection-internal, x-get-selection-internal):
13759 Sync docs with the xselect.c versions.
13760
13761 * allout-widgets.el: Add missing license notice.
13762
13763 2012-02-11 Glenn Morris <rgm@gnu.org>
13764
13765 * select.el (x-get-selection-internal, x-own-selection-internal)
13766 (x-disown-selection-internal):
13767 * x-dnd.el (x-get-selection-internal): Update declarations.
13768
13769 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13770
13771 * window.el (window-sides-slots):
13772 * tool-bar.el (tool-bar-position):
13773 * term/xterm.el (xterm-extra-capabilities):
13774 * ses.el (ses-self-reference-early-detection):
13775 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13776 (verilog-auto-wire-type)
13777 (verilog-auto-delete-trailing-whitespace)
13778 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13779 (verilog-auto-tieoff-declaration):
13780 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13781 (sql-oracle-statement-starters, sql-oracle-scan-on):
13782 * progmodes/prolog.el (prolog-align-comments-flag)
13783 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13784 (prolog-left-indent-regexp, prolog-paren-indent-p)
13785 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13786 (prolog-types, prolog-mode-specificators)
13787 (prolog-determinism-specificators, prolog-directives)
13788 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13789 (prolog-electric-dot-flag)
13790 (prolog-electric-dot-full-predicate-template)
13791 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13792 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13793 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13794 (prolog-program-switches, prolog-prompt-regexp)
13795 (prolog-debug-on-string, prolog-debug-off-string)
13796 (prolog-trace-on-string, prolog-trace-off-string)
13797 (prolog-zip-on-string, prolog-zip-off-string)
13798 (prolog-use-standard-consult-compile-method-flag)
13799 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13800 (prolog-imenu-max-lines, prolog-info-predicate-index)
13801 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13802 (prolog-char-quote-workaround):
13803 * progmodes/cc-vars.el (c-defun-tactic):
13804 * net/tramp.el (tramp-encoding-command-interactive)
13805 (tramp-local-end-of-line):
13806 * net/soap-client.el (soap-client):
13807 * net/netrc.el (netrc-file):
13808 * net/gnutls.el (gnutls):
13809 * minibuffer.el (completion-category-overrides)
13810 (completion-cycle-threshold)
13811 (completion-pcm-complete-word-inserts-delimiters):
13812 * man.el (Man-name-local-regexp):
13813 * mail/feedmail.el (feedmail-display-full-frame):
13814 * international/characters.el (glyphless-char-display-control):
13815 * eshell/em-ls.el (eshell-ls-date-format):
13816 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13817 (lisp-lambda-list-keyword-parameter-indentation)
13818 (lisp-lambda-list-keyword-parameter-alignment):
13819 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13820 * dired-x.el (dired-omit-verbose):
13821 * cus-theme.el (custom-theme-allow-multiple-selections):
13822 * calc/calc.el (calc-highlight-selections-with-faces)
13823 (calc-lu-field-reference, calc-lu-power-reference)
13824 (calc-note-threshold):
13825 * battery.el (battery-mode-line-limit):
13826 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13827 (archive-7z-update):
13828 * allout.el (allout-prefixed-keybindings)
13829 (allout-unprefixed-keybindings)
13830 (allout-inhibit-auto-fill-on-headline)
13831 (allout-flattened-numbering-abbreviation):
13832 * allout-widgets.el (allout-widgets-auto-activation)
13833 (allout-widgets-icons-dark-subdir)
13834 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13835 (allout-widgets-theme-dark-background)
13836 (allout-widgets-theme-light-background)
13837 (allout-widgets-item-image-properties-emacs)
13838 (allout-widgets-item-image-properties-xemacs)
13839 (allout-widgets-run-unit-tests-on-load)
13840 (allout-widgets-time-decoration-activity)
13841 (allout-widgets-hook-error-post-time)
13842 (allout-widgets-track-decoration):
13843 Add missing :version tags to new defcustoms and defgroups.
13844
13845 * progmodes/sql.el (sql-ansi-statement-starters)
13846 (sql-oracle-statement-starters): Add custom type.
13847
13848 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13849 (prolog-system-version): Give it a type.
13850
13851 2012-02-11 Eli Zaretskii <eliz@gnu.org>
13852
13853 * term/pc-win.el (x-select-text, x-selection-owner-p)
13854 (x-own-selection-internal, x-disown-selection-internal)
13855 (x-get-selection-internal): Sync doc strings and argument lists
13856 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13857
13858 2012-02-11 Leo Liu <sdl.web@gmail.com>
13859
13860 * progmodes/python.el (python-end-of-statement): Fix infinite
13861 loop. (Bug#10788)
13862
13863 2012-02-10 Glenn Morris <rgm@gnu.org>
13864
13865 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13866 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13867
13868 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13869
13870 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13871 about SMTP before checking the From header.
13872
13873 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13874 into own function for reuse by emacsbug.el.
13875
13876 2012-02-10 Leo Liu <sdl.web@gmail.com>
13877
13878 * subr.el (condition-case-unless-debug): Rename from
13879 condition-case-no-debug. All callers changed.
13880 (with-demoted-errors): Fix caller.
13881
13882 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13883 * nxml/rng-valid.el (rng-do-some-validation):
13884 * emacs-lisp/package.el (package-refresh-contents)
13885 (package-menu-execute):
13886 * desktop.el (desktop-create-buffer):
13887 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
13888
13889 2012-02-10 Glenn Morris <rgm@gnu.org>
13890
13891 * textmodes/bibtex.el:
13892 Add missing :version tags for new/changed defcustoms.
13893
13894 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13895
13896 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
13897
13898 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13899 (smtpmail-via-smtp): Use it, or fall back on the From address.
13900 (smtpmail-send-it): Ditto.
13901
13902 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13903
13904 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13905 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13906 (byte-compile-tmp-var): New const.
13907 (byte-compile-defvar): Use it to minimize .elc size.
13908 Just use `defvar' rather than simulate it (bug#10761).
13909
13910 2012-02-09 Glenn Morris <rgm@gnu.org>
13911
13912 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13913
13914 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13915 Add :version tags.
13916
13917 * progmodes/compile.el (compilation-error-screen-columns)
13918 (compilation-first-column, compilation-filter-start): Doc fixes.
13919
13920 * vc/log-view.el (log-view-toggle-entry-display):
13921 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13922
13923 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13924 (report-emacs-bug-can-use-xdg-email):
13925 (report-emacs-bug-insert-to-mailer): Doc fixes.
13926 (report-emacs-bug): Message fix.
13927
13928 * net/browse-url.el (browse-url-can-use-xdg-open)
13929 (browse-url-xdg-open): Doc fixes.
13930
13931 * electric.el (electric-indent-mode, electric-pair-mode)
13932 (electric-layout-rules, electric-layout-mode): Doc fixes.
13933 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13934
13935 2012-02-08 Martin Rudalics <rudalics@gmx.at>
13936
13937 * server.el (server-unselect-display): Don't inadvertently kill
13938 the current buffer. (Bug#10729)
13939
13940 2012-02-08 Glenn Morris <rgm@gnu.org>
13941
13942 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13943 (sql-list-table): Doc fixes.
13944
13945 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13946 Comment out (does nothing).
13947
13948 * completion.el (dynamic-completion-mode):
13949 * dirtrack.el (dirtrack-debug-mode):
13950 * electric.el (electric-layout-mode):
13951 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13952 * face-remap.el (text-scale-mode, buffer-face-mode):
13953 * iimage.el (iimage-mode):
13954 * image-mode.el (image-transform-mode):
13955 * minibuffer.el (completion-in-region-mode):
13956 * scroll-lock.el (scroll-lock-mode):
13957 * simple.el (next-error-follow-minor-mode):
13958 * tar-mode.el (tar-subfile-mode):
13959 * tooltip.el (tooltip-mode):
13960 * vcursor.el (vcursor-use-vcursor-map):
13961 * wid-browse.el (widget-minor-mode):
13962 * emulation/tpu-edt.el (tpu-edt-mode):
13963 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13964 * international/iso-ascii.el (iso-ascii-mode):
13965 * language/thai-util.el (thai-word-mode):
13966 * mail/supercite.el (sc-minor-mode):
13967 * net/goto-addr.el (goto-address-mode):
13968 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13969 * progmodes/cwarn.el (cwarn-mode):
13970 * progmodes/flymake.el (flymake-mode):
13971 * progmodes/glasses.el (glasses-mode):
13972 * progmodes/hideshow.el (hs-minor-mode):
13973 * progmodes/pascal.el (pascal-outline-mode):
13974 * textmodes/enriched.el (enriched-mode):
13975 * vc/smerge-mode.el (smerge-mode):
13976 Doc fixes (minor mode argument).
13977
13978 2012-02-07 Eli Zaretskii <eliz@gnu.org>
13979
13980 * ls-lisp.el (ls-lisp-sanitize): New function.
13981 (ls-lisp-insert-directory): Use it to fix or remove any elements
13982 in file-alist with missing attributes. (Bug#4673)
13983
13984 2012-02-07 Alan Mackenzie <acm@muc.de>
13985
13986 Fix spurious recognition of c-in-knr-argdecl.
13987
13988 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13989 putative K&R region.
13990
13991 2012-02-07 Alan Mackenzie <acm@muc.de>
13992
13993 * progmodes/cc-engine.el (c-forward-objc-directive):
13994 Prevent looping in "#pragma mark @implementation".
13995
13996 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
13997
13998 * notifications.el (notifications-on-closed-signal): Make `reason'
13999 optional. (Bug#10744)
14000
14001 2012-02-07 Glenn Morris <rgm@gnu.org>
14002
14003 * emacs-lisp/easy-mmode.el (define-minor-mode):
14004 Doc fixes for the macro and the mode it defines.
14005
14006 * image.el (imagemagick-types-inhibit): Doc fix.
14007
14008 * cus-start.el (imagemagick-render-type): Add it.
14009
14010 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14011
14012 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14013 Set the default at load time, too, so that `font-lock-fontify-buffer'
14014 can be called without setting up the entire mode first. This fixes
14015 a bug in `mm-inline-text' with C MIME parts.
14016
14017 2012-02-06 Chong Yidong <cyd@gnu.org>
14018
14019 * simple.el (list-processes--refresh): Delete exited processes
14020 (Bug#8094).
14021
14022 * comint.el (comint-next-prompt): next-single-char-property-change
14023 and prev-single-char-property-change never return nil (Bug#8657).
14024
14025 * custom.el (defcustom): Doc fix (Bug#9711).
14026
14027 2012-02-05 Chong Yidong <cyd@gnu.org>
14028
14029 * cus-edit.el (custom-variable-reset-backup): Quote the value
14030 before storing it in the customized-value property (Bug#6712).
14031 (custom-display): Add a customization type tag.
14032 (custom-buffer-create-internal): Improve tooltip message.
14033
14034 * wid-edit.el (widget-field-value-get): New optional arg to
14035 suppress trailing whitespace truncation.
14036 (character): Use it (Bug#2689).
14037
14038 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14039
14040 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14041 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14042
14043 2012-02-05 Chong Yidong <cyd@gnu.org>
14044
14045 * cus-edit.el (custom-variable-value-create): For mismatched
14046 types, show the current value (Bug#7600).
14047
14048 * custom.el (defcustom): Doc fix.
14049
14050 2012-02-05 Glenn Morris <rgm@gnu.org>
14051
14052 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14053
14054 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14055
14056 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14057 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14058 (pp-last-sexp): Use `looking-at-p'.
14059
14060 2012-02-04 Glenn Morris <rgm@gnu.org>
14061
14062 * files.el (revert-buffer):
14063 Doc fix (mention revert-buffer-in-progress-p).
14064
14065 * emacs-lisp/ert-x.el (ert-simulate-command):
14066 Check deferred-action-list (which is obsolete) is bound.
14067
14068 * subr.el (with-wrapper-hook): Doc fixes.
14069
14070 * simple.el (filter-buffer-substring-functions)
14071 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14072
14073 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14074
14075 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14076 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14077
14078 2012-02-04 Leo Liu <sdl.web@gmail.com>
14079
14080 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14081
14082 2012-02-04 Glenn Morris <rgm@gnu.org>
14083
14084 * image.el (image-extension-data): Add obsolete alias.
14085
14086 * isearch.el (isearch-update): Doc fix.
14087
14088 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14089
14090 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14091
14092 2012-02-03 Glenn Morris <rgm@gnu.org>
14093
14094 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14095 (image-animate-timeout): Doc fix.
14096
14097 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14098
14099 2012-02-02 Glenn Morris <rgm@gnu.org>
14100
14101 * server.el (server-auth-dir): Doc fix.
14102 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14103
14104 * subr.el (run-mode-hooks): Doc fix.
14105
14106 2012-02-02 Juri Linkov <juri@jurta.org>
14107
14108 * image-mode.el (image-toggle-display-image): Remove tautological
14109 `major-mode' from the `derived-mode-p' test.
14110
14111 2012-02-02 Kenichi Handa <handa@m17n.org>
14112
14113 * composite.el (compose-region): Cancel previous change.
14114
14115 2012-02-02 Kenichi Handa <handa@m17n.org>
14116
14117 * composite.el (compose-region, compose-string): Signal error for
14118 a null string component (Bug#6988).
14119
14120 2012-02-01 Chong Yidong <cyd@gnu.org>
14121
14122 * view.el (view-buffer-other-window, view-buffer-other-frame):
14123 Handle special modes like view-buffer (Bug#10650).
14124 (view-buffer): Simplify.
14125
14126 * frame.el (set-frame-font): Tweak meaning of third argument.
14127
14128 * dynamic-setting.el (font-setting-change-default-font):
14129 Use set-frame-font (Bug#9982).
14130
14131 2012-02-01 Glenn Morris <rgm@gnu.org>
14132
14133 * progmodes/compile.el (compilation-internal-error-properties):
14134 Respect compilation-first-column in the "*compilation*" buffer.
14135
14136 * emacs-lisp/easy-mmode.el (define-minor-mode):
14137 Relax :variable's test for a named function.
14138
14139 2012-01-31 Alan Mackenzie <acm@muc.de>
14140
14141 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14142 off by one error.
14143
14144 2012-01-31 Chong Yidong <cyd@gnu.org>
14145
14146 * frame.el (set-frame-font): New arg ALL-FRAMES.
14147
14148 * menu-bar.el (menu-set-font): Use set-frame-font.
14149
14150 * faces.el (face-spec-reset-face): Don't apply unspecified
14151 attribute values to the default face.
14152
14153 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14154
14155 * progmodes/cwarn.el (cwarn): Remove dead link.
14156 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14157 Remove * from defcustom docstrings.
14158 (turn-on-cwarn-mode): Make obsolete.
14159 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14160 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14161
14162 2012-01-31 Glenn Morris <rgm@gnu.org>
14163
14164 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14165 Fix :variable handling of mode a symbol not equal to modefun.
14166 Allow named functions to be used as the cdr of :variable.
14167
14168 2012-01-30 Glenn Morris <rgm@gnu.org>
14169
14170 * emacs-lisp/authors.el (authors-fixed-entries):
14171 Remove reference to deleted file rnewspost.el.
14172
14173 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14174
14175 * window.el (window-with-parameter): Remove unused variable `windows'.
14176 (window--side-check): Remove unused variable `code'.
14177 (window--resize-siblings): Remove unused variable `first'.
14178 (adjust-window-trailing-edge): Remove unused variable `failed'.
14179 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14180 Use `let', not `let*'.
14181 (balance-windows-2): Remove unused variable `found'.
14182 (window--state-put-2): Remove unused variable `splits'.
14183 (window-state-put): Remove unused variable `selected'.
14184 (same-window-p): Use `string-match-p'.
14185 (display-buffer-assq-regexp): Remove unused variable `value'.
14186 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14187 Mark argument ALIST as ignored.
14188 (pop-to-buffer): Remove unused variable `old-window'.
14189
14190 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14191
14192 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14193 and .lzma compressed files.
14194
14195 2012-01-29 Chong Yidong <cyd@gnu.org>
14196
14197 * frame.el (window-system-default-frame-alist): Doc fix.
14198
14199 * dynamic-setting.el (font-setting-change-default-font): Don't
14200 change the default face if SET-FONT argument is non-nil (Bug#9982).
14201
14202 2012-01-29 Samuel Bronson <naesten@gmail.com>
14203
14204 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14205
14206 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14207
14208 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14209 breakpoints in files outside current directory (Bug#6098).
14210
14211 2012-01-29 Chong Yidong <cyd@gnu.org>
14212
14213 * progmodes/python.el: Require ansi-color at top-level.
14214
14215 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14216 Define and use in Emacs Lisp mode (Bug#9360).
14217 (lisp-mode-abbrev-table): Add doc.
14218 (lisp-mode-variables): Don't set local-abbrev-table.
14219 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14220
14221 2012-01-28 Roland Winkler <winkler@gnu.org>
14222
14223 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14224
14225 2012-01-28 Roland Winkler <winkler@gnu.org>
14226
14227 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14228 (bibtex-set-dialect): Use it. Either set global values of
14229 dialect-dependent variables or bind these variables buffer-locally
14230 (Bug#10254).
14231 (bibtex-mode): Call bibtex-set-dialect via
14232 hack-local-variables-hook.
14233 (bibtex-dialect): Update docstring.
14234 Add safe-local-variable predicate.
14235 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14236 bibtex-set-dialect.
14237 (bibtex-mode-map): Define menu for each dialect.
14238 (bibtex-entry): Fix docstring.
14239
14240 2012-01-28 Chong Yidong <cyd@gnu.org>
14241
14242 * eshell/esh-arg.el (eshell-quote-argument): New function.
14243
14244 * eshell/esh-ext.el (eshell-invoke-batch-file):
14245 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14246 first arg to eshell-parse-command (Bug#10523).
14247
14248 2012-01-28 Drew Adams <drew.adams@oracle.com>
14249
14250 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14251 `default-directory' is non-nil.
14252
14253 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14254
14255 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14256 line that displays system-configuration-options. (Bug#9924)
14257
14258 2012-01-28 Drew Adams <drew.adams@oracle.com>
14259
14260 * descr-text.el (describe-char): Show information about POS, in
14261 addition to information about the character at POS. Improve and
14262 update the doc string. Change "code point" to "code point in
14263 charset", to avoid confusion with the character's Unicode code
14264 point shown above that. (Bug#10129)
14265
14266 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14267
14268 * descr-text.el (describe-char): Show the raw character, not only
14269 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14270 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14271 for the reasons.
14272
14273 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14274
14275 * emacs-lisp/package.el (package-install):
14276 Run package-refresh-contents if there is no archive yet (Bug#9798).
14277
14278 2012-01-28 Chong Yidong <cyd@gnu.org>
14279
14280 * emacs-lisp/package.el (package-maybe-load-descriptor):
14281 New function, split from package-maybe-load-descriptor.
14282 (package-maybe-load-descriptor): Use it.
14283 (package-download-transaction): Fully load required packages
14284 inside the loop, so that `require' calls work (Bug#10593).
14285 (package-install): No need to call package-initialize now.
14286
14287 2012-01-28 Chong Yidong <cyd@gnu.org>
14288
14289 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14290
14291 * tooltip.el (tooltip-mode): Doc fix.
14292 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14293
14294 * frame.el (set-cursor-color): Doc fix (Bug#352).
14295
14296 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14297 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14298
14299 * cus-edit.el (custom-buffer-create-internal): Fix search button
14300 action (Bug#10542).
14301 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14302
14303 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14304
14305 * dired.el (dired-mark-files-regexp):
14306 Include any subdirectory components. (Bug#10445)
14307
14308 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14309
14310 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14311 Handle [host]:port syntax. (Bug#10533)
14312
14313 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14314
14315 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14316
14317 2012-01-26 Glenn Morris <rgm@gnu.org>
14318
14319 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14320 * term.el (term-raw-escape-map): Use Control-X-prefix.
14321 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14322
14323 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14324
14325 * window.el (window-state-get, window--state-get-1): Don't deal
14326 with fixed-sizeness of windows. Simplify code.
14327
14328 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14329
14330 * window.el (window--state-get-1, window--state-put-2):
14331 Don't save and restore the mark.
14332
14333 2012-01-25 Chong Yidong <cyd@gnu.org>
14334
14335 * custom.el (custom-variable-p): Doc fix.
14336
14337 2012-01-25 Glenn Morris <rgm@gnu.org>
14338
14339 * dired.el (dired-goto-file): Handle some of the more common
14340 characters that `ls -b' escapes. (Bug#10596)
14341
14342 * progmodes/compile.el (compilation-next-error-function):
14343 Respect compilation-first-column in the "*compilation*" buffer.
14344 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14345
14346 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14347
14348 2012-01-24 Glenn Morris <rgm@gnu.org>
14349
14350 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14351
14352 2012-01-24 Julien Danjou <julien@danjou.info>
14353
14354 * color.el (color-rgb-to-hsl): Fix value computing.
14355 (color-hue-to-rgb): New function.
14356 (color-hsl-to-rgb): New function.
14357 (color-clamp, color-saturate-hsl, color-saturate-name)
14358 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14359 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14360
14361 2012-01-24 Glenn Morris <rgm@gnu.org>
14362
14363 * vc/vc-rcs.el (vc-rcs-create-tag):
14364 * vc/vc-sccs.el (vc-sccs-create-tag):
14365 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14366
14367 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14368
14369 * eshell/esh-util.el (eshell-read-hosts-file):
14370 Skip comment lines. (Bug#10549)
14371
14372 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14373
14374 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14375
14376 * subr.el (display-delayed-warnings): Doc fix.
14377 (collapse-delayed-warnings): New function to collapse identical
14378 adjacent warnings.
14379 (delayed-warnings-hook): Add it.
14380
14381 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14382
14383 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14384
14385 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14386 (tramp-default-user-alist): Don't add "pscp".
14387 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14388 property "login-as", if set. (Bug#10530)
14389
14390 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14391
14392 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14393 "plink1" and "psftp". (Bug#10530)
14394
14395 2012-01-21 Kenichi Handa <handa@m17n.org>
14396
14397 * international/mule-cmds.el (prefer-coding-system): Show a
14398 warning message if the default value of file-name-coding-system
14399 was not changed.
14400
14401 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14402
14403 * windmove.el (windmove-reference-loc):
14404 Fix windmove-reference-loc miscalculation.
14405
14406 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14407
14408 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14409 default unit.
14410
14411 2012-01-21 Glenn Morris <rgm@gnu.org>
14412
14413 * international/mule.el (auto-coding-alist): Add .tbz.
14414
14415 * files.el (local-enable-local-variables): Doc fix.
14416 (inhibit-local-variables-regexps): Rename from
14417 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14418 Doc fix. Add some extensions from auto-coding-alist.
14419 (inhibit-local-variables-suffixes):
14420 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14421 (inhibit-local-variables-p):
14422 New function, extracted from set-auto-mode-1.
14423 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14424 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14425 (hack-local-variables): Doc fix. Make the mode-only case
14426 respect enable-local-variables and friends.
14427 Respect inhibit-local-variables-regexps for file-locals, but
14428 not for directory-locals.
14429 (set-visited-file-name):
14430 Take account of inhibit-local-variables-regexps.
14431 Whether it applies may change as the file name is changed.
14432 * jka-cmpr-hook.el (jka-compr-install):
14433 * jka-compr.el (jka-compr-uninstall):
14434 Update for inhibit-first-line-modes-suffixes name change.
14435
14436 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14437
14438 * help-macro.el (make-help-screen): Temporarily restore original
14439 binding for minor-mode-map-alist (Bug#10454).
14440
14441 2012-01-19 Julien Danjou <julien@danjou.info>
14442
14443 * color.el (color-name-to-rgb): Use the white color to find the max
14444 color component value and return correctly computed values.
14445 (color-name-to-rgb): Add missing float conversion for max value.
14446
14447 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14448
14449 * window.el (window--state-get-1, window-state-get): Do not use
14450 special state value for window-persistent-parameters.
14451 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14452 (window--state-put-2): Reset all window parameters to nil before
14453 assigning values of persistent parameters.
14454
14455 2012-01-18 Alan Mackenzie <acm@muc.de>
14456
14457 Eliminate sluggishness and hangs in fontification of "semicolon
14458 deserts".
14459
14460 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14461 Change value 10000 -> 3000.
14462 (c-state-safe-place): Reformulate so it doesn't stack up an
14463 infinite number of wrong entries in c-state-nonlit-pos-cache.
14464 (c-determine-limit-get-base, c-determine-limit): New functions to
14465 determine backward search limits disregarding literals.
14466 (c-find-decl-spots): Amend commenting.
14467 (c-cheap-inside-bracelist-p): New function which detects "={".
14468
14469 * progmodes/cc-fonts.el
14470 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14471 backward search.
14472 (c-font-lock-declarations): Fix an occurrence of point being
14473 undefined. Check additionally for point being in a bracelist or
14474 near a macro invocation without a semicolon so as to avoid a
14475 fruitless time consuming search for a declarator. Give a more
14476 precise search limit for declarators using the new
14477 c-determine-limit.
14478
14479 2012-01-18 Glenn Morris <rgm@gnu.org>
14480
14481 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14482 (set-auto-mode): Doc fixes.
14483
14484 2012-01-17 Glenn Morris <rgm@gnu.org>
14485
14486 * isearch.el (search-nonincremental-instead): Fix doc typo.
14487
14488 * dired.el (dired-insert-directory): Handle newlines in directory name.
14489 (dired-build-subdir-alist): Unescape newlines in directory name.
14490
14491 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14492
14493 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14494 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14495 (tramp-action-terminal): Use it. (Bug#10530)
14496
14497 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14498
14499 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14500
14501 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14502
14503 * window.el (window-state-ignored-parameters): Remove variable.
14504 (window--state-get-1): Rename argument MARKERS to IGNORE.
14505 Handle persistent window parameters. Make copy of clone-of
14506 parameter only if requested. (Bug#10348)
14507 (window--state-put-2): Install a window parameter only if it has
14508 a non-nil value or an existing parameter shall be overwritten.
14509
14510 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14511
14512 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14513
14514 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14515
14516 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14517 don't pass the (nil) value of `upnode' to string-match.
14518
14519 2012-01-14 Chong Yidong <cyd@gnu.org>
14520
14521 * startup.el (command-line): Fix X resource class for cursorColor.
14522 Fix values recognized by the cursorBlink resource.
14523
14524 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14525
14526 * epg.el (epg--make-temp-file): Avoid permission race condition
14527 when running on old Emacs versions (bug#10403).
14528
14529 2012-01-14 Glenn Morris <rgm@gnu.org>
14530
14531 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14532
14533 2012-01-13 Alan Mackenzie <acm@muc.de>
14534
14535 Fix filling for when filladapt mode is enabled.
14536
14537 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14538 c-mask-paragraph, pass in `fill-paragraph' rather than
14539 `fill-region-as-paragraph'. (This is a reversion of a previous
14540 change.)
14541 * progmodes/cc-mode.el (c-basic-common-init):
14542 Make fill-paragraph-handle-comment buffer local and set it to nil.
14543
14544 2012-01-13 Glenn Morris <rgm@gnu.org>
14545
14546 * dired.el (dired-switches-escape-p): New function.
14547 (dired-insert-directory): Use dired-switches-escape-p.
14548 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14549
14550 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14551
14552 2012-01-12 Glenn Morris <rgm@gnu.org>
14553
14554 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14555 changes in adaptive-fill-regexp. (Bug#10276)
14556
14557 2012-01-11 Alan Mackenzie <acm@muc.de>
14558
14559 Fix Emacs bug #10463 - put `widen's around the critical spots.
14560
14561 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14562 widen around each invocation of c-state-pp-to-literal. Remove an
14563 unused let variable.
14564
14565 2012-01-11 Glenn Morris <rgm@gnu.org>
14566
14567 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14568 Doc fix.
14569
14570 2012-01-10 Chong Yidong <cyd@gnu.org>
14571
14572 * net/network-stream.el (network-stream-open-starttls):
14573 Avoid emitting a confusing error message when the server gives a bad
14574 response to the capability command.
14575
14576 2012-01-10 Glenn Morris <rgm@gnu.org>
14577
14578 * mail/unrmail.el (unrmail): Tweak previous change.
14579
14580 2012-01-09 Chong Yidong <cyd@gnu.org>
14581
14582 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14583
14584 2012-01-08 Alan Mackenzie <acm@muc.de>
14585
14586 Optimize font locking in long enum definitions.
14587
14588 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14589 arm to a cond form to handle enums.
14590 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14591 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14592
14593 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14594
14595 * files.el (move-file-to-trash): Preserve default file modes on error.
14596 (Bug#10401)
14597
14598 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14599
14600 * faces.el (set-face-attribute): Clarify the meaning of the nil
14601 frame (bug#10294).
14602
14603 * subr.el (with-selected-frame): Mention that the selected frame
14604 is restored (bug#9980).
14605
14606 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14607 (bug#9759).
14608
14609 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14610 (password-read): Don't autoload unused function.
14611
14612 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14613
14614 * progmodes/which-func.el (which-func-mode): Turn into a
14615 non-interactive function and mark as obsolete (bug#10428).
14616
14617 2012-01-06 Chong Yidong <cyd@gnu.org>
14618
14619 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14620 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14621 functions, along with 1 and -1.
14622
14623 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14624
14625 * time.el (display-time-load-average)
14626 (display-time-default-load-average): Doc fixes. See the thread
14627 starting at
14628 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14629 for the details.
14630
14631 2012-01-06 Glenn Morris <rgm@gnu.org>
14632
14633 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14634 has no messages. (Bug#10377)
14635
14636 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14637 than Info-edit. (Bug#10385)
14638
14639 * time.el (display-time-load-average, display-time-next-load-average):
14640 Doc fixes.
14641
14642 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14643 local setting of buffer-read-only to the input buffer. (Bug#10419)
14644
14645 * calendar/calendar.el (calendar-mode):
14646 Locally set scroll-margin to 0. (Bug#10379)
14647
14648 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14649
14650 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14651
14652 2012-01-05 Glenn Morris <rgm@gnu.org>
14653
14654 * eshell/em-unix.el (diff-no-select): Autoload it.
14655 (eshell/diff): Use diff-no-select. (Bug#10420)
14656
14657 2012-01-05 Chong Yidong <cyd@gnu.org>
14658
14659 * shell.el (shell-dynamic-complete-functions): Revert last change.
14660 (shell-command-completion-function): New function.
14661 (shell-completion-vars): Use it to implement
14662 shell-completion-execonly (Bug#10417).
14663
14664 * custom.el (enable-theme): Don't set custom-safe-themes.
14665
14666 * cus-theme.el (custom-theme-merge-theme):
14667 Ignore custom-enabled-themes and custom-safe-themes.
14668
14669 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14670
14671 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14672 first prompt in `sql-interacive-mode'.
14673 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14674 keywords.
14675 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14676 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14677 context of original buffer. Invoke `sql-login-hook'.
14678
14679 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14680
14681 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14682 letters in cite-prefix.
14683
14684 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14685
14686 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14687
14688 2012-01-03 Chong Yidong <cyd@gnu.org>
14689
14690 * shell.el (shell-dynamic-complete-functions):
14691 Put pcomplete-completions-at-point, so as to try
14692 comint-filename-completion first (Bug#10417).
14693
14694 2012-01-02 Richard Stallman <rms@gnu.org>
14695
14696 * battery.el (battery-status-function):
14697 Detect when to use battery-yeeloong-sysfs.
14698 (battery-echo-area-format): Add string for Yeeloong.
14699 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14700 (battery-yeeloong-sysfs): New function.
14701
14702 2012-01-02 Chong Yidong <cyd@gnu.org>
14703
14704 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14705 (dirtrack): Merge code for handling relative filenames in prompt
14706 from shell-dir-cookie-watcher.
14707 (dirtrack-debug-message): New arg to avoid excess format calls.
14708
14709 * shell.el (shell-dir-cookie-re): Variable deleted.
14710 (shell-dir-cookie-watcher): Function deleted.
14711 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14712 with dirtrack-mode.
14713
14714 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14715
14716 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14717 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14718 libgnutls-26.dll.
14719
14720 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14721
14722 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14723
14724 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14725
14726 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14727 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14728
14729 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
14730
14731 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14732 also for alternative shells.
14733 (tramp-open-connection-setup-interactive-shell): Check, whether
14734 the shell is a busybox.
14735 (tramp-send-command): Don't suppress multiple prompts for
14736 busyboxes, it hurts.
14737
14738 2011-12-28 Chong Yidong <cyd@gnu.org>
14739
14740 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14741 (gdb-get-source-file): Move mode line update to
14742 gdb-get-source-file (Bug#10087).
14743
14744 2011-12-25 Chong Yidong <cyd@gnu.org>
14745
14746 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14747 gud-gdb-marker-filter without taking it as an argument.
14748 (gud-gdb-run-command-fetch-lines): Caller changed.
14749 (gud-gdb-completion-function): New variable.
14750 (gud-gdb-completion-at-point): Use it.
14751 (gud-gdb-completions-1): Split from gud-gdb-completions.
14752
14753 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14754 function as separate arguments.
14755 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14756 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14757 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14758 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14759 (gdb-stopped, def-gdb-auto-update-trigger)
14760 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14761 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14762 Callers changed.
14763 (gud-gdbmi-completions): New function.
14764 (gdb): Use it for generating the completion table.
14765
14766 2011-12-24 Alan Mackenzie <acm@muc.de>
14767
14768 Introduce a mechanism to widen the region used in context font
14769 locking. Use this to protect declarations from losing their contexts.
14770
14771 * progmodes/cc-langs.el (c-before-font-lock-functions):
14772 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14773 (c-before-context-fontification-functions): New defvar, a list of
14774 functions to be run just before context (etc.) font locking.
14775
14776 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14777 New, functionality extracted from
14778 c-neutralize-syntax-in-and-mark-CPP.
14779 (c-in-after-change-fontification): New variable.
14780 (c-after-change): Set c-in-after-change-fontification.
14781 (c-set-fl-decl-start): Rejig its interface, so it can be called
14782 from both after-change and context fontifying.
14783 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14784 New functions.
14785 (c-standard-font-lock-fontify-region-function): New variable.
14786 (c-font-lock-fontify-region): New function.
14787
14788 2011-12-24 Juri Linkov <juri@jurta.org>
14789
14790 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14791 (Bug#10348)
14792
14793 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
14794
14795 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14796 existence of source file. (Bug#10325)
14797
14798 2011-12-23 Alan Mackenzie <acm@muc.de>
14799
14800 Fix unstable fontification inside templates.
14801
14802 * progmodes/cc-langs.el (c-before-font-lock-functions):
14803 Newly created from the singular version. The (c c++ objc) entry now
14804 additionally has c-set-fl-decl-start. The other languages (apart
14805 from AWK) have that as a single entry.
14806
14807 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14808 The functionality for "local" declarations has been extracted to
14809 c-set-fl-decl-start.
14810
14811 * progmodes/cc-mode.el (c-common-init, c-after-change):
14812 Changes due to pluralisation of c-before-font-lock-functions.
14813 (c-set-fl-decl-start): New function, extracted from
14814 c-font-lock-enclosing-decls and enhanced.
14815
14816 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
14817
14818 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14819
14820 2011-12-22 Juri Linkov <juri@jurta.org>
14821
14822 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14823
14824 2011-12-22 Chong Yidong <cyd@gnu.org>
14825
14826 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14827
14828 2011-12-21 Drew Adams <drew.adams@oracle.com>
14829
14830 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14831
14832 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14833
14834 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14835
14836 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14837
14838 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14839 highlighting and support. Fix up comments for capitalization.
14840 (cfengine-mode-debug): New var.
14841 (cfengine3-mode): Change the modeline indicator to "CFE3".
14842 (cfengine3-font-lock-keywords): Improve defun highlighting.
14843 (cfengine2-actions): Rename from `cfengine-actions'.
14844 (cfengine2-font-lock-keywords): Rename from
14845 `cfengine-font-lock-keywords'.
14846 (cfengine2-imenu-expression): Rename from
14847 `cfengine-imenu-expression'.
14848 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14849 (cfengine2-beginning-of-defun): Rename from
14850 `cfengine-beginning-of-defun'.
14851 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14852 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14853 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14854 modeline indicator to "CFE2".
14855 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14856 (cfengine-mode-abbrevs): Mark obsolete.
14857
14858 2011-12-21 Chong Yidong <cyd@gnu.org>
14859
14860 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14861 filename argument.
14862
14863 2011-12-20 Martin Rudalics <rudalics@gmx.at>
14864
14865 * window.el (window-normalize-buffer-to-display): Remove.
14866 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14867
14868 2011-12-19 Chong Yidong <cyd@gnu.org>
14869
14870 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14871 Don't signal an error in a predicate function; return non-nil.
14872 (vc-dir-mark-file): Move the error here.
14873 (vc-dir-mark-unmark): If acting on the region, keep going if one
14874 of the entries cannot be marked/unmarked.
14875 (vc-dir-mark-all-files): If current entry is a directory, mark
14876 only child files, as documented.
14877
14878 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14879
14880 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14881 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14882 addition.
14883
14884 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14885
14886 * term/ns-win.el (ns-get-selection-internal)
14887 (ns-store-selection-internal): Declare.
14888 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14889 Declare as obsolete.
14890 (ns-get-pasteboard, ns-paste-secondary):
14891 Use ns-get-selection-internal.
14892 (ns-set-pasteboard, ns-copy-including-secondary):
14893 Use ns-store-selection-internal.
14894
14895 2011-12-17 Chong Yidong <cyd@gnu.org>
14896
14897 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
14898 (vc-deduce-fileset): Doc fix.
14899
14900 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14901
14902 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14903
14904 2011-12-13 Sam Steingold <sds@gnu.org>
14905
14906 * man.el (Man-getpage-in-background): When running under a
14907 window-system, ignore $MANWIDTH and $COLUMNS.
14908
14909 2011-12-15 Kenichi Handa <handa@m17n.org>
14910
14911 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14912 (setup-ethiopic-environment-internal): Comment out key-binding for
14913 ethio-toggle-punctuation.
14914
14915 2011-12-13 Alan Mackenzie <acm@muc.de>
14916
14917 Add the switch statement to AWK Mode.
14918
14919 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
14920 "default" to the keywords regexp.
14921
14922 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
14923 expression as the rest.
14924 (c-nonlabel-token-key): Allow string literals for AWK.
14925 Refactor for the other modes.
14926
14927 Large brace-block initialisation makes CC Mode slow: Fix.
14928 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
14929 routines. Limit backward searching in c-font-lock-enclosing.decl.
14930
14931 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14932 pp-state and literal type in addition to the limits.
14933 (c-state-safe-place): New defun, extracted from c-state-literal-at.
14934 (c-state-literal-at): Use the above new defun.
14935 (c-slow-in-literal, c-fast-in-literal): Remove.
14936 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
14937
14938 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14939 being in a literal. Add a limit for backward searching.
14940
14941 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14942 c-slow-in-literal.
14943
14944 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14945
14946 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14947
14948 2011-12-13 Martin Rudalics <rudalics@gmx.at>
14949
14950 * window.el (delete-other-windows): Use correct frame in call to
14951 window-with-parameter.
14952
14953 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14954
14955 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14956 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14957 (makefile-gmake-statements, makefile-makepp-statements):
14958 Use it and add new makepp keywords.
14959 (makefile-makepp-font-lock-keywords): Add new patterns.
14960 (makefile-match-function-end): Match new [...] and [[...]].
14961
14962 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
14963
14964 * ses.el (ses-call-printer-return, ses-cell-property-get)
14965 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14966 (ses-create-cell-variable, ses-reset-header-string)
14967 (ses-cell-set-formula, ses-repair-cell-reference-all)
14968 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14969 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14970 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14971 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14972 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14973 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14974 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14975 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14976 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14977 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14978 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14979 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14980
14981 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14982
14983 * ses.el: The overall change is to add cell renaming, that is
14984 setting fancy names for cell symbols other than name matching
14985 "\\`[A-Z]+[0-9]+\\'" regexp .
14986 (ses-create-cell-variable): New defun.
14987 (ses-relocate-formula): Relocate formulas only for cells the
14988 symbols of which are not renamed, i.e. symbols whose names do not
14989 match regexp "\\`[A-Z]+[0-9]+\\'".
14990 (ses-relocate-all): Relocate values only for cells the symbols of
14991 which are not renamed.
14992 (ses-load): Create cells variables as the (ses-cell ...) are read,
14993 in order to check row col consistency with cell symbol name only
14994 for cells that are not renamed.
14995 (ses-replace-name-in-formula): New defun.
14996 (ses-rename-cell): New defun.
14997
14998 2011-12-11 Chong Yidong <cyd@gnu.org>
14999
15000 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15001 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15002
15003 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15004
15005 * window.el (other-window): Fix docstring.
15006
15007 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15008
15009 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15010 `from' or `to' address before taking its substring.
15011 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15012 encoded name is chopped in the middle of the encoded string, and
15013 thus displayed encoded.
15014
15015 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15016
15017 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15018
15019 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15020
15021 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15022 to use texinfo-update-node and commands that call it if the
15023 Texinfo file uses @node lines without next/prev/up pointers.
15024 Correct outdated description about texinfo-master-menu.
15025 (texinfo-all-menus-update, texinfo-master-menu)
15026 (texinfo-update-node, texinfo-every-node-update)
15027 (texinfo-multiple-files-update): Doc fix. Warn against updating
15028 all the @node lines.
15029 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15030 argument is numeric. Explain better in the doc string what the
15031 function really does.
15032 (texinfo-insert-master-menu-list): Improve the error message
15033 displayed if there's no menu in the Top node.
15034 (Bug#2975) See also this thread:
15035 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15036
15037 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15038
15039 * speedbar.el (speedbar-supported-extension-expressions):
15040 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15041
15042 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15043
15044 * printing.el (pr-mode-alist):
15045 * simple.el (filter-buffer-substring-functions)
15046 (completion-list-insert-choice-function):
15047 * window.el (window-with-parameter, window-atom-root)
15048 (window-sides-slots, window-size-fixed, window-min-delta)
15049 (window-max-delta, window--resize-mini-window)
15050 (window--resize-child-windows-normal, window-tree)
15051 (delete-other-windows, quit-window, split-window)
15052 (display-buffer-record-window, special-display-buffer-names)
15053 (special-display-regexps, special-display-popup-frame)
15054 (same-window-p, split-window-sensibly)
15055 (display-buffer-overriding-action, display-buffer-alist)
15056 (display-buffer-base-action, display-buffer, switch-to-buffer)
15057 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15058 (fit-window-to-buffer, recenter-positions)
15059 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15060 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15061 and remove unneeded backslashes in docstrings.
15062
15063 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15064
15065 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15066
15067 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15068 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15069 end in ".mk".
15070 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15071 when reading the makefile (bug#10116).
15072
15073 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15074
15075 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15076 (bug#10116).
15077
15078 2011-12-06 Glenn Morris <rgm@gnu.org>
15079
15080 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15081
15082 2011-12-06 Chong Yidong <cyd@gnu.org>
15083
15084 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15085
15086 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15087
15088 * textmodes/table.el (table-shorten-cell): Fix typo.
15089
15090 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15091
15092 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15093
15094 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15095
15096 * descr-text.el (describe-char): Fix display of strong
15097 right-to-left characters and directional embeddings and overrides.
15098
15099 * simple.el (what-cursor-position): Fix display of codepoints of
15100 strong right-to-left characters.
15101
15102 2011-12-05 Chong Yidong <cyd@gnu.org>
15103
15104 * faces.el (read-color): Doc fix.
15105
15106 2011-12-05 Glenn Morris <rgm@gnu.org>
15107
15108 * align.el (align--set-marker): Add doc-string.
15109 Don't try to move something that is not a marker. (Bug#10216)
15110
15111 2011-12-04 Glenn Morris <rgm@gnu.org>
15112
15113 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15114 overly zealous deletion of trailing whitespace.
15115
15116 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15117
15118 * server.el (server-delete-client): On Windows, do not try to delete
15119 the only terminal.
15120 (server-process-filter): On Windows, treat requests for a tty frame as
15121 if they were for a GUI frame if the running server is in GUI mode.
15122
15123 2011-12-03 Glenn Morris <rgm@gnu.org>
15124
15125 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15126
15127 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15128
15129 * electric.el: Streamline electric-indent's hook.
15130 (electric-indent-chars): Revert to simple list.
15131 (electric-indent-functions): New var.
15132 (electric-indent-post-self-insert-function): Use it.
15133
15134 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15135 there's no inferior buffer (bug#10196).
15136 (prolog-consult-compile): Don't use toggle-read-only.
15137
15138 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15139
15140 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15141 interrupt. (Bug#10187)
15142
15143 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15144
15145 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15146 (bug#9160).
15147
15148 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15149 (bug#10191).
15150
15151 2011-12-02 Juri Linkov <juri@jurta.org>
15152
15153 * info.el (Info-search): Display "end of manual" when Isearch
15154 reaches the end of single-file Info manual. (Bug#9918)
15155
15156 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15157
15158 * isearch.el (isearch-message-prefix): Run the input method part
15159 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15160
15161 2011-12-02 Juri Linkov <juri@jurta.org>
15162
15163 * isearch.el (isearch-occur): Use `word-search-regexp' for
15164 `isearch-word'.
15165 (isearch-search-and-update): Add condition for `isearch-word' and
15166 call `word-search-regexp'. (Bug#10145)
15167
15168 2011-12-01 Glenn Morris <rgm@gnu.org>
15169
15170 * eshell/em-hist.el (eshell-hist-initialize):
15171 Handle eshell-history-size nil and HISTSIZE set or unset.
15172 (eshell-history-file-name, eshell-history-size): Fix custom type.
15173
15174 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15175
15176 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15177
15178 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15179
15180 * progmodes/verilog-mode.el (verilog-pretty-expr):
15181 Rework verilog-pretty-expr to handle new assignment operators in system
15182 verilog, such as += *= and the like.
15183 (verilog-assignment-operator-re): Regular expression to find the
15184 assigment operator in a verilog assignment.
15185 (verilog-assignment-operation-re): Regular expression to find an
15186 assignment statement for pretty-expr.
15187 (verilog-in-attribute-p): Query returns true if point is in an
15188 attribute context; used to skip these for expression line up from
15189 pretty-expr.
15190 (verilog-in-parameter-p): Query returns true if point is in an
15191 parameter definition context; used to skip these for expression
15192 line up from pretty-expr.
15193 (verilog-in-parenthesis-p): Query returns true if point is in a
15194 parenthetical expression, specifically ( ) but not [ ] or { };
15195 used by pretty-expr.
15196 (verilog-just-one-space): If there is no space, don't add one.
15197 (verilog-get-lineup-indent-2): Specifically skip just attribute
15198 contexts for expression lineup, rather than skipping all
15199 parenthetical expressions.
15200 (verilog-calculate-indent): Fix comment, and fix indent.
15201 (verilog-do-indent): Indent declarations in lists (suggested by
15202 Joachim Lechner).
15203 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15204 skeleton items.
15205 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15206 by Alain Mellan).
15207
15208 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15209
15210 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15211 parameters with embedded comments. Reported by Ray Stevens.
15212 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15213 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15214 Reported by Tim Holt.
15215 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15216 instantiated by upper module causing wrong expansion until AUTOed a
15217 second time. Reported by K C Buckenmaier.
15218 (verilog-diff-auto): Fix showing .* as a difference when
15219 `verilog-auto-star-save' off. Reported by Dan Dever.
15220 (verilog-auto-reset, verilog-read-always-signals)
15221 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15222 temporary signals in reset list if
15223 verilog-auto-reset-blocking-in-non is nil, and match assignment
15224 style to each signal's assignment type, bug381.
15225 Reported by Thomas Esposito.
15226 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15227 (verilog-uvm-statement-re): Support UVM indentation and
15228 highlighting, with old OVM keywords only.
15229 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15230 Support AUTOTIEOFF creating non-wire data types.
15231 Suggested by Jonathan Greenlaw.
15232 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15233 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15234 (verilog-inject-sense, verilog-read-inst-pins)
15235 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15236 Fix mismatching parenthesis inside commented out code when deleting
15237 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15238 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15239 non-numeric vector width. Reported by Alex Reed.
15240 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15241 detecting signals with parameter widths. Reported by Alex Reed.
15242 (verilog-auto-delete-trailing-whitespace):
15243 With `verilog-auto-delete-trailing-whitespace' remove trailing
15244 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15245 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15246 Fix verilog-scan-cache corruption when running user AUTO expansion
15247 hooks that call indentation routines.
15248 (verilog-simplify-range-expression): Fix typo ignoring lower case
15249 identifiers.
15250 (verilog-delete-auto): Fix delete-autos to also remove user created
15251 automatics, as long as they start with AUTO.
15252 (verilog-batch-diff-auto, verilog-diff-auto)
15253 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15254 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15255 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15256 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15257 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15258 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15259 is disabled and its cache will get corrupt, causing AUTOS not to
15260 expand. Instead use only -quick functions.
15261 (verilog-scan-region): Fix scanning over escaped quotes.
15262 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15263 (verilog-re-search-backward-quick)
15264 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15265 related functions now ignore strings, to fix misparsing of strings
15266 with magic comments embedded in them.
15267 (verilog-read-auto-template):
15268 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15269 Reported by Brad Dobbie.
15270 (verilog-read-auto-template):
15271 Fix 'verilog-auto-inst-template-numbers' with comments.
15272 Reported by Brad Dobbie.
15273 (verilog-auto-inst, verilog-auto-inst-param)
15274 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15275 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15276 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15277 debugging templates without merge conflicts, bug357.
15278 Reported by Brad Dobbie.
15279 (verilog-read-auto-template):
15280 Fix verilog-auto-inst-template-numbers with multiple templates.
15281 Reported by Brad Dobbie.
15282 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15283 abbrevs so user won't be asked to save.
15284 (verilog-read-auto-lisp-present): Fix to start at beginning of
15285 buffer in case called outside of verilog-auto.
15286 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15287 to "X-2". Reported by Matthew Myers.
15288 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15289 all inputs from module templates. Reported by Leith Johnson.
15290 (verilog-module-inside-filename-p): Fix locating programs as with
15291 modules.
15292 (verilog-auto-inst-port): Fix vl-width expressions when using
15293 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15294 (verilog-decls-get-regs, verilog-decls-get-signals,
15295 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15296 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15297 verilog-read-decls): Combine reg and wire structures into one var
15298 structure to represent SystemVerilog concepts.
15299 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15300 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15301 (verilog-auto-wire-type, verilog-insert-definition):
15302 Add verilog-auto-wire-type and AUTOLOGIC to support using
15303 SystemVerilog "logic" keyword instead of "wire"/"reg".
15304 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15305 to declares outputs that also have assignments (presumably in an
15306 ifdef or generate if so there's not a driver conflict).
15307 Reported by Matthew Myers.
15308 (verilog-auto-declare-nettype, verilog-insert-definition):
15309 Add verilog-auto-declare-nettype to fix declarations using
15310 `default_nettype none. Reported by Julian Gorfajn.
15311 (verilog-read-always-signals-recurse, verilog-read-decls)
15312 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15313 malformed end statement, bug325. Reported by Joshua Wise and
15314 Andrew Drake.
15315 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15316 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15317 when expanding .* in interfaces, bug320.
15318 Reported by Pierre-David Pfister.
15319 (verilog-read-module-name): Fix import statements between module
15320 name and open parenthesis, bug317.
15321 Reported by Pierre-David Pfister.
15322 (verilog-simplify-range-expression): Fix simplification of
15323 multiplications inside AUTOWIRE connections, bug303.
15324 (verilog-auto-inst-port): Support parameter expansion in
15325 multidimensional arrays.
15326 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15327 after "assert property". Reported by Julian Gorfajn.
15328 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15329 with multiplication, bug303.
15330 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15331 Reported by Jan Frode Lonnum.
15332
15333 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15334
15335 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15336 (hfy-shell-file-name, hfy-shell):
15337 * international/fontset.el (x-decompose-font-name): Fix typos.
15338
15339 2011-11-29 Ken Brown <kbrown@cornell.edu>
15340
15341 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15342 (gdb-version): Remove defvar.
15343 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15344 (gdb-gud-context-command, gdb-non-stop-handler)
15345 (gdb-current-context-command, gdb-stopped): Use it.
15346 (gdb-init-1): Enable pretty printing here.
15347 (gdb-non-stop-handler): Don't enable pretty-printing here.
15348 Check to see if the target supports non-stop mode; if not, turn off
15349 non-stop mode. Use the following.
15350 (gdb-check-target-async): New defun.
15351 (gud-watch, gdb-stopped): Fix whitespace.
15352 (gdb-get-source-file): Don't try to display the source file if
15353 `gdb-main-file' is nil.
15354
15355 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15356
15357 * align.el: Try to generate fewer markers (bug#10047).
15358 (align--set-marker): New macro.
15359 (align-region): Use it.
15360
15361 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15362
15363 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15364
15365 2011-11-29 Chong Yidong <cyd@gnu.org>
15366
15367 * indent.el (indent-for-tab-command, indent-according-to-mode):
15368 Doc fix.
15369 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15370
15371 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15372
15373 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15374 aware of remote file names. (Bug#10124)
15375
15376 2011-11-29 Chong Yidong <cyd@gnu.org>
15377
15378 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15379
15380 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15381
15382 * files.el (find-file): Don't use force-same-window (bug#10144).
15383 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15384 use pop-to-buffer if the selected window can't be used.
15385 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15386
15387 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15388
15389 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15390 special-mode-map.
15391
15392 2011-11-28 Chong Yidong <cyd@gnu.org>
15393
15394 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15395
15396 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15397
15398 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15399 gdb-get-source-file-list on gdb-create-source-file-list.
15400
15401 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15402
15403 * whitespace.el (whitespace-newline): Use a different foreground
15404 color for 16-color light-background displays.
15405
15406 2011-11-24 Chong Yidong <cyd@gnu.org>
15407
15408 * window.el (display-buffer--special-action): Doc fix.
15409
15410 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15411
15412 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15413 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15414 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15415 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15416 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15417 (avl-tree-stack-first):
15418 * emacs-lisp/cconv.el (cconv--analyse-use):
15419 * net/gnutls.el (gnutls-negotiate): Fix typos.
15420
15421 2011-11-24 Glenn Morris <rgm@gnu.org>
15422
15423 * lpr.el (lpr-windows-system, lpr-lp-system):
15424 * mail/binhex.el (binhex-begin-line):
15425 * progmodes/grep.el (grep-history, grep-find-history):
15426 * textmodes/flyspell.el:
15427 * vc/pcvs-defs.el (cvs-global-menu):
15428 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15429 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15430 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15431
15432 * net/tls.el: Fix case of "GnuTLS".
15433
15434 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15435
15436 * version.el (emacs-build-system): Give it a doc-string.
15437
15438 2011-11-24 Juri Linkov <juri@jurta.org>
15439
15440 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15441
15442 2011-11-24 Glenn Morris <rgm@gnu.org>
15443
15444 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15445 if called on a non-mime message just toggle the headers. (Bug#8006)
15446
15447 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15448
15449 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15450 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15451 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15452 (allout-rebullet-heading, allout-open-sibtopic)
15453 (allout-toggle-current-subtree-encryption)
15454 (allout-toggle-subtree-encryption, allout-encrypt-string)
15455 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15456 (allout-distinctive-bullets-string, allout-auto-activation):
15457 * window.el (window-normalize-buffer-to-display):
15458 * progmodes/verilog-mode.el (verilog-batch-indent):
15459 * textmodes/bibtex.el (bibtex-field-braces-opt)
15460 (bibtex-field-strings-opt):
15461 * vc/cvs-status.el (cvs-tree-merge):
15462 Fix typos.
15463
15464 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15465
15466 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15467 `non-essential' to t, in order to avoid remote connections.
15468
15469 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15470
15471 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15472 On MS-DOS and MS-Windows, compare with loaddefs.el
15473 case-insensitively.
15474
15475 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15476
15477 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15478
15479 2011-11-23 Glenn Morris <rgm@gnu.org>
15480
15481 * paths.el (rmail-file-name): Reformat the doc-string so that it
15482 is picked up.
15483
15484 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15485 (rmail-auto-file): Ignore case in the "special" field names,
15486 as mail-fetch-field does for all others.
15487
15488 * mail/rmail.el (rmail-forward):
15489 * mail/rmailkwd.el (rmail-set-label):
15490 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15491 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15492
15493 * mail/rmail.el (rmail-current-message): Doc fix.
15494
15495 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15496
15497 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15498
15499 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15500
15501 2011-11-22 Glenn Morris <rgm@gnu.org>
15502
15503 * mail/rmailmm.el (test-rmail-mime-handler)
15504 (test-rmail-mime-bulk-handler)
15505 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15506
15507 2011-11-21 Juri Linkov <juri@jurta.org>
15508
15509 * calc/calc.el (calc-read-key-sequence):
15510 Let-bind `input-method-function' to nil. (Bug#10018)
15511
15512 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15513
15514 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15515 Tell the caller that the next line needs recomputation, even
15516 though it doesn't start a sexp (bug#10094).
15517
15518 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15519
15520 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15521
15522 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15523
15524 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15525 Use force-same-window.
15526
15527 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15528
15529 * descr-text.el (describe-char-unicode-data):
15530 * json.el (json-string-escape):
15531 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15532 (Footnote-unicode, Footnote-style-p):
15533 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15534
15535 2011-11-20 Chong Yidong <cyd@gnu.org>
15536
15537 * window.el (replace-buffer-in-windows): Restore interactive spec.
15538
15539 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15540
15541 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15542
15543 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15544 (byte-compile-global-not-obsolete-vars): New var.
15545 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15546 Use it.
15547 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15548
15549 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15550
15551 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15552 * progmodes/pascal.el (electric-pascal-equal):
15553 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15554 * xml.el (xml-substitute-special): Fix typos.
15555
15556 2011-11-20 Glenn Morris <rgm@gnu.org>
15557
15558 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15559 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15560 Doc fixes.
15561 (rmail-decode-mime-charset): Mark as obsolete.
15562
15563 * mail/rmailsum.el (rmail-message-regexp-p-1):
15564 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15565 Before using mime functions, check they are set. (Bug#10077)
15566
15567 2011-11-19 Juri Linkov <juri@jurta.org>
15568
15569 * info.el (Info-finder-find-node): Use `package--builtins' instead
15570 of `package-alist'. Use node names formed by the pattern "Keyword "
15571 and the keyword name.
15572
15573 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15574
15575 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15576
15577 2011-11-19 Juri Linkov <juri@jurta.org>
15578
15579 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15580 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15581 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15582 `old-history', `old-history-forward'. Add let-binding
15583 `window-selected'. Remove calls to `kill-buffer',
15584 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15585 before calling `Info-find-node', so `Info-find-node-2' will reread
15586 the Info file. Restore window positions only when `window-selected'
15587 is non-nil.
15588
15589 2011-11-19 Juri Linkov <juri@jurta.org>
15590
15591 * isearch.el (isearch-lazy-highlight-new-loop):
15592 Remove condition `(not isearch-error)'. (Bug#9918)
15593
15594 * misearch.el (multi-isearch-search-fun): Add condition
15595 `(not bound)' to ignore lazy-highlighting search.
15596 Add the search-failed message "end of multi" when the end of
15597 multi-sequence is reached. Uncapitalize the search-failed
15598 message "Repeat for next buffer".
15599
15600 * info.el (Info-search): Add the search-failed message
15601 "end of the manual" when the end of the manual is reached
15602 in Isearch mode.
15603
15604 2011-11-19 Juri Linkov <juri@jurta.org>
15605
15606 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15607 Use non-destructive `remove' instead of `delete' because
15608 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15609 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15610
15611 2011-11-19 Juri Linkov <juri@jurta.org>
15612
15613 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15614 to nil instead of binding `search-ring' and `regexp-search-ring'.
15615 (Bug#9185)
15616
15617 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15618
15619 * simple.el (line-move): Force movement by logical lines for any
15620 hscrolled window, not only when auto-hscroll-mode is on.
15621 (line-move-visual): Update doc string to that effect. (Bug#10076)
15622
15623 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15624
15625 * language/european.el (macintosh): Define as alias for mac-roman.
15626
15627 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15628
15629 * mail/rmailmm.el (rmail-mime-display-header)
15630 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15631 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15632 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15633 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15634 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15635 of a raw aref.
15636 (rmail-mime-entity-segment): To get past the tagline, move forward
15637 2 more lines, to account for the 2 empty lines that precede and
15638 follow the line with the buttons.
15639 (rmail-mime-update-tagline): Move one more line, to get past the
15640 empty line that follows the buttons in the tagline. (Bug#9520)
15641
15642 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15643
15644 * window.el (window-max-delta-1, window-min-delta-1)
15645 (window-min-size-1, window-state-get-1, window-state-put-1)
15646 (window-state-put-2): Use "window--" prefix.
15647
15648 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15649
15650 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15651 (smie-warning-count): New var.
15652 (smie-set-prec2tab): Use it.
15653 (smie-bnf->prec2): Improve warnings. Add docstring.
15654 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15655 (smie-bnf--set-class): New function.
15656 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15657 corner case.
15658
15659 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15660 (compilation-error-properties, compilation-move-to-column):
15661 Handle compilation-first-column while in the target buffer.
15662
15663 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15664 Don't hardcode point-min==1.
15665
15666 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15667 (eshell-rewrite-for-command): Remove workaround.
15668 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15669 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15670 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15671
15672 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15673
15674 2011-11-17 Glenn Morris <rgm@gnu.org>
15675
15676 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15677 Ignore buffer-local generated-autoload-file if it is the same
15678 as the global value. (Bug#10049)
15679
15680 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15681
15682 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15683 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15684 (reftex-toc-previous-heading, reftex-toc-max-level)
15685 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15686 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15687 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15688 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15689 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15690 (reftex-toc-rename-label, reftex-toc-visit-location)
15691 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15692 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15693 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15694 leaving "*toc*" only for references to the buffer.
15695
15696 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15697
15698 * window.el (window-resize, delete-window, split-window):
15699 Replace window-splits by window-combination-resize.
15700 * cus-start.el (window-splits): Replace by window-combination-resize.
15701
15702 2011-11-17 Glenn Morris <rgm@gnu.org>
15703
15704 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15705 Make bash entry derive from sh entry, not shell entry.
15706
15707 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15708
15709 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15710 local file name.
15711
15712 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15713
15714 * menu-bar.el (menu-bar-file-menu):
15715 * printing.el (pr-ps-utility):
15716 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15717 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15718 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15719 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15720 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15721 (icalendar--convert-cyclic-to-ical)
15722 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15723 (icalendar--convert-ical-to-diary)
15724 (icalendar--convert-recurring-to-diary)
15725 (icalendar--convert-non-recurring-all-day-to-diary)
15726 (icalendar-import-format-sample):
15727 * progmodes/idlw-shell.el (idlwave-shell-mode):
15728 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15729 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15730 (vhdl-ps-print-init): Fix typos.
15731
15732 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15733
15734 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15735 FSF and collapse date sequence, obscure author/maintainer email address
15736 better, remove extra version line, track relocation of author's webpage.
15737
15738 * progmodes/python.el (python-pdbtrack-input-prompt)
15739 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15740 regular python pdb prompts. Adjustments shamelessly taken exactly as
15741 suggested in EmacsWiki page (tiny change):
15742 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15743
15744 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15745
15746 * expand.el (expand-pos, expand-index, expand-point):
15747 Remove redundant info from docstring.
15748 (expand-add-abbrevs): Doc fix.
15749 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15750 (expand-sample-perl-mode-expand-list): Fix typos.
15751
15752 * net/dbus.el (dbus-event-member-name):
15753 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15754 * term/pc-win.el (msdos-create-frame-with-faces):
15755 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15756
15757 2011-11-16 Martin Rudalics <rudalics@gmx.at>
15758
15759 * window.el (split-window, window-state-get-1)
15760 (window-state-put-1, window-state-put-2): Rename occurrences of
15761 window-nest to window-combination-limit.
15762 * cus-start.el (window-nest): Rename to window-combination-limit.
15763
15764 2011-11-16 Chong Yidong <cyd@gnu.org>
15765
15766 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15767 regexp (Bug#10033).
15768
15769 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15770
15771 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15772 `completing-read' will remove *Completions* and will preserve
15773 current-buffer for us.
15774 (tmm-add-prompt): Users of *Completions* will always (re)set its
15775 major mode.
15776 (tmm-old-comp-map): Remove.
15777
15778 2011-11-16 Glenn Morris <rgm@gnu.org>
15779
15780 * mail/rmailedit.el: Require rmailmm when compiling.
15781 (rmail-old-mime-state): New declaration.
15782 (rmail-edit-current-message): If editing a mime message,
15783 edit the "raw" message from the mbox buffer.
15784 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15785
15786 2011-11-15 Glenn Morris <rgm@gnu.org>
15787
15788 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15789 which wasn't being used. Add optional arg to force given state.
15790 (rmail-mime): Add optional arg to force given state.
15791
15792 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15793
15794 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15795 * frame.el (display-mm-dimensions-alist):
15796 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15797 (outline-move-subtree-down):
15798 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15799 (newsticker--treeview-do-get-node):
15800 * net/quickurl.el (quickurl-list-buffer-name):
15801 * progmodes/dcl-mode.el (dcl-mode):
15802 * progmodes/gdb-mi.el (gdb-mapcar*):
15803 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15804
15805 2011-11-15 Glenn Morris <rgm@gnu.org>
15806
15807 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15808 in a boolean sense, so just make it a boolean, and fix the doc.
15809 (rmail-show-mime-function, rmail-mime-feature)
15810 (rmail-require-mime-maybe): Doc fixes.
15811 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15812
15813 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15814
15815 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15816
15817 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15818 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15819 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15820 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15821
15822 2011-11-15 Glenn Morris <rgm@gnu.org>
15823
15824 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15825 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15826 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15827 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15828 (rmail-mime, rmail-show-mime): Doc fixes.
15829
15830 * term/ns-win.el (mode-line-frame-identification):
15831 Leave it alone. (Bug#10051)
15832
15833 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15834
15835 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15836 Handle empty buffers. (Bug#9978)
15837
15838 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
15839
15840 * international/mule.el (define-charset):
15841 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15842 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15843 * progmodes/verilog-mode.el (verilog-backward-token):
15844 * textmodes/ispell.el (lookup-words):
15845 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15846
15847 2011-11-14 Glenn Morris <rgm@gnu.org>
15848
15849 * progmodes/executable.el
15850 (executable-make-buffer-file-executable-if-script-p):
15851 Handle file-modes returning nil.
15852
15853 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15854 message - not necessary, and causes problems. (Bug#9831)
15855
15856 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15857
15858 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15859
15860 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15861 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15862 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15863
15864 2011-11-12 Martin Rudalics <rudalics@gmx.at>
15865
15866 * window.el (window-resize, delete-window): Use window-splits
15867 variable instead of function.
15868 (window-state-get-1, window-state-put-2, window-state-put):
15869 Don't deal with windows' splits status.
15870
15871 2011-11-12 Glenn Morris <rgm@gnu.org>
15872
15873 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15874 (apropos-documentation): Doc fixes.
15875
15876 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
15877
15878 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15879 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15880
15881 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15882
15883 * electric.el (electric-indent-post-self-insert-function): Make it
15884 possible for a char to only indent in some circumstances.
15885 (electric-indent-mode): Simplify.
15886
15887 2011-11-11 Martin Rudalics <rudalics@gmx.at>
15888
15889 * window.el (windows-with-parameter): Remove unused function.
15890 (windows-at-side): Rename to window-at-side-list.
15891 (window-check, window-atom-check, window-atom-check-1)
15892 (window-side-check, window-size-ignore, window-size-fixed-1)
15893 (window-in-direction-2): Prefix with "window--".
15894 (window-tree-1): Rename to window--subtree, fix doc-string.
15895
15896 2011-11-11 Glenn Morris <rgm@gnu.org>
15897
15898 * subr.el (eval-after-load): If FILE is already loaded,
15899 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15900
15901 2011-11-10 Glenn Morris <rgm@gnu.org>
15902
15903 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15904 Call svn via vc-svn-command rather than vc-do-command.
15905 (vc-svn-command): Add --non-interactive. (Bug#9993)
15906 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15907
15908 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15909 Add toggle-read-only. (Bug#7292)
15910 * files.el (toggle-read-only): Mention that it should only
15911 be used interactively. (Bug#10006)
15912
15913 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15914
15915 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15916 Adjust regexp for OCaml warnings.
15917
15918 * electric.el (electric-pair-post-self-insert-function): Let user
15919 turn it off buffer-locally (bug#9932).
15920
15921 * progmodes/python.el (python-beginning-of-statement):
15922 Rewrite (bug#2703).
15923
15924 * progmodes/compile.el: Better handle TABs (bug#9749).
15925 (compilation-internal-error-properties)
15926 (compilation-next-error-function): Obey the target buffer's
15927 compilation-error-screen-columns.
15928
15929 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
15930
15931 * progmodes/meta-mode.el: Remove obsolete comments.
15932 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15933 Fix typos in docstrings.
15934
15935 2011-11-09 Martin Rudalics <rudalics@gmx.at>
15936
15937 * window.el (window-size-fixed-p): Rewrite doc-string.
15938 (window-resizable-p): Rename to window--resizable-p. Update callers.
15939 (window--resizable): New function. Make all callers of
15940 window-resizable call window--resizable instead.
15941 (window-resizable): Rewrite in terms of window--resizable.
15942
15943 2011-11-08 Glenn Morris <rgm@gnu.org>
15944
15945 * progmodes/delphi.el (delphi-mode-syntax-table):
15946 Let define-derived-mode define a proper syntax table. (Bug#9994)
15947
15948 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15949
15950 * window.el: Stay away from defsubst.
15951 (window-list-no-nils): Remove.
15952 (window-state-get-1, window-state-get): Use backquote instead.
15953
15954 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15955
15956 * emacs-lisp/find-func.el (find-function-read):
15957 Fix incorrect use of default argument in `completing-read'.
15958
15959 2011-11-08 Martin Rudalics <rudalics@gmx.at>
15960
15961 * window.el (display-buffer-function, special-display-function):
15962 Mention display-buffer-record-window but do not mention
15963 help-setup parameter in doc-strings.
15964 (window-min-delta): Fix doc-string typo.
15965
15966 2011-11-08 Chong Yidong <cyd@gnu.org>
15967
15968 * window.el (window-total-height, window-total-width): Doc fix.
15969 (window-body-size): Move from C.
15970 (window-body-height, window-body-width): Move to C.
15971
15972 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15973
15974 * window.el: Make special-display like display-buffer-alist (bug#9532).
15975 (display-buffer--special-action): New function, morphed
15976 from display-buffer--special.
15977 (display-buffer): Use it to handle special-display-buffers at higher
15978 priority (just after display-buffer-alist).
15979 (display-buffer-fallback-action, display-buffer--other-frame-action)
15980 (pop-to-buffer-same-window): Remove display-buffer--special.
15981
15982 2011-11-07 Glenn Morris <rgm@gnu.org>
15983
15984 * calendar/cal-menu.el (cal-menu-set-date-title):
15985 Do nothing if not in a calendar. (Bug#9976)
15986
15987 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15988
15989 * files.el (find-file): Always use selected-window.
15990
15991 2011-11-07 Martin Rudalics <rudalics@gmx.at>
15992
15993 * window.el (window-combinations): Make WINDOW argument
15994 mandatory. Rewrite doc-string.
15995 (walk-window-subtree, window-atom-check, window-min-delta)
15996 (window-max-delta, window--resize-this-window)
15997 (window--resize-root-window-vertically, window-tree)
15998 (balance-windows, window-state-put): Rewrite doc-strings as to
15999 not mention the term "subwindow".
16000 (window--resize-subwindows-skip-p): Rename to
16001 window--resize-child-windows-skip-p.
16002 (window--resize-subwindows-normal): Rename to
16003 window--resize-child-windows-normal.
16004 (window--resize-subwindows): Rename to
16005 window--resize-child-windows.
16006 (window-or-subwindow-p): Rename to window--in-subtree-p.
16007
16008 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16009
16010 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16011 Ensure that mbox format messages end in two newlines (Bug#9974).
16012
16013 2011-11-06 Chong Yidong <cyd@gnu.org>
16014
16015 * window.el (window-combination-p): Function deleted; its
16016 side-effect is not used in any existing code.
16017 (window-combinations, window-combined-p): Call window-*-child
16018 directly.
16019
16020 2011-11-05 Chong Yidong <cyd@gnu.org>
16021
16022 * window.el (window-valid-p): Rename from window-any-p.
16023 (window-size-ignore, window-state-get): Callers changed.
16024 (window-normalize-window): Rename from window-normalize-any-window.
16025 New arg LIVE-ONLY, replacing window-normalize-live-window.
16026 (window-normalize-live-window): Delete.
16027 (window-combination-p, window-combined-p, window-combinations)
16028 (walk-window-subtree, window-atom-root, window-min-size)
16029 (window-sizable, window-sizable-p, window-size-fixed-p)
16030 (window-min-delta, window-max-delta, window-resizable)
16031 (window-resizable-p, window-full-height-p, window-full-width-p)
16032 (window-current-scroll-bars, window-point-1, set-window-point-1)
16033 (window-at-side-p, window-in-direction, window-resize)
16034 (adjust-window-trailing-edge, maximize-window, minimize-window)
16035 (window-deletable-p, delete-window, delete-other-windows)
16036 (record-window-buffer, unrecord-window-buffer)
16037 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16038 (quit-window, split-window, window-state-put)
16039 (set-window-text-height, fit-window-to-buffer)
16040 (shrink-window-if-larger-than-buffer): Callers changed.
16041
16042 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16043
16044 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16045 rfc2047-decode-string.
16046 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16047 warnings.
16048
16049 * window.el (window-body-height, window-body-width): Mention in
16050 the doc string that the return values are in frame's canonical
16051 units. (Bug#9949)
16052
16053 2011-11-03 Alan Mackenzie <acm@muc.de>
16054
16055 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16056 change in cc-engine.el.
16057
16058 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16059
16060 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16061
16062 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16063
16064 * window.el (quit-window): Call unrecord-window-buffer after
16065 showing another buffer in the window. (Bug#9937)
16066 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16067
16068 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16069
16070 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16071 Accept status with more than 9 shelves. (Bug#9935)
16072 Reported by Colin D Bennett <colin@gibibit.com>.
16073
16074 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16075
16076 * help.el (with-help-window): Don't reference
16077 temp-buffer-show-specifiers in doc-string.
16078
16079 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16080
16081 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16082 menu-item.
16083
16084 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16085
16086 * whitespace.el: New version 13.2.2.
16087 (whitespace-newline-mode): Disable properly. Reported by Sarah
16088 <EmacsWiki>.
16089
16090 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16091
16092 * net/newst-treeview.el: Remove "Time-stamp".
16093 (newsticker--group-manage-orphan-feeds): Do not call
16094 newsticker--treeview-tree-update.
16095 (newsticker-treeview-update, newsticker-treeview):
16096 Call newsticker--treeview-tree-update if necessary.
16097
16098 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16099
16100 * window.el (window-iso-combination-p, window-iso-combined-p)
16101 (window-iso-combinations): Remove "iso-" infix.
16102 Suggested by Chong Yidong.
16103 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16104 (window-max-delta-1, window-resize, window--resize-siblings)
16105 (window--resize-this-window, adjust-window-trailing-edge)
16106 (split-window, balance-windows-1)
16107 (shrink-window-if-larger-than-buffer):
16108 * calendar/calendar.el (calendar-generate-window):
16109 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16110
16111 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16112
16113 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16114 in place (bug#9907).
16115 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16116 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16117 (eshell-structure-basic-command, eshell-rewrite-while-command)
16118 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16119 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16120 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16121 (eshell-do-pipelines-synchronously, eshell-eval-command):
16122 Use backquotes and prefer setq to set.
16123 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16124 (eshell-macrop): Use functionp.
16125 (eshell-do-eval): Handle multiple expressions in `while' body.
16126
16127 2011-10-30 Chong Yidong <cyd@gnu.org>
16128
16129 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16130 instead of set-mark (Bug#9810).
16131
16132 2011-10-30 Chong Yidong <cyd@gnu.org>
16133
16134 * window.el (split-window-below, split-window-right): Rename from
16135 split-window-above-each-other and split-window-side-by-side
16136 respectively. All callers changed.
16137 (split-window-sensibly, split-window-sensibly): Use them.
16138 (split-window-keep-point): Doc fix.
16139
16140 * isearch.el: Add isearch-scroll property to split-window-below
16141 and split-window-right.
16142
16143 * follow.el (follow-mode):
16144 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16145 * progmodes/ada-xref.el (ada-gdb-application):
16146 * emulation/vip.el (vip-buffer-in-two-windows):
16147 * image-dired.el (image-dired-dired-with-window-configuration):
16148 * dired-x.el (dired-do-find-marked-files):
16149 * dired.el (dired-pop-to-buffer):
16150 * bs.el (bs--show-with-configuration):
16151 * vc/emerge.el (emerge-setup-windows):
16152 * textmodes/two-column.el (2C-two-columns):
16153 * textmodes/reftex-toc.el (reftex-toc):
16154 * progmodes/gdb-mi.el (gdb-setup-windows):
16155 * progmodes/fortran.el (fortran-window-create):
16156 * net/newst-treeview.el (newsticker--treeview-window-init):
16157 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16158 * emulation/tpu-edt.el (tpu-gold-map):
16159 * emulation/crisp.el (crisp-mode-map):
16160 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16161
16162 2011-10-29 Chong Yidong <cyd@gnu.org>
16163
16164 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16165
16166 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16167
16168 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16169 forged Ispell output (Bug#7904).
16170
16171 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16172
16173 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16174
16175 * doc-view.el: Avoid ugly errors about not finding nil.
16176 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16177 (doc-view-dvipdf-program, doc-view-unoconv-program)
16178 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16179 Avoid nil or absolute file name as default value.
16180 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16181
16182 2011-10-28 Alan Mackenzie <acm@muc.de>
16183
16184 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16185
16186 2011-10-28 Alan Mackenzie <acm@muc.de>
16187
16188 Amend the handling of c-beginning/end-of-defun in nested declaration
16189 scopes.
16190
16191 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16192 cc-langs.el. Change it to a defcustom.
16193
16194 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16195 cc-vars.el.
16196
16197 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16198 Prevent "class foo : bar" being spuriously recognized as a label.
16199
16200 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16201 Add parameter `inclusive' (to include enclosing braces in the region).
16202 (c-widen-to-enclosing-decl-scope): New function.
16203 (c-while-widening-to-decl-block): New macro.
16204 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16205 outward for defun boundaries, and correspondingly change symbol
16206 `respect-enclosure' to `go-outward'.
16207 (c-declaration-limits): Change algorithm to report only the "innermost"
16208 defun's boundaries.
16209
16210 2011-10-28 Deniz Dogan <deniz@dogan.se>
16211
16212 * net/rcirc.el (rcirc-mode): Use hard newlines.
16213
16214 2011-10-28 Alan Mackenzie <acm@muc.de>
16215
16216 Amend to indent and fontify macros "which include their own semicolon"
16217 correctly, using the "virtual semicolon" mechanism.
16218
16219 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16220
16221 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16222 Recode to scan one line at a time rather than having \n and \r
16223 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16224 (c-forward-label): Amend for virtual semicolons.
16225 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16226
16227 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16228 of the new C macros.
16229
16230 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16231 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16232 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16233 (c-opt-cpp-macro-define): Make into a full language variable.
16234 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16235 AWK Mode (including \n, \r) removed, no longer needed.
16236
16237 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16238 Invoke c-make-macro-with-semi-re.
16239
16240 * progmodes/cc-vars.el (c-macro-with-semi-re):
16241 (c-macro-names-with-semicolon): New variables.
16242 (c-make-macro-with-semi-re): New function.
16243
16244 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16245
16246 * vc/log-edit.el: Fill empty field rather than adding new one.
16247 (log-edit-add-field): New function.
16248 (log-edit-insert-changelog): Use it.
16249
16250 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16251
16252 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16253
16254 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16255
16256 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16257 (gdb--check-interpreter): New function.
16258 (gdb): Use it.
16259
16260 2011-10-27 Glenn Morris <rgm@gnu.org>
16261
16262 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16263 (least-positive-float, least-negative-float)
16264 (least-positive-normalized-float, least-negative-normalized-float)
16265 (float-epsilon, float-negative-epsilon):
16266 Remove unnecessary declarations.
16267
16268 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16269 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16270 (least-positive-float, least-negative-float)
16271 (least-positive-normalized-float, least-negative-normalized-float)
16272 (float-epsilon, float-negative-epsilon): Add doc-strings,
16273 based on those in cl.texi.
16274
16275 * files.el (set-visited-file-name): If the major-mode changed,
16276 reload the local variables. (Bug#9796)
16277
16278 2011-10-27 Chong Yidong <cyd@gnu.org>
16279
16280 * subr.el (change-major-mode-after-body-hook): New hook.
16281 (run-mode-hooks): Run it.
16282
16283 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16284 Use change-major-mode-before-body-hook.
16285
16286 * simple.el (fundamental-mode):
16287 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16288 change introducing fundamental-mode-hook.
16289
16290 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16291
16292 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16293
16294 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16295
16296 * ido.el (ido-file-name-all-completions-1): Do not require
16297 tramp.el explicitly. (Bug#7583)
16298
16299 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16300
16301 * progmodes/octave-mod.el:
16302 * progmodes/octave-inf.el: Update maintainer.
16303
16304 2011-10-26 Chong Yidong <cyd@gnu.org>
16305
16306 * subr.el (with-wrapper-hook): Rewrite doc.
16307
16308 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16309
16310 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16311 filenames "/method:foo:". (Bug#9793)
16312
16313 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16314
16315 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16316 (bug#9865).
16317
16318 2011-10-24 Glenn Morris <rgm@gnu.org>
16319
16320 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16321
16322 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16323
16324 * notifications.el: Add the requirement of a running D-Bus session
16325 bus to the Commentary.
16326
16327 2011-10-24 Juri Linkov <juri@jurta.org>
16328
16329 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16330 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16331 (Bug#9364)
16332
16333 2011-10-24 Juri Linkov <juri@jurta.org>
16334
16335 * info.el (Info-following-node-name-re): Add newline to the list
16336 of allowed characters for leading space. (Bug#9824)
16337
16338 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16339
16340 * progmodes/octave-inf.el (inferior-octave-mode-map):
16341 Fix C-c C-h binding.
16342 * progmodes/octave-mod.el (octave-help): Remove.
16343
16344 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16345
16346 Sync with Tramp 2.2.3.
16347
16348 * net/tramp-cache.el (top): Pacify byte-compiler using
16349 `init-file-user' and `site-run-file'.
16350
16351 * net/trampver.el: Update release number.
16352
16353 2011-10-23 Chong Yidong <cyd@gnu.org>
16354
16355 * files.el (toggle-read-only): Remove obsolete comment about
16356 version control.
16357
16358 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16359 for toggle-read-only. Note that this hasn't called vc-next-action
16360 since 2008-05-02, though it wasn't documented at the time.
16361
16362 * vc/ediff-init.el (ediff-toggle-read-only-function):
16363 Use toggle-read-only.
16364
16365 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16366
16367 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16368 of c-parse-state.
16369
16370 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16371 correct faulty logical expression.
16372 (c-parse-state-state, c-record-parse-state-state):
16373 (c-replay-parse-state-state): New defvar/defuns.
16374 (c-debug-parse-state): Use new functions.
16375
16376 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16377
16378 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16379 last fix. Use window-in-direction correctly.
16380
16381 2011-10-21 Chong Yidong <cyd@gnu.org>
16382
16383 * progmodes/idlwave.el (idlwave-mode):
16384 * progmodes/vera-mode.el (vera-mode): No need to set
16385 require-final-newline; that's done in prog-mode.
16386 Suggested by Stefan Monnier.
16387
16388 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16389
16390 * mouse.el (mouse-drag-window-above)
16391 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16392 (mouse-drag-mode-line-1, mouse-drag-header-line)
16393 (mouse-drag-vertical-line-rightward-window): Remove.
16394 (mouse-drag-line): New function.
16395 (mouse-drag-mode-line, mouse-drag-header-line)
16396 (mouse-drag-vertical-line): Call mouse-drag-line.
16397 * window.el (window-at-side-p, windows-at-side): New functions.
16398
16399 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16400
16401 * tar-mode.el (tar-grind-file-mode):
16402 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16403
16404 2011-10-21 Chong Yidong <cyd@gnu.org>
16405
16406 * progmodes/idlwave.el (idlwave-mode):
16407 * progmodes/vera-mode.el (vera-mode):
16408 Use mode-require-final-newline.
16409
16410 2011-10-20 Glenn Morris <rgm@gnu.org>
16411
16412 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16413
16414 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16415
16416 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16417
16418 2011-10-20 Chong Yidong <cyd@gnu.org>
16419
16420 * emulation/cua-base.el (cua-mode):
16421 * mail/footnote.el (footnote-mode):
16422 * mail/mailabbrev.el (mail-abbrevs-mode):
16423 * net/xesam.el (xesam-minor-mode):
16424 * progmodes/bug-reference.el (bug-reference-mode):
16425 * progmodes/cap-words.el (capitalized-words-mode):
16426 * progmodes/compile.el (compilation-minor-mode)
16427 (compilation-shell-minor-mode):
16428 * progmodes/gud.el (gud-tooltip-mode):
16429 * progmodes/hideif.el (hide-ifdef-mode):
16430 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16431 * progmodes/subword.el (subword-mode):
16432 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16433 * progmodes/which-func.el (which-function-mode):
16434 * term/tvi970.el (tvi970-set-keypad-mode):
16435 * term/vt100.el (vt100-wide-mode):
16436 * textmodes/flyspell.el (flyspell-mode):
16437 * textmodes/ispell.el (ispell-minor-mode):
16438 * textmodes/nroff-mode.el (nroff-electric-mode):
16439 * textmodes/paragraphs.el (use-hard-newlines):
16440 * textmodes/refill.el (refill-mode):
16441 * textmodes/reftex.el (reftex-mode):
16442 * textmodes/rst.el (rst-minor-mode):
16443 * textmodes/sgml-mode.el (html-autoview-mode)
16444 (sgml-electric-tag-pair-mode):
16445 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16446 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16447 * emulation/crisp.el (crisp-mode):
16448 * emacs-lisp/eldoc.el (eldoc-mode):
16449 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16450 minor mode behavior.
16451
16452 2011-10-19 Juri Linkov <juri@jurta.org>
16453
16454 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16455 the list of hard-coded chars with escape-glyph face.
16456
16457 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16458
16459 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16460
16461 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16462
16463 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16464 running process.
16465
16466 2011-10-19 Glenn Morris <rgm@gnu.org>
16467
16468 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16469 Ignore ignored files. (Bug#9726)
16470
16471 2011-10-19 Chong Yidong <cyd@gnu.org>
16472
16473 Doc fix for minor modes, stating that an omitted argument enables
16474 the mode unconditionally when called from Lisp.
16475
16476 * abbrev.el (abbrev-mode):
16477 * allout.el (allout-mode):
16478 * autoinsert.el (auto-insert-mode):
16479 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16480 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16481 (global-auto-revert-mode):
16482 * battery.el (display-battery-mode):
16483 * composite.el (global-auto-composition-mode)
16484 (auto-composition-mode):
16485 * delsel.el (delete-selection-mode):
16486 * desktop.el (desktop-save-mode):
16487 * dired-x.el (dired-omit-mode):
16488 * dirtrack.el (dirtrack-mode):
16489 * doc-view.el (doc-view-minor-mode):
16490 * double.el (double-mode):
16491 * electric.el (electric-indent-mode, electric-pair-mode):
16492 * emacs-lock.el (emacs-lock-mode):
16493 * epa-hook.el (auto-encryption-mode):
16494 * follow.el (follow-mode):
16495 * font-core.el (font-lock-mode):
16496 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16497 * help.el (temp-buffer-resize-mode):
16498 * hilit-chg.el (highlight-changes-mode)
16499 (highlight-changes-visible-mode):
16500 * hi-lock.el (hi-lock-mode):
16501 * hl-line.el (hl-line-mode, global-hl-line-mode):
16502 * icomplete.el (icomplete-mode):
16503 * ido.el (ido-everywhere):
16504 * image-file.el (auto-image-file-mode):
16505 * image-mode.el (image-minor-mode):
16506 * iswitchb.el (iswitchb-mode):
16507 * jka-cmpr-hook.el (auto-compression-mode):
16508 * linum.el (linum-mode):
16509 * longlines.el (longlines-mode):
16510 * master.el (master-mode):
16511 * mb-depth.el (minibuffer-depth-indicate-mode):
16512 * menu-bar.el (menu-bar-mode):
16513 * minibuf-eldef.el (minibuffer-electric-default-mode):
16514 * mouse-sel.el (mouse-sel-mode):
16515 * msb.el (msb-mode):
16516 * mwheel.el (mouse-wheel-mode):
16517 * outline.el (outline-minor-mode):
16518 * paren.el (show-paren-mode):
16519 * recentf.el (recentf-mode):
16520 * reveal.el (reveal-mode, global-reveal-mode):
16521 * rfn-eshadow.el (file-name-shadow-mode):
16522 * ruler-mode.el (ruler-mode):
16523 * savehist.el (savehist-mode):
16524 * scroll-all.el (scroll-all-mode):
16525 * scroll-bar.el (scroll-bar-mode):
16526 * server.el (server-mode):
16527 * shell.el (shell-dirtrack-mode):
16528 * simple.el (auto-fill-mode, transient-mark-mode)
16529 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16530 (line-number-mode, column-number-mode, size-indication-mode)
16531 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16532 * strokes.el (strokes-mode):
16533 * time.el (display-time-mode):
16534 * t-mouse.el (gpm-mouse-mode):
16535 * tool-bar.el (tool-bar-mode):
16536 * tooltip.el (tooltip-mode):
16537 * type-break.el (type-break-mode-line-message-mode)
16538 (type-break-query-mode):
16539 * view.el (view-mode):
16540 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16541 (global-whitespace-mode, global-whitespace-newline-mode):
16542 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16543
16544 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16545 Fix autogenerated docstring.
16546
16547 2011-10-19 Juri Linkov <juri@jurta.org>
16548
16549 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16550 by checking environment variables "DESKTOP_SESSION" and
16551 "XDG_CURRENT_DESKTOP". (Bug#9779)
16552
16553 2011-10-19 Juri Linkov <juri@jurta.org>
16554
16555 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16556 (browse-url-chromium-program, browse-url-chromium-arguments):
16557 New defcustoms.
16558 (browse-url-default-browser): Check for `browse-url-chromium' and
16559 call `browse-url-chromium-program'.
16560 (browse-url-chromium): New command. (Bug#9779)
16561
16562 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16563
16564 * facemenu.el (list-colors-duplicates): On Windows, detect more
16565 duplicates by assuming that only colors matching "^System" are
16566 special "system colors". (Bug#9722)
16567
16568 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16569
16570 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16571 to distinguish the author from the committer.
16572
16573 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16574
16575 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16576
16577 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16578
16579 * international/mule.el (sgml-html-meta-auto-coding-function):
16580 Add support for detecting encoding in HTML5 specified only as
16581 <meta charset="UTF-8">. Implementation just makes http-equiv and
16582 content-type parts from HTML4 encoding string optional. (Bug#9716)
16583
16584 2011-10-18 Glenn Morris <rgm@gnu.org>
16585
16586 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16587
16588 2011-10-18 Chong Yidong <cyd@gnu.org>
16589
16590 * faces.el (cursor): Doc fix.
16591
16592 2011-10-17 Chong Yidong <cyd@gnu.org>
16593
16594 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16595
16596 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16597
16598 * dirtrack.el (dirtrack): Support shell buffers with path
16599 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16600
16601 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16602
16603 * json.el: Bump version to 1.3 and note change in History.
16604 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16605
16606 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16607
16608 * comint.el (comint-insert-input, comint-send-input)
16609 (comint-get-old-input-default, comint-backward-matching-input)
16610 (comint-next-prompt): Use nil instead of `input' for field property of
16611 past user input (bug#114).
16612
16613 * minibuffer.el (completion--replace): Inherit surrounding properties
16614 (bug#114).
16615 (minibuffer-complete-and-exit): Use it.
16616
16617 * comint.el (comint--table-subvert): Quote the all-completions output
16618 (bug#9160).
16619
16620 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16621
16622 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16623
16624 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16625 window on right of selected. (Bug#9350) Reword other window
16626 entries and separate them from frame entries.
16627
16628 2011-10-15 Glenn Morris <rgm@gnu.org>
16629
16630 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16631 Doc fixes.
16632
16633 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16634
16635 * net/network-stream.el (network-stream-open-starttls):
16636 Improve detection of failure due to lack of TLS support.
16637
16638 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16639 putting the input text in front and in bold.
16640
16641 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16642
16643 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16644
16645 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16646 empty buffer.
16647
16648 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16649 unread-command-events rather than pushing yet-another event.
16650
16651 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16652
16653 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16654 the explanation of the possible choices. Make the options passed
16655 to completing-read shorter.
16656
16657 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16658
16659 * textmodes/flyspell.el (flyspell-large-region): Make sure
16660 extended character mode is used if defined (Bug#1339).
16661
16662 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16663
16664 * simple.el (what-cursor-position): Fix the display of the
16665 character info for LRE, LRO, RLE, and RLO characters by appending
16666 an invisible PDF.
16667
16668 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16669
16670 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16671 even in case of error; add debug spec; simplify data flow.
16672 (with-timeout-handler): Remove.
16673
16674 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16675
16676 Fix Bug#6019, Bug#9315.
16677
16678 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16679 complete `buffer-file-name', the local file name part could look
16680 remotely (for example on VMS).
16681
16682 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16683 `tramp-run-real-handler'.
16684 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16685 already quoted by '"'.
16686
16687 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16688 Let `file-name-handler-alist' be nil, the local file name part
16689 could look remotely (for example on VMS).
16690
16691 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16692
16693 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16694 from here...
16695 (flyspell-post-command-hook): ...to here.
16696
16697 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16698
16699 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16700 if not needed.
16701 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16702 using completion. Protect against "slow" callers.
16703 Remove the "message hack".
16704
16705 2011-10-11 Juri Linkov <juri@jurta.org>
16706
16707 * isearch.el (isearch-lazy-highlight-word): New variable.
16708 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16709 Use it. (Bug#9727)
16710
16711 2011-10-11 Glenn Morris <rgm@gnu.org>
16712
16713 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16714 like f90-previous-statement does.
16715
16716 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16717
16718 * eshell/eshell.el (eshell-command): History should be saved
16719 only in interactive use, to avoid error.
16720
16721 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16722
16723 * minibuffer.el (completion-file-name-table): Fix last change,
16724 i.e. ignore normal errors but not the other ones.
16725
16726 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16727
16728 * window.el (special-display-buffer-names)
16729 (special-display-regexps): Remove some remnants of earlier
16730 changes from doc-strings.
16731 (quit-windows-on): New function.
16732
16733 * vc/vc.el (vc-revert, vc-rollback):
16734 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16735 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
16736 (Bug#6183) (Bug#7074) (Bug#7447)
16737
16738 2011-10-09 Martin Rudalics <rudalics@gmx.at>
16739
16740 * window.el (frame-auto-hide-function): Add version tag.
16741 (Bug#9699)
16742
16743 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
16744
16745 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16746 condition.
16747
16748 2011-10-09 Leo Liu <sdl.web@gmail.com>
16749
16750 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16751 (Bug#9701)
16752
16753 2011-10-08 Glenn Morris <rgm@gnu.org>
16754
16755 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16756 before the first code statement zero indent. (Bug#9690)
16757
16758 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
16759
16760 * simple.el (count-words-region): Always count in the region.
16761 Report the number of lines and characters too.
16762 (count-words): New command, which counts in the buffer if the
16763 region is inactive, as count-words-region used to.
16764 (count-words--message): New function. Handle plurals.
16765 (count-lines-region): Make it an alias for count-words-region.
16766
16767 * bindings.el (esc-map): Replace count-lines-region with
16768 count-words-region.
16769
16770 2011-10-08 Martin Rudalics <rudalics@gmx.at>
16771
16772 * window.el (window--delete): Delete dedicated frame
16773 unconditionally when argument KILL is non-nil. (Bug#9699)
16774 (switch-to-buffer): Fix doc-string typo.
16775
16776 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16777
16778 * eshell/eshell.el (eshell-command): Avoid using hooks.
16779
16780 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
16781
16782 * bindings.el ([M-left],[M-right]): Bind to left-word and
16783 right-word respectively.
16784
16785 2011-10-07 Glenn Morris <rgm@gnu.org>
16786
16787 * cus-start.el (debug-on-quit): Fix custom type.
16788
16789 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16790
16791 * subr.el (define-key-after): Clarify that the function is not
16792 useful for non-menu keymaps.
16793
16794 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16795
16796 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16797
16798 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16799 in current minibuffer (Fix bug with recursive minibuffers).
16800
16801 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
16802
16803 * progmodes/gdb-mi.el (gdb): Doc fix.
16804
16805 2011-10-05 Martin Rudalics <rudalics@gmx.at>
16806
16807 * window.el (frame-auto-hide-function): New option replacing
16808 frame-auto-delete. Suggested by Stefan Monnier.
16809 (window--delete): Call frame-auto-hide-function instead of
16810 investigating frame-auto-delete.
16811 (window-point-1, set-window-point-1): New functions.
16812 (window-in-direction, record-window-buffer, window-state-get-1)
16813 (display-buffer-record-window): Use window-point-1 instead of
16814 window-point.
16815 (set-window-buffer-start-and-point): Use set-window-point-1.
16816
16817 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16818
16819 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16820
16821 2011-10-05 Glenn Morris <rgm@gnu.org>
16822
16823 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16824 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16825
16826 2011-10-05 Leo Liu <sdl.web@gmail.com>
16827
16828 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16829 works with buffer object.
16830
16831 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16832
16833 * mpc.el (mpc-tool-bar-map): Add labels.
16834
16835 2011-10-04 Glenn Morris <rgm@gnu.org>
16836
16837 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16838
16839 2011-10-04 Martin Rudalics <rudalics@gmx.at>
16840
16841 * window.el (window--delete): New function.
16842 (frame-auto-delete): Resuscitate option.
16843 (bury-buffer, replace-buffer-in-windows)
16844 (quit-window): Rewrite using window--delete.
16845 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16846 Pass display-buffer-mark-dedicated to window--display-buffer-2
16847 (Bug#9639).
16848
16849 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16850
16851 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16852 returns a list (bug#9554). Add remote file name completion.
16853 * comint.el (comint--table-subvert): Curry and get quote&unquote
16854 functions as arguments.
16855 (comint--complete-file-name-data): Adjust call accordingly.
16856 * pcomplete.el (pcomplete--table-subvert): Remove.
16857 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16858
16859 * minibuffer.el (completion-table-case-fold): Use currying.
16860 (completion--styles-type, completion--cycling-threshold-type):
16861 New constants.
16862 (completion-styles, completion-category-overrides)
16863 (completion-cycle-threshold): Use them.
16864 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16865 completion-table-case-fold.
16866
16867 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
16868
16869 * minibuffer.el (completion-category-overrides): Fix type of styles
16870 and add more user friendly tags (bug#9660).
16871
16872 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16873
16874 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16875 (mule-input-method-string): New widget.
16876 (default-input-method, language-info-custom-alist): Use it.
16877
16878 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16879
16880 * pcomplete.el: Require comint.
16881 (pcomplete--common-suffix): Remove.
16882 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16883 (pcomplete--table-subvert): Sync with comint--table-subvert.
16884 (pcomplete--entries): Use comint-completion-file-name-table.
16885 * comint.el (comint-unquote-filename): Simplify.
16886 (comint-completion-file-name-table): New function (bug#9616).
16887 (comint--complete-file-name-data): Use it.
16888
16889 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16890 (pcmpl-gnu-tar-buffer): Remove.
16891 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
16892 around. Make sure pcomplete-suffix-list is only changed temporarily.
16893 Don't look inside the tar's file if it's too large.
16894
16895 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
16896
16897 * cus-edit.el (custom-mode-map):
16898 * epa.el (epa-key-list-mode-map):
16899 * man.el (Man-mode-map):
16900 * startup.el (splash-screen-keymap):
16901 * simple.el (special-mode-map): Use scroll-up-command and
16902 scroll-down-command.
16903
16904 * progmodes/idlw-help.el (idlwave-help-mode-map):
16905 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16906 * net/newst-plainview.el (newsticker-mode-map):
16907 * emulation/ws-mode.el (wordstar-mode-map):
16908 * emulation/vi.el (vi-com-map):
16909 * calc/calc-graph.el (calc-graph-show-dumb):
16910 * term/sun.el (terminal-init-sun):
16911 * term/ns-win.el (global-map):
16912 * progmodes/grep.el (grep-mode-map):
16913 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16914 * mail/rmail.el (rmail-mode-map):
16915 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16916
16917 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16918 custom-safe-themes as special.
16919
16920 2011-10-01 Julien Danjou <julien@danjou.info>
16921
16922 * notifications.el (notifications-notify): Fix docstring.
16923
16924 2011-10-01 Per Starbäck <per@starback.se>
16925
16926 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16927
16928 2011-09-30 Martin Rudalics <rudalics@gmx.at>
16929
16930 * startup.el (command-line-1): Fix last fix by inserting
16931 initial-scratch-message into *scratch* before displaying it.
16932 (Bug#9605) and (Bug#9636)
16933
16934 2011-09-29 Eli Zaretskii <eliz@gnu.org>
16935
16936 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16937 window is hscrolled, move by logical lines. (Bug#9607)
16938 (line-move-visual): Update the doc string to the above effect.
16939
16940 2011-09-29 Martin Rudalics <rudalics@gmx.at>
16941
16942 * window.el (display-buffer-record-window): When WINDOW is the
16943 selected window use `point' instead of `window-point'. (Bug#9626)
16944
16945 * startup.el (command-line-1): Use insert-before-markers when
16946 inserting initial-scratch-message. (Bug#9605)
16947
16948 * help.el (help-window): Remove variable.
16949
16950 2011-09-29 Glenn Morris <rgm@gnu.org>
16951
16952 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16953
16954 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
16955
16956 * descr-text.el (describe-char-categories): Accept category
16957 descriptions more than one line long.
16958
16959 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16960
16961 * simple.el (delete-trailing-whitespace): Fix last change.
16962
16963 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16964 Don't confuse "y => 3" as the beginning of a `y' operation.
16965
16966 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16967 object has more than 4 slots (bug#9613).
16968
16969 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
16970
16971 * subr.el (with-output-to-temp-buffer):
16972 * net/quickurl.el (quickurl, quickurl-browse-url):
16973 Fix typos in docstrings.
16974
16975 2011-09-27 Eli Zaretskii <eliz@gnu.org>
16976
16977 * minibuffer.el (completion-styles)
16978 (completion-category-overrides): Cross reference each other in doc
16979 strings.
16980
16981 2011-09-27 Glenn Morris <rgm@gnu.org>
16982
16983 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16984 to split-string. (Bug#9606)
16985
16986 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16987
16988 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16989 (bug#9615).
16990
16991 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
16992
16993 * emacs-lisp/package.el (list-packages): Fix echo area message.
16994
16995 2011-09-27 Leo Liu <sdl.web@gmail.com>
16996
16997 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16998
16999 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17000
17001 * net/dbus.el (dbus-unregister-object): Don't release services for
17002 registered signals. (Bug#9581)
17003
17004 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17005
17006 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17007 function that picks between cfengine 2 and 3 support
17008 automatically. Update docs accordingly.
17009
17010 2011-09-22 Kenichi Handa <handa@m17n.org>
17011
17012 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17013 ZERO.
17014 (indian-itrans-v5-table-for-tamil): New variable.
17015 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17016
17017 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17018
17019 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17020 that's true if the current command involved collapsing of text.
17021 It's reset to false at the beginning of the next command.
17022 (allout-post-command-business): Move the cursor to the beginning
17023 of entry if the cursor is hidden and collapsing activity just
17024 happened.
17025
17026 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17027
17028 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17029 tracking (Bug#9541).
17030
17031 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17032
17033 * net/newst-reader.el (newsticker-html-renderer)
17034 (newsticker-show-news): Automatically load html rendering package
17035 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17036 because w3m-fill-column is let-bound" and the error "Symbol's value
17037 as variable is void: w3m-fill-column".
17038
17039 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17040
17041 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17042 Release services only if they are defined. (Bug#9581)
17043
17044 2011-09-23 Richard Stallman <rms@gnu.org>
17045
17046 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17047 distinguish start of paragraph from start of its text.
17048
17049 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17050
17051 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17052 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17053 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17054
17055 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17056
17057 * international/mule-diag.el (mule-diag): Insert a newline after
17058 each fontset description.
17059
17060 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17061
17062 * simple.el (delete-trailing-whitespace):
17063 Document last change; simplify.
17064
17065 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17066
17067 * simple.el (delete-trailing-whitespace): Also delete
17068 extra newlines at the end of the buffer.
17069
17070 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17071 (picture-newline): Use forward-line so as to ignore fields.
17072
17073 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17074
17075 * subr.el (with-wrapper-hook): Fix edebug spec.
17076
17077 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17078
17079 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17080 (bug#4538).
17081
17082 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17083
17084 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17085 Fix nasty bug using wrong cached values.
17086
17087 2011-09-23 Alan Mackenzie <acm@muc.de>
17088
17089 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17090
17091 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17092
17093 * window.el (pop-to-buffer): Ensure right window is selected if we
17094 chose another frame.
17095
17096 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17097
17098 * simple.el (what-cursor-position): Use get-char-property-change
17099 and next-single-char-property-change, to be able to show display
17100 properties that come from overlays as well as text properties.
17101
17102 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17103
17104 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17105
17106 * cmuscheme.el (run-scheme, switch-to-scheme):
17107 * cus-edit.el (customize-group, custom-buffer-create)
17108 (customize-browse):
17109 * info.el (info):
17110 * shell.el (shell):
17111 * mail/sendmail.el (mail):
17112 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17113
17114 2011-09-22 Richard Stallman <rms@gnu.org>
17115
17116 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17117 move back only to line beg, don't move back over blank lines.
17118
17119 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17120
17121 * files.el (copy-directory): Set directory attributes only in case
17122 they could be retrieved from the source directory. (Bug#9565)
17123
17124 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17125
17126 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17127 (hs-find-block-beginning, hs-hide-level-recursive):
17128 Ignore strings as well as comments. (Bug#9502)
17129
17130 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17131
17132 * progmodes/sql.el (sql-comint-postgres):
17133 Convert port number to a string. (Bug#9566)
17134
17135 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17136
17137 * window.el (quit-window): Undedicate window when switching to
17138 previous buffer. Reported by Thierry Volpiatto
17139 <thierry.volpiatto@gmail.com>.
17140 (special-display-popup-frame): When popping up a new frame reset
17141 its previous buffers to nil. Simplify code.
17142
17143 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17144
17145 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17146 and process filter, as done also in `shell-command'.
17147
17148 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17149
17150 * window.el (set-window-buffer-start-and-point):
17151 Call set-window-start with NOFORCE argument t.
17152 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17153 (quit-window): Reword doc-string. Handle new format of
17154 quit-restore parameter. Don't delete window if it has a
17155 previous buffer we can show instead of the present one.
17156 (display-buffer-record-window): Rewrite using a new format for
17157 the quit-restore window parameter
17158 (special-display-popup-frame, display-buffer-same-window)
17159 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17160 (display-buffer-pop-up-window, display-buffer-use-some-window):
17161 Adapt symbol passed to display-buffer-record-window.
17162 * help.el (help-window-setup): Handle new format of quit-restore
17163 parameter.
17164
17165 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17166
17167 * faces.el (face-list): Fix docstring (bug#9564).
17168
17169 * window.el (display-buffer--action-function-custom-type):
17170 Don't include internal functions in the Custom interface.
17171
17172 2011-09-20 Juri Linkov <juri@jurta.org>
17173
17174 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17175 (Info-forward-node, Info-backward-node, Info-next-preorder)
17176 (Info-last-preorder): Use it. (Bug#9528)
17177
17178 2011-09-20 Juri Linkov <juri@jurta.org>
17179
17180 * info.el (Info-last-preorder): Visit last menu item only when
17181 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17182
17183 2011-09-20 Julien Danjou <julien@danjou.info>
17184
17185 * password-cache.el (password-cache-remove): Remove entries even if the
17186 value is nil, so that password with a nil value (negative caching) is
17187 possible to invalidate.
17188
17189 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17190
17191 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17192 all whitespace around breakpoint. (Bug#9553)
17193 (f90-find-breakpoint): Only break at whitespace inside a comment.
17194
17195 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17196
17197 * minibuffer.el (completion-file-name-table): Keep track of errors.
17198 (completion-table-with-predicate): Handle the case where pred1 is nil.
17199 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17200
17201 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17202
17203 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17204 (debugger-return-value): Signal an error if the debugging context does
17205 not await any return value.
17206
17207 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17208 * image-mode.el (image-toggle-display-text)
17209 (image-toggle-display-image): Stay away from evil `intangible'.
17210
17211 2011-09-19 Leo Liu <sdl.web@gmail.com>
17212
17213 * replace.el (occur-revert-arguments): Make it permanent-local.
17214 (occur-mode): Don't call font-lock-defontify.
17215
17216 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17217
17218 * net/ldap.el (ldap-search-internal): Don't push empty search
17219 result (Bug#9508).
17220
17221 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17222
17223 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17224
17225 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17226
17227 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17228 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17229
17230 2011-09-18 Juri Linkov <juri@jurta.org>
17231
17232 * buff-menu.el (Buffer-menu-mode-map):
17233 * dired.el (dired-mode-map):
17234 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17235 (lisp-interaction-mode-map):
17236 * emacs-lisp/package.el (package-menu-mode-map):
17237 * epa.el (epa-key-list-mode-map):
17238 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17239 (menu-bar-options-menu):
17240 * outline.el (outline-mode-menu-bar-map):
17241 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17242 * vc/vc-dir.el (vc-dir-menu-map):
17243 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17244 Capitalize non-function content words in menu item strings.
17245
17246 * dired.el (dired-mode-map): Add menu item for
17247 `image-dired-dired-toggle-marked-thumbs'.
17248
17249 2011-09-18 Juri Linkov <juri@jurta.org>
17250
17251 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17252 to `isearch-case-fold-search' and restore its original value
17253 after the `isearch-mode' call.
17254
17255 2011-09-18 Juri Linkov <juri@jurta.org>
17256
17257 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17258 because `zgrep' returns 1 for successful matches (bug#9226).
17259
17260 2011-09-18 Juri Linkov <juri@jurta.org>
17261
17262 * info.el (Info-extract-menu-node-name): Check the second match
17263 for empty string (second test-case of bug#9528).
17264 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17265 intermediate nodes to the history (first test-case of bug#9528).
17266
17267 2011-09-18 Juri Linkov <juri@jurta.org>
17268
17269 * info.el (Info-mode-syntax-table): New variable.
17270 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17271
17272 2011-09-18 Juri Linkov <juri@jurta.org>
17273
17274 * info.el (Info-file-supports-index-cookies):
17275 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17276 outputs one more line for long file names (bug#4142).
17277
17278 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17279
17280 * newcomment.el (comment-normalize-vars): If prompting for
17281 comment-start, set comment-start-skip too (Bug#8424).
17282
17283 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17284
17285 * icomplete.el: Fix previous fix of Bug#5849.
17286 (icomplete-mode): Don't set completion-show-inline-help.
17287 (icomplete-minibuffer-setup): Set completion-show-inline-help
17288 locally during icompletion.
17289
17290 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17291
17292 * woman.el (woman2-process-escapes): Don't delete unrecognized
17293 escapes (Bug#7843).
17294
17295 * files.el (inhibit-first-line-modes-regexps): Add image files.
17296 (hack-local-variables-prop-line): Return nil for malformed
17297 prop-lines (Bug#9044).
17298
17299 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17300
17301 * net/tramp.el (top): Don't require 'shell.
17302 (tramp-methods): Fix docstring.
17303 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17304 Return complete remote file name. Handle "smb" case.
17305 Use `tramp-tmpdir', if defined for the respective method.
17306 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17307
17308 * net/tramp-compat.el (top): Require 'shell.
17309
17310 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17311 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17312 `tramp-current-host'.
17313 (tramp-get-remote-tmpdir): Remove.
17314
17315 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17316 `tramp-tmpdir' entries.
17317 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17318 (tramp-smb-handle-file-attributes): Ignore errors.
17319 (tramp-smb-wait-for-output): Check also for process end.
17320
17321 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17322
17323 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17324 when sending QUIT (bug#9312).
17325
17326 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17327
17328 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17329 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17330 occur-mode-display-occurrence.
17331 (occur-edit-mode): Add usage message.
17332 (occur-cease-edit): New command.
17333 (occur-after-change-function): Use text properties to find the
17334 position of the prefix text.
17335 (occur-engine): Set stickiness of prefix text properties.
17336
17337 2011-09-17 Glenn Morris <rgm@gnu.org>
17338
17339 * progmodes/etags.el (complete-tag):
17340 Fix call to completion-in-region. (Bug#9526)
17341
17342 2011-09-17 Juri Linkov <juri@jurta.org>
17343
17344 * textmodes/ispell.el (ispell-word): Add to the error message
17345 the word, ispell program name and current dictionary (bug#9121).
17346 (ispell-tex-arg-end): Capitalize "error" in the error message.
17347
17348 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17349
17350 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17351 check. (Bug#4251)
17352
17353 2011-09-17 Juri Linkov <juri@jurta.org>
17354
17355 * window.el (window-safe-min-height, window-safe-min-width):
17356 Fix typos (followup to bug#9522).
17357
17358 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17359
17360 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17361
17362 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17363
17364 * simple.el (line-move): If goal-column is set, move by logical
17365 lines, not by display lines. (Bug#971)
17366 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17367 to reflect the above change.
17368
17369 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17370
17371 * image.el (imagemagick-register-types): Use regexp-opt.
17372
17373 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17374
17375 * window.el (display-buffer-base-action): Rename from
17376 display-buffer-default-action. Make default value empty.
17377 (display-buffer-overriding-action): Convert to defvar.
17378 (display-buffer-fallback-action): New var.
17379
17380 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17381
17382 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17383 declaration.
17384 (package--add-to-archive-contents): If there is a duplicate entry
17385 with an older version, remove it.
17386 (package-menu-mark-delete, package-menu-mark-install)
17387 (package-menu-mark-unmark): Make unused args optional.
17388 (package-menu-mark-obsolete-for-deletion):
17389 Use package-menu-get-status instead of a regexp search.
17390 (package-menu-get-status): Use tabulated-list-entry.
17391 (package-menu-mark-upgrades): New command.
17392 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17393 (package-menu-execute): Do installation before deletion.
17394 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17395 instead of checking major-mode.
17396 (package-menu--find-upgrades): New function.
17397
17398 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17399
17400 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17401 passwords in the log buffer.
17402 (smtpmail-process-filter): Update the process marker so that the
17403 "broken by peer" status message is inserted in the right place.
17404
17405 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17406
17407 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17408 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17409 bibtex-completion-at-point-function.
17410 (bibtex-completion-at-point-function): Use them.
17411
17412 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17413
17414 * mpc.el (mpc-constraints-tag-lookup): New function.
17415 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17416 also to browser "album|playlist".
17417
17418 2011-09-14 Juri Linkov <juri@jurta.org>
17419
17420 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17421 (isearch-edit-string): Use length of `isearch-string' when
17422 `isearch-fail-pos' returns nil.
17423 (isearch-message): Remove duplicate code and call
17424 `isearch-fail-pos' with arg `t'.
17425
17426 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17427
17428 * replace.el (occur-mode-goto-occurrence): Don't force using other
17429 window (Bug#9499).
17430
17431 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17432
17433 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17434
17435 * window.el (display-buffer-window): Remove.
17436 (display-buffer-record-window): Use help-setup window parameter
17437 instead of variable display-buffer-window.
17438 (display-buffer-function, special-display-buffer-names)
17439 (special-display-function): Mention help-setup parameter instead
17440 of display-buffer-window in doc-string.
17441 * help.el (help-window-setup): New argument help-window.
17442 Use help-window-setup parameter instead of display-buffer-window.
17443 Reword some messages.
17444 (with-help-window): Pass window used for displaying the buffer
17445 to help-window-setup. Don't set display-buffer-window.
17446
17447 2011-09-13 Glenn Morris <rgm@gnu.org>
17448
17449 * emacs-lisp/debug.el (debugger-make-xrefs):
17450 Preserve point. (Bug#9462)
17451
17452 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17453
17454 * window.el (window-deletable-p): Use next-frame.
17455
17456 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17457
17458 * window.el (window-auto-delete): Remove.
17459 (window-deletable-p): Remove argument FORCE. Don't deal with
17460 dedication and previous buffers.
17461 (switch-to-prev-buffer): Don't delete window.
17462 (delete-windows-on): Delete a window's frame if and only if the
17463 window is dedicated.
17464 (replace-buffer-in-windows): Delete buffer's window or frame if
17465 and only if window is dedicated.
17466 (quit-window): Handle quit-restore as before last change.
17467 (bury-buffer): Delete window only if window-deletable-p returns t.
17468
17469 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17470
17471 * window.el (window-deletable-p): Never delete the last frame on a
17472 given terminal.
17473
17474 2011-09-13 Glenn Morris <rgm@gnu.org>
17475
17476 * help.el (describe-key-briefly): Copy previous standard-output change.
17477
17478 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17479
17480 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17481
17482 2011-09-13 Glenn Morris <rgm@gnu.org>
17483
17484 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17485 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17486
17487 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17488
17489 * dired-aux.el (dired-mark-read-string): Don't return default
17490 value on empty input (Bug#9361).
17491 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17492 Omit initial minibuffer contents.
17493 (dired-do-chmod): Signal an error on empty input.
17494 (dired-mark-read-string): Don't return default on empty input.
17495
17496 * files.el (file-modes-symbolic-to-number): Doc fix.
17497
17498 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17499
17500 * international/mule-cmds.el (ucs-completions): Remove.
17501 (read-char-by-name): Use complete-with-action instead; add metadata.
17502
17503 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17504
17505 * window.el (display-buffer--action-function-custom-type)
17506 (display-buffer--action-custom-type): New vars.
17507 (display-buffer-alist, display-buffer-default-action)
17508 (display-buffer-overriding-action): Add defcustom types.
17509
17510 * frame.el (delete-other-frames): Doc fix (Bug#276).
17511
17512 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17513
17514 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17515
17516 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17517
17518 Change modes that used same-window-* vars to use switch-to-buffer.
17519
17520 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17521 Use switch-to-buffer.
17522
17523 * cus-edit.el (customize-group, custom-buffer-create)
17524 (customize-browse, custom-buffer-create-other-window):
17525 Use switch-to-buffer or switch-to-buffer-other-window.
17526
17527 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17528 (Info-prev, Info-up, Info-speedbar-goto-node)
17529 (info-display-manual): Use switch-to-buffer.
17530 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17531
17532 * mail/sendmail.el (mail): Use switch-to-buffer.
17533 (mail-recover): Use switch-to-buffer-other-window.
17534
17535 * cmuscheme.el (run-scheme, switch-to-scheme):
17536 * ielm.el (ielm):
17537 * shell.el (shell):
17538 * net/rlogin.el (rlogin):
17539 * net/telnet.el (telnet, rsh):
17540 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17541
17542 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17543
17544 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17545
17546 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17547
17548 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17549 so don't mention it (bug#9301).
17550 (dired-sort-toggle-or-edit): Clarify string further.
17551
17552 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17553 match `x', `w32' and `ns', like the manual says (bug#9029).
17554
17555 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17556 (process-kill-buffer-query-function): Mention the buffer name in
17557 the query.
17558
17559 * image-mode.el (image-next-line): The line parameter is mandatory
17560 (bug#9258).
17561
17562 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17563 which can be useful (bug#9301).
17564
17565 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17566
17567 * subr.el (match-string): Mention that the current buffer should
17568 be the same as the search was done in (bug#9282).
17569
17570 * facemenu.el: Disable the remove-* commands if the mark isn't
17571 active (bug#9162).
17572
17573 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17574
17575 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17576 of display-buffer.
17577 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17578
17579 * replace.el (occur-mode-goto-occurrence)
17580 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17581 and display-buffer.
17582
17583 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17584 display-buffer.
17585
17586 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17587 special-display and same-window variables.
17588 (mail-other-window): Use switch-to-buffer-other-window.
17589 (mail-other-frame): USe switch-to-buffer-other-frame.
17590
17591 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17592 Use display-buffer-other-frame.
17593 (gdb-display-gdb-buffer): Use pop-to-buffer.
17594
17595 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17596
17597 * progmodes/python.el: Don't set same-window-buffer-names.
17598
17599 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17600
17601 * window.el (display-buffer-alist): Add *Python*.
17602
17603 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17604
17605 * window.el (display-buffer-alist): Add entry for buffers
17606 previously handled same-window-*.
17607 (display-buffer-alist, display-buffer-default-action)
17608 (display-buffer-overriding-action): Mark as risky.
17609 (display-buffer-alist): Document action function changes.
17610 (display-buffer--same-window-action)
17611 (display-buffer--other-frame-action): New variables.
17612 (switch-to-buffer, display-buffer-other-frame): Use them.
17613 (display-buffer): Rename reuse-frame entry to reusable-frames.
17614 (display-buffer-reuse-selected-window): Function deleted.
17615 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17616 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17617 (display-buffer-special): New function.
17618 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17619 display-buffer-reuse-or-pop-window. Split off special-display
17620 part into display-buffer-special.
17621 (display-buffer-use-some-window): Don't perform any special
17622 pop-up-frames handling.
17623 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17624 (display-buffer--maybe-same-window): Rename from
17625 display-buffer-maybe-same-window.
17626
17627 * info.el: Don't set same-window-regexps.
17628 (info-setup): New function.
17629 (info-other-window, info): Call it.
17630
17631 * cus-edit.el: Don't set same-window-regexps.
17632 (customize-group): New argument.
17633 (customize-group-other-window): Use it.
17634 (customize-face, customize-face-other-window): Likewise.
17635 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17636
17637 * net/rlogin.el:
17638 * net/telnet.el:
17639 * progmodes/gud.el: Don't set same-window-regexps.
17640
17641 * cmuscheme.el:
17642 * ielm.el:
17643 * shell.el:
17644 * mail/sendmail.el:
17645 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17646
17647 2011-09-10 Juri Linkov <juri@jurta.org>
17648
17649 * isearch.el (isearch-edit-string): Remove obsolete mention of
17650 `C-w' (`isearch-yank-word-or-char') from docstring.
17651 (isearch-query-replace): Fix typo in docstring (bug#9466).
17652
17653 2011-09-10 Juri Linkov <juri@jurta.org>
17654
17655 * paren.el (show-paren-function): Don't show escaped parens.
17656 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17657
17658 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17659
17660 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17661 (mm-default-file-encoding): Remove autoload forms, they are
17662 replaced with autoload cookies in mml.el and mm-encode.el.
17663 (mail-add-attachment): New command.
17664 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17665 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17666 the doc string.
17667 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17668
17669 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17670
17671 * simple.el (count-words-region): Use buffer if there's no region
17672 (bug#9429).
17673
17674 2011-09-09 Juri Linkov <juri@jurta.org>
17675
17676 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17677 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17678 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17679
17680 2011-09-09 Alan Mackenzie <acm@muc.de>
17681
17682 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17683 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17684
17685 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17686
17687 Fix for Savannah bug#9392.
17688 * simple.el (mail-encode-mml): New defvar.
17689
17690 * mail/rmail.el (mail-encode-mml): Add a defvar.
17691 (rmail-enable-mime-composing): Default to t.
17692 (rmail-forward): Use MIME method of forwarding only if both
17693 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17694 Set mail-encode-mml non-nil if the MIME method was used.
17695
17696 * mail/sendmail.el (mml-to-mime): Add autoload form.
17697 (mail-encode-mml): Add a defvar.
17698 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17699 to nil.
17700 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17701 message through mml-to-mime, and reset mail-encode-mml to nil.
17702
17703 2011-09-09 Glenn Morris <rgm@gnu.org>
17704
17705 * woman.el (woman-if-body): When processing an .el block,
17706 do not delete the next .el block as well. (Bug#9447)
17707 (woman-special-characters): Add oq, cq, and hy characters.
17708
17709 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17710
17711 * window.el (window-deletable-p): Make sure window is live before
17712 invoking window-prev-buffers.
17713
17714 2011-09-08 Leo Liu <sdl.web@gmail.com>
17715
17716 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17717
17718 2011-09-08 Juri Linkov <juri@jurta.org>
17719
17720 * progmodes/compile.el (compilation-environment): Make it
17721 a defcustom (bug#8340).
17722
17723 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17724
17725 * window.el (frame-auto-delete): Rename to window-auto-delete.
17726 Make it control auto-deletion of windows and/or frames.
17727 (window-deletable-p): New argument FORCE. Rewrite conditions
17728 for deleting window/frame. (Bug#9419)
17729 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17730 Rewrite handling of case when window/frame can be deleted.
17731 (delete-windows-on): Call window-deletable-p with new FORCE
17732 argument t. (Bug#9456)
17733
17734 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
17735
17736 * help-mode.el (help-mode): Restore autoload.
17737
17738 2011-09-07 Juri Linkov <juri@jurta.org>
17739
17740 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17741 `compilation-environment'. Set buffer-local
17742 `compilation-environment' to `thisenv' later after (funcall mode).
17743 (Bug#8340)
17744
17745 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17746 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17747 instead of replacing its value. (Bug#8340)
17748
17749 2011-09-07 Juri Linkov <juri@jurta.org>
17750
17751 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17752 based on text properties put by `grep-filter' instead of matching
17753 escape sequences.
17754 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17755 to the value of `grep-error-screen-columns' (bug#9438).
17756
17757 2011-09-07 Juri Linkov <juri@jurta.org>
17758
17759 * simple.el (next-error-highlight, next-error-highlight-no-select):
17760 Doc fix (bug#9432).
17761
17762 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17763
17764 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17765 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17766
17767 2011-09-07 Leo Liu <sdl.web@gmail.com>
17768
17769 * net/rcirc.el (rcirc-mode): Conditionally initialize
17770 rcirc-input-ring.
17771
17772 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17773
17774 * emacs-lisp/find-func.el (find-function-C-source): Only set
17775 find-function-C-source-directory after checking that we found a source
17776 file there (bug#9440).
17777
17778 2011-09-06 Alan Mackenzie <acm@muc.de>
17779
17780 * isearch.el (isearch-other-meta-char): Wherever a key list is
17781 unread, "unread" the prefix arg, too. This fixes bug #8901.
17782
17783 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17784
17785 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17786
17787 2011-09-05 Juri Linkov <juri@jurta.org>
17788
17789 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17790
17791 2011-09-05 Juri Linkov <juri@jurta.org>
17792
17793 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17794 keeping point where processing of grep matches begins, and
17795 continue to delete remaining escape sequences from the same point.
17796 (grep-filter): Make leading zero optional in "0?1;31m" because
17797 git-grep emits "\033[1;31m" escape sequences unlike expected
17798 "\033[01;31m" as GNU Grep does (bug#9408).
17799 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17800
17801 2011-09-05 Juri Linkov <juri@jurta.org>
17802
17803 * subr.el (y-or-n-p): Capitalize "yes".
17804
17805 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
17806
17807 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17808 `tramp-cache-unload-hook' where appropriate.
17809 (tramp-methods): Rename `tramp-remote-sh' to
17810 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17811 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17812
17813 * net/tramp-sh.el (top): Don't require 'shell.
17814 (tramp-methods): Add `tramp-remote-shell' and
17815 `tramp-remote-shell-args' entries.
17816 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17817 (tramp-sh-handle-shell-command): Remove.
17818 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17819 Use `tramp-remote-shell'.
17820
17821 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
17822
17823 * mail/sendmail.el (sendmail-query-once-function): Delete.
17824 (sendmail-query-once): Save directly to send-mail-function.
17825 Update message-send-mail-function too.
17826
17827 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17828
17829 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17830
17831 * progmodes/python.el (python-mode-map): Use correct function to
17832 start python interpreter from menu-bar (as reported by Geert
17833 Kloosterman).
17834 (inferior-python-mode-map): Fix typo.
17835 (python-shell-map): Remove.
17836
17837 2011-09-03 Deniz Dogan <deniz@dogan.se>
17838
17839 * net/rcirc.el (rcirc-print): Simplify code for
17840 rcirc-scroll-show-maximum-output. There is no need to walk
17841 through all windows to find the right one.
17842
17843 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17844
17845 * help.el (help-return-method): Doc fix.
17846
17847 2011-09-03 Martin Rudalics <rudalics@gmx.at>
17848
17849 * window.el (window-deletable-p): Don't return a non-nil value
17850 when there's a buffer that was shown in the window before.
17851 (Bug#9419)
17852 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17853 Set window's previous buffers to nil.
17854
17855 2011-09-03 Eli Zaretskii <eliz@gnu.org>
17856
17857 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17858 newline before and after the tag line, so it doesn't interfere
17859 with determining the paragraph direction of bidirectional text.
17860
17861 2011-09-03 Leo Liu <sdl.web@gmail.com>
17862
17863 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17864
17865 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17866
17867 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17868 (pop-to-buffer): Change interactive spec. Pass second argument
17869 directly to display-buffer.
17870 (display-buffer): Fix interactive spec. Use functionp to
17871 distinguish between a function and a list of functions.
17872
17873 * abbrev.el (edit-abbrevs):
17874 * arc-mode.el (archive-extract):
17875 * autoinsert.el (auto-insert):
17876 * bookmark.el (bookmark-bmenu-list):
17877 * files.el (find-file):
17878 * view.el (view-buffer):
17879 * progmodes/compile.el (compilation-goto-locus):
17880 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17881
17882 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17883
17884 * window.el (display-buffer-alist): Doc fix.
17885 (display-buffer): Add docstring. Don't treat
17886 display-buffer-default specially.
17887 (display-buffer-reuse-selected-window)
17888 (display-buffer-same-window, display-buffer-maybe-same-window)
17889 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17890 (display-buffer-pop-up-window)
17891 (display-buffer-reuse-or-pop-window)
17892 (display-buffer-use-some-window): New functions.
17893 (display-buffer-default-action): Use them.
17894 (display-buffer-default): Delete.
17895 (pop-to-buffer-1): Fix choice of actions.
17896
17897 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17898
17899 * minibuffer.el (completion--insert-strings): Don't get confused by
17900 completion entries that end with an LF char.
17901
17902 2011-09-01 Eli Zaretskii <eliz@gnu.org>
17903
17904 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17905
17906 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
17907
17908 * window.el (display-buffer): Restore interactive spec.
17909 (display-buffer-same-window, display-buffer-other-window):
17910 New functions.
17911 (pop-to-buffer-1): New function. Use the above.
17912 (pop-to-buffer, pop-to-buffer-same-window): Use it.
17913 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
17914
17915 * view.el (view-buffer-other-window, view-buffer-other-frame):
17916 Just use pop-to-buffer.
17917
17918 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17919
17920 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17921
17922 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17923
17924 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17925
17926 2011-08-31 Richard Stallman <rms@gnu.org>
17927
17928 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17929 of the separation of rmail-view-buffer from rmail-buffer.
17930 If you say no to "replace original", the decrypt is in the
17931 view buffer. If you say yes, the decrypt goes into the
17932 rmail buffer also.
17933
17934 2011-08-31 Martin Rudalics <rudalics@gmx.at>
17935
17936 * window.el (display-buffer-window): Rewrite doc-string.
17937 (display-buffer-record-window): New function.
17938 (display-buffer-macro-specifiers)
17939 (display-buffer-even-window-sizes, display-buffer-set-height)
17940 (display-buffer-set-width, display-buffer-in-window)
17941 (display-buffer-reuse-window, display-buffer-split-specifiers)
17942 (display-buffer-side-specifiers, display-buffer-split-window-1)
17943 (display-buffer-split-window, display-buffer-split-atom-window)
17944 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17945 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17946 (display-buffer-other-window-means-other-frame)
17947 (display-buffer-normalize-special)
17948 (display-buffer-normalize-default)
17949 (display-buffer-normalize-argument)
17950 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17951 (display-buffer-normalize-specifiers, display-buffer-frame)
17952 (display-buffer-same-window, display-buffer-same-frame)
17953 (display-buffer-other-window)
17954 (display-buffer-same-frame-other-window)
17955 (display-buffer-other-frame, pop-to-buffer-same-window)
17956 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17957 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17958 (switch-to-buffer-same-frame)
17959 (switch-to-buffer-other-window-same-frame)
17960 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17961 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17962 (display-buffer-alist-set): Remove.
17963 (display-buffer-function, special-display-buffer-names)
17964 (special-display-regexps, special-display-function):
17965 In doc-string refer to display-buffer-window and quit-restore
17966 parameter.
17967 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17968 (special-display-frame-alist, special-display-popup-frame)
17969 (same-window-buffer-names, same-window-regexps, same-window-p)
17970 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17971 (split-window-preferred-function, split-height-threshold)
17972 (split-width-threshold, window-splittable-p)
17973 (split-window-sensibly, window--try-to-split-window)
17974 (window--frame-usable-p, even-window-heights)
17975 (window--even-window-heights, window--display-buffer-1)
17976 (window--display-buffer-2, display-buffer-other-frame):
17977 Restore old Emacs 23 code, order and doc-strings where applicable.
17978 (display-buffer-default, display-buffer-assq-regexp): New functions.
17979 (display-buffer-alist): Rewrite doc-string.
17980 (display-buffer-default-action)
17981 (display-buffer-overriding-action): New variables.
17982 (display-buffer, switch-to-buffer): Rewrite.
17983 (pop-to-buffer): Restore Emacs 23 behavior but use
17984 window-normalize-buffer-to-display.
17985 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17986 Restore Emacs 23 behavior but use
17987 window-normalize-buffer-to-switch-to.
17988 (pop-to-buffer-same-window): Rewrite.
17989 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17990 Rewrite using Emacs 23 options.
17991
17992 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
17993
17994 * net/tramp.el (tramp-root-regexp): Remove.
17995 (tramp-completion-file-name-regexp-unified)
17996 (tramp-completion-file-name-regexp-separate)
17997 (tramp-completion-file-name-regexp-url): Don't use leading volume
17998 letter on w32 systems. (Bug#5303, Bug#9311)
17999 (tramp-drop-volume-letter): Simplify definition.
18000 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18001
18002 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18003
18004 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18005 (bug#9356).
18006
18007 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18008
18009 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18010
18011 2011-08-29 Juri Linkov <juri@jurta.org>
18012
18013 * isearch.el (isearch-done): Don't display message "Mark saved"
18014 when arg `edit' is non-nil to prevent its flicker in the echo area.
18015
18016 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18017
18018 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18019 obsolete packages for deletion.
18020
18021 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18022
18023 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18024 (help-mode): Derive help-mode from special-mode. Don't invoke
18025 view-mode from help-mode.
18026 (help-xref-override-view-map): Remove.
18027 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18028 view-mode is not used anymore.
18029
18030 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18031
18032 * server.el (server-port): Doc fix.
18033
18034 * cus-theme.el (custom-theme-choose-mode): Inherit from
18035 special-mode (Bug#9124).
18036 (custom-theme-choose-mode-map): Add special-mode to parent.
18037
18038 2011-08-28 Alan Mackenzie <acm@muc.de>
18039
18040 * progmodes/cc-fonts.el
18041 (c-make-font-lock-BO-decl-search-function): New function.
18042 (c-basic-matchers-after - "Fontify the clauses after various
18043 keywords"): Extract the three keyword lists for the 3 erroneous
18044 constructs from the list of four, and use the new function above
18045 in place of an old one.
18046
18047 2011-08-28 Deniz Dogan <deniz@dogan.se>
18048
18049 * net/rcirc.el (rcirc-insert-prev-input)
18050 (rcirc-insert-next-input): Remove unused argument.
18051
18052 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18053
18054 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18055
18056 2011-08-27 Alan Mackenzie <acm@muc.de>
18057
18058 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18059 handle function pointer parameters properly.
18060
18061 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18062
18063 * window.el (display-buffer-reuse-window): Fix case where
18064 selected window was reused with non-nil OTHER-WINDOW argument.
18065 (Bug#9381)
18066
18067 2011-08-27 Deniz Dogan <deniz@dogan.se>
18068
18069 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18070 oftc's NickServ messages.
18071
18072 2011-08-27 Glenn Morris <rgm@gnu.org>
18073
18074 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18075
18076 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18077
18078 * emacs-lisp/package.el (package-install): Call package-initialize
18079 if called interactively.
18080
18081 2011-08-26 Leo Liu <sdl.web@gmail.com>
18082
18083 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18084
18085 2011-08-25 Juri Linkov <juri@jurta.org>
18086
18087 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18088 `search-whitespace-regexp' (bug#9364).
18089
18090 2011-08-25 Juri Linkov <juri@jurta.org>
18091
18092 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18093 `regexp-search-ring' to their global values to protect from
18094 updating by `read-from-minibuffer' (bug#9185).
18095
18096 2011-08-25 Juri Linkov <juri@jurta.org>
18097
18098 * textmodes/ispell.el (ispell-command-loop): Add newline
18099 at the end of the "Use option `i'..." line.
18100
18101 2011-08-25 Juri Linkov <juri@jurta.org>
18102
18103 * battery.el (display-battery-mode): If `battery-status-function'
18104 or `battery-mode-line-format' is nil, display the message and set
18105 `display-battery-mode' to nil (bug#9363).
18106
18107 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18108
18109 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18110 bidi-string-mark-left-to-right; they are unnecessary now.
18111
18112 2011-08-25 Deniz Dogan <deniz@dogan.se>
18113
18114 * net/quickurl.el: Documentation typo fixes.
18115
18116 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18117
18118 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18119
18120 2011-08-25 Glenn Morris <rgm@gnu.org>
18121
18122 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18123
18124 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18125 (smtpmail-via-smtp): Handle nil response from smtp.
18126
18127 2011-08-24 Juri Linkov <juri@jurta.org>
18128
18129 * proced.el (proced-marked): Inherit from `error' instead of
18130 `font-lock-warning-face'.
18131
18132 * ibuffer.el (ibuffer-marked-face): Change default face from
18133 `font-lock-warning-face' to `warning'.
18134 (ibuffer-deletion-face): Change default face from
18135 `font-lock-type-face' to `error'.
18136
18137 * battery.el (battery-update): Use the face `error' instead of
18138 `font-lock-warning-face' (bug#6117).
18139
18140 2011-08-24 Juri Linkov <juri@jurta.org>
18141
18142 * faces.el (success): Change face color from "Green3" to
18143 "ForestGreen" on light background (bug#9353).
18144
18145 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18146
18147 * window.el (quit-window): Rename from quit-restore-window.
18148 Use same arglist as old quit-window.
18149 (frame-auto-delete): Doc fix.
18150
18151 * view.el (view-mode-exit): Use quit-window.
18152
18153 2011-08-24 Juri Linkov <juri@jurta.org>
18154
18155 * isearch.el (isearch-ring-adjust1): Start visiting previous
18156 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18157 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18158 for empty search string (when the last search string is reused
18159 automatically) to adjust the isearch ring to the last element and
18160 prepare the correct index for further M-p commands (bug#9185).
18161
18162 2011-08-24 Kenichi Handa <handa@m17n.org>
18163
18164 * international/ucs-normalize.el: If decomposition property of
18165 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18166 nil.
18167 (nfd, nfkd): Likewise.
18168
18169 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18170
18171 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18172 from process filters aren't reliably transmitted to the surrounding
18173 accept-process-output.
18174 (mpc-proc-check): New function.
18175 (mpc-proc-sync): Use it (bug#8293)
18176
18177 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18178
18179 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18180 Add compatibility functions (bug#9313).
18181
18182 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18183
18184 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18185
18186 * international/uni-bidi.el: Regenerate.
18187
18188 2011-08-23 Kenichi Handa <handa@m17n.org>
18189
18190 * international/charprop.el:
18191 * international/uni-bidi.el:
18192 * international/uni-category.el:
18193 * international/uni-combining.el:
18194 * international/uni-comment.el:
18195 * international/uni-decimal.el:
18196 * international/uni-decomposition.el:
18197 * international/uni-digit.el:
18198 * international/uni-lowercase.el:
18199 * international/uni-mirrored.el:
18200 * international/uni-name.el:
18201 * international/uni-numeric.el:
18202 * international/uni-old-name.el:
18203 * international/uni-titlecase.el:
18204 * international/uni-uppercase.el: Regenerate.
18205
18206 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18207
18208 * help.el (help-window-setup): Fix message displayed when other
18209 window is reused. (Bug#9341)
18210
18211 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18212
18213 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18214 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18215
18216 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18217 Mark obsolete.
18218 * shell.el (shell-parse-pcomplete-arguments): New function.
18219 (shell-completion-vars): Use it instead (bug#9160).
18220
18221 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18222
18223 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18224 strings and comments (bug#9333).
18225
18226 * emacs-lisp/debug.el (debug-arglist): New function.
18227 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18228 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18229
18230 2011-08-22 Juri Linkov <juri@jurta.org>
18231
18232 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18233 Revert regexp that highlights output switches to its old
18234 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18235
18236 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18237 to check for empty output (bug#9226).
18238
18239 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18240
18241 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18242 symbol-constituent as the default, as that stops font-lock from
18243 working properly (Bug#8843).
18244
18245 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18246
18247 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18248 `coding-system-for-*' around the process open call to avoid
18249 auth-source side effects.
18250 (smtpmail-try-auth-methods): Expand the secret password.
18251 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18252 probe hangs.
18253
18254 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18255
18256 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18257
18258 * emacs-lisp/find-func.el (find-function-noselect): New arg
18259 lisp-only.
18260
18261 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18262 signal an error for built-in functions (Bug#6664).
18263
18264 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18265
18266 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18267 (smtpmail-try-auth-methods): Use it.
18268
18269 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18270
18271 * font-lock.el (font-lock-fontify-region)
18272 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18273 (font-lock-default-unfontify-buffer)
18274 (font-lock-default-fontify-region)
18275 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18276
18277 * progmodes/compile.el (compilation-error-properties):
18278 Fix confusion between file struct and message struct (Bug#9319).
18279 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18280 `ant' regexp.
18281
18282 * net/browse-url.el (browse-url-firefox): Don't call
18283 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18284
18285 2011-08-20 Glenn Morris <rgm@gnu.org>
18286
18287 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18288
18289 * tutorial.el (tutorial--default-keys): Update some default bindings.
18290
18291 * files.el (hack-local-variables): Fully ignore case for "mode:".
18292
18293 2011-08-20 Alan Mackenzie <acm@muc.de>
18294
18295 Resolve invalid use of a regexp in regexp-opt.
18296
18297 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18298 detection for a java annotation.
18299
18300 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18301 detection for a java annotation.
18302
18303 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18304 handling for java.
18305 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18306
18307 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18308
18309 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18310 (Bug#9274).
18311
18312 2011-08-20 Alan Mackenzie <acm@muc.de>
18313
18314 Fontify CPP expressions correctly when starting in the middle of
18315 such a construct. Mainly for when jit-lock etc. starts a chunk
18316 here.
18317
18318 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18319 variable.
18320 (c-make-font-lock-search-form): New function, extracted from
18321 c-make-font-lock-search-function.
18322 (c-make-font-lock-search-function): Use the above function.
18323 (c-make-font-lock-context-search-function): New function.
18324 (c-cpp-matchers): Enhance the preprocessor expression case with
18325 the above function
18326 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18327 which takes an expression.
18328
18329 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18330
18331 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18332
18333 * window.el (display-buffer-reuse-window)
18334 (display-buffer-pop-up-window): Don't reuse or split a side
18335 window.
18336
18337 2011-08-19 Glenn Morris <rgm@gnu.org>
18338
18339 * files.el (hack-local-variables-prop-line, hack-local-variables):
18340 Downcase "Mode:". (Bug#9331)
18341
18342 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18343
18344 * international/characters.el: Add L and R categories.
18345
18346 * subr.el (bidi-string-mark-left-to-right): Rename from
18347 string-mark-left-to-right. Use category search.
18348
18349 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18350
18351 2011-08-18 Juri Linkov <juri@jurta.org>
18352
18353 * faces.el (error, warning, success): New faces with definitions
18354 copied from old default values of `font-lock-warning-face',
18355 `compilation-warning', `compilation-info' (bug#6117).
18356
18357 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18358
18359 * progmodes/compile.el (compilation-error): Inherit from `error'.
18360 (compilation-warning): Inherit from `warning'.
18361 (compilation-info): Inherit from `success'.
18362
18363 * dired.el (dired-marked): Inherit from `warning'.
18364 (dired-flagged): Inherit from `error'.
18365
18366 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18367
18368 * mail/smtpmail.el (auth-source): Require to avoid problems with
18369 binding variables (bug#9298). Also clean up some unused
18370 autoloads.
18371
18372 * net/network-stream.el (network-stream-open-starttls):
18373 Support using starttls.el without using gnutls-cli.
18374
18375 2011-08-17 Juri Linkov <juri@jurta.org>
18376
18377 * progmodes/grep.el (rgrep): Handle the case when
18378 `grep-find-command' is a cons cell (bug#9278).
18379
18380 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18381
18382 * window.el (display-buffer-pop-up-frame): Run frame creation
18383 function with BUFFER current (as special-display-popup-frame
18384 does). Reported by Drew Adams.
18385
18386 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18387
18388 * epa-mail.el: Simplify GnuPG group expansion using
18389 epg-expand-group.
18390 (epa-mail-group-alist, epa-mail-group-modtime)
18391 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18392 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18393 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18394 Remove.
18395
18396 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18397
18398 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18399
18400 2011-08-16 Alan Mackenzie <acm@muc.de>
18401
18402 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18403 Correct, to avoid the inside of macros.
18404
18405 2011-08-16 Richard Stallman <rms@gnu.org>
18406
18407 * epa-mail.el: Handle GnuPG group definitions.
18408 (epa-mail-group-alist, epa-mail-group-modtime)
18409 (epa-mail-gnupg-conf-file): New variables.
18410 (epa-mail-parse-groups, epa-mail-sync-groups)
18411 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18412 (epa-mail-expand-recipients): New functions.
18413 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18414
18415 * mail/rmail.el (rmail-epa-decrypt): New command.
18416
18417 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18418 Don't bind buffer-read-only, just inhibit-read-only.
18419 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18420 (epa-decrypt-armor-in-region): Make error message clearer.
18421
18422 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18423
18424 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18425 and "a2b" to "ab" for `prefix'.
18426
18427 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18428
18429 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18430 filter groups.
18431 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18432 Fourquet (Bug#8804).
18433
18434 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18435
18436 * startup.el (argi): Declare as global variable (bug#9275).
18437
18438 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18439
18440 * subr.el (string-mark-left-to-right): Search the entire string
18441 for RTL script, not just the terminating character. Doc fix.
18442
18443 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18444
18445 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18446 New function.
18447 (js--regexp-literal, js-syntax-propertize-function): Remove.
18448 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18449 (js-mode-map): Don't rebind electric keys.
18450 (js-insert-and-indent): Remove.
18451 (js-mode): Setup electric-layout and electric-indent instead.
18452
18453 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18454
18455 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18456
18457 * epa.el (epa-progress-callback-function): Fix the logic of
18458 displaying progress.
18459 * epa-file.el (epa-file-insert-file-contents): Make progress
18460 display more user-friendly.
18461 (epa-file-write-region): Ditto.
18462
18463 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18464
18465 * subr.el (string-mark-left-to-right): New function.
18466
18467 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18468 Use string-mark-left-to-right.
18469 (list-buffers-noselect): Caller changed.
18470
18471 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18472 Use string-mark-left-to-right.
18473 (tabulated-list-print): Recenter after moving point.
18474
18475 2011-08-10 Juri Linkov <juri@jurta.org>
18476
18477 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18478 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18479 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18480
18481 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18482
18483 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18484 (Bug#7554).
18485
18486 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18487
18488 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18489 character. (Bug#6594)
18490
18491 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18492
18493 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18494 (image-dired--with-db-file): New macro.
18495 (image-dired-write-tags, image-dired-remove-tag)
18496 (image-dired-create-gallery-lists, image-dired-write-comments)
18497 (image-dired-get-comment, image-dired-mark-tagged-files)
18498 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18499 (image-dired-gallery-generate): Use insert-file-contents.
18500
18501 * time.el (display-time-world-list, display-time-world-display):
18502 * time-stamp.el (time-stamp-string):
18503 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18504 set-time-zone-rule (Bug#7337).
18505
18506 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18507
18508 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18509 (epg-error-to-string, epg-errors-to-string): New function.
18510 (epg-wait-for-completion): Reverse errors list.
18511 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18512 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18513 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18514 (epg-sign-keys, epg-generate-key-from-file)
18515 (epg-generate-key-from-string): Format errors by using
18516 epg-errors-to-string (bug#9255).
18517 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18518
18519 2011-08-07 Juri Linkov <juri@jurta.org>
18520
18521 * faces.el (list-faces-display): Remove extra angle bracket
18522 from `help-mode-map'.
18523
18524 * info.el (Info-history-toc-nodes): Doc fix.
18525
18526 * longlines.el (longlines-mode): Doc fix.
18527
18528 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18529
18530 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18531 of statements and in a few more cases (bug#9183).
18532
18533 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18534 New functions.
18535 (cl-transform-lambda): Use them (bug#9239).
18536
18537 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18538
18539 * window.el (display-buffer-same-window)
18540 (display-buffer-same-frame, display-buffer-other-window)
18541 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18542 (pop-to-buffer-other-window)
18543 (pop-to-buffer-same-frame-other-window)
18544 (pop-to-buffer-other-frame): Make them defuns.
18545 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18546
18547 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18548
18549 * subr.el (make-composed-keymap): Move from C. Change calling
18550 convention, and improve docstring to bring attention to a subtle point.
18551 * minibuffer.el (completing-read-default): Adjust accordingly.
18552
18553 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18554
18555 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18556 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18557
18558 * net/trampver.el: Update release number.
18559
18560 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18561
18562 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18563 "in" (bug#9190).
18564
18565 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18566
18567 * mail/sendmail.el (sendmail-query-once): Restore the current
18568 buffer after querying (bug#9074).
18569
18570 * dired.el (dired-flagged): Use different faces for marked and
18571 flagged files (bug#6117).
18572
18573 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18574 (bug#4433).
18575
18576 * ido.el (ido-mode): Switch off the message if called
18577 non-interactively.
18578
18579 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18580 before 587, since it appears that that's more likely to work for
18581 more people.
18582
18583 * cus-edit.el (custom-file): When running under emacs -q, always
18584 refuse to save the customizations, even if the .emacs file doesn't
18585 exist.
18586
18587 * info.el: Remove the `Info-beginning-of-buffer' function
18588 (bug#8325).
18589
18590 * net/network-stream.el (network-stream-open-starttls):
18591 Use `starttls-available-p' to see whether starttls.el can be used.
18592
18593 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18594
18595 * window.el (display-buffer-in-window): Don't set dedicated status
18596 of window here (Bug#9215).
18597 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18598 (display-buffer-pop-up-side-window)
18599 (display-buffer-in-side-window): Set dedicated status of window here.
18600
18601 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18602
18603 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18604 before binding generated-autoload-file.
18605
18606 2011-08-01 Deniz Dogan <deniz@dogan.se>
18607
18608 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18609
18610 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18611
18612 Sync with Tramp 2.2.2.
18613
18614 * net/trampver.el: Update release number.
18615
18616 2011-07-30 Juri Linkov <juri@jurta.org>
18617
18618 * dired-aux.el (dired-touch-initial): Remove function.
18619 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18620 current time, and `default' to the last modification time of the
18621 current marked file (bug#6887).
18622
18623 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18624
18625 * simple.el (goto-line): Use string-to-number to provide a
18626 numeric argument to read-number (bug#9163).
18627
18628 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18629
18630 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18631 connection process, it could be nil.
18632
18633 2011-07-27 Leo Liu <sdl.web@gmail.com>
18634
18635 Simplify url handling in rcirc-mode.
18636
18637 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18638 (rcirc-browse-url-at-mouse): Remove.
18639 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18640
18641 2011-07-26 Alan Mackenzie <acm@muc.de>
18642
18643 Fontify bitfield declarations properly.
18644
18645 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18646 (c-symbol-chars): Now exported as a lang variable.
18647 (c-not-primitive-type-keywords): New lang variable.
18648
18649 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18650 QT keyword "more" to prevent "more slots: ...." being spuriously
18651 parsed as a bitfield declaration.
18652
18653 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18654 Refactor and enhance to handle bitfield declarations.
18655 (c-punctuation-in): New function.
18656 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18657 declarations properly.
18658
18659 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18660
18661 * calendar/icalendar.el (icalendar--all-events): Take care of
18662 multiple vcalendars in a single file.
18663 (icalendar--convert-float-to-ical): Checkdoc fixes.
18664
18665 2011-07-25 Deniz Dogan <deniz@dogan.se>
18666
18667 * image.el (insert-image): Clarifying docstring.
18668
18669 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18670
18671 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18672 `tramp-send-command-and-check' if there is no error.
18673 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18674
18675 2011-07-22 Alan Mackenzie <acm@muc.de>
18676
18677 Prevent cc-langs.elc being loaded at run time.
18678
18679 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18680 cc-langs.
18681
18682 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18683 "(require 'cc-langs)". Quote a form so it will evaluate at
18684 (cc-mode's) compilation time.
18685
18686 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18687
18688 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18689 loading. (Bug#9114)
18690
18691 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18692
18693 * window.el (display-buffer-pop-up-window)
18694 (display-buffer-pop-up-side-window)
18695 (display-buffer-in-side-window): Call display-buffer-set-height
18696 and display-buffer-set-width after setting the new window's
18697 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18698
18699 2011-07-20 Sam Steingold <sds@gnu.org>
18700
18701 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18702 (etags-tags-included-tables): Call `convert-standard-filename' on
18703 the file names contained in TAGS so that windows Emacs can handle
18704 TAGS files created by cygwin ctags.
18705
18706 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18707
18708 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18709 which apparently didn't work.
18710
18711 2011-07-19 Roland Winkler <winkler@gnu.org>
18712
18713 * proced.el (proced-send-signal): For *Marked Processes* buffer
18714 put point at beginning of buffer.
18715
18716 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18717
18718 * proced.el (proced-format): Make header lines align with the text
18719 (bug#1779).
18720
18721 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18722
18723 * view.el (view-buffer): Allow running in `special' modes if we're
18724 visiting a file (bug#8615).
18725
18726 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18727
18728 * window.el (display-buffer-alist-of-strings-p)
18729 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18730 New functions.
18731 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18732 more accurately.
18733
18734 2011-07-18 Alan Mackenzie <acm@muc.de>
18735
18736 Fontify declarators properly when, e.g., a jit-lock chunk begins
18737 inside a declaration.
18738
18739 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18740
18741 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18742 New function.
18743 (c-complex-decl-matchers): Insert reference to
18744 c-font-lock-enclosing-decls.
18745
18746 * progmodes/cc-engine.el (c-backward-single-comment):
18747 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18748 to nil around calls to (forward-comment -1).
18749
18750 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18751
18752 * image.el (put-image): Doc typo fix.
18753
18754 * progmodes/etags.el (tags-search): Doc typo fix.
18755
18756 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18757 password if we get errors 550 to 554.
18758
18759 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18760
18761 * net/gnutls.el (gnutls-log-level): Remove.
18762
18763 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18764 indentation character (bug#6380).
18765
18766 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18767
18768 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18769 to clarify what the problem is (bug#4291).
18770
18771 * simple.el (current-kill): Clarify what
18772 `interprogram-paste-function' does (bug#7500).
18773 (auto-fill-mode): Document `auto-fill-function' in relation to
18774 `auto-fill-mode' (bug#2470).
18775
18776 2011-07-16 Lawrence Mitchell <wence@gmx.li>
18777
18778 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18779 method if slot is read-only (bug#9035).
18780
18781 2011-07-16 Martin Rudalics <rudalics@gmx.at>
18782
18783 * frame.el (select-frame-set-input-focus): New argument NORECORD.
18784 * window.el (pop-to-buffer): Select window used even if it was
18785 selected before, see discussion of (Bug#8615), (Bug#6954).
18786 Pass argument NORECORD on to select-frame-set-input-focus.
18787
18788 2011-07-15 Glenn Morris <rgm@gnu.org>
18789
18790 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
18791 Respect help-form.
18792
18793 2011-07-09 Lawrence Mitchell <wence@gmx.li>
18794
18795 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18796 (gnutls-negotiate): Use it.
18797
18798 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18799
18800 * net/gnutls.el (gnutls-negotiate):
18801 Upcase `gnutls-algorithm-priority'.
18802
18803 2011-07-15 Glenn Morris <rgm@gnu.org>
18804
18805 * jka-compr.el (jka-compr-verbose): Move from here...
18806 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18807 Add missing :version tag.
18808 * info.el: No need to require jka-compr when compiling.
18809
18810 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18811
18812 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18813 (gnutls-negotiate): Use it.
18814
18815 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18816
18817 * info.el (Info-beginning-of-buffer): New command.
18818 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18819 announcing `b' as the key (bug#8325).
18820 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18821
18822 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18823
18824 * international/mule-cmds.el
18825 (describe-specified-language-support): Make the error message
18826 clearer (bug#8905).
18827
18828 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18829
18830 * isearch.el (isearch-barrier): Add a doc string, since it's
18831 mentioned in a function doc string (bug#8678).
18832
18833 2011-07-15 Martin Rudalics <rudalics@gmx.at>
18834
18835 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18836 buffer argument (Bug#9083) and self-identifying label argument.
18837
18838 2011-07-15 Glenn Morris <rgm@gnu.org>
18839
18840 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18841
18842 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18843
18844 * man.el (Man-fontify-manpage): Fix message when formatting the
18845 man page (bug#7929).
18846
18847 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18848
18849 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18850 argument LRM; if non-nil, append an invisible LRM character to the
18851 buffer name.
18852 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18853 last argument non-nil, when formatting buffer names.
18854 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18855 paragraph direction.
18856
18857 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18858
18859 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18860 the man page name (bug#7929).
18861
18862 * image.el (put-image): Mention the `put-image' overlay property
18863 (bug#7834).
18864
18865 * scroll-bar.el (set-scroll-bar-mode): Mention that
18866 `scroll-bar-mode' lists the values (bug#7772).
18867
18868 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18869 command (bug#7729).
18870
18871 * rect.el (apply-on-rectangle): Return the point after the last
18872 operation.
18873 (string-rectangle): Go to the point after the last operation
18874 (bug#7522).
18875
18876 * printing.el (pr-toggle-region): Clarify the documentation
18877 slightly (bug#7493).
18878
18879 * time.el (display-time-update):
18880 Allow `display-time-mail-function' to return nil (bug#7158).
18881 Fix suggested by Detlev Zundel.
18882
18883 * vc/diff.el (diff): Clarify the order the file names are read
18884 (bug#7111).
18885
18886 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18887 the doc string (bug#7015).
18888
18889 * font-lock.el (font-lock-maximum-decoration): Mention what
18890 numeric levels mean (bug#6935).
18891
18892 * startup.el (initial-buffer-choice): Don't mention the `none'
18893 selection, which is against policy.
18894
18895 2011-07-14 Martin Rudalics <rudalics@gmx.at>
18896
18897 * window.el (display-buffer-normalize-special):
18898 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
18899
18900 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18901
18902 * subr.el (version<, version<=, version=): Mention "-CVS" and
18903 "-12345" alpha version numbers.
18904
18905 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18906
18907 * bindings.el: Add advertised binding for set-mark-command
18908 (Bug#5772).
18909
18910 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18911
18912 * bindings.el (mode-line-other-buffer):
18913 * bookmark.el (bookmark-bmenu-2-window):
18914 * bs.el (bs-cycle-next, bs-cycle-previous):
18915 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18916 switch-to-buffer.
18917
18918 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18919 Delete.
18920
18921 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
18922
18923 * follow.el (follow-debug-message, follow-redisplay):
18924 * jka-cmpr-hook.el (with-auto-compression-mode):
18925 Fix typos in docstrings.
18926
18927 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18928
18929 * subr.el (with-silent-modifications): Clarify somewhat what the
18930 macro inhibits (bug#6525).
18931
18932 * simple.el (eval-expression): Note what it does if called
18933 interactively (bug#6495).
18934
18935 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18936
18937 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18938 Use pop-to-buffer buffer-or-name if it is nil.
18939
18940 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18941 Remove switch-to-buffer.
18942
18943 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18944
18945 * files.el (make-directory): Clarify that an error will be raised
18946 if there's an error (bug#6397).
18947
18948 * startup.el (initial-buffer-choice): Add `none' as a choice
18949 (bug#6234).
18950
18951 * subr.el (add-hook): Clarify section about buffer-local hooks
18952 (bug#6218).
18953
18954 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18955
18956 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18957
18958 * tabify.el (untabify): Preserve the current column so that point
18959 doesn't move (bug#6032).
18960
18961 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18962
18963 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18964 Rewrite to avoid awkward possessive "s" (bug#5986).
18965
18966 2011-07-13 Glenn Morris <rgm@gnu.org>
18967
18968 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18969 (dired-insert-directory): Give a message the first time
18970 if ls is found not to support --dired.
18971
18972 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18973
18974 * simple.el (toggle-truncate-lines): Clarify what is toggled
18975 (bug#5580). Text by Drew Adams.
18976
18977 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18978
18979 * simple.el (blink-matching-open): Make the error message from the
18980 last change less verbose.
18981
18982 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18983
18984 * font-lock.el (font-lock-comment-face): Use the high contrast
18985 "yellow" color for font-lock-comment-face on low color terminals
18986 using a dark background color (bug#4221).
18987
18988 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18989
18990 * dired.el (dired-insert-set-properties): Make the doc string
18991 reflect what it does now (bug#5325).
18992
18993 * simple.el (blink-matching-open): Say that we were unable to find
18994 the match within the limit, if we're limited (bug#5122).
18995
18996 * international/mule-cmds.el (prefer-coding-system): Add an
18997 example (bug#4869).
18998
18999 * progmodes/etags.el (tags-search): Document `file-list-form'
19000 (bug#4731).
19001
19002 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19003
19004 * net/browse-url.el (browse-url-default-browser)
19005 (browse-url-browser-function): Make the default browser choice a
19006 bit more logical (bug#4300). Also clean up the doc string.
19007
19008 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19009
19010 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19011 binary endings (bug#4440).
19012
19013 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19014
19015 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19016 which can be pretty annoying (bug#8971).
19017
19018 * jka-compr.el (jka-compr-verbose): New variable, and use
19019 throughout (bug#8971).
19020
19021 * info.el (Info-find-file): Fall back on the installation
19022 directory if we can't find the info node anywhere else.
19023
19024 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19025
19026 * vc/vc.el (vc-revert-file):
19027 Don't set file time-stamp in the past. (Bug#5181)
19028
19029 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19030
19031 * files.el (after-find-file): Give a better error message when
19032 trying to find a symlink that points to a file that doesn't exist
19033 (bug#4398).
19034
19035 * progmodes/cc-vars.el: Remove (probably) misleading comment
19036 (bug#4396).
19037
19038 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19039
19040 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19041
19042 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19043
19044 * mouse-sel.el: Hack restoring functionality, while keeping
19045 compatibility with 2010-07-03 changes to mouse selection.
19046 (mouse-sel-primary-overlay): New var.
19047 (mouse-sel-selection-alist): Use it.
19048 (mouse-sel-mode): Doc fix; remove points that are default features
19049 of mouse.el.
19050
19051 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19052
19053 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19054 Fix previous fix (bug#2490).
19055
19056 2011-07-12 Roland Winkler <winkler@gnu.org>
19057
19058 * textmodes/bibtex.el (bibtex-initialize):
19059 Use pop-to-buffer-same-window.
19060 (bibtex-search-entries): Fix interactive call.
19061
19062 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19063
19064 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19065 Fontise bytecomp Error lines more correctly (bug#2490).
19066 Fix suggested by Johan Bockgård.
19067
19068 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19069
19070 * dired-x.el (dired-guess-default): Use `delete-dups'.
19071
19072 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19073
19074 * dired.el (dired-mark-prompt):
19075 * dired-aux.el (dired-read-shell-command): Doc fix.
19076
19077 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19078
19079 * mail/sendmail.el (sendmail-query-once):
19080 Use `customize-save-variable' unconditionally, now that it works under
19081 emacs -Q.
19082
19083 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19084
19085 * cus-edit.el (custom-file): Take an optional no-error variable.
19086 (customize-save-variable): Set the variable, and give a warning if
19087 running under "emacs -q".
19088
19089 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19090
19091 * loadhist.el (unload-feature-special-hooks):
19092 Add `auto-coding-functions', `fill-nobreak-predicate' and
19093 `find-directory-functions' (bug#5327).
19094
19095 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19096
19097 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19098
19099 * cus-edit.el (custom-guess-name-alist): -alist variables should
19100 use the `alist' type (bug#3120). Suggested by Drew Adams.
19101
19102 * printing.el: Add documentation to all the `pr-toggle-' commands.
19103
19104 2011-07-11 Leo Liu <sdl.web@gmail.com>
19105
19106 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19107 backends where it makes sense (bug#2623).
19108
19109 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19110
19111 * dired-x.el (dired-guess-default): Remove duplicate shell command
19112 entries (bug#2028).
19113 (dired-guess-default): Fix grammar in doc string (bug#2028).
19114 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19115
19116 * subr.el (remove-duplicates): New conveniency function.
19117
19118 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19119
19120 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19121 (bug#1526).
19122
19123 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19124
19125 * window.el (display-buffer-normalize-default): Don't invert
19126 meaning of even-window-heights. Reported by Eli Zaretskii
19127 <eliz@gnu.org>.
19128
19129 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19130
19131 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19132
19133 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19134
19135 * window.el (display-buffer): Fix arguments to
19136 display-buffer-reuse-window in last change.
19137
19138 * faces.el (link): Use a less saturated blue on light backgrounds.
19139
19140 * startup.el (fancy-startup-text, fancy-about-text)
19141 (fancy-startup-tail): Use font-lock faces, for background safety.
19142
19143 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19144
19145 * emulation/viper-cmd.el (viper-change-state-to-vi):
19146 Limit triggering of abbrev expansion (Bug#9038).
19147
19148 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19149
19150 * window.el (display-buffer-default-specifiers): Remove.
19151 (display-buffer-macro-specifiers): Remove default specifiers.
19152 (display-buffer-alist): Default to nil.
19153 (display-buffer-reuse-window): New optional argument other-window.
19154 (display-buffer-pop-up-window): Allow splitting internal
19155 windows. Check whether a live window was created.
19156 (display-buffer-other-window-means-other-frame)
19157 (display-buffer-normalize-arguments): Rename to
19158 display-buffer-normalize-argument and rewrite. Set the
19159 other-window specifier.
19160 (display-buffer-normalize-special): New function.
19161 (display-buffer-normalize-options): Rename to
19162 display-buffer-normalize-default and rewrite.
19163 (display-buffer-normalize-options-inhibit): Remove.
19164 (display-buffer-normalize-specifiers): Rewrite.
19165 (display-buffer): Process other-window specifier and call
19166 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19167 more faithfully.
19168 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19169 (display-buffer-alist-set): Don't handle 'unset default values.
19170 (display-buffer-in-window, display-buffer-alist-set):
19171 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19172 <tassilo@member.fsf.org>.
19173
19174 2011-07-09 Leo Liu <sdl.web@gmail.com>
19175
19176 * register.el (insert-register): Restore accidental change on
19177 2011-06-26. (Bug#9028)
19178
19179 2011-07-09 Glenn Morris <rgm@gnu.org>
19180
19181 * subr.el (remq): Handle the empty list. (Bug#9024)
19182
19183 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19184
19185 * mail/sendmail.el (send-mail-function): No longer delay custom
19186 initialization.
19187 * custom.el (custom-initialize-delay): Doc fix.
19188
19189 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19190
19191 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19192
19193 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19194
19195 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19196 human-friendly prompt.
19197
19198 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19199
19200 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19201 provided by a particular plugin.
19202
19203 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19204
19205 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19206 save customizations (with "emacs -Q"), just set the variable
19207 instead of erroring out.
19208
19209 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19210
19211 2011-07-08 Juri Linkov <juri@jurta.org>
19212
19213 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19214 (archive-zip-update-case): Use 7z if found by `executable-find'.
19215 The order of searching the available programs is the same as in
19216 `archive-zip-extract' (bug#8968).
19217
19218 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19219
19220 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19221 (menu-bar-options-menu): Tweak descriptions.
19222
19223 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19224
19225 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19226 menu items into verb phrases (bug#1421). Also refill to fit under
19227 80 columns.
19228
19229 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19230
19231 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19232 (Info-read-node-name): Doc fix (Bug#1084).
19233
19234 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19235 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19236 (end-of-sexp, beginning-of-sexp)
19237 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19238 (forward-symbol, forward-same-syntax, word-at-point)
19239 (sentence-at-point): Doc fix (Bug#1144).
19240
19241 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19242
19243 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19244 should cover it (bug#1281).
19245
19246 * cus-edit.el (custom-show): Mark as obsolete.
19247
19248 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19249 negotiation fails, then possibly try again with a non-encrypted
19250 connection (bug#9017).
19251
19252 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19253 be used.
19254
19255 2011-07-07 Richard Stallman <rms@gnu.org>
19256
19257 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19258 property, and handle its changed format.
19259 Look for the correct line number.
19260 Use file's line contents (but not past first =) to find
19261 correct line in message.
19262
19263 2011-07-07 Kenichi Handa <handa@m17n.org>
19264
19265 * international/characters.el (build-unicode-category-table):
19266 Delete it.
19267 (unicode-category-table): Set it by unicode-property-table-internal.
19268
19269 * international/mule-cmds.el (char-code-property-alist): Move to
19270 to src/chartab.c.
19271 (get-char-code-property): Call unicode-property-table-internal to
19272 load a file. Call get-unicode-property-internal where necessary.
19273 (put-char-code-property): Call unicode-property-table-internal to
19274 load a file. Call put-unicode-property-internal where necessary.
19275 put-unicode-property-internal where necessary.
19276 (char-code-property-description):
19277 Call unicode-property-table-internal to load a file.
19278
19279 * international/charprop.el:
19280 * international/uni-bidi.el:
19281 * international/uni-category.el:
19282 * international/uni-combining.el:
19283 * international/uni-comment.el:
19284 * international/uni-decimal.el:
19285 * international/uni-decomposition.el:
19286 * international/uni-digit.el:
19287 * international/uni-lowercase.el:
19288 * international/uni-mirrored.el:
19289 * international/uni-name.el:
19290 * international/uni-numeric.el:
19291 * international/uni-old-name.el:
19292 * international/uni-titlecase.el:
19293 * international/uni-uppercase.el: Regenerate.
19294
19295 * loadup.el: Load international/charprop.el before
19296 international/characters.
19297
19298 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19299
19300 * window.el (next-buffer, previous-buffer): Signal an error if
19301 called from a minibuffer window.
19302
19303 * bindings.el: Revert 2011-07-04 change.
19304
19305 2011-07-06 Richard Stallman <rms@gnu.org>
19306
19307 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19308 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19309 Treat markers like ints.
19310 (rmail-mime-entity): Doc fix.
19311
19312 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19313
19314 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19315 defcustom again for backwards compatibility.
19316
19317 * simple.el (shell-command-on-region): Fill.
19318
19319 * dired-aux.el (dired-kill-line): Add a doc string.
19320
19321 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19322 to "\\sw\\|\\s_" (bug#358).
19323
19324 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19325 (dired-unmark-backward): Ditto.
19326 (dired-flag-backup-files): Ditto.
19327
19328 * dired-x.el (dired-mark-sexp): Ditto.
19329
19330 2011-07-06 Richard Stallman <rms@gnu.org>
19331
19332 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19333 (rmail-mime-entity): New arg TRUNCATED.
19334 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19335 New functions.
19336 (rmail-mime-save): Warn if entity is truncated.
19337 (rmail-mime-toggle-hidden): Likewise, for showing.
19338 (rmail-mime-process-multipart): Record when an entity is truncated.
19339
19340 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19341 if ENTITY is a string.
19342
19343 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19344
19345 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19346 of faces when `M-C-x'-ing their definitions (bug#8378).
19347 Also clean up the code slightly.
19348
19349 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19350 because that makes the colors go away.
19351
19352 * mail/sendmail.el (send-mail-function): Change the default to
19353 `sendmail-query-once'.
19354 (sendmail-query-once): Add an autoload cookie.
19355
19356 * net/network-stream.el (network-stream-open-starttls): Try using
19357 a plain connection even if the server offered STARTTLS, and we
19358 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19359 capability. This should make smtpmail.el work in slightly more
19360 configurations.
19361
19362 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19363
19364 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19365 New defun.
19366 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19367
19368 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19369
19370 * progmodes/sql.el: Version 3.0
19371 (sql-product-alist): Add product :completion-object,
19372 :completion-column, and :statement attributes.
19373 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19374 (sql-mode-syntax-table): Mark all punctuation.
19375 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19376 ansi keywords.
19377 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19378 (sql-mode-oracle-font-lock-keywords): Improve.
19379 (sql-oracle-show-reserved-words): New function for development.
19380 (sql-product-font-lock): Simplify for source code buffers.
19381 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19382 New functions.
19383 (sql-highlight-product): Set product specific syntax table.
19384 (sql-mode-map): Add statement movement functions.
19385 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19386 New variable.
19387 (sql-statement-regexp, sql-beginning-of-statement)
19388 (sql-end-of-statement, sql-signum): New functions.
19389 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19390 (sql-show-sqli-buffer): Bug fix.
19391 (sql-interactive-mode): Store connection data as buffer local.
19392 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19393 with sql-interactive-mode.
19394 (sql-save-connection): Save buffer local settings.
19395 (sql-connection-menu-filter): Change menu entry name.
19396 (sql-product-interactive): Bug fix.
19397 (sql-preoutput-hold): New variable.
19398 (sql-interactive-remove-continuation-prompt): Bug fixes.
19399 (sql-debug-redirect): New variable.
19400 (sql-str-literal): New function.
19401 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19402 Redesign.
19403 (sql-oracle-save-settings, sql-oracle-restore-settings)
19404 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19405 (sql-completion-object, sql-completion-column)
19406 (sql-completion-sqlbuf): New variables.
19407 (sql-build-completions-1, sql-build-completions)
19408 (sql-try-completion): New functions.
19409 (sql-read-table-name): Use them.
19410 (sql-contains-names): New buffer local variable.
19411 (sql-list-all, sql-list-table): Use it.
19412 (sql-oracle-completion-types): New variable.
19413 (sql-oracle-completion-object, sql-sqlite-completion-object)
19414 (sql-postgres-completion-object): New functions.
19415
19416 2011-07-06 Glenn Morris <rgm@gnu.org>
19417
19418 * window.el (pop-to-buffer): Doc fix.
19419
19420 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19421
19422 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19423
19424 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19425
19426 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19427
19428 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19429
19430 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19431
19432 * button.el (button): Inherit from link face. Suggested by Dan
19433 Nicolaescu.
19434
19435 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19436
19437 * progmodes/gdb-mi.el: Fit in 80 columns.
19438 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19439 switch-to-buffer.
19440
19441 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19442 if imenu is simply not configured (bug#8941).
19443
19444 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19445
19446 * allout.el (allout-post-undo-hook): New allout outline-change
19447 event hook to signal undo activity.
19448 (allout-post-command-business): Run allout-post-undo-hook if an
19449 undo just occurred.
19450 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19451 * allout-widgets.el (allout-widgets-after-undo-function):
19452 Ensure the integrity of the current item's decoration after it has been
19453 in the vicinity of an undo.
19454 (allout-widgets-mode): Include allout-widgets-after-undo-function
19455 on the new allout-post-undo-hook.
19456
19457 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19458
19459 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19460 Let define-derived-mode define it.
19461 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19462 cycles of abbrev-table inheritance (bug#8998).
19463
19464 2011-07-05 Roland Winkler <winkler@gnu.org>
19465
19466 * textmodes/bibtex.el: Add support for biblatex.
19467 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19468 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19469 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19470 (bibtex-entry-alist, bibtex-field-alist): New variables.
19471 (bibtex-entry-field-alist): Obsolete alias for
19472 bibtex-BibTeX-entry-alist.
19473 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19474 (bibtex-set-dialect): New command.
19475 (bibtex-entry-type, bibtex-entry-head)
19476 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19477 Bind via bibtex-set-dialect.
19478 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19479 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19480 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19481 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19482 Define via bibtex-set-dialect.
19483 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19484 Obey bibtex-no-opt-remove-re.
19485 (bibtex-vec-push, bibtex-vec-incr): New functions.
19486 (bibtex-format-entry, bibtex-field-list)
19487 (bibtex-print-help-message, bibtex-validate)
19488 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19489
19490 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19491
19492 * progmodes/compile.el (compilation-goto-locus):
19493 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19494 * bs.el (bs-cycle-next, bs-cycle-previous):
19495 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19496 * bindings.el (mode-line-other-buffer):
19497 * autoinsert.el (auto-insert):
19498 * arc-mode.el (archive-extract):
19499 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19500
19501 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19502
19503 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19504 Fix check of `emacs-lock-unlockable-modes'.
19505 Coerce true values of `emacs-lock--try-unlocking' to t.
19506
19507 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19508
19509 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19510 * emacs-lock.el: New file.
19511
19512 2011-07-05 Julien Danjou <julien@danjou.info>
19513
19514 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19515 than `boundp' to check if face is set.
19516
19517 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19518
19519 * register.el (registerv-make):
19520 * window.el (window-min-height): Fix typos in docstrings.
19521
19522 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19523
19524 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19525 Update doc string.
19526
19527 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19528
19529 * server.el (server-execute): Catch quit and call
19530 `server-return-error' to pass the error back to emacsclient and
19531 close the connection (bug#8942).
19532
19533 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19534
19535 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19536 insecure exception for current topic. Also note that auto-saves
19537 are handled differently.
19538
19539 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19540 State variables for tracking auto-save inhibition situation.
19541
19542 (allout-write-contents-hook-handler): Rename from
19543 'allout-write-file-hook-handler', and describe how it depends on
19544 write-contents-functions sensitivity to non-nil value to prevent
19545 file write.
19546
19547 (allout-auto-save-hook-handler): Remove. auto-save does not check
19548 this in individual buffers, only in the starting buffer, so this
19549 is not the right way for us to inhibit auto-save in a buffer
19550 according to its condition.
19551
19552 (allout-mode): Use new allout-write-contents-hook-handler, and
19553 only with write-contents-functions. Remove auto-save provisions -
19554 they're implemented elsewhere.
19555
19556 (allout-before-change-handler): If undo is in progress, note that
19557 for attention of allout-post-command-business.
19558
19559 (allout-post-command-business): If the command we're following was
19560 an undo, check for change in the status of encrypted items and
19561 adjust auto-save inhibitions accordingly.
19562
19563 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19564 according to whether there are or aren't any plain-text topics
19565 pending encryption.
19566
19567 (allout-inhibit-auto-save-info-for-decryption):
19568 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19569 if there are plain-text topics pending encryption.
19570
19571 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19572 buffer-saved-size and some allout state to not inhibit auto-saves
19573 if there are no longer any plain-text topics pending encryption.
19574
19575 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19576 No longer provide for exemption of the current topic.
19577
19578 2011-07-04 Juri Linkov <juri@jurta.org>
19579
19580 Add 7z operations to delete and save changed members (bug#8968).
19581 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19582 New defcustoms.
19583 (archive-7z-write-file-member): New function.
19584 (archive-7z-summarize): Fix the number of dashes in the
19585 listing output.
19586
19587 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19588
19589 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19590 (bug#8958).
19591
19592 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19593
19594 * bindings.el: Ignore next-buffer and previous-buffer in
19595 minibuffer-local-map.
19596
19597 * font-lock.el (font-lock-builtin-face): Change light background
19598 color to dark slate blue (Bug#6693).
19599
19600 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19601
19602 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19603
19604 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19605
19606 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19607 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19608 Add switch-to-buffer.
19609
19610 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19611
19612 * isearch.el (isearch-search-fun-function): Clarify further the
19613 meaning of the function returned.
19614
19615 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19616
19617 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19618
19619 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19620 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19621 Use it.
19622 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19623 `tramp-default-remote-path' does not exist.
19624 (tramp-send-command-and-read): New optional argument NOERROR.
19625 (tramp-open-connection-setup-interactive-shell)
19626 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19627 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19628 (tramp-process-sentinel): Flush also process' connection property.
19629 (tramp-sh-handle-start-file-process): Do not set process
19630 sentinel. It is done now ...
19631 (tramp-maybe-open-connection): ... here. (Bug#8929)
19632
19633 2011-07-04 MON KEY <monkey@sandpframing.com>
19634
19635 * play/animate.el (animate-string): Doc fixes and allow changing
19636 the buffer name (bug#5417).
19637
19638 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19639
19640 * play/animate.el (animation-buffer-name): Rename from *animate*.
19641
19642 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19643
19644 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19645 This is simpler and helps future-proof the code.
19646 (timer-until): Use time-subtract and float-time.
19647 (timer--time-less-p): Use time-less-p.
19648
19649 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19650
19651 * type-break.el (timep): Use the value of `float-time' to avoid a
19652 byte-compiler warning.
19653
19654 * server.el (server-eval-and-print): Return any result, even nil.
19655
19656 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19657
19658 * type-break.el: Accept time formats that the builtins accept.
19659 (timep, type-break-time-difference): Accept any format that
19660 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19661 This is simpler and helps future-proof the code.
19662 (type-break-time-difference): Round rather than ignoring
19663 subseconds components.
19664
19665 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19666
19667 * info.el (Info-apropos-matches): Make non-interactive, since it
19668 doesn't seem to do anything useful as a command (bug#8829).
19669
19670 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19671
19672 * frame.el (frame-background-mode, frame-set-background-mode):
19673 Move from faces.el.
19674 (frame-default-terminal-background): New function.
19675
19676 * custom.el (custom-push-theme): Don't record faces in `changed'
19677 theme; this doesn't work correctly for per-frame face settings.
19678 (disable-theme): Use face-set-after-frame-default to reset faces.
19679 (custom--frame-color-default): New function.
19680
19681 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19682
19683 * dired.el (dired-flagging-regexp): Remove unused variable
19684 (bug#8769).
19685
19686 2011-03-29 Kevin Ryde <user42@zip.com.au>
19687
19688 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19689 `perl-Test2' extend to match possible "fail #N" rep count
19690 (bug#8377).
19691
19692 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19693
19694 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19695 `smtpmail-via-smtp' now returns the error instead of nil.
19696
19697 * isearch.el (isearch-search-fun-function): Clarify the doc string
19698 (bug#8101).
19699
19700 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19701
19702 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19703 unnecessary spaces (bug#8987).
19704
19705 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19706
19707 * net/network-stream.el (open-network-stream): Use the
19708 :end-of-capability command thoughout.
19709
19710 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19711
19712 * net/network-stream.el (open-network-stream): Add the
19713 :end-of-capability command parameter, used by pop3.el.
19714
19715 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19716
19717 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19718
19719 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19720 for list)" (bug#6475).
19721
19722 * files.el (file-expand-wildcards): Ignore non-readable
19723 sub-directories while trying to find matches instead of signaling
19724 an error (bug#6297).
19725
19726 * man.el (Man-reference-regexp): Allow matching possible
19727 word-wrapped references (bug#6289).
19728
19729 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19730 for consistency with the other vc buffers (bug#6197).
19731 (vc-checkin): Ditto.
19732
19733 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19734
19735 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19736
19737 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19738
19739 * custom.el (defcustom): Clarify that :set is only used in the
19740 Customize user interface (bug#6089).
19741
19742 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19743 associated with a file, refuse to run instead of erroring out
19744 (bug#6084).
19745
19746 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19747 the doc string, since it appears that using `fill-column' always
19748 controls the width (bug#7845).
19749
19750 * simple.el (shell-command-on-region): Say where the error output
19751 went if `shell-command-default-error-buffer' is set (bug#6857).
19752
19753 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19754
19755 * allout.el (allout-yank-processing): Adjust cursor position for
19756 backwards-deleted space.
19757
19758 (allout-rebullet-heading): Register changes with
19759 allout-exposure-changed-hook, so the modified topic is properly
19760 decorated.
19761
19762 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19763
19764 * minibuffer.el (completion-in-region): Document PREDICATE
19765 (bug#7136).
19766
19767 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19768 of keyword/argument pairs (bug#6904).
19769
19770 * replace.el (multi-occur):
19771 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19772
19773 2011-07-02 Drew Adams <drew.adams@oracle.com>
19774
19775 * dired.el (dired-mark-if): Make the message about whether it's
19776 marking or unmarking clearer (bug#8523).
19777
19778 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19779
19780 * disp-table.el (display-table-print-array): New function.
19781 (describe-display-table): Use it to print the vectors more pretty
19782 (Bug#8859).
19783
19784 2011-07-02 Martin Rudalics <rudalics@gmx.at>
19785
19786 * window.el (window-state-get-1): Don't assign clone numbers.
19787 Add clone-of item to list of window parameters.
19788 (window-state-put-2): Don't process clone numbers.
19789 (display-buffer-alist): Fix doc-string.
19790
19791 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19792
19793 * subr.el (remq): Don't allocate if it's not needed.
19794 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19795 (keymap--merge-bindings): New functions.
19796 (keymap-canonicalize): Use them to refine the canonicalization.
19797 * minibuffer.el (minibuffer-local-completion-map)
19798 (minibuffer-local-must-match-map): Move initialization from C.
19799 (minibuffer-local-filename-completion-map): Move initialization from C;
19800 don't inherit from anything here.
19801 (minibuffer-local-filename-must-match-map): Make obsolete.
19802 (completing-read-default): Use make-composed-keymap to combine
19803 minibuffer-local-filename-completion-map with either
19804 minibuffer-local-must-match-map or
19805 minibuffer-local-filename-completion-map.
19806
19807 2011-07-01 Glenn Morris <rgm@gnu.org>
19808
19809 * type-break.el (type-break-time-sum): Use dolist.
19810
19811 * textmodes/flyspell.el (flyspell-word-search-backward):
19812 Replace CL function.
19813
19814 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19815
19816 * mouse.el (mouse--strip-first-event): New function.
19817 (function-key-map): Use it to map fringe clicks to normal clicks
19818 by default.
19819
19820 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19821 (vc-bzr-revision-completion-table): Add support for annotate and date.
19822
19823 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19824 inherit from parent.
19825
19826 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19827
19828 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19829 (dired-show-file-type): Doc fixup (bug#8818).
19830
19831 * dired.el (dired-mode): Fix up the doc string as suggested by
19832 Drew Adams (bug#8817).
19833
19834 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19835 cookie, since the manual says that it should be possible to add
19836 this function to `find-file-hook' (bug#8709).
19837
19838 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19839
19840 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19841 here. Noted Ted Zlatanov as the maintainer.
19842 (cfengine-common-settings, cfengine-common-syntax): New functions
19843 to set up common things between `cfengine-mode' and
19844 `cfengine3-mode'.
19845 (cfengine3-mode): New mode.
19846 (cfengine3-defuns cfengine3-defuns-regex
19847 (cfengine3-class-selector-regex cfengine3-category-regex)
19848 (cfengine3-vartypes cfengine3-font-lock-keywords)
19849 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19850 (cfengine3-indent-line): Add from cfengine3.el.
19851
19852 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
19853
19854 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19855
19856 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19857
19858 2011-07-01 Martin Rudalics <rudalics@gmx.at>
19859
19860 * window.el (same-window-buffer-names, same-window-regexps)
19861 (same-window-p, special-display-frame-alist)
19862 (special-display-popup-frame, special-display-function)
19863 (special-display-buffer-names, special-display-regexps)
19864 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19865 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19866 (split-window-preferred-function, split-height-threshold)
19867 (split-width-threshold, even-window-heights)
19868 (display-buffer-mark-dedicated, window-splittable-p)
19869 (split-window-sensibly, window-safely-shrinkable-p):
19870 Un-obsolete.
19871 (display-buffer): Don't spread args with function specifier
19872 because special-display-popup-frame won't like it.
19873
19874 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19875
19876 Time-stamp simplifications and fixes.
19877 These improve accuracy slightly, and future-proof the code
19878 against some potential changes to current-time format.
19879
19880 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19881 by using time-since and float-time.
19882
19883 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19884 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19885 + NNN microseconds".
19886
19887 * type-break.el (type-break-time-sum): Rewrite using time-add.
19888
19889 * play/hanoi.el (hanoi-current-time-float): Remove.
19890 All uses replaced by float-time.
19891
19892 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19893 This yields a more-accurate answer.
19894 (rng-time-to-float): Remove; no longer needed.
19895
19896 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19897
19898 * calendar/timeclock.el (timeclock-seconds-to-time):
19899 Defalias to seconds-to-time, since they're the same thing.
19900
19901 * emacs-lisp/elp.el (elp-elapsed-time):
19902 * emacs-lisp/benchmark.el (benchmark-elapse):
19903 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19904
19905 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19906
19907 * window.el (bury-buffer): Don't iconify the only frame.
19908 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19909 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19910
19911 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
19912
19913 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19914 Add mouse-yank-primary.
19915
19916 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19917
19918 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19919
19920 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19921
19922 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19923 (find-library-name): Use it to find relative load names when provided
19924 absolute file name (bug#8803).
19925
19926 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19927
19928 * textmodes/flyspell.el (flyspell-word): Consider words that
19929 differ only in case as potential doublons (bug#5687).
19930
19931 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19932 Remove two rather uninteresting debugging-like messages to make
19933 debbugs.el more silent.
19934
19935 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19936 a password-like phrase.
19937
19938 2011-06-30 Masatake YAMATO <yamato@redhat.com>
19939
19940 * progmodes/cc-guess.el: New file.
19941
19942 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
19943
19944 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19945 derived from `c-basic-common-init'.
19946
19947 * progmodes/cc-mode.el (top-level): Require cc-guess.
19948 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19949
19950 2011-06-30 Lawrence Mitchell <wence@gmx.li>
19951
19952 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19953
19954 2011-06-30 Alan Mackenzie <acm@muc.de>
19955
19956 * progmodes/cc-engine.el (c-guess-continued-construct):
19957 Correct the handling of template-args-cont, particularly for when font
19958 lock is disabled. Name this case as "CASE G".
19959
19960 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19961
19962 * allout.el (allout-yank-processing): Fix injection of extra space
19963 between bullet and non-whitespace character in first topic when
19964 pasting, ensuring that the actual spacing in the pasted topic
19965 following the bullet char is preserved. This extra space was
19966 causing pasted encrypted topics to get a decrypted status even
19967 when the content was actually still encrypted. Now the decryption
19968 status from before the paste is preserved.
19969
19970 (allout-flag-region): Set all allout overlays so they evaporate
19971 when reduced to zero length (evanescent), to prevent overlay
19972 leakage.
19973
19974 2011-06-30 Glenn Morris <rgm@gnu.org>
19975
19976 * w32-fns.el (w32-charset-info-alist): Declare.
19977
19978 * find-dired.el (find-grep-options): Simplify.
19979
19980 * term/ns-win.el (ns-set-resource): Declare.
19981
19982 * ses.el (row, col): Declare dynamic variables honestly.
19983
19984 * textmodes/reftex-parse.el (index-tags): Declare.
19985
19986 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
19987
19988 * cus-edit.el (customize-push-and-save): New function.
19989
19990 * files.el (hack-local-variables-confirm): Use it.
19991
19992 * custom.el (load-theme): New arg NO-CONFIRM.
19993 Use customize-push-and-save (Bug#8720).
19994 (custom-enabled-themes): Doc fix.
19995
19996 * cus-theme.el (customize-create-theme)
19997 (custom-theme-merge-theme): Callers to load-theme changed.
19998
19999 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20000
20001 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20002 short URLs have at least one dot in them (bug #7614).
20003
20004 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20005 nil, because using a pty is apparently too slow (bug #895).
20006
20007 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20008
20009 * mail/sendmail.el (sendmail-query-once): New function.
20010 (sendmail-query-once-function): New variable.
20011
20012 2011-06-29 Glenn Morris <rgm@gnu.org>
20013
20014 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20015
20016 * ses.el (top-level): Require cl when compiling.
20017 (ses-set-localvars): Fix error statement.
20018 Call it at compile time to silence a storm of warnings.
20019
20020 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20021
20022 * window.el (normalize-live-buffer): Rename to
20023 window-normalize-buffer.
20024 (normalize-live-frame): Rename to window-normalize-frame.
20025 (normalize-any-window): Rename to window-normalize-any-window.
20026 (normalize-live-window): Rename to window-normalize-live-window.
20027 (make-window-atom): Rename to window-make-atom.
20028 (window-resize-reset): Rename to window--resize-reset.
20029 (window-resize-reset-1): Rename to window--resize-reset-1.
20030 (resize-mini-window): Rename to window--resize-mini-window.
20031 (resize-subwindows-skip-p): Rename to
20032 window--resize-subwindows-skip-p.
20033 (resize-subwindows-normal): Rename to
20034 window--resize-subwindows-normal.
20035 (resize-subwindows): Rename to window--resize-subwindows.
20036 (resize-other-windows): Rename to window--resize-siblings.
20037 (resize-this-window): Rename to window--resize-this-window.
20038 (resize-root-window): Rename to window--resize-root-window.
20039 (resize-root-window-vertically): Rename to
20040 window--resize-root-window-vertically.
20041 (normalize-buffer-to-display): Rename to
20042 window-normalize-buffer-to-display.
20043 (normalize-buffer-to-switch-to): Rename to
20044 window-normalize-buffer-to-switch-to.
20045 Correspondingly update all callers of the functions listed
20046 above.
20047 (display-buffer-alist, display-buffer-normalize-arguments)
20048 (display-buffer-normalize-options, display-buffer)
20049 (display-buffer-alist-set): Use "function" instead of
20050 "fun-with-args".
20051
20052 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20053
20054 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20055 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20056 debbugs.gnu.org. Mention acknowledgment email.
20057
20058 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20059
20060 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20061 buffer multibyteness, since it shouldn't matter.
20062
20063 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20064
20065 * window.el (display-buffer-in-side-window): Handle dedicated
20066 windows as in display-buffer-reuse-window.
20067 (display-buffer-normalize-alist): Use value of override
20068 specifier.
20069 (display-buffer-normalize-specifiers): Use value of
20070 other-window-means-other-frame specifier.
20071 (display-buffer-alist): Rewrite some texts in widgets.
20072 (display-buffer): Spread arguments when calling function
20073 specified by fun-with-args.
20074
20075 2011-06-28 Deniz Dogan <deniz@dogan.se>
20076
20077 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20078 Unnest `let'.
20079
20080 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20081 selectors (Bug#5732).
20082 (css-proprietary-nmstart-re): Use `regexp-opt'.
20083
20084 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20085
20086 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20087 (eshell-ls-date-format): New defcustom.
20088 (eshell-ls-file): Use it.
20089
20090 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20091
20092 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20093
20094 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20095
20096 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20097 (ange-ftp-make-tmp-name): New arg.
20098 (ange-ftp-file-local-copy): Use it.
20099
20100 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20101
20102 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20103 no-conversion (Bug#8870).
20104
20105 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20106
20107 * window.el (window-right, window-left, window-child)
20108 (window-child-count, window-last-child)
20109 (window-iso-combination-p, walk-window-tree-1)
20110 (window-atom-check-1, window-tree-1, delete-window)
20111 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20112 new naming conventions - window-vchild, window-hchild,
20113 window-next and window-prev are now called window-top-child,
20114 window-left-child, window-next-sibling and window-prev-sibling
20115 respectively.
20116 (resize-window-reset): Rename to window-resize-reset.
20117 (resize-window-reset-1): Rename to window-resize-reset-1.
20118 (resize-window): Rename to window-resize.
20119 (window-min-height, window-min-width)
20120 (resize-mini-window, resize-this-window, resize-root-window)
20121 (resize-root-window-vertically, adjust-window-trailing-edge)
20122 (enlarge-window, shrink-window, maximize-window)
20123 (minimize-window, delete-window, quit-restore-window)
20124 (split-window, balance-windows, balance-windows-area-adjust)
20125 (balance-windows-area, window-state-put-2)
20126 (display-buffer-even-window-sizes, display-buffer-set-height)
20127 (display-buffer-set-width, set-window-text-height)
20128 (fit-window-to-buffer): Rename all "resize-window" prefixed
20129 calls to use the "window-resize" prefix convention.
20130 (display-buffer-alist): Fix symbol for label specifier.
20131 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20132 corresponding specifier.
20133 Reported by Juanma Barranquero <lekktu@gmail.com>.
20134
20135 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20136
20137 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20138 convention.
20139 (ses-call-printer): Does not pass an empty string to formatter when the
20140 cell is empty to keep from barking printer Calc math-format-value.
20141
20142 2011-06-27 Richard Stallman <rms@gnu.org>
20143
20144 * battery.el (battery-mode-line-limit): New variable.
20145 (battery-update): Handle it.
20146
20147 * mail/rmailmm.el (rmail-mime-process-multipart):
20148 Handle truncated messages.
20149
20150 2011-06-27 Glenn Morris <rgm@gnu.org>
20151
20152 * progmodes/flymake.el (flymake-err-line-patterns):
20153 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20154
20155 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20156
20157 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20158 (ses--clean-!, ses--clean-_): New functions.
20159 (ses-range): Add configurability of readout order, and conversion
20160 to Calc vector.
20161
20162 * ses.el (ses-repair-cell-reference-all): New function.
20163 (ses-cell-symbol): Set macro as safe, so that it can be used in
20164 formulas.
20165
20166 * ses.el: Update cycle detection algorithm.
20167 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20168 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20169 (ses-set-localvars): New function.
20170 (ses-make-cell): Add property-list as a cell element.
20171 (ses-cell-property-get-fun, ses-cell-property-get)
20172 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20173 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20174 New functions.
20175 (ses-cell-property-set, ses-cell-property-pop)
20176 (ses-cell-property-get-handle): New macro.
20177 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20178 New aliases, used for code readability.
20179 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20180 cycle detection.
20181 (ses-self-reference-early-detection): New defcustom.
20182 (ses-formula-references): Robustify against self-referring cells.
20183 (ses-mode): Use ses-set-localvars.
20184 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20185 before lauching the update processing.
20186 (ses-initialize-Dijkstra-attempt): New function.
20187 (ses-recalculate-cell): Update for cycle detection based on
20188 Dijkstra algorithm.
20189
20190 * ses.el: Fix commenting and indenting convention.
20191
20192 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20193
20194 * bs.el (bs-cycle-next): Complete last change.
20195
20196 2011-06-27 Drew Adams <drew.adams@oracle.com>
20197
20198 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20199
20200 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20201
20202 * net/network-stream.el (network-stream-open-starttls):
20203 Don't re-get capabilities unless we've reestablished connection.
20204 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20205
20206 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20207 to binary to possibly avoid line encoding issues on Windows (among
20208 other things).
20209
20210 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20211
20212 * net/network-stream.el (open-network-stream): Return an :error
20213 saying what the problem was, if possible.
20214
20215 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20216 server.
20217
20218 * net/network-stream.el (network-stream-open-starttls): If we
20219 wanted to use STARTTLS, and the server offered it, but we weren't
20220 able to because we had no STARTTLS support, then close the connection.
20221 (open-network-stream): Return an :error element, if present.
20222
20223 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20224
20225 * hl-line.el (hl-line-sticky-flag): Doc fix.
20226 (global-hl-line-sticky-flag): New option (Bug#8323).
20227 (global-hl-line-highlight): Obey it.
20228
20229 * vc/vc.el (vc-revert-show-diff): Default to t.
20230
20231 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20232
20233 * allout-widgets.el (allout-widgets-post-command-business):
20234 Stop decorating intermediate isearch matches. They're not being
20235 undecorated when an isearch is continued past, and isearch
20236 automatically collapses them. This leads to "widget leaks", where
20237 decorated items accumulate in collapsed areas. Lines with lots of
20238 hidden widgets can slow down cursor travel, substantially.
20239 Too much complicated machinery would be needed to ensure undecoration,
20240 so we're doing without this nicety.
20241
20242 (allout-widgets-tally-string): Don't try to do a hash-table-count
20243 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20244 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20245 *Messages* when allout-widgets-maintain-tally is t.
20246
20247 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20248
20249 * window.el (display-buffer-normalize-argument): Rename to
20250 display-buffer-normalize-arguments. Handle special meaning of
20251 LABEL argument. Respect special-display-function when popping up
20252 a new frame. Fix code searching for a window showing the buffer
20253 on another frame.
20254 (display-buffer-normalize-specifiers):
20255 Call display-buffer-normalize-arguments.
20256 (display-buffer-in-window): Don't undedicate the window if its
20257 buffer remains the same.
20258 Reported by Drew Adams <drew.adams@oracle.com>.
20259 (display-buffer-alist): Add choice for same-window macro
20260 specfier.
20261 (display-buffer): Mention special meaning of LABEL argument in
20262 doc-string. Fix quoting. Don't pop up a new frame even as
20263 fallback.
20264
20265 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20266
20267 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20268 avoid deleting the current window in some cases (bug#8911).
20269
20270 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20271
20272 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20273 (Bug#8934)
20274
20275 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20276
20277 * net/network-stream.el (network-stream-open-starttls):
20278 Use built-in TLS support if `gnutls-available-p' is true.
20279 (network-stream-open-tls): Ditto.
20280
20281 2011-06-26 Leo Liu <sdl.web@gmail.com>
20282
20283 * register.el (registerv): New struct.
20284 (registerv-make): New function.
20285 (jump-to-register, describe-register-1, insert-register):
20286 Support the jump-func, print-func and insert-func slot of a registerv
20287 struct. (Bug#8415)
20288
20289 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20290
20291 * vc/vc.el (vc-revert-show-diff): New defcustom.
20292 (vc-diff-internal): New arg specifying diff buffer.
20293 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20294 reuse an existing *vc-diff* buffer (Bug#8927).
20295
20296 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20297
20298 2011-06-26 Glenn Morris <rgm@gnu.org>
20299
20300 * progmodes/f90.el (f90-critical-indent): New option.
20301 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20302 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20303 (f90-mode): Doc fix.
20304 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20305 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20306 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20307 (f90-match-end): Handle block, critical.
20308
20309 2011-06-25 Glenn Morris <rgm@gnu.org>
20310
20311 * calendar/diary-lib.el (diary-included-files): Doc fix.
20312 (diary-include-files): New function, extracted from
20313 diary-include-other-diary-files and diary-mark-included-diary-files.
20314 (diary-include-other-diary-files, diary-mark-included-diary-files):
20315 Just call diary-include-files.
20316 (diary-mark-entries): Reset diary-included-files on first call.
20317
20318 * calendar/diary-lib.el (diary-mark-entries)
20319 (diary-mark-included-diary-files):
20320 Visit included diary-files in temp buffers.
20321
20322 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20323 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20324 (f90-start-block-re, f90-imenu-generic-expression)
20325 (f90-looking-at-program-block-start, f90-no-block-limit):
20326 Add support for submodules.
20327
20328 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20329 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20330
20331 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20332
20333 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20334 buffer-file-type before setting its value, to avoid disastrous
20335 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20336
20337 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20338
20339 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20340
20341 * ses.el (ses-unload-function):
20342 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20343
20344 * proced.el (proced-unload-function):
20345 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20346
20347 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20348
20349 * server.el (server-create-window-system-frame): Add parameters arg.
20350 (server-process-filter): Doc fix. Handle frame-parameters.
20351
20352 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20353
20354 Fix bug#8730, bug#8781.
20355
20356 * loadhist.el (unload--set-major-mode): New function.
20357 (unload-feature): Use it.
20358
20359 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20360 (python-unload-function): New function.
20361
20362 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20363
20364 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20365
20366 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20367
20368 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20369 the candidates list.
20370
20371 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20372
20373 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20374
20375 2011-06-23 Richard Stallman <rms@gnu.org>
20376
20377 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20378 (rmail-variables): Set next-error-move-function.
20379 (rmail-what-message): Take argument POS.
20380 (rmail-next-error-move): New function.
20381
20382 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20383
20384 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20385 messages for adjacent non-terminals.
20386
20387 2011-06-23 Richard Stallman <rms@gnu.org>
20388
20389 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20390 (rmail-show-message-1): Preserve buffer modified flag.
20391 (rmail-start-mail): Don't specify use of rmail-mail-return;
20392 that's done by mail-bury now.
20393 (rmail-mail-return): Handle arg NEWBUF.
20394
20395 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20396
20397 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20398 SIZE is a number.
20399
20400 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20401
20402 * window.el (get-lru-window, get-mru-window)
20403 (get-largest-window): Never return a minibuffer window.
20404 (display-buffer-pop-up-window): Fix a bug that could lead to
20405 reusing the minibuffer window.
20406 (display-buffer): Pass original specifier argument to
20407 display-buffer-function instead of the normalized one.
20408 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20409
20410 2011-06-22 Leo Liu <sdl.web@gmail.com>
20411
20412 * minibuffer.el (completing-read-function)
20413 (completing-read-default): Move from minibuf.c.
20414
20415 2011-06-22 Richard Stallman <rms@gnu.org>
20416
20417 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20418 to Rmail even if not started by a special Rmail command.
20419
20420 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20421 Copy the buffer currently showing just one message.
20422
20423 2011-06-22 Roland Winkler <winkler@gnu.org>
20424
20425 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20426 (bibtex-clean-entry): First delete the old key so that a
20427 customized algorithm for generating the new key does not get
20428 confused by the old key.
20429 (bibtex-url): Obey regexp of first step.
20430 (bibtex-search-entries): Do not use add-to-list with local
20431 list-var.
20432
20433 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20434
20435 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20436 stored a user name, then query for the password first, instead of
20437 waiting for SMTP to give an error message and the trying again.
20438
20439 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20440
20441 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20442 BUFFER in call-process.
20443
20444 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20445
20446 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20447 QUIT twice.
20448 (smtpmail-try-auth-methods): Require user name and password from
20449 auth-source.
20450
20451 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20452
20453 * window.el (display-buffer-default-specifiers)
20454 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20455 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20456 (split-window): Normalize SIDE argument (Bug#8916).
20457
20458 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20459 (special-display-frame-alist, special-display-popup-frame):
20460 Remove duplicate declarations. These are now in window.el.
20461
20462 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20463
20464 * mail/smtpmail.el (smtpmail-via-smtp):
20465 Set :use-starttls-if-possible so that we always use STARTTLS if the
20466 server supports it. SMTP servers that support STARTTLS commonly
20467 require it.
20468
20469 * net/network-stream.el (network-stream-open-starttls): Support
20470 upgrading to STARTTLS always, even if we don't have built-in support.
20471 (open-network-stream): Add the :always-query-capabilities keyword.
20472
20473 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20474 upgrades with `open-network-stream', and rely solely on
20475 auth-source for all credentials. Big changes throughout the file,
20476 but in particular:
20477 (smtpmail-auth-credentials): Remove.
20478 (smtpmail-starttls-credentials): Remove.
20479 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20480 MAIL FROM, too.
20481
20482 * net/network-stream.el (network-stream-open-starttls):
20483 Provide support for client certificates both for external and built-in
20484 STARTTLS.
20485 (auth-source): Require.
20486 (open-network-stream): Document the :client-certificate keyword.
20487 (network-stream-certificate): Change cert-cert to cert and
20488 cert-key to key.
20489
20490 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20491
20492 * net/tramp-cache.el (top): Don't load the persistency file when
20493 "emacs -Q" has been called.
20494
20495 2011-06-21 Tim Harper <timcharper@gmail.com>
20496
20497 * term/ns-win.el (ns-initialize-window-system):
20498 Set application-specific `ApplePressAndHoldEnabled' system
20499 resource to NO as it is not yet supported by the NS port.
20500
20501 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20502
20503 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20504 (list-dynamic-libraries): ...not here.
20505
20506 2011-06-21 Leo Liu <sdl.web@gmail.com>
20507
20508 * subr.el (sha1): Implement sha1 using secure-hash.
20509
20510 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20511
20512 * window.el (display-buffer-alist): In default value do not
20513 enforce searching a window on any but the selected frame.
20514 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20515 (display-buffer-select-window): Remove function.
20516 (display-buffer-in-window): When a window on another frame gets
20517 reused, do not select it any more but just raise its frame if
20518 necessary (Bug#8851) and (Bug#8856).
20519 (display-buffer-normalize-options): Handle pop-up-frames related
20520 options more faithfully.
20521 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20522 window if it is on another frame.
20523 (display-buffer-alist, display-buffer-default-specifiers):
20524 Don't make new frame unsplittable by default.
20525 (display-buffer-normalize-argument): Fix doc-string typo and use
20526 'same-frame-other-window instead of 'other-window when associating
20527 with display-buffer-macro-specifiers.
20528
20529 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20530
20531 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20532 New functions.
20533 (5x5-mode-map, 5x5-mode-menu): Bind them.
20534 (5x5-draw-grid): Tweak the solver's rendering.
20535
20536 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20537
20538 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20539 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20540
20541 2011-06-21 Drew Adams <drew.adams@oracle.com>
20542
20543 * menu-bar.el: Use function variable instead of switch-to-buffer.
20544 (menu-bar-select-buffer-function): New variable.
20545 (menu-bar-update-buffers): Use it (bug#8876).
20546
20547 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20548
20549 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20550 variable's status.
20551
20552 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20553
20554 * x-dnd.el (x-dnd-version-from-flags)
20555 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20556 and long as number (Bug#8899).
20557 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20558
20559 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20560
20561 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20562 (completion-try-completion, completion-all-completions): Compute the
20563 metadata argument if it's missing; make it optional (bug#8795).
20564
20565 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20566 (widget-complete): Use new :completion-function property.
20567 (widget-completions-at-point): New function.
20568 (default): Use :completion-function instead of :complete.
20569 (widget-default-completions): Rename from widget-default-complete;
20570 Rewrite.
20571 (widget-string-complete, widget-file-complete, widget-color-complete):
20572 Remove functions.
20573 (file, symbol, function, variable, coding-system, color):
20574 * international/mule-cmds.el (default-input-method, charset)
20575 (language-info-custom-alist):
20576 * cus-edit.el (face): Use new property :completions.
20577
20578 * progmodes/pascal.el (pascal-completions-at-point): New function.
20579 (pascal-mode): Use it.
20580 (pascal-mode-map): Use completion-at-point.
20581 (pascal-toggle-completions): Make obsolete.
20582 (pascal-complete-word, pascal-show-completions):
20583 * progmodes/octave-mod.el (octave-complete-symbol):
20584 Redefine as obsolete alias.
20585 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20586 Signal absence of completion info for old Octave,
20587 (inferior-octave-complete): Redefine as obsolete alias.
20588 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20589 (meta-completions-at-point): Rename from meta-complete-symbol and
20590 adapt it for use on completion-at-point-functions.
20591 (meta-common-mode): Use it.
20592 (meta-looking-at-backward, meta-match-buffer): Remove.
20593 (meta-complete-symbol): Redefine as obsolete alias.
20594 (meta-common-mode-map): Use completion-at-point.
20595 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20596 (makefile-mode-map): Use completion-at-point.
20597 (makefile-completions-at-point): Rename from makefile-complete and
20598 adapt it for use on completion-at-point-functions.
20599 (makefile-mode): Use it.
20600 (makefile-complete): Redefine as obsolete alias.
20601
20602 2011-06-20 Deniz Dogan <deniz@dogan.se>
20603
20604 * net/rcirc.el: Delete trailing whitespaces once and for all.
20605
20606 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20607
20608 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20609
20610 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20611
20612 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20613
20614 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20615
20616 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20617
20618 * window.el (display-buffer-other-window-means-other-frame):
20619 Call display-buffer-normalize-alist.
20620 (display-buffer-normalize-specifiers-1): Rename to
20621 display-buffer-normalize-argument. New argument other-frame.
20622 Rewrite.
20623 (display-buffer-normalize-specifiers-2): Rename to
20624 display-buffer-normalize-options.
20625 (display-buffer-normalize-alist-1): New function.
20626 (display-buffer-normalize-specifiers-3): Rename to
20627 display-buffer-normalize-alist.
20628 Call display-buffer-normalize-alist-1.
20629 (display-buffer-normalize-options-inhibit): New variable.
20630 (display-buffer-normalize-specifiers): Rewrite calling
20631 display-buffer-normalize-alist,
20632 display-buffer-normalize-argument, and
20633 display-buffer-normalize-options. Don't call the latter if
20634 display-buffer-normalize-options-inhibit is non-nil.
20635 (frame-auto-delete): New option.
20636 (window-deletable-p): Use frame-auto-delete.
20637 (window-list-no-nils, window-state-ignored-parameters)
20638 (window-state-get-1, window-state-get, window-state-put-list)
20639 (window-state-put-1, window-state-put-2, window-state-put):
20640 New functions.
20641 (display-buffer-normalize-options): Move special-display-p group
20642 after pop-up-frame group (Bug#8851) and (Bug#8856).
20643
20644 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20645
20646 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20647 groups (Bug#8776).
20648 (rx-submatch-n): New function.
20649 (rx): Document it.
20650
20651 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20652 (Bug#8768).
20653
20654 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20655
20656 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20657
20658 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20659 anytime existing face settings are present (Bug#8889).
20660
20661 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20662 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20663 Remove unused argument.
20664
20665 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20666
20667 * window.el (display-buffer-default-specifiers):
20668 Remove pop-up-frame. Add pop-up-window-min-height,
20669 pop-up-window-min-width, and another reuse-window specifier
20670 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20671 (display-buffer-normalize-specifiers-2):
20672 Handle split-height-threshold and split-width-threshold also when
20673 pop-up-windows is unset. Add a reuse-window specifier for the
20674 case popping up a new window fails.
20675 (special-display-popup-frame): Remove double quoting.
20676 (display-buffer-normalize-specifiers-1): Fix thinko.
20677
20678 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20679
20680 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20681 according to comint-completion-addsuffix.
20682
20683 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20684 (pcomplete-suffix-list): Mark as obsolete.
20685 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20686 pcomplete-seen in the closure.
20687 (pcomplete-comint-setup): Setup completion-at-point as well.
20688 (pcomplete--entries): New function.
20689 (pcomplete--env-regexp): New var.
20690 (pcomplete-entries): Rewrite to work with partial-completion and
20691 without relying on pcomplete-suffix-list.
20692 (pcomplete-pare-list): Remove, unused.
20693
20694 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20695
20696 * window.el (display-buffer-alist): Set pop-up-window-min-height
20697 and pop-up-window-min-width in default value. Reported by
20698 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20699 other-window-means-other-frame.
20700 (display-buffer-macro-specifiers): Comment out entry for
20701 other-window specifier.
20702 (display-buffer-other-window-means-other-frame): New function.
20703 (display-buffer-normalize-specifiers-1): New arguments
20704 buffer-name and label. Treat other-window case specially.
20705 (display-buffer-normalize-specifiers-2): Treat other-window case
20706 specially.
20707 (display-buffer-normalize-specifiers-3): New function.
20708 (display-buffer-normalize-specifiers):
20709 Call display-buffer-normalize-specifiers-3.
20710
20711 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20712
20713 * window.el (same-window-p): Fix two typos introduced when
20714 adding with-no-warnings.
20715 (display-buffer-normalize-specifiers-1): Don't check
20716 pop-up-frames for 'unset initialization.
20717 (display-buffer-normalize-specifiers-2): Major rewrite using
20718 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20719 (pop-up-frames, display-buffer-reuse-frames)
20720 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20721 Suggested by David Engster <deng@randomsample.de>.
20722 (even-window-heights): Initialize to 'unset.
20723 (display-buffer-alist-set): Handle new 'unset initializations.
20724 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20725 other window case.
20726
20727 2011-06-16 Martin Rudalics <rudalics@gmx.at>
20728
20729 * window.el (display-buffer-normalize-specifiers-1):
20730 Respect current value of pop-up-frames for most reasonable values of
20731 second argument of display-buffer (Bug#8865).
20732 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20733 (switch-to-buffer-other-window-same-frame)
20734 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20735 Adams (Bug#8875).
20736 (display-buffer): Don't check noninteractive when calling
20737 display-buffer-pop-up-frame.
20738 (display-buffer-pop-up-frame): Never pop up a frame in
20739 noninteractive mode (Bug#8857).
20740 (enlarge-window, shrink-window): Don't report an error when the
20741 window can't be resized as requested (Bug#8862).
20742
20743 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20744
20745 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20746
20747 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20748
20749 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20750
20751 2011-06-15 Alan Mackenzie <acm@muc.de>
20752
20753 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20754 for declarators, disable knr checking to speed up for normal files.
20755 2: Refactor, replacing a sequence of nested if forms by a cond form.
20756
20757 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20758
20759 * net/network-stream.el (open-network-stream): Add the keyword
20760 :always-query-capabilities for the case where you want to force a
20761 `plain' network connection, but the protocol still requires the
20762 capabilitiy command (i.e., SMTP and EHLO).
20763
20764 * subr.el (process-live-p): Rename from `process-alive-p' for
20765 consistency with other `-live-p' functions.
20766
20767 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20768
20769 * window.el (same-window-buffer-names, same-window-regexps)
20770 (special-display-frame-alist, special-display-popup-frame)
20771 (special-display-function, special-display-buffer-names)
20772 (special-display-regexps, pop-up-frame-alist)
20773 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20774 (pop-up-windows, split-window-preferred-function)
20775 (split-height-threshold, split-width-threshold, even-window-heights)
20776 (display-buffer-mark-dedicated): Don't encourage the use of
20777 display-buffer-alist from Elisp code.
20778
20779 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20780
20781 * progmodes/python.el (python-mode): Derive from prog-mode.
20782 * progmodes/ps-mode.el (ps-mode):
20783 * progmodes/mixal-mode.el (mixal-mode):
20784 * progmodes/cfengine.el (cfengine-mode):
20785 * progmodes/ld-script.el (ld-script-mode): Likewise.
20786
20787 2011-06-15 Martin Rudalics <rudalics@gmx.at>
20788
20789 * window.el (display-buffer-alist): Trim default value to avoid
20790 popping up a new frame (Bug#8857) or reusing an arbitrary window
20791 on another frame.
20792 (display-buffer): Do not fall back on popping up a new frame in
20793 batch mode (Bug#8857).
20794
20795 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
20796
20797 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20798 (custom-theme-summary): New function.
20799 (customize-themes): Use it.
20800
20801 2011-06-13 Glenn Morris <rgm@gnu.org>
20802
20803 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20804
20805 2011-06-13 Martin Rudalics <rudalics@gmx.at>
20806
20807 * help.el (help-window): Remove variable.
20808 (help-window-point-marker, temp-buffer-max-height)
20809 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20810 (help-print-return-message): Don't set help-window.
20811 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20812 (help-window-setup-finish): Remove.
20813 (help-window-display-message, help-window-setup)
20814 (with-help-window): Major rewrite based on new
20815 display-buffer-window variable.
20816
20817 * help-mode.el (help-mode-finish): Remove help-window related
20818 code.
20819
20820 * view.el (view-exits-all-viewing-windows): Remove reference to
20821 view-return-to-alist in doc-string.
20822 (view-return-to-alist): Make obsolete.
20823 (view-buffer): Call pop-to-buffer-same-window and remove
20824 undo-window code.
20825 (view-buffer-other-window): Call pop-to-buffer-other-window and
20826 simplify code. Ignore second argument.
20827 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20828 simplify code. Ignore second argument.
20829 (view-return-to-alist-update): Make obsolete.
20830 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20831 Rewrite using quit-restore window parameters.
20832 (view-mode-exit): Rename second argument to EXIT-ONLY.
20833 Rewrite using quit-restore-window.
20834 (View-exit, View-exit-and-edit, View-leave, View-quit)
20835 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20836 appropriate arguments.
20837 (view-end-message): Use quit-restore window parameter.
20838
20839 * window.el (display-buffer-function): Rewrite doc-string.
20840 (display-buffer-window, display-buffer-alist): New variables.
20841 (display-buffer-split-specifiers)
20842 (display-buffer-side-specifiers)
20843 (display-buffer-macro-specifiers): New constants.
20844 (display-buffer-even-window-sizes, display-buffer-set-height)
20845 (display-buffer-set-width, display-buffer-select-window)
20846 (display-buffer-in-window, display-buffer-reuse-window)
20847 (display-buffer-split-window-1, display-buffer-split-window)
20848 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20849 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20850 (display-buffer-in-side-window, normalize-buffer-to-display)
20851 (display-buffer-normalize-specifiers-1)
20852 (display-buffer-normalize-specifiers-2)
20853 (display-buffer-normalize-specifiers, display-buffer-frame):
20854 New functions.
20855 (display-buffer): Major rewrite.
20856 (display-buffer-other-window, display-buffer-other-frame)
20857 (pop-to-buffer, switch-to-buffer-other-window)
20858 (switch-to-buffer-other-frame): Rewrite.
20859 (display-buffer-same-window, display-buffer-same-frame)
20860 (display-buffer-same-frame-other-window)
20861 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20862 (pop-to-buffer-other-window)
20863 (pop-to-buffer-same-frame-other-window)
20864 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20865 (switch-to-buffer-other-window-same-frame): New functions.
20866 (same-window-p, special-display-p): Rewrite disabling warnings.
20867 Make obsolete.
20868 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20869 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20870 Make obsolete
20871 (same-window-buffer-names, same-window-regexps)
20872 (special-display-frame-alist, special-display-popup-frame)
20873 (special-display-function, special-display-buffer-names)
20874 (special-display-regexps, pop-up-frame-alist)
20875 (pop-up-frame-function, split-window-preferred-function)
20876 (split-height-threshold, split-width-threshold)
20877 (even-window-heights): Make obsolete.
20878
20879 2011-06-12 Glenn Morris <rgm@gnu.org>
20880
20881 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
20882 Misc simplifications.
20883
20884 2011-06-12 Martin Rudalics <rudalics@gmx.at>
20885
20886 * window.el (window-safely-shrinkable-p): Restore function which
20887 was inadvertently removed in change from 2011-06-11. Declare as
20888 obsolete.
20889
20890 * calendar/calendar.el (calendar-generate-window):
20891 Use window-iso-combined-p instead of combination of one-window-p and
20892 window-safely-shrinkable-p.
20893
20894 2011-06-12 Glenn Morris <rgm@gnu.org>
20895
20896 * progmodes/fortran.el (fortran-mode-syntax-table):
20897 * progmodes/f90.el (f90-mode-syntax-table):
20898 Set % to punctuation. (Bug#8820)
20899 (f90-find-tag-default): Remove, no longer needed.
20900
20901 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20902
20903 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20904
20905 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
20906
20907 * image.el (image-animated-p): Return animation delay in seconds.
20908 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20909 (image-animate-timeout): Remove DELAY argument. Don't assume
20910 every subimage has the same delay; get it from image-animated-p.
20911 (image-animate): Caller changed.
20912
20913 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
20914
20915 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20916 to ignored backtrace functions.
20917
20918 2011-06-11 Glenn Morris <rgm@gnu.org>
20919
20920 * calendar/appt.el (appt-disp-window-function): Doc fix.
20921 (appt-check): Handle overlapping appointments. (Bug#8337)
20922
20923 2011-06-11 Martin Rudalics <rudalics@gmx.at>
20924
20925 * window.el (window-tree-1, window-tree): New functions, moving
20926 the latter to window.el.
20927 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20928 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20929 (bw-refresh-edges): Remove.
20930 (balance-windows-1, balance-windows-2): New functions.
20931 (balance-windows): Rewrite in terms of window tree functions,
20932 balance-windows-1 and balance-windows-2.
20933 (bw-adjust-window): Remove.
20934 (balance-windows-area-adjust): New function with functionality of
20935 bw-adjust-window but using resize-window.
20936 (set-window-text-height): Rewrite doc-string.
20937 Use normalize-live-window and resize-window.
20938 (enlarge-window-horizontally, shrink-window-horizontally):
20939 Rename argument to DELTA.
20940 (window-buffer-height): New function.
20941 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20942 Rewrite using new window resize routines.
20943 (kill-buffer-and-window, mouse-autoselect-window-select):
20944 Use ignore-errors instead of condition-case.
20945 (quit-window): Call delete-frame instead of delete-windows-on
20946 for the only buffer on frame.
20947
20948 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20949
20950 * loadup.el (top-level): Load window before files for the sake
20951 of replace-buffer-in-windows.
20952
20953 * files.el (read-buffer-to-switch)
20954 (switch-to-buffer-other-window)
20955 (switch-to-buffer-other-frame, display-buffer-other-frame):
20956 Move to window.el.
20957
20958 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20959 (previous-buffer): Move to window.el.
20960
20961 * bindings.el (unbury-buffer): Move to window.el.
20962
20963 * window.el (delete-other-windows-vertically): Move after
20964 definition of delete-other-windows.
20965 (other-window, delete-windows-on, replace-buffer-in-windows):
20966 Move here from window.c.
20967 (record-window-buffer, unrecord-window-buffer)
20968 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20969 (switch-to-next-buffer): New functions.
20970 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20971 from simple.el. Call switch-to-next-buffer.
20972 (previous-buffer): Move here from simple.el.
20973 Call switch-to-prev-buffer.
20974 (bury-buffer): Move here from buffer.c. Switch to previous
20975 buffer when window cannot be deleted.
20976 (unbury-buffer): Move here from bindings.el.
20977 (ctl-x-map): Move binding for other-window from window.c to
20978 here.
20979 (read-buffer-to-switch, switch-to-buffer-other-window)
20980 (switch-to-buffer-other-frame): Move here from files.el.
20981 (normalize-buffer-to-switch-to): New functions.
20982 (switch-to-buffer): Move here from buffer.c.
20983 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
20984
20985 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20986
20987 * window.el (window-min-height, window-min-width): Move here
20988 from window.c. Add defcustoms and rewrite doc-strings.
20989 (resize-mini-window, resize-window): New functions.
20990 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20991 Move here from window.c.
20992 (maximize-window, minimize-window): New functions.
20993 (delete-window, delete-other-windows, split-window): Move here
20994 from window.c.
20995 (window-split-min-size): New function.
20996 (split-window-keep-point): Mention split-window-above-each-other
20997 instead of split-window-vertically.
20998 (split-window-above-each-other, split-window-vertically):
20999 Rename split-window-vertically to split-window-above-each-other
21000 and provide defalias for old definition.
21001 (split-window-side-by-side, split-window-horizontally):
21002 Rename split-window-horizontally to split-window-side-by-side
21003 and provide defalias for the old definition.
21004 (ctl-x-map): Move bindings for delete-window,
21005 delete-other-windows and enlarge-window here from window.c.
21006 Replace bindings for split-window-vertically and
21007 split-window-horizontally by bindings for
21008 split-window-above-each-other and split-window-side-by-side.
21009
21010 * cus-start.el (all): Remove entries for window-min-height and
21011 window-min-width. Add entries for window-splits and
21012 window-nest.
21013
21014 2011-06-09 Glenn Morris <rgm@gnu.org>
21015
21016 * calendar/appt.el (appt-mode-line): New function.
21017 (appt-check, appt-disp-window): Use it.
21018
21019 * files.el (hack-one-local-variable-eval-safep):
21020 Allow minor-modes with explicit +/-1 arguments.
21021
21022 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21023
21024 * term/xterm.el (xterm): Add defgroup.
21025 (xterm-extra-capabilities): Add defcustom to supply known xterm
21026 capabilities, skip querying them, or query them (default).
21027 (terminal-init-xterm): Use it.
21028 (terminal-init-xterm-modify-other-keys): New function to set up
21029 modifyOtherKeys support to simplify `terminal-init-xterm'.
21030
21031 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21032
21033 * window.el (resize-window-reset, resize-window-reset-1)
21034 (resize-subwindows-skip-p, resize-subwindows-normal)
21035 (resize-subwindows, resize-other-windows, resize-this-window)
21036 (resize-root-window, resize-root-window-vertically)
21037 (window-deletable-p, window-or-subwindow-p)
21038 (frame-root-window-p): New functions.
21039
21040 2011-06-09 Glenn Morris <rgm@gnu.org>
21041
21042 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21043 (ange-ftp-get-files): Use it.
21044
21045 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21046
21047 * mail/sendmail.el (mail-recover-1, mail-recover):
21048 * files.el (recover-file, recover-session):
21049 Handle dired-listing-switches not being just a single short option.
21050
21051 2011-06-09 Glenn Morris <rgm@gnu.org>
21052
21053 * calendar/appt.el (appt-display-message, appt-disp-window):
21054 Handle lists of appointments.
21055
21056 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21057
21058 * window.el (one-window-p): Move down in code.
21059 Rewrite doc-string.
21060 (window-current-scroll-bars): Rewrite doc-string.
21061 Normalize live window argument.
21062 (walk-windows, get-window-with-predicate, count-windows):
21063 Rewrite doc-string. Use window-list-1.
21064 (window-in-direction-2, window-in-direction, get-mru-window):
21065 New functions.
21066
21067 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21068
21069 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21070 Doc fix (Bug#8713).
21071
21072 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21073
21074 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21075
21076 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21077
21078 * loadhist.el (unload-feature-special-hooks):
21079 Add `comint-output-filter-functions'.
21080
21081 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21082
21083 * calendar/appt.el (appt-check): Move some initializations into the let.
21084
21085 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21086
21087 * window.el (window-height): Defalias to window-total-height.
21088 (window-width): Defalias to window-body-width.
21089
21090 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21091
21092 * image-mode.el (image-toggle-animation): New command.
21093 (image-mode-map): Bind it to RET.
21094 (image-mode): Update message.
21095 (image-toggle-display-image): Avoid a spurious cache flush.
21096 (image-transform-rotation): Doc fix.
21097 (image-transform-properties): Return quickly in the normal case.
21098 (image-animate-loop): Rename from image-animate-max-time.
21099
21100 * image.el (image-animate-max-time): Move to image-mode.el.
21101 (create-animated-image): Remove unnecessary function.
21102 (image-animate): Rename from image-animate-start. New arg.
21103 (image-animate-stop): Remove; just use image-animate-timer.
21104 (image-animate-timer): Use car-safe.
21105 (image-animate-timeout): Rename argument.
21106
21107 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21108
21109 * window.el (get-lru-window, get-largest-window): Move here from
21110 window.c. Rename first argument to ALL-FRAMES.
21111 Rephrase doc-strings.
21112 (get-buffer-window-list): Rewrite using window-list-1.
21113 Rephrase doc-string.
21114 (window-safe-min-height, window-safe-min-width): New constants.
21115 (window-size-ignore, window-min-size, window-min-size-1)
21116 (window-sizable, window-sizable-p, window-size-fixed-1)
21117 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21118 (window-max-delta-1, window-max-delta, window-resizable)
21119 (window-resizable-p, window-total-height, window-total-width)
21120 (window-body-width): New functions.
21121 (window-full-height-p, window-full-width-p): Rewrite using
21122 window-total-size.
21123 (window-body-height): Rewrite using window-body-size.
21124
21125 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21126
21127 * window.el (window-right, window-left, window-child)
21128 (window-child-count, window-last-child, window-any-p)
21129 (normalize-live-buffer, normalize-live-frame)
21130 (normalize-any-window, normalize-live-window)
21131 (window-iso-combination-p, window-iso-combined-p)
21132 (window-iso-combinations)
21133 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21134 (windows-with-parameter, window-with-parameter)
21135 (window-atom-root, make-window-atom, window-atom-check-1)
21136 (window-atom-check, window-side-check, window-check):
21137 New functions.
21138 (ignore-window-parameters, window-sides, window-sides-vertical)
21139 (window-sides-slots): New variables.
21140 (window-size-fixed): Move down in code. Minor doc-string fix.
21141
21142 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21143
21144 * comint.el (comint-dynamic-complete-as-filename)
21145 (comint-dynamic-complete-filename): Correctly call
21146 completion-in-region.
21147
21148 2011-06-05 Deniz Dogan <deniz@dogan.se>
21149
21150 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21151 in last change.
21152
21153 2011-06-05 Deniz Dogan <deniz@dogan.se>
21154
21155 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21156 (rcirc): Use it to prompt for encryption.
21157
21158 2011-06-05 Roland Winkler <winkler@gnu.org>
21159
21160 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21161 (bibtex-search-entries): New command bound to C-c C-a.
21162 (bibtex-display-entries): New function.
21163
21164 2011-06-05 Roland Winkler <winkler@gnu.org>
21165
21166 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21167 (bibtex-insert-kill): After yanking insert newline if necessary.
21168 (bibtex-initialize): Call bibtex-string-files-init only once.
21169 (bibtex-mode): Do not call easy-menu-add.
21170 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21171 (bibtex-yank): Set arg properly if nil.
21172
21173 2011-06-05 Roland Winkler <winkler@gnu.org>
21174
21175 * textmodes/bibtex.el (bibtex-search-entry-globally):
21176 New variable.
21177 (bibtex-search-entry): Use it.
21178
21179 2011-06-05 Roland Winkler <winkler@gnu.org>
21180
21181 * textmodes/bibtex.el (bibtex-entry-format): New option
21182 sort-fields.
21183 (bibtex-format-entry, bibtex-reformat): Honor this option.
21184 (bibtex-parse-entry): Return fields in proper order.
21185
21186 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21187
21188 * doc-view.el (doc-view-remove-if): Move computation of result out
21189 of `dolist' to silence misleading lexical-binding warning.
21190
21191 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21192
21193 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21194 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21195
21196 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21197
21198 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21199 "SunOS 5.10".
21200
21201 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21202
21203 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21204 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21205 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21206 (tramp-parse-putty):
21207 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21208 (tramp-completion-function-alist-ssh)
21209 (tramp-completion-function-alist-telnet)
21210 (tramp-completion-function-alist-su)
21211 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21212 cookie.
21213
21214 * net/tramp-ftp.el:
21215 * net/tramp-sh.el:
21216 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21217 load "tramp.el" `tramp-set-completion-function'.
21218
21219 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21220
21221 * shell.el: Require and use pcomplete.
21222 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21223 (shell-completion-vars): Set pcomplete-default-completion-function.
21224
21225 2011-06-04 Deniz Dogan <deniz@dogan.se>
21226
21227 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21228 `memq' (Bug#8799).
21229
21230 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21231
21232 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21233
21234 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21235
21236 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21237 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21238 * vc/log-view.el (log-view-beginning-of-defun):
21239 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21240 (smerge-refine-forward, smerge-refine-chopup-region):
21241 Silence warning for unused `dotimes' counter variables.
21242
21243 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21244
21245 * net/tramp.el (tramp-with-progress-reporter): Rename from
21246 with-progress-reporter. Use `declare'.
21247 * net/tramp-smb.el:
21248 * net/tramp-sh.el:
21249 * net/tramp-gvfs.el: Update all uses.
21250
21251 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21252
21253 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21254 buffer isn't killed before making it current.
21255
21256 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21257
21258 Silence various byte-compiler warnings.
21259 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21260 `access-type' and new obsolescence format.
21261 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21262 new format.
21263 (byte-compile-check-variable): New `access-type' argument.
21264 Only warn if the access-type is obsolete.
21265 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21266 (byte-compile-variable-set): Adjust callers.
21267 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21268 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21269 setting it as obsolete.
21270 * simple.el (minibuffer-completing-symbol):
21271 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21272 access as obsolete.
21273 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21274 obsolete yet.
21275 * international/quail.el (quail-mouse-choose-completion): Remove unused
21276 code referring to obsolete var.
21277 (quail-choose-completion-string): Remove.
21278 * server.el (server-clients-with, server-kill-buffer-query-function)
21279 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21280 * proced.el (proced-send-signal):
21281 * emacs-lisp/lisp.el (lisp-complete-symbol):
21282 Replace completion-annotate-function with completion-extra-properties.
21283
21284 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21285
21286 * simple.el (goto-line): Use read-number.
21287 (overriding-map-is-bound): Remove.
21288 (saved-overriding-map): Change default.
21289 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21290 Take the map as argument.
21291 (universal-argument, negative-argument, digit-argument): Use it.
21292 (restore-overriding-map): Adjust.
21293 (do-auto-fill): Use fill-forward-paragraph.
21294 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21295
21296 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21297 (minibuffer-inactive-mode): New major mode.
21298 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21299 the *Messages* buffer" hack.
21300 (mouse-popup-menubar): Don't burp if the event is a normal key.
21301
21302 Miscellaneous tweaks.
21303 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21304 lexical scoping as in subr.el's dolist and dotimes.
21305 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21306 Silence compiler warning.
21307 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21308 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21309 * international/ccl.el (ccl-compile): Trivial simplification.
21310 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21311 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21312 `printflag' argument.
21313 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21314 Purecopy the whole obsolescence data.
21315
21316 2011-06-01 Leo Liu <sdl.web@gmail.com>
21317
21318 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21319 improve doc-string as suggested by Marco Pessotto
21320 <melmothx@gmail.com>.
21321 (rcirc-print): Fix last change.
21322
21323 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21324
21325 * minibuffer.el (complete-with-action): Return nil for the metadata and
21326 boundaries of non-functional tables.
21327 (completion-table-dynamic): Return nil for the metadata.
21328 (completion-table-with-terminator): Add default case, using
21329 complete-with-action.
21330 (completion--metadata): New function.
21331 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21332 to try and avoid pathological performance problems.
21333 (completion--embedded-envvar-table): Return `category' metadata.
21334
21335 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21336
21337 * subr.el (process-alive-p): New tiny convenience function.
21338
21339 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21340
21341 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21342 content but also its previous major mode.
21343
21344 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21345
21346 * emacs-lisp/debug.el (debug): Restore the previous content of the
21347 *Backtrace* buffer when we exit with C-M-c.
21348
21349 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21350
21351 * minibuffer.el: Add metadata method to completion tables.
21352 (completion-category-overrides): New defcustom.
21353 (completion-metadata, completion--field-metadata)
21354 (completion-metadata-get, completion--styles)
21355 (completion--cycle-threshold): New functions.
21356 (completion-try-completion, completion-all-completions):
21357 Add `metadata' argument to choose completion-styles.
21358 (completion--do-completion): Use metadata to choose cycling.
21359 (completion-all-sorted-completions): Use metadata for sorting.
21360 Remove :completion-cycle-penalty which is not needed any more.
21361 (completion--try-word-completion): Add `metadata' argument.
21362 (minibuffer-completion-help): Check metadata for annotation function
21363 and sorting.
21364 (completion-file-name-table): Return `category' metadata.
21365 (minibuffer-completing-file-name): Make obsolete.
21366 * simple.el (minibuffer-completing-symbol): Make obsolete.
21367 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21368 completion-try-completion.
21369
21370 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21371
21372 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21373
21374 2011-05-30 Leo Liu <sdl.web@gmail.com>
21375
21376 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21377 (rcirc-print): Decode all incoming messages (bug#8744).
21378 (rcirc-decode-coding-system): Allow value nil for automatic coding
21379 system detection.
21380
21381 2011-06-01 Glenn Morris <rgm@gnu.org>
21382
21383 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21384
21385 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21386
21387 * image.el (image-animate-max-time): Allow nil and t values.
21388 Default to nil.
21389 (create-animated-image): Doc fix.
21390 (image-animate-start): Remove second arg; just use
21391 image-animate-max-time.
21392 (image-animate-timeout): Doc fix. Args changed.
21393
21394 * image-mode.el (image-toggle-display-image): Ensure that the
21395 image spec passed to the animate timer is the same object as in
21396 the buffer's display property (Bug#6981).
21397 (image-transform-properties): Doc fix.
21398
21399 * image.el (image-animate-max-time): Default to nil.
21400
21401 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21402
21403 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21404 entire buffer list (Bug#8184).
21405
21406 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21407
21408 * image.el (imagemagick-types-inhibit)
21409 (imagemagick-register-types): Doc fix.
21410
21411 2011-05-29 Deniz Dogan <deniz@dogan.se>
21412
21413 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21414 default.
21415
21416 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21417
21418 * select.el: Don't perform clipboard-manager saving in hooks;
21419 leave the hooks empty.
21420
21421 2011-05-28 Leo Liu <sdl.web@gmail.com>
21422
21423 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21424 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21425 (occur-edit-mode): New major mode (Bug#8463).
21426 (occur-after-change-function): New function.
21427 (occur-engine): Give Occur tags a read-only property.
21428
21429 2011-05-28 Kevin Ryde <user42@zip.com.au>
21430
21431 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21432
21433 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21434
21435 * bindings.el (help-echo): Make the initial non-indicator dash
21436 empty on graphical terminals (Bug#7295).
21437
21438 * files.el (auto-mode-alist): Move config rule after the
21439 in-stripping one (Bug#8547).
21440
21441 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21442
21443 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21444 setting (Bug#8740).
21445
21446 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21447
21448 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21449 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21450 (Bug#8539).
21451
21452 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21453
21454 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21455
21456 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21457
21458 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21459 (hs-hide-block-at-point, hs-find-block-beginning)
21460 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21461 (Bug#8279).
21462
21463 2011-05-28 Glenn Morris <rgm@gnu.org>
21464
21465 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21466
21467 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21468
21469 * help-fns.el (describe-function-1): If the function is a derived
21470 major mode, print the parent mode.
21471
21472 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21473 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21474
21475 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21476
21477 * minibuffer.el (completion--capf-wrapper): Check applicability before
21478 returning non-nil for non-exclusive completion data.
21479 * progmodes/etags.el (tags-completion-at-point-function):
21480 * info-look.el (info-lookup-completions-at-point): Mark as
21481 non-exclusive.
21482 (info-complete): Adjust accordingly.
21483
21484 * info-look.el: Convert to lexical-binding and completion-at-point.
21485 (info-lookup-completions-at-point): New function.
21486 (info-complete): Use it and completion-in-region.
21487
21488 2011-05-28 Drew Adams <drew.adams@oracle.com>
21489
21490 * isearch.el: Let M-e start with point at the first mismatched char.
21491 (isearch-fail-pos): New function.
21492 (isearch-edit-string): Use it.
21493
21494 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21495
21496 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21497
21498 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21499
21500 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21501 traversal functions for avl-trees.
21502 (avl-tree--stack): New struct.
21503 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21504 (avl-tree-enter): Add optional `updatefun' arg.
21505 (avl-tree--do-enter): Add optional `updatefun' arg.
21506 Change return value.
21507 (avl-tree-delete): Add optional `test' and `nilflag' args.
21508 (avl-tree--do-delete): Add `test' and `nilflag' args.
21509 Change return value.
21510 (avl-tree-member): Add optional `nilflag'
21511 (avl-tree-member-p): New function.
21512 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21513 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21514 (avl-tree-stack-empty-p): New functions.
21515
21516 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21517 avl-tree--del-balance1 and make it work both ways.
21518 (avl-tree--del-balance2): Remove.
21519 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21520 make it work both ways.
21521 (avl-tree--enter-balance2): Remove.
21522 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21523 New macros.
21524 (avl-tree--mapc, avl-tree-map): Add direction argument.
21525
21526 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21527
21528 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21529
21530 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21531
21532 * select.el: Support clipboard managers with built-in function
21533 x-clipboard-manager-save, via delete-frame-functions and
21534 kill-emacs-hook.
21535 (xselect-convert-to-targets): Add MULTIPLE target to list.
21536 (xselect-convert-to-save-targets): New function.
21537
21538 2011-05-27 Kenichi Handa <handa@m17n.org>
21539
21540 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21541 let-binding rfc2047-encode-encoded-words to nil.
21542
21543 2011-05-27 Glenn Morris <rgm@gnu.org>
21544
21545 * mail/emacsbug.el: Don't require url-util.
21546
21547 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21548
21549 * files.el (set-auto-mode):
21550 Also respect mode: entries at the end of the file. (Bug#8586)
21551
21552 2011-05-26 Glenn Morris <rgm@gnu.org>
21553
21554 * files.el (hack-local-variables-prop-line, hack-local-variables):
21555 Downcase mode names, as seems to be traditional.
21556 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21557
21558 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21559 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21560
21561 2011-05-25 Julien Danjou <julien@danjou.info>
21562
21563 * textmodes/rst.el (rst-define-level-faces): Do not define face
21564 symbol if it is already defined.
21565
21566 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21567
21568 * play/5x5.el (5x5-new-game, 5x5-randomize):
21569 Reset 5x5-solver-output to nil when a new grid is cast.
21570 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21571 these debugging traces, as defmacro breaks the compiled code.
21572
21573 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21574
21575 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21576
21577 2011-05-24 Leo Liu <sdl.web@gmail.com>
21578
21579 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21580 (vc-bzr-sha1): Adapt.
21581
21582 * sha1.el: Remove. Function `sha1' is now builtin.
21583
21584 * bindings.el: Provide sha1 feature.
21585
21586 2011-05-24 Kenichi Handa <handa@m17n.org>
21587
21588 * mail/sendmail.el: Require `rfc2047'.
21589 (mail-insert-from-field): Do not perform RFC2047 encoding.
21590 (mail-encode-header): New function.
21591 (sendmail-send-it): Set buffer-file-coding-system of the work
21592 buffer to the return value of select-message-coding-system.
21593 Call mail-encode-header.
21594
21595 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21596
21597 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21598
21599 * mail/supercite.el (sc-default-cite-frame):
21600 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21601
21602 2011-05-24 Glenn Morris <rgm@gnu.org>
21603
21604 * progmodes/python.el (brm-menu): Declare.
21605
21606 * emulation/viper.el (viper-set-hooks): Declare.
21607
21608 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21609 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21610 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21611 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21612 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21613 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21614
21615 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21616
21617 Add an :exit-function for completion-at-point.
21618
21619 * minibuffer.el (completion--done): New fun.
21620 (completion--do-completion): Use it. New arg `expect-exact'.
21621 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21622 since completion--do-completion does it for us now.
21623 (minibuffer-force-complete): Use completion--done and
21624 completion--replace. Handle sole-completion case with more care.
21625 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21626 (completion-extra-properties): New var.
21627 (completion-annotate-function): Make obsolete.
21628 (minibuffer-completion-help): Adjust accordingly.
21629 Use completion-list-insert-choice-function.
21630 (completion-at-point, completion-help-at-point):
21631 Bind completion-extra-properties.
21632 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21633 * simple.el (completion-list-insert-choice-function): New var.
21634 (completion-setup-function): Preserve it.
21635 (choose-completion): Pay attention to it, shuffle the code a bit.
21636 (choose-completion-string): New arg `insert-function'.
21637
21638 * textmodes/bibtex.el: Convert to lexical binding.
21639 (bibtex-mode-map): Use completion-at-point.
21640 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21641 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21642 (bibtex-complete): Define as obsolete alias.
21643 (bibtex-complete-internal): Remove.
21644 (bibtex-format-entry): Remove unused sub-group in regexp.
21645 * shell.el (shell--command-completion-data)
21646 (shell-environment-variable-completion):
21647 * pcomplete.el (pcomplete-completions-at-point):
21648 * comint.el (comint--complete-file-name-data): Use :exit-function
21649 instead of completion-table-with-terminator so it also works for
21650 choose-completion.
21651
21652 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21653
21654 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21655
21656 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21657 (bug#8710).
21658
21659 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21660
21661 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21662
21663 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21664 customization variable and implement: If non-nil, auto-fill will
21665 be inhibited while on topic's header line.
21666
21667 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21668
21669 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21670 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21671 always have a solution in grid size = 5 cases.
21672 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21673 (5x5-solver-output, 5x5-log-buffer): New vars.
21674 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21675 Make these variables buffer local to achieve 5x5 multi-session-ness.
21676 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21677 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21678 (5x5-solve-suggest): New funs.
21679 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21680 randomize a grid so that we ensure that there is always a solution.
21681 (5x5-make-random-grid): Allow other movement than flipping.
21682
21683 2011-05-23 Kevin Ryde <user42@zip.com.au>
21684
21685 * emacs-lisp/advice.el (ad-read-advised-function):
21686 Use `function-called-at-point' as the default, if it has
21687 advice and passes PREDICATE.
21688
21689 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21690
21691 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21692 byte-compile-lambda if it's actually a lambda.
21693
21694 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21695 Fix function quoting. Use backquote better.
21696
21697 2011-05-22 Yuanle Song <sylecn@gmail.com>
21698
21699 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21700 matching (Bug#8516).
21701
21702 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21703
21704 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21705 different face (Bug#8178).
21706
21707 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21708
21709 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21710 defface (Bug#8144).
21711
21712 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21713
21714 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21715 funcall as well (bug#8712). Warn when performing those conversions.
21716 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21717
21718 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21719
21720 2011-05-22 Glenn Morris <rgm@gnu.org>
21721
21722 * files.el (hack-local-variables-prop-line): Small simplifications.
21723 (hack-local-variables, hack-local-variables-prop-line):
21724 If MODE-ONLY, return the mode, rather than just `t'.
21725
21726 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21727
21728 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21729
21730 2011-05-21 Glenn Morris <rgm@gnu.org>
21731
21732 * files.el (hack-local-variables-prop-line, hack-local-variables):
21733 If only interested in the mode, don't bother doing the other stuff.
21734
21735 * image-mode.el (image-after-revert-hook):
21736 Redraw all frames on which the image is visible. (Bug#8567)
21737
21738 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21739
21740 * wid-edit.el (widget-checklist-match-inline):
21741 Fix 2011-04-19 change. (Bug#8649)
21742
21743 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21744
21745 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21746 Also allow singlespace after single-letter capitals followed by a dot.
21747
21748 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21749 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21750
21751 2011-05-20 Nix <nix@esperi.org.uk>
21752
21753 * files.el (basic-save-buffer-2):
21754 Fix handling of break-hardlink-on-save with non-existent files.
21755
21756 2011-05-19 Deniz Dogan <deniz@dogan.se>
21757
21758 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21759 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21760
21761 2011-05-19 Glenn Morris <rgm@gnu.org>
21762
21763 * progmodes/f90.el (f90-type-def-re):
21764 Handle "type, bind(c)". (Bug#8691)
21765
21766 * emacs-lisp/autoload.el (batch-update-autoloads):
21767 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21768
21769 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
21770
21771 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21772 property for the correct connection in case of multihops.
21773
21774 2011-05-18 Glenn Morris <rgm@gnu.org>
21775
21776 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21777 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21778
21779 Rationalize calendar handling of day and month abbrev-arrays.
21780 * calendar/calendar.el (calendar-customized-p): New function.
21781 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21782 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21783 Add :set function.
21784 (calendar-abbrev-length, calendar-day-abbrev-array)
21785 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21786 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21787 Elements may no longer be nil.
21788 (calendar-day-name, calendar-month-name):
21789 Update for changed nature of abbrev arrays.
21790 * calendar/diary-lib.el (diary-name-pattern):
21791 Update for changed nature of abbrev arrays.
21792 (diary-mark-entries-1): Update calendar-make-alist calls.
21793 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21794 * calendar/cal-html.el (cal-html-day-abbrev-array):
21795 Simply inherit from calendar-day-abbrev-array.
21796
21797 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21798
21799 * progmodes/grep.el (grep-mode): Disable default
21800 compilation-directory-matcher setting (bug#8684).
21801
21802 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
21803
21804 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21805 instead of "head" and "tail". There were problems with SunOS 5.9,
21806 and it performs better.
21807
21808 2011-05-17 Glenn Morris <rgm@gnu.org>
21809
21810 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21811
21812 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21813 Replace obsolete function.
21814
21815 * shell.el (pcomplete-parse-arguments-function): Declare.
21816
21817 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21818 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21819 (appt-check): Doc fixes.
21820 (appt-disp-window-function, appt-delete-window-function):
21821 Remove needless special case in custom :type.
21822 (appt-display-count): Default to 0, not nil.
21823 (appt-check): Reset appt-display-count to 0, not nil.
21824
21825 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
21826
21827 * progmodes/python.el (python-font-lock-keywords):
21828 Add the Python 3.X keyword "nonlocal" (bug#8639).
21829
21830 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21831
21832 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21833
21834 2011-05-16 Kevin Ryde <user42@zip.com.au>
21835
21836 * info-look.el (makefile-automake-mode): New setups, looking in
21837 automake manual, then makefile-mode.
21838 (makefile-mode): Remove automake manual, have it just in
21839 makefile-automake-mode since there's various things different or
21840 not relevant to plain make.
21841 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21842 believe a hypothetical automake-mode would go to makefile-mode,
21843 not the other way around.
21844
21845 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
21846
21847 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21848 hunk-end tags (Bug#8672).
21849
21850 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21851 vc-annotate-show-diff-revision-at-line (Bug#8671).
21852
21853 2011-05-14 Glenn Morris <rgm@gnu.org>
21854
21855 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21856 in the middle of an existing one with multiple authors. (Bug#8645)
21857 (change-log-font-lock-keywords): Also handle multiple author lines
21858 with leading tabs. (Bug#8644)
21859
21860 * calendar/appt.el (appt-check): Rename some local variables.
21861 Some simplification/reordering.
21862
21863 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21864 (feedmail-sendmail-f-doesnt-sell-me-out)
21865 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21866 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21867 (feedmail-queue-runner-message-sender): Set :version.
21868 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21869 (bbdb-dwim-net-address, vm-mail): Declare.
21870 (feedmail-binmail-gnulinuxish-template):
21871 Rename from feedmail-binmail-linuxish-template.
21872 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21873 Use insert-buffer-substring.
21874
21875 2011-05-14 Bill Carpenter <bill@carpenter.org>
21876
21877 * mail/feedmail.el (feedmail-patch-level): Increase.
21878 (feedmail-debug): New custom group.
21879 (feedmail-confirm-outgoing-timeout)
21880 (feedmail-sendmail-f-doesnt-sell-me-out)
21881 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21882 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21883 (feedmail-sender-line, feedmail-from-line)
21884 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
21885 (feedmail-spray-this-address)
21886 (feedmail-spray-address-fiddle-plex-list)
21887 (feedmail-queue-use-send-time-for-date)
21888 (feedmail-queue-use-send-time-for-message-id)
21889 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21890 (feedmail-buffer-eating-function):
21891 Doc fixes.
21892 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21893 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21894 (feedmail-message-action-scroll-down): New functions.
21895 (feedmail-queue-directory, feedmail-queue-draft-directory):
21896 Use expand-file-name.
21897 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21898 Remove C-v help entry.
21899 (feedmail-queue-buffer-file-name): New variable.
21900 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21901 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21902 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21903 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21904 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21905 (feedmail-message-action-toggle-spray)
21906 (feedmail-run-the-queue-no-prompts)
21907 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21908 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21909 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21910 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21911 (feedmail-envelope-deducer, feedmail-fiddle-from)
21912 (feedmail-fiddle-sender, feedmail-default-date-generator)
21913 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21914 (feedmail-fiddle-spray-address)
21915 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21916 (feedmail-fiddle-list-of-fiddle-plexes)
21917 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21918 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21919 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21920 Change default. Doc fix.
21921 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21922 (feedmail-binmail-linuxish-template): New constant.
21923 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21924 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21925 (feedmail-send-it): Add debug call.
21926 Use feedmail-queue-buffer-file-name, and
21927 feedmail-send-it-immediately-wrapper.
21928 (feedmail-message-action-send): Add debug call.
21929 Use feedmail-send-it-immediately-wrapper.
21930 (feedmail-queue-express-to-queue): Add debug call.
21931 Run feedmail-queue-express-hook.
21932 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21933 (feedmail-message-action-help-blat):
21934 Rename from feedmail-queue-send-edit-prompt-help-first.
21935 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21936 Check line-endings. Handle errors better.
21937 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21938 Doc fix. Add debug call.
21939 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21940 Use feedmail-queue-send-edit-prompt-inner.
21941 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21942 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21943 from feedmail-queue-send-edit-prompt.
21944 (feedmail-queue-send-edit-prompt-help)
21945 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21946 (feedmail-tidy-up-slug): Add debug call.
21947 Respect feedmail-queue-slug-suspect-regexp.
21948 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21949 (feedmail-dump-message-to-queue): Add debug call.
21950 Expand queue-directory.
21951 (feedmail-dump-message-to-queue): Change message slightly.
21952 Use feedmail-say-chatter.
21953 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21954 (feedmail-send-it-immediately-wrapper): New function.
21955 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21956 Insert empty string rather than newline. Handle full-frame case.
21957 Use catch/throw. Use feedmail-say-chatter.
21958 (feedmail-fiddle-from): Try mail-host-address.
21959 (feedmail-default-message-id-generator): Doc fix.
21960 Bind system-time-locale. Handle missing end.
21961 (feedmail-fiddle-x-mailer): Add debug call.
21962 Handle feedmail-x-mailer-line being nil.
21963 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21964 Add debug call. Use buffer-substring-no-properties.
21965 (feedmail-say-debug, feedmail-say-chatter): New functions.
21966 (feedmail-find-eoh): Give an explicit error.
21967
21968 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
21969
21970 * net/newst-treeview.el (newsticker-treeview-face): Change default
21971 family from helvetica to sans.
21972 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
21973 etc/images/newsticker.
21974
21975 * net/newst-reader.el (newsticker-feed-face): Change default
21976 family from helvetica to sans.
21977
21978 * net/newst-plainview.el (newsticker-new-item-face)
21979 (newsticker-old-item-face, newsticker-immortal-item-face)
21980 (newsticker-obsolete-item-face, newsticker-date-face)
21981 (newsticker-statistics-face): Change default family from
21982 helvetica to sans.
21983 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
21984 etc/images/newsticker.
21985
21986 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21987 (newsticker--process-auto-mark-filter-match): Tell user about
21988 auto-marking.
21989
21990 2011-05-13 Didier Verna <didier@xemacs.org>
21991
21992 Common Lisp indentation improvements on defmethod and lambda-lists.
21993 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21994 TODO entries.
21995 (lisp-lambda-list-keyword-parameter-indentation)
21996 (lisp-lambda-list-keyword-parameter-alignment)
21997 (lisp-lambda-list-keyword-alignment): New customizable user options.
21998 (lisp-indent-defun-method): Improve docstring.
21999 (extended-loop-p): Fix comment.
22000 (lisp-indent-lambda-list-keywords-regexp): New variable.
22001 (lisp-indent-lambda-list): New function.
22002 (lisp-indent-259): Use it.
22003 (lisp-indent-defmethod): Support for more than one
22004 method qualifier and properly indent methods lambda-lists.
22005 (defgeneric): Provide a missing common-lisp-indent-function property.
22006
22007 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22008
22009 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22010 bounds for the empty string (bug#8667).
22011
22012 2011-05-13 Glenn Morris <rgm@gnu.org>
22013
22014 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22015
22016 * mail/sendmail.el (sendmail-program): Try executable-find first.
22017 (sendmail-send-it): `sendmail-program' cannot be unbound.
22018
22019 * calendar/appt.el (appt-make-list): Simplify.
22020 (appt-time-msg-list): Doc fix.
22021 (appt-check): Change mode-line message at the time of the appointment.
22022
22023 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22024
22025 * progmodes/ld-script.el (ld-script-keywords)
22026 (ld-script-builtins): Update keywords list.
22027
22028 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22029
22030 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22031
22032 * shell.el (shell-completion-vars): New function.
22033 (shell-mode):
22034 * simple.el (read-shell-command): Use it.
22035 (blink-matching-open): No need for " [...]" in minibuffer-message.
22036
22037 2011-05-12 Glenn Morris <rgm@gnu.org>
22038
22039 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22040 (appt-check): Simplify.
22041
22042 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22043
22044 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22045 literal "/dev/null".
22046
22047 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22048
22049 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22050 Fix typo.
22051
22052 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22053
22054 * progmodes/which-func.el (which-function):
22055 Use add-log-current-defun instead of add-log-current-defun-function,
22056 which might not be defined (Bug#8260).
22057
22058 2011-05-12 Glenn Morris <rgm@gnu.org>
22059
22060 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22061 Let byte-compile-initial-macro-environment always take precedence.
22062
22063 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22064
22065 * net/rcirc.el: Add support for SSL/TLS connections.
22066 (rcirc-server-alist): New field `encryption'.
22067 (rcirc): Check `encryption' settings.
22068 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22069 Merge make-local-variable into `set'.
22070 (rcirc--connection-open-p): New function.
22071 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22072 the process is not a network process (e.g. running gnutls-cli).
22073 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22074 Make rcirc-(en|de)code-coding-system local here.
22075 (rcirc-mode): Merge make-local-variable into `set'.
22076 (rcirc-parent-buffer): Make permanent buffer-local.
22077 (rcirc-multiline-minor-mode): Don't do it here.
22078 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22079 there's no server buffer.
22080
22081 2011-05-11 Glenn Morris <rgm@gnu.org>
22082
22083 * newcomment.el (comment-kill): Prefix "unused" local.
22084
22085 * term/w32console.el (get-screen-color): Declare.
22086
22087 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22088 Handle symbol elements of byte-compile-initial-macro-environment.
22089
22090 2011-05-10 Leo Liu <sdl.web@gmail.com>
22091
22092 * bookmark.el (bookmark-bmenu-mode-map):
22093 Bind bookmark-bmenu-search to `/'.
22094
22095 * mail/footnote.el: Convert to utf-8 encoding.
22096 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22097 (Footnote-unicode): New function.
22098 (footnote-style-alist): Add unicode style to the list.
22099 (footnote-style): Doc fix.
22100
22101 2011-05-10 Jim Meyering <meyering@redhat.com>
22102
22103 Fix doubled-word typos.
22104 * international/quail.el (quail-insert-kbd-layout): and and -> and
22105 * kermit.el: and and -> and
22106 * net/ldap.el (ldap-search-internal): to to -> to
22107 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22108 * progmodes/js.el (js-mode): and and -> and
22109 * textmodes/artist.el (artist-move-to-xy): at at -> at
22110 (artist-draw-region-trim-line-endings): if if -> if
22111 And Safetyc -> Safety.
22112 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22113
22114 2011-05-10 Glenn Morris <rgm@gnu.org>
22115 Stefan Monnier <monnier@iro.umontreal.ca>
22116
22117 * files.el (hack-one-local-variable-eval-safep):
22118 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22119
22120 2011-05-10 Glenn Morris <rgm@gnu.org>
22121
22122 * calendar/diary-lib.el (diary-list-entries-hook)
22123 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22124 (diary-nongregorian-marking-hook, diary-list-entries)
22125 (diary-include-other-diary-files, diary-mark-entries)
22126 (diary-mark-included-diary-files): Doc fixes.
22127
22128 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22129
22130 * misc.el: Require tabulated-list.el during compilation.
22131
22132 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22133
22134 * progmodes/compile.el (compilation-start):
22135 Run compilation-filter-hook for the async case too.
22136 (compilation-filter-hook): Doc fix.
22137
22138 2011-05-09 Deniz Dogan <deniz@dogan.se>
22139
22140 * wdired.el: Remove outdated installation comment. Fix usage
22141 comment.
22142
22143 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22144
22145 * misc.el: Implement new command `list-dynamic-libraries'.
22146 (list-dynamic-libraries--loaded-only-p): New variable.
22147 (list-dynamic-libraries--refresh): New function.
22148 (list-dynamic-libraries): New command.
22149
22150 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22151
22152 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22153 Fix the ant regexp to handle end-line and end-column info from jikes.
22154 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22155 higher priority to avoid clobbering by gnu.
22156
22157 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22158
22159 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22160 if the face has existing theme settings (Bug#8454).
22161
22162 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22163
22164 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22165 Only match variables declared via `my' or `our' (Bug#8261).
22166
22167 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22168 special file names `.' and `..' (Bug#8259).
22169
22170 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22171
22172 * progmodes/grep.el (grep-mode-font-lock-keywords):
22173 Remove buffer-changing entries.
22174 (grep-filter): New function.
22175 (grep-mode): Add it to compilation-filter-hook.
22176
22177 * progmodes/compile.el (compilation-filter-hook)
22178 (compilation-filter-start): New defvars.
22179 (compilation-filter): Call compilation-filter-hook prior to
22180 updating the process mark.
22181
22182 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22183
22184 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22185
22186 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22187
22188 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22189 mailclient-send-it even if window-system is nil. (Bug#8595)
22190
22191 * term/w32console.el (terminal-init-w32console):
22192 Call get-screen-color and use its output to set the frame
22193 background-mode. (Bug#8597)
22194
22195 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22196
22197 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22198 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22199 New functions.
22200 (defgeneric, eieio--defmethod): Use them.
22201 (eieio-defgeneric): Remove.
22202 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22203
22204 2011-05-07 Glenn Morris <rgm@gnu.org>
22205
22206 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22207 Use let rather than let*.
22208 (timeclock-find-discrep): Remove unused local.
22209
22210 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22211
22212 * calendar/appt.el (appt-time-msg-list): Doc fix.
22213
22214 2011-05-06 Noah Friedman <friedman@splode.com>
22215
22216 * apropos.el (apropos-print-doc): Only use
22217 emacs-lisp-docstring-fill-column when it is bound to an integer,
22218 per that variable's documentation.
22219
22220 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22221
22222 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22223 and warnings are not silently discarded (e.g. use -d instead of -P).
22224
22225 2011-05-06 Glenn Morris <rgm@gnu.org>
22226
22227 * calendar/appt.el (appt-message-warning-time): Doc fix.
22228 (appt-warning-time-regexp): New option.
22229 (appt-make-list): Respect appt-message-warning-time.
22230
22231 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22232 New options.
22233 (diary-add-to-list): Strip comments from the displayed string.
22234 (diary-mode): Set comment-start and comment-end.
22235
22236 * vc/diff-mode.el (smerge-refine-subst): Declare.
22237 (diff-refine-hunk): Don't require smerge-mode when compiling.
22238
22239 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22240
22241 * simple.el (list-processes): Return nil as the docstring says.
22242
22243 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22244
22245 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22246 to "".
22247 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22248 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22249 determining of binary transfer. (Bug#7383)
22250
22251 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22252
22253 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22254 Fix port computation bug. (Bug#8618)
22255
22256 2011-05-05 Glenn Morris <rgm@gnu.org>
22257
22258 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22259
22260 * simple.el (shell-dynamic-complete-functions)
22261 (comint-dynamic-complete-functions): Declare.
22262
22263 * net/network-stream.el (gnutls-negotiate):
22264 * simple.el (tabulated-list-print): Fix declarations.
22265
22266 * progmodes/gud.el (syntax-symbol, syntax-point):
22267 Remove unnecessary and incorrect declarations.
22268
22269 * emacs-lisp/check-declare.el (check-declare-scan):
22270 Handle byte-compile-initial-macro-environment in bytecomp.el.
22271
22272 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22273
22274 Fix earlier half-done eieio-defmethod change (bug#8338).
22275 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22276 Streamline and change calling convention.
22277 (defmethod): Adjust accordingly and simplify.
22278 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22279 new eieio--defmethod.
22280 (slot-boundp): Minor CSE simplification.
22281
22282 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22283
22284 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22285 (glasses-make-readable): Use glasses-separate-capital-groups.
22286
22287 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22288
22289 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22290 (warning-series): Doc fix.
22291 (display-warning): Don't try to create the buffer if we just found it.
22292
22293 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22294
22295 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22296 (autoload-find-generated-file): New function.
22297 (generate-file-autoloads): Bind generated-autoload-file to
22298 buffer-file-name.
22299 (update-file-autoloads, update-directory-autoloads):
22300 Use autoload-find-generated-file. If called interactively, prompt for
22301 output file (Bug#7989).
22302 (batch-update-autoloads): Doc fix.
22303
22304 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22305
22306 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22307
22308 2011-05-04 Glenn Morris <rgm@gnu.org>
22309
22310 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22311 function, so it follows changes in calendar-date-style.
22312 (diary-fancy-date-matcher): New function.
22313 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22314 (diary-fancy-font-lock-fontify-region-function):
22315 Use diary-fancy-date-pattern as a function.
22316
22317 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22318 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22319
22320 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22321
22322 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22323 instead of positional arguments. Allow :keylist and :crlfiles
22324 arguments.
22325 (open-gnutls-stream): Call it.
22326
22327 * net/network-stream.el (network-stream-open-starttls): Adjust to
22328 call `gnutls-negotiate' with :process and :hostname arguments.
22329
22330 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22331
22332 * minibuffer.el (completion--message): New function.
22333 (completion--do-completion, minibuffer-complete)
22334 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22335 (completion--do-completion): Don't ignore completion-auto-help when in
22336 icomplete-mode.
22337
22338 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22339 internal encoding (e.g. tibetan zero is not whitespace).
22340 (global-whitespace-mode): Prefer save-current-buffer.
22341 (whitespace-trailing-regexp): Remove useless save-match-data.
22342 (whitespace-empty-at-bob-regexp): Minor simplification.
22343
22344 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22345
22346 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22347
22348 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22349
22350 * textmodes/ispell.el (ispell-add-per-file-word-list):
22351 Use `concat' to create string for insertion.
22352
22353 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22354
22355 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22356 Avoid open-line which runs post-self-insert-hook.
22357 (bibtex-fill-entry): Remove unused `end' var.
22358
22359 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22360
22361 * textmodes/ispell.el (ispell-add-per-file-word-list):
22362 Protect against `nil' value of `comment-start' (Bug#8579).
22363
22364 2011-05-03 Leo Liu <sdl.web@gmail.com>
22365
22366 * isearch.el (isearch-yank-pop): New command.
22367 (isearch-mode-map): Bind it to `M-y'.
22368 (isearch-forward): Mention it.
22369
22370 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22371
22372 * simple.el (minibuffer-complete-shell-command): Remove.
22373 (minibuffer-local-shell-command-map): Use completion-at-point.
22374 (read-shell-command): Setup completion vars here instead.
22375 (read-expression-map): Bind TAB to symbol completion.
22376
22377 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22378 error directly rather via storing it into `results'.
22379
22380 2011-05-02 Leo Liu <sdl.web@gmail.com>
22381
22382 * vc/diff.el: Fix description.
22383
22384 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22385
22386 * server.el (server-eval-at): New function.
22387
22388 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22389
22390 * net/network-stream.el (open-network-stream): Take a :nowait
22391 parameter and pass it on to `make-network-process'.
22392 (network-stream-open-plain): Ditto.
22393
22394 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22395
22396 * faces.el (face-spec-set-match-display): Don't match toolkit
22397 options on terminal frames.
22398
22399 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22400
22401 * progmodes/pascal.el: Use lexical binding.
22402 (pascal-mode-map): Remove author preferences.
22403
22404 * pcomplete.el (pcomplete-std-complete): Don't abuse
22405 completion-at-point.
22406
22407 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22408
22409 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22410 removing code that has been dead since 1991 or so.
22411
22412 * startup.el (command-line): When warning about "_emacs", use a
22413 delayed warning to allow the user to filter it out.
22414
22415 2011-04-28 Deniz Dogan <deniz@dogan.se>
22416
22417 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22418 user has not joined.
22419
22420 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22421
22422 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22423 aren't any completions at point.
22424
22425 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22426
22427 * subr.el (display-delayed-warnings): New function.
22428 (delayed-warnings-hook): New variable.
22429
22430 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22431
22432 * minibuffer.el (completion-at-point, completion-help-at-point):
22433 Don't presume that a given completion-at-point-function will always
22434 use the same calling convention.
22435
22436 * pcomplete.el (pcomplete-completions-at-point):
22437 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22438 pcomplete-seen is non-nil.
22439 (pcomplete-comint-setup): Also recognize the new comint/shell
22440 completion functions.
22441 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22442 pcomplete-seen is non-nil.
22443
22444 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22445
22446 * calendar/icalendar.el (diary-lib): Add require statement.
22447 (icalendar--create-uid): Read out a uid from a text-property on
22448 the first character in the entry. This allows for code to add its
22449 own uid to the entry.
22450 (icalendar--convert-float-to-ical): Add export of
22451 `diary-float'-entries save for those with the optional DAY
22452 argument.
22453
22454 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22455
22456 * subr.el (shell-quote-argument): Use alternate escaping strategy
22457 when we spot a variable reference in a string.
22458
22459 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22460
22461 * cus-start.el (all): Define customization for debug-on-event.
22462
22463 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22464
22465 * subr.el (shell-quote-argument): Escape correctly under Windows.
22466
22467 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22468
22469 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22470
22471 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22472
22473 * net/tramp.el (tramp-process-actions): Add POS argument.
22474 Delete region between POS and (pos).
22475
22476 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22477 Use `nil' position in `tramp-process-actions' call.
22478 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22479
22480 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22481 position in `tramp-process-actions' call.
22482
22483 * net/trampver.el: Update release number.
22484
22485 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22486
22487 * custom.el (defcustom): Obey lexical-binding.
22488
22489 Fix octave-inf completion problems reported by Alexander Klimov.
22490 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22491 Inherit from octave-mode-syntax-table.
22492 (inferior-octave-mode): Set info-lookup-mode.
22493 (inferior-octave-completion-at-point): New function.
22494 (inferior-octave-complete): Use it and completion-in-region.
22495 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22496 comint-filename-completion.
22497 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22498 symbol elements which shouldn't be word elements.
22499 (octave-font-lock-keywords, octave-beginning-of-defun)
22500 (octave-function-header-regexp): Adjust regexps accordingly.
22501 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22502
22503 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22504
22505 * net/gnutls.el (gnutls-errorp): Declare before first use.
22506
22507 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22508
22509 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22510 verify-error, and verify-hostname-error parameters. Check whether
22511 default trustfile exists before going to use it. Add missing
22512 argument to gnutls-message-maybe call. Return value.
22513 Reported by Claudio Bley <claudio.bley@gmail.com>.
22514 (open-gnutls-stream): Add usage example.
22515
22516 * net/network-stream.el (network-stream-open-starttls): Give host
22517 parameter to `gnutls-negotiate'.
22518 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22519 * subr.el (shell-quote-argument): Escape correctly under Windows.
22520
22521 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22522
22523 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22524 Use correct match group (bug#8438).
22525
22526 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22527
22528 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22529 (package-menu--generate): New arg specifying packages to show.
22530 (package-menu-refresh, package-menu-execute, list-packages):
22531 Callers changed.
22532 (package-show-package-list): New function, replacing deleted
22533 package--list-packages (renamed because it is non-internal).
22534
22535 * finder.el (finder-list-matches): Use package-show-package-list
22536 instead of deleted package--list-packages.
22537
22538 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22539 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22540 (vc-annotate-mode-map): Bind it to RET.
22541
22542 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22543
22544 * progmodes/etags.el (next-file): Don't use set-buffer to change
22545 buffers (Bug#8478).
22546
22547 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22548
22549 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22550
22551 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22552 (apropos-accumulator): Doc fix.
22553 (apropos-function, apropos-macro, apropos-command)
22554 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22555 (apropos-plist): Add face property.
22556 (apropos-symbols-internal): Fix indentation.
22557 (apropos-print): Simplify help, and recognize apropos-multi-type.
22558 (apropos-print-doc): Use button-type-get to extract the button's
22559 face property. Fill docstring (Bug#8352).
22560
22561 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22562
22563 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22564
22565 * play/mpuz.el (mpuz-silent): Doc fix.
22566 (mpuz-mode-map): Use mapc.
22567 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22568 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22569 Fix typos in docstrings.
22570
22571 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22572 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22573
22574 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22575
22576 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22577
22578 * minibuffer.el (completion--do-completion): Avoid the "Next char
22579 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22580
22581 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22582 mouse-2 into unread-command-events, it is interpreted correctly.
22583
22584 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22585 (image-toggle-display): Doc fix.
22586
22587 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22588
22589 * textmodes/page.el (what-page): Use line-number-at-pos to
22590 calculate line number (Bug#6825).
22591
22592 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22593
22594 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22595 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22596 Pass argument NO-DEFAULT to `find-tag-interactive'.
22597
22598 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22599
22600 Lexical-binding cleanup.
22601
22602 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22603 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22604 * progmodes/ada-prj.el (ada-prj-initialize-values)
22605 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22606 (ada-prj-show-value):
22607 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22608 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22609 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22610 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22611 * progmodes/bug-reference.el (bug-reference-push-button):
22612 * progmodes/fortran.el (fortran-line-length):
22613 * progmodes/glasses.el (glasses-change):
22614 * progmodes/octave-mod.el (octave-fill-paragraph):
22615 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22616 (python-pdbtrack-grub-for-buffer, python-sentinel):
22617 * progmodes/sql.el (sql-save-connection):
22618 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22619 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22620 Mark unused parameters.
22621
22622 * progmodes/compile.el (compilation--flush-directory-cache)
22623 (compilation--flush-parse, compile-internal): Mark unused parameters.
22624 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22625 (compilation-next-error-function): Remove unused variable `timestamp'.
22626
22627 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22628 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22629
22630 * progmodes/dcl-mode.el (dcl-end-of-command):
22631 Remove unused variable `start'.
22632 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22633 (dcl-option-value-basic, dcl-option-value-offset)
22634 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22635 Mark unused parameters.
22636 (dcl-save-local-variable): Remove unused variable `val'.
22637 (mode): Declare.
22638
22639 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22640 Mark unused parameters.
22641 (delphi-ignore-changes): Move before first use.
22642 (delphi-charset-token-at): Remove unused variable `start'.
22643 (delphi-else-start): Remove unused variable `if-count'.
22644 (delphi-comment-block-start, delphi-comment-block-end):
22645 Remove unused variable `kind'.
22646 (delphi-indent-line): Remove unused variable `new-point'.
22647
22648 * progmodes/ebrowse.el (ebrowse-files-list)
22649 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22650 Mark unused parameters. Don't quote `lambda'.
22651 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22652 Don't quote `lambda'.
22653 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22654 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22655 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22656 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22657 Use `ignore-errors'.
22658 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22659 (ebrowse-view/find-file-and-search-pattern)
22660 (ebrowse-view/find-member-declaration/definition):
22661 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22662 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22663 Rename parameter PREFIX-ARG to PREFIX.
22664 (ebrowse-tags-read-name): Remove unused variables `start' and
22665 `member-info'.
22666 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22667 to `tags-file'.
22668
22669 * progmodes/etags.el (local-find-tag-hook): Declare.
22670 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22671 Mark unused parameters.
22672
22673 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22674 (executable-interpret): Mark unused parameter.
22675
22676 * progmodes/flymake.el (flymake-process-sentinel)
22677 (flymake-after-change-function)
22678 (flymake-create-temp-with-folder-structure)
22679 (flymake-get-include-dirs-dot): Mark unused parameters.
22680 (flymake-safe-delete-directory): Remove unused variable `err'.
22681
22682 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22683 (speedbar-timer-fn, speedbar-line-text)
22684 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22685 (speedbar-center-buffer-smartly): Declare functions.
22686 (gdb-find-watch-expression): Remove unused variable `array'.
22687 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22688 (gdb-starting): Mark unused parameters.
22689 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22690 (gdb-table-string): Remove unused variable `res'.
22691 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22692 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22693 (gdb-display-buffer): Remove unused variable `cur-size'.
22694
22695 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22696 allow lexical-binding compilation.
22697 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22698 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22699 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22700 Mark unused parameters.
22701 (gud-gdb-marker-filter): Remove unused variable `match'.
22702 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22703 lambda expressions and funcall them, instead of using `fset'.
22704
22705 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22706 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22707
22708 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22709 variable `header-beg'; use `let'.
22710
22711 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22712 `restart', `last-sexp' and `at-do'.
22713
22714 * progmodes/js.el (js--debug): Mark unused parameter.
22715 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22716 (js--splice-into-items): Remove unused variable `item'.
22717 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22718
22719 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22720 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22721 (makefile-complete): Remove unused variable `try'.
22722 (makefile-fill-paragraph, makefile-match-function-end):
22723 Mark unused parameters.
22724
22725 * progmodes/octave-inf.el (inferior-octave-complete):
22726 Remove unused variable `proc'.
22727 (inferior-octave-output-digest): Mark unused parameter.
22728
22729 * progmodes/perl-mode.el (perl-calculate-indent):
22730 Remove unused variable `err'.
22731
22732 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22733 (prolog-indent-line): Mark unused parameters.
22734 (prolog-indent-line): Remove unused variable `beg'.
22735
22736 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22737 (reporter-dont-compact-list): Declare.
22738
22739 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22740 Remove unused variable `char'.
22741 (sh-debug): Mark unused parameter.
22742 (sh-get-indent-info): Remove unused variable `start'.
22743 (sh-calculate-indent): Remove unused variable `var'.
22744
22745 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22746 (simula-electric-keyword): Remove unused variable `null'.
22747 (simula-search-backward, simula-search-forward): Remove unused
22748 variables `begin' and `end'.
22749
22750 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22751 Remove unused variable `pos'.
22752 (vera-electric-tab, vera-comment-uncomment-region):
22753 Mark unused parameters.
22754 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22755
22756 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
22757
22758 * emacs-lisp/package.el (package--builtins, package-alist)
22759 (package-load-descriptor, package-built-in-p, package-activate)
22760 (define-package, package-installed-p)
22761 (package-compute-transaction, package-buffer-info)
22762 (package--push): Doc fix. Distinguish more clearly between
22763 version strings and version lists.
22764
22765 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
22766
22767 Lexical-binding cleanup.
22768
22769 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22770 (5x5-make-mutate-best):
22771 * play/fortune.el (fortune-in-buffer):
22772 * play/gomoku.el (gomoku-init-display):
22773 * play/solitaire.el (solitaire, solitaire-do-check):
22774 * play/tetris.el (tetris-default-update-speed-function):
22775 Mark unused parameters.
22776
22777 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22778 (bubbles--shift): Remove unused variable `char-org'.
22779 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22780 (bubbles--show-images): Remove unused variable `char'.
22781
22782 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22783 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22784 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22785 (decipher-analyze-buffer): Use ?\s.
22786 (decipher-make-checkpoint): Remove unused variable `mapping'.
22787
22788 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22789
22790 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22791 Remove unused variable `result'; use `let'.
22792
22793 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22794 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22795 (gametree-children-shown-p, gametree-compute-reduced-score):
22796 Use `ignore-errors'.
22797
22798 * play/handwrite.el (ps-lpr-switches): Declare.
22799 (handwrite): Remove unused variables `pmin' and `lastp'.
22800
22801 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22802
22803 * play/landmark.el (landmark-init-display)
22804 (landmark-update-naught-weights): Mark unused parameters.
22805 (landmark-y): Remove unused variable `noise'. Simplify.
22806 (landmark-human-plays): Remove unused variable `score'.
22807
22808 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22809 (mpuz-try-proposal): Remove unused variable `game'.
22810
22811 * play/zone.el (life-patterns): Declare.
22812
22813 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
22814
22815 * vc/vc.el (ediff-vc-internal): Declare function.
22816
22817 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22818
22819 * shell.el: Use lexical-binding and std completion UI.
22820 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22821 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22822 comint-preoutput-filter-functions rather than on
22823 comint-output-filter-functions.
22824 (shell-command-completion, shell--command-completion-data)
22825 (shell-filename-completion, shell-environment-variable-completion)
22826 (shell-c-a-p-replace-by-expanded-directory): New functions.
22827 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22828 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22829 (shell-dynamic-complete-environment-variable): Use them.
22830 (shell-dynamic-complete-as-environment-variable)
22831 (shell-dynamic-complete-as-command): Remove.
22832 (shell-match-partial-variable): Match past point.
22833 * comint.el: Clean up use of completion-at-point-functions.
22834 (comint-completion-at-point): New function.
22835 (comint-mode): Use it completion-at-point-functions.
22836 (comint-dynamic-complete): Make it obsolete.
22837 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22838 (comint-c-a-p-replace-by-expanded-history): New function.
22839 (comint-dynamic-complete-functions)
22840 (comint-replace-by-expanded-history): Use it.
22841 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22842 termination strings. Try harder to avoid second try-completion.
22843 (completion-in-region-mode-map): Disable bindings that don't work yet.
22844
22845 * comint.el: Use lexical-binding. Require CL.
22846 (comint-dynamic-complete-functions): Use comint-filename-completion.
22847 (comint-completion-addsuffix): Tweak custom type.
22848 (comint-filename-completion, comint--common-suffix)
22849 (comint--common-quoted-suffix, comint--table-subvert)
22850 (comint--complete-file-name-data): New functions.
22851 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22852 (comint-dynamic-list-filename-completions): Use them.
22853 (comint-dynamic-simple-complete): Make obsolete.
22854
22855 * minibuffer.el (completion-in-region-mode):
22856 Keep completion-in-region-mode--predicate global.
22857 (completion-in-region--postch):
22858 Assume completion-in-region-mode--predicate is not null.
22859
22860 * progmodes/flymake.el (flymake-start-syntax-check-process):
22861 Obey `dir'. Simplify.
22862
22863 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22864 we're in VC after all.
22865
22866 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22867
22868 * vc/vc.el (vc-diff-build-argument-list-internal)
22869 (vc-version-ediff, vc-ediff): New commands.
22870 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22871
22872 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22873
22874 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22875 add sanity check.
22876
22877 * obsolete/erc-hecomplete.el: Make obsolete.
22878 * obsolete/: Standardize obsolescence info in the header.
22879
22880 2011-04-20 Glenn Morris <rgm@gnu.org>
22881
22882 * calendar/solar.el (solar-horizontal-coordinates):
22883 Use the longitude argument rather than `calendar-longitude'.
22884 (solar-date-next-longitude): Remove unused locals.
22885
22886 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22887
22888 * whitespace.el: New version 13.2.1.
22889
22890 2011-04-20 felix <EmacsWiki> (tiny change)
22891
22892 * whitespace.el (global-whitespace-mode): Keep highlight when
22893 switching between major modes on a file.
22894
22895 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22896
22897 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22898 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22899 multi-line comments as well.
22900
22901 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
22902
22903 Lexical-binding cleanup.
22904
22905 * arc-mode.el (archive-mode-revert):
22906 * cmuscheme.el (scheme-interactively-start-process):
22907 * custom.el (custom-initialize-delay):
22908 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22909 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22910 * emacs-lock.el (emacs-lock-clear-sentinel):
22911 * ezimage.el (defezimage):
22912 * follow.el (follow-avoid-tail-recenter):
22913 * fringe.el (set-fringe-mode-1):
22914 * generic-x.el (bat-generic-mode-compile):
22915 * help-mode.el (help-info-variable, help-do-xref)
22916 (help-mode-revert-buffer):
22917 * help.el (view-emacs-todo):
22918 * iswitchb.el (iswitchb-completion-help):
22919 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22920 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22921 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22922 * locate.el (locate-update):
22923 * longlines.el (longlines-encode-region)
22924 (longlines-after-change-function):
22925 * outline.el (outline-isearch-open-invisible):
22926 * ps-def.el (declare-function, charset-dimension, char-width)
22927 (encode-char):
22928 * ps-mule.el (ps-mule-plot-string):
22929 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22930 (recentf-edit-list-select, recentf-edit-list-validate)
22931 (recentf-open-files-action):
22932 * rect.el (delete-whitespace-rectangle-line)
22933 (rectangle-number-line-callback):
22934 * register.el (window-configuration-to-register)
22935 (frame-configuration-to-register):
22936 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22937 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22938 (xselect-convert-to-targets, xselect-convert-to-delete)
22939 (xselect-convert-to-filename, xselect-convert-to-charpos)
22940 (xselect-convert-to-lineno, xselect-convert-to-colno)
22941 (xselect-convert-to-os, xselect-convert-to-host)
22942 (xselect-convert-to-user, xselect-convert-to-class)
22943 (xselect-convert-to-name, xselect-convert-to-integer)
22944 (xselect-convert-to-atom, xselect-convert-to-identity):
22945 * subr.el (declare, ignore, process-kill-without-query)
22946 (text-clone-maintain):
22947 * terminal.el (te-get-char, te-tic-sentinel):
22948 * tool-bar.el (tool-bar-make-keymap):
22949 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22950 * type-break.el (type-break-mode, type-break-noninteractive-query):
22951 * view.el (View-back-to-mark):
22952 * wid-browse.el (widget-browse-action, widget-browse-widget)
22953 (widget-browse-widgets, widget-browse-sexp):
22954 * widget.el (define-widget-keywords):
22955 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22956 Mark unused parameters.
22957
22958 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22959 (align-areas): Remove unused variable `look'.
22960 (align-region): Remove unused variables `real-end' and `pos-list'.
22961
22962 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22963
22964 * bindings.el (mode-line-modified, mode-line-remote):
22965 Mark unused parameters.
22966 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22967
22968 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22969 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22970
22971 * comint.el (comint-history-isearch-pop-state)
22972 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22973 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22974 (comint-substitute-in-file-name): Doc fix.
22975
22976 * completion.el (cmpl-statistics-block): Mark unused parameter.
22977 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22978 (save-completions-to-file, load-completions-from-file):
22979 Remove unused local variable `e'.
22980
22981 * composite.el (compose-chars): Remove unused variable `len'.
22982 (lgstring-insert-glyph): Remove unused variable `g'.
22983 (compose-glyph-string): Remove unused variables `ascent',
22984 `descent', `lbearing' and `rbearing'.
22985 (compose-glyph-string-relative): Remove unused variables
22986 `lbearing', `rbearing' and `wadjust'.
22987 (compose-gstring-for-graphic): Remove unused variables `header',
22988 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22989 (compose-gstring-for-terminal): Remove unused variables `header'
22990 and `nchars'. Use `let', not `let*'.
22991
22992 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22993 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22994 (Custom-buffer-done, custom-buffer-create-internal)
22995 (custom-browse-visibility-action, custom-browse-group-tag-action)
22996 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22997 (widget-magic-mouse-down-action, custom-toggle-parent)
22998 (custom-add-parent-links, custom-toggle-hide-variable)
22999 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23000 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23001 (custom-face-menu-create, custom-variable-menu-create, get)
23002 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23003 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23004 (customize-apropos): Remove unused variable `tests'.
23005 (custom-group-value-create): Remove unused variable `hidden-p'.
23006 (sort-fold-case): Declare.
23007
23008 * cus-theme.el (custom-reset-standard-faces-list)
23009 (custom-reset-standard-variables-list): Declare.
23010 (customize-create-theme, custom-theme-revert, custom-theme-write)
23011 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23012 Mark unused parameters.
23013
23014 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23015
23016 * delim-col.el (delimit-columns-max): Move defvar before first use.
23017
23018 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23019 (describe-char): Don't quote `lambda'. Mark unused parameter.
23020
23021 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23022 (auto-insert): Declare.
23023 (desktop-restore-file-buffer): Rename desktop-* parameters;
23024 mark unused ones.
23025 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23026 (desktop-buffer): Rename desktop-* parameters.
23027
23028 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23029 (dframe-reposition-frame-xemacs, dframe-help-echo)
23030 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23031 Mark unused parameters.
23032
23033 * dired-aux.el (backup-extract-version-start, overwrite-query)
23034 (overwrite-backup-query, rename-regexp-query)
23035 (rename-non-directory-query): Declare.
23036 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23037 (dired-add-entry): Remove unused variable `orig-file-name'.
23038 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23039 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23040 `dired-copy-preserve-time' directly.
23041 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23042 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23043
23044 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23045 (dired-virtual-revert, dired-make-relative-symlink):
23046 Mark unused parameters.
23047 (manual-program): Declare.
23048 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23049 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23050 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23051
23052 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23053
23054 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23055
23056 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23057 Declare.
23058
23059 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23060
23061 * electric.el (Electric-command-loop): Rename parameter
23062 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23063
23064 * expand.el (expand-in-literal): Remove unused variable `here'.
23065
23066 * facemenu.el (facemenu-add-new-color):
23067 Remove unused variable `docstring'.
23068
23069 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23070 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23071 (face-attr-construct): Mark unused parameter. Doc fix.
23072 (read-color): Remove unused variable `hex-string'.
23073
23074 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23075 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23076 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23077 (display-buffer-other-frame): Remove unused variable `old-window'.
23078 (kill-buffer-hook): Declare.
23079 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23080 Mark unused parameters.
23081 (after-find-file): Pass 1 to `auto-save-mode', not t.
23082
23083 * files-x.el (auto-insert): Declare.
23084 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23085
23086 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23087 variable `buf'. Mark unused parameter.
23088 (find-lisp-insert-directory): Mark unused parameter.
23089
23090 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23091 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23092 (format-common-tail): Remove, unused.
23093 (format-deannotate-region): Remove unused variable `loc'.
23094 (format-annotate-region): Remove unused variable `p'.
23095 (format-annotate-single-property-change): Remove unused variables
23096 `default' and `tail'.
23097
23098 * forms.el (read-file-filter): Declare.
23099 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23100
23101 * frame.el (frame-creation-function-alist): Mark unused parameter.
23102 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23103
23104 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23105 Remove unused parameters.
23106 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23107 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23108
23109 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23110 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23111 (hfy-prepare-tag-map): Mark unused parameters.
23112 (htmlfontify-buffer): Use `called-interactively-p'.
23113
23114 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23115 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23116 (ibuffer-do-occur): Mark unused parameters.
23117 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23118 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23119
23120 * ibuffer.el: Don't quote `lambda'.
23121 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23122 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23123 Mark unused parameters.
23124
23125 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23126 (ido-completing-read): Mark unused parameters.
23127 (ido-copy-current-word): Mark unused parameters;
23128 remove unused variable `name'.
23129 (ido-sort-merged-list): Remove unused parameter `dirs'.
23130
23131 * ielm.el (ielm-input-sender): Mark unused parameter.
23132 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23133 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23134 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23135 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23136 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23137
23138 * image-dired.el (image-dired-display-thumbs): Remove unused
23139 variables `curr-file' and `count'.
23140 (image-dired-remove-tag): Remove unused variable `start'.
23141 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23142 variable `curr-file'
23143 (image-dired-rotate-original): Remove unused variable `temp-file'.
23144 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23145 Remove unused variable `file'.
23146 (image-dired-gallery-generate): Remove unused variable `curr'.
23147 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23148
23149 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23150
23151 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23152
23153 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23154
23155 * isearch.el (minibuffer-history-symbol): Declare.
23156 (isearch-edit-string): Remove unused variable `err'.
23157 (isearch-message-prefix, isearch-message-suffix):
23158 Mark unused parameters.
23159
23160 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23161
23162 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23163
23164 * makesum.el (double-column): Remove unused variable `cnt'.
23165
23166 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23167 (ido-ignore-item-temp-list): Declare.
23168
23169 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23170 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23171 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23172 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23173 `mouse-col-delta'.
23174
23175 * mouse-sel.el (mouse-extend-internal):
23176 Remove unused variable `orig-window-frame'.
23177
23178 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23179 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23180 Move declarations before first use.
23181 (pcomplete-opt): Mark unused parameters; doc fix.
23182
23183 * proced.el (proced-revert): Mark unused parameter.
23184 (proced-send-signal): Remove unused variable `err'.
23185
23186 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23187 Rename parameter PREFIX-ARG to ARG.
23188 (ps-basic-plot-string, ps-basic-plot-whitespace):
23189 Mark unused parameters.
23190
23191 * replace.el (replace-count): Define.
23192 (occur-revert-function): Mark unused parameters.
23193 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23194 (isearch-case-fold-search, isearch-string): Declare.
23195 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23196 bind `case-fold-search'. Remove unused variables `beg' and `end',
23197 and simplify.
23198 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23199 COUNT and bind `replace-count'.
23200 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23201 to COUNT.
23202
23203 * savehist.el (print-readably, print-string-length): Declare.
23204
23205 * shadowfile.el (shadow-expand-cluster-in-file-name):
23206 Remove unused variable `cluster'.
23207 (shadow-copy-file): Remove unused variable `i'.
23208 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23209 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23210 (shadow-define-literal-group, shadow-define-regexp-group)
23211 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23212
23213 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23214 (shell): Use `called-interactively-p'.
23215 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23216
23217 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23218 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23219 (delete-backward-char): Remove unused variable `ocol'.
23220 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23221 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23222 (event-apply-hyper-modifier, event-apply-shift-modifier)
23223 (event-apply-control-modifier, event-apply-meta-modifier):
23224 Mark unused parameters.
23225 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23226 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23227
23228 * speedbar.el (speedbar-ignored-directory-expressions)
23229 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23230 (speedbar-find-file, speedbar-dir-follow)
23231 (speedbar-directory-buttons-follow, speedbar-tag-find)
23232 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23233 (speedbar-buffers-line-directory, speedbar-buffer-click):
23234 Mark unused parameters.
23235 (speedbar-tag-file): Remove unused variable `mode'.
23236 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23237
23238 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23239
23240 * talk.el (talk): Remove unused variable `display'.
23241
23242 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23243 (tar-write-region-annotate): Mark unused parameter.
23244
23245 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23246 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23247 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23248 warning by another.
23249
23250 * time-stamp.el (time-stamp-string-preprocess):
23251 Remove unused variable `require-padding'.
23252
23253 * tree-widget.el (widget-glyph-enable): Declare.
23254 (tree-widget-action): Mark unused parameter.
23255
23256 * w32-fns.el (x-get-selection): Mark unused parameter.
23257 (autoload-make-program, generated-autoload-file): Declare.
23258
23259 * wdired.el (wdired-revert): Mark unused parameters.
23260 (wdired-xcase-word): Remove unused variable `err'.
23261
23262 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23263 (whitespace-help-scroll): Remove unused variable `data-help'.
23264
23265 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23266 (widget-image-insert, widget-after-change, default)
23267 (widget-default-format-handler, widget-default-notify)
23268 (widget-default-prompt-value, widget-info-link-action)
23269 (widget-url-link-action, widget-function-link-action)
23270 (widget-variable-link-action, widget-file-link-action)
23271 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23272 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23273 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23274 (widget-insert-button-action, widget-delete-button-action, visibility)
23275 (widget-documentation-link-action, widget-documentation-string-action)
23276 (widget-const-prompt-value, widget-regexp-match, symbol)
23277 (widget-coding-system-prompt-value)
23278 (widget-key-sequence-value-to-external, sexp)
23279 (widget-sexp-value-to-internal, character, vector, cons)
23280 (widget-choice-prompt-value, widget-boolean-prompt-value)
23281 (widget-color--choose-action): Mark unused parameters.
23282 (widget-item-match-inline, widget-choice-match-inline)
23283 (widget-checklist-match, widget-checklist-match-inline)
23284 (widget-group-match): Rename parameter VALUES to VALS.
23285 (widget-field-value-set): Remove unused variable `size'.
23286 (widget-color-action): Remove unused variables `value' and `start'.
23287
23288 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23289 variable `dir'. Doc fix.
23290 (windmove-find-other-window): Don't pass it.
23291
23292 * window.el (count-windows): Mark unused parameter.
23293 (bw-adjust-window): Remove unused variable `err'.
23294
23295 * woman.el (woman-file-name): Remove unused variable `default'.
23296 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23297 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23298 (global-font-lock-mode): Declare.
23299 (woman-decode-region): Mark unused parameter.
23300 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23301
23302 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23303 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23304 (x-dnd-handle-moz-url): Remove unused variable `title'.
23305 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23306
23307 * xml.el (xml-parse-tag, xml-parse-attlist):
23308 Remove unused variable `pos'.
23309
23310 2011-04-19 Glenn Morris <rgm@gnu.org>
23311
23312 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23313 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23314 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23315 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23316 * calendar/cal-html.el (cal-html-insert-minical):
23317 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23318 (calendar-mark-date-pattern):
23319 Prefix "unused" locals.
23320
23321 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23322 optional argument `style'.
23323
23324 * calendar/appt.el (appt-make-list):
23325 * calendar/cal-china.el (calendar-chinese-date-string):
23326 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23327 (diary-hebrew-yahrzeit):
23328 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23329 * calendar/calendar.el (calendar-generate-window):
23330 * calendar/time-date.el (time-to-days):
23331 Remove unused local variables.
23332
23333 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23334
23335 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23336 glyphless-char-display table.
23337 (tabulated-list-glyphless-char-display): New var.
23338
23339 2011-04-18 Sam Steingold <sds@gnu.org>
23340
23341 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23342 to acknowledgments.
23343
23344 2011-04-17 Glenn Morris <rgm@gnu.org>
23345
23346 * calendar/diary-lib.el (diary-sexp-entry):
23347 * calendar/holidays.el (holiday-sexp):
23348 Set debug-on-error rather than the removed stack-trace-on-error.
23349
23350 2011-04-16 Glenn Morris <rgm@gnu.org>
23351
23352 * progmodes/f90.el: Use lexical-binding.
23353 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23354
23355 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23356
23357 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23358 (mail-mode): Setup mailalias completion here instead.
23359 * mail/mailalias.el: Use lexical-binding.
23360 (pattern, mailalias-done): Declare dynamic.
23361 (mail-completion-at-point-function): New function, from mail-complete.
23362 (mail-complete): Use it.
23363 (mail-completion-expand): New function.
23364 (mail-get-names): Use it.
23365 (mail-directory, mail-directory-process, mail-directory-stream):
23366 Don't use `pattern' for lexically bound arg.
23367
23368 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23369
23370 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23371 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23372 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23373
23374 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23375 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23376 (byte-interactive-p): Define them again, for use when inlining
23377 old code.
23378
23379 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23380
23381 * loadup.el: Use `string-to-number', not `string-to-int'.
23382
23383 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23384
23385 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23386 gud-gdb-complete-command.
23387 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23388 (gud-gdb-completion-at-point): New function.
23389 (gud-gdb-completions): Remove.
23390
23391 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23392
23393 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23394 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23395 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23396 whether `executable-find' is bound.
23397
23398 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23399
23400 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23401
23402 * minibuffer.el (completion-in-region-mode-predicate)
23403 (completion-in-region-mode--predicate): New vars.
23404 (completion-in-region, completion-in-region--postch)
23405 (completion-in-region-mode): Use them.
23406 (completion--capf-wrapper): Also return the hook function.
23407 (completion-at-point, completion-help-at-point):
23408 Adjust and provide a predicate.
23409
23410 Preserve arg names for advice of subr and lexical functions (bug#8457).
23411 * help-fns.el (help-function-arglist): Consolidate the subr and
23412 new-byte-code cases. Add argument `preserve-names' to extract names
23413 from the docstring when needed.
23414 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23415 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23416 (ad-arglist): Use help-function-arglist's new arg.
23417 (ad-definition-type): Use cond.
23418
23419 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23420
23421 * autorevert.el (auto-revert-handler):
23422 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23423 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23424 Don't quote lambda.
23425
23426 * image-mode.el (image-transform-set-scale):
23427 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23428
23429 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23430
23431 * net/network-stream.el (network-stream-open-starttls): Only do
23432 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23433 Upgrades via gnutls-cli are too slow to be done opportunistically.
23434
23435 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23436
23437 * dframe.el (dframe-current-frame): Remove spurious quote.
23438
23439 2011-04-12 Glenn Morris <rgm@gnu.org>
23440
23441 * calendar/cal-tex.el (cal-tex-end-document):
23442 Try to automatically use latin1 input if needed.
23443
23444 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23445 Don't try to cons a mark onto an empty element.
23446
23447 2011-04-11 Leo Liu <sdl.web@gmail.com>
23448
23449 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23450 buffers.
23451 (ido-kill-buffer-at-head): Support killing virtual buffers.
23452
23453 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23454
23455 * minibuffer.el (completion-show-inline-help): New var.
23456 (completion--do-completion, minibuffer-complete)
23457 (minibuffer-force-complete, minibuffer-complete-word):
23458 Inhibit minibuffer messages if completion-show-inline-help is nil.
23459
23460 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23461 to avoid interference from inline help (Bug#5849).
23462
23463 2011-04-10 Leo Liu <sdl.web@gmail.com>
23464
23465 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23466 Fix typo.
23467
23468 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23469
23470 * image-mode.el (image-toggle-display-image): Signal an error if
23471 not in Image mode.
23472 (image-transform-mode, image-transform-resize)
23473 (image-transform-set-rotation): Doc fix.
23474 (image-transform-set-resize): Delete.
23475 (image-transform-set-scale, image-transform-fit-to-height)
23476 (image-transform-fit-to-width): Handle image-toggle-display-image
23477 and image-transform-resize directly.
23478
23479 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23480
23481 * doc-view.el (doc-view-fit-width-to-window)
23482 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23483 New functions for fitting the shown image to the Emacs window size.
23484 (doc-view-mode-map): Add bindings for the new functions.
23485
23486 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23487
23488 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23489 Fix typo in docstring.
23490
23491 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23492
23493 * files.el (file-size-human-readable): Produce one digit after
23494 decimal, like "ls -lh" does.
23495
23496 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23497 the file size representation.
23498
23499 * simple.el (list-processes): If async subprocesses are not
23500 available, error out with a clear error message.
23501
23502 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23503
23504 * help.el (help-form-show): New function, to be called from C.
23505 Put help-form output in a buffer named differently than *Help*.
23506
23507 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23508
23509 * files.el (file-size-human-readable): New function.
23510
23511 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23512 computing the representation inline. Don't require `cl'.
23513
23514 2011-04-08 Glenn Morris <rgm@gnu.org>
23515
23516 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23517
23518 * net/browse-url.el (browse-url-firefox):
23519 Test system-type, not system-configuration.
23520
23521 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23522 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23523 Use log-edit-empty-buffer-p. (Bug#7598)
23524
23525 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23526 (rlogin-mode-map): Initialize in the defvar.
23527 (rlogin): Use ignore-errors.
23528
23529 * replace.el (occur-mode-map): Some fixes for menu items.
23530
23531 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23532
23533 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23534
23535 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23536
23537 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23538 issuing unused warnings.
23539
23540 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23541 macro directly.
23542
23543 * simple.el: Lisp reimplement of list-processes. Based on an
23544 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23545 (process-menu-mode): New major mode.
23546 (list-processes--refresh, list-processes):
23547 (process-menu-visit-buffer): New functions.
23548
23549 * files.el (save-buffers-kill-emacs): Don't assume any return
23550 value of list-processes, which is undocumented anyway.
23551
23552 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23553
23554 * emacs-lisp/tabulated-list.el: New file.
23555
23556 * emacs-lisp/package.el: Use Tabulated List mode.
23557 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23558 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23559 table format using Tabulated List mode variables.
23560 (package--push): New macro, replacing package-list-maybe-add.
23561 (package-menu--generate): Use package--push. Renamed from
23562 package--generate-package-list.
23563 (package-menu-refresh, list-packages): Use it.
23564 (package-menu--print-info): Rename from package-print-package.
23565 Return insertion data instead of inserting it directly.
23566 (package-menu-describe-package, package-menu-execute):
23567 Use tabulated-list-get-id.
23568 (package-menu-mark-delete, package-menu-mark-install)
23569 (package-menu-mark-unmark, package-menu-backup-unmark)
23570 (package-menu-mark-obsolete-for-deletion):
23571 Use tabulated-list-put-tag.
23572 (package--list-packages, package-menu-revert)
23573 (package-menu-get-package, package-menu-get-version)
23574 (package-menu-sort-by-column): Functions deleted.
23575 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23576 (package-menu--status-predicate, package-menu--version-predicate)
23577 (package-menu--name-predicate)
23578 (package-menu--description-predicate): Handle arguments in the
23579 Tabulated List format.
23580 (package-list-packages-no-fetch): Call list-packages.
23581
23582 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23583
23584 * files.el (after-find-file-from-revert-buffer): Remove variable.
23585 (after-find-file): Don't bind it.
23586 (revert-buffer-in-progress-p): New variable.
23587 (revert-buffer): Bind it.
23588 Pass nil for `after-find-file-from-revert-buffer'.
23589
23590 * saveplace.el (save-place-find-file-hook): Use new variable
23591 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23592
23593 2011-04-06 Glenn Morris <rgm@gnu.org>
23594
23595 * Makefile.in (AUTOGEN_VCS): New variable.
23596 (autoloads): Use $AUTOGEN_VCS.
23597
23598 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23599 * calendar/calendar.el (calendar-mode-map):
23600 Check for toolkit scroll bars. (Bug#8305)
23601
23602 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23603
23604 * minibuffer.el (completion-in-region--postch)
23605 (completion-in-region-mode): Remove unnecessary messages.
23606
23607 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23608
23609 * font-lock.el (font-lock-refresh-defaults):
23610 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23611 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23612
23613 * info.el (Info-directory-list, Info-read-node-name-2)
23614 (Info-split-parameter-string): Doc fixes.
23615 (Info-virtual-nodes): Reflow docstring.
23616 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23617 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23618 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23619 Fix typos in docstrings.
23620 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23621 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23622 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23623 (Info-restore-desktop-buffer): Mark unused parameters.
23624 (Info-directory-find-file, Info-directory-find-node)
23625 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23626 (Info-virtual-index-find-node, Info-apropos-find-file)
23627 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23628 Mark unused parameters; fix typos in docstrings.
23629 (Info-virtual-index): Remove unused local variable `nodename'.
23630
23631 2011-04-05 Deniz Dogan <deniz@dogan.se>
23632
23633 * net/rcirc.el: Update my e-mail address.
23634 (rcirc-mode-map): Remove M-o binding.
23635
23636 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23637
23638 * startup.el (command-line): Save the cursor's theme-face
23639 directly, instead of using face-override-spec.
23640
23641 * custom.el (load-theme): Minor optimization in assigning faces.
23642
23643 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23644
23645 * help-fns.el (describe-variable): Complete all variables having
23646 documentation, including keywords.
23647 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23648
23649 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23650
23651 Convert to lexical-binding.
23652
23653 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23654 (bs--get-marked-string, bs--get-modified-string)
23655 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23656 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23657 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23658
23659 * ehelp.el (electric-help-execute-extended)
23660 (electric-help-ctrl-x-prefix):
23661 * hexl.el (hexl-revert-buffer-function):
23662 * linum.el (linum-after-change, linum-after-scroll):
23663 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23664
23665 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23666
23667 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23668
23669 * epa-dired.el:
23670 * epa-mail.el:
23671 * epa-hook.el:
23672 * epa-file.el:
23673 * epa.el:
23674 * epg.el: Use lexical binding.
23675
23676 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23677
23678 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23679
23680 * textmodes/flyspell.el (flyspell-word): Recognize default
23681 dictionary case for flyspell-mark-duplications-exceptions.
23682 Use regexp matching for languages.
23683 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23684 default dictionary (Bug#7926).
23685
23686 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23687
23688 * emacs-lisp/package.el (package--with-work-buffer):
23689 Recognize https URLs.
23690
23691 * net/network-stream.el: Move from gnus/proto-stream.el.
23692 Change prefix to network-stream throughout.
23693 (open-protocol-stream): Merge into open-network-stream, leaving
23694 open-protocol-stream as an alias. Handle nil BUFFER args.
23695
23696 * subr.el (open-network-stream): Move to net/network-stream.el.
23697
23698 2011-04-02 Glenn Morris <rgm@gnu.org>
23699
23700 * find-dired.el (find-exec-terminator): New option.
23701 (find-ls-option): Test for -ls support.
23702 (find-ls-subdir-switches): Test for -b in find-ls-option.
23703 (find-dired, find-grep-dired): Doc fixes.
23704 (find-dired): Use find-exec-terminator.
23705
23706 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23707 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23708 (find-name-arg): Remove purecopy.
23709
23710 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23711 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23712 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23713 accordingly. Don't add the null-device if not needed.
23714
23715 * files.el (save-some-buffers): Doc fix.
23716
23717 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23718
23719 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23720
23721 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23722
23723 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23724 Use `dolist' rather than `mapcar'.
23725
23726 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23727
23728 Add lexical binding.
23729
23730 * subr.el (apply-partially): Use new closures rather than CL.
23731 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23732 (dolist, dotimes): Use slightly different expansion for lexical code.
23733 (functionp): Move to C.
23734 (letrec): New macro.
23735 (with-wrapper-hook): Use it and apply-partially instead of CL.
23736 (eval-after-load): Preserve lexical-binding.
23737 (save-window-excursion, with-output-to-temp-buffer): Turn them
23738 into macros.
23739
23740 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23741
23742 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23743 than the arglist.
23744 (help-add-fundoc-usage): Don't add `Not documented'.
23745 (help-function-arglist): Handle closures, subroutines, and new
23746 byte-code-functions.
23747 (help-make-usage): Remove leading underscores.
23748 (describe-function-1): Handle closures.
23749 (describe-variable): Use special-variable-p for completion.
23750
23751 * files.el (lexical-binding): Declare safe.
23752
23753 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23754 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23755 (pcase): Add `let' pattern.
23756 Change memoization so it actually works.
23757 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23758 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23759 <let>: New case.
23760
23761 * emacs-lisp/macroexp.el: Use lexical binding.
23762 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23763 Don't convert ' to #' without checking that it's indeed quoting
23764 a lambda.
23765
23766 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23767 Use eval-sexp-add-defvars.
23768 (eval-sexp-add-defvars): New fun.
23769
23770 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23771
23772 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23773 Don't autoload.
23774 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23775 than the internal `byte-compile-lambda'.
23776 (defmethod): Don't hide code under quotes.
23777 (eieio-defmethod): New `code' argument.
23778
23779 * emacs-lisp/eieio-comp.el: Remove.
23780
23781 * emacs-lisp/edebug.el (edebug-eval-defun)
23782 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23783 (edebug-toggle): Avoid `eval'.
23784
23785 * emacs-lisp/disass.el (disassemble-internal): Handle new
23786 `closure' objects.
23787 (disassemble-1): Handle new byte codes.
23788
23789 * emacs-lisp/cl.el (pushnew): Silence warning.
23790
23791 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23792 (cl-byte-compile-throw): Remove.
23793 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23794
23795 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23796 closures.
23797
23798 * emacs-lisp/cconv.el: New file.
23799
23800 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23801 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23802 (byte-compile-initial-macro-environment):
23803 Handle declare-function here.
23804 (byte-compile--lexical-environment): New var.
23805 (byte-stack-ref, byte-stack-set, byte-discardN)
23806 (byte-discardN-preserve-tos): New lap codes.
23807 (byte-interactive-p): Don't use any more.
23808 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23809 New macros.
23810 (byte-compile-lapcode): Use them and handle new lap codes.
23811 (byte-compile-obsolete): Remove.
23812 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23813 (byte-compile-arglist-warn): Check late def of inlinable funs.
23814 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23815 since they should have been expanded by now.
23816 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23817 (byte-compile-from-buffer): Remove unused second arg.
23818 (byte-compile-preprocess): New function.
23819 (byte-compile-toplevel-file-form): New function to distinguish
23820 file-form calls from outside from file-form calls from hunk-handlers.
23821 (byte-compile-file-form): Simplify.
23822 (byte-compile-file-form-defsubst): Remove.
23823 (byte-compile-file-form-defmumble): Simplify now that
23824 byte-compile-lambda always returns a byte-code-function.
23825 (byte-compile): Preprocess.
23826 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23827 Remove, not used any more.
23828 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23829 (byte-compile-make-args-desc): New funs.
23830 (byte-compile-lambda): Handle lexical functions. Always return
23831 a byte-code-function.
23832 (byte-compile-reserved-constants): New var, to make up room for
23833 closed-over variables.
23834 (byte-compile-constants-vector): Obey it.
23835 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23836 (byte-compile-macroexpand-declare-function): New function.
23837 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23838 byte-code-functions.
23839 (byte-compile-form): Check obsolescence here.
23840 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23841 (byte-compile-variable-ref): Remove.
23842 (byte-compile-dynamic-variable-op): New fun.
23843 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23844 (byte-compile-variable-set): New funs.
23845 (byte-compile-discard): Add 2 args.
23846 (byte-compile-stack-ref, byte-compile-stack-set)
23847 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23848 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23849 macroexpand-all instead.
23850 (byte-compile-quote-form): Remove.
23851 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23852 (byte-compile-bind, byte-compile-unbind): New funs.
23853 (byte-compile-let): Handle let* and lexical binding.
23854 (byte-compile-let*): Remove.
23855 (byte-compile-catch, byte-compile-unwind-protect)
23856 (byte-compile-track-mouse, byte-compile-condition-case):
23857 Handle a new :fun-body form, used for lexical scoping.
23858 (byte-compile-save-window-excursion)
23859 (byte-compile-with-output-to-temp-buffer): Remove.
23860 (byte-compile-defun): Simplify.
23861 (byte-compile-stack-adjustment): New fun.
23862 (byte-compile-out): Use it.
23863 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23864
23865 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23866 handler any more.
23867
23868 * emacs-lisp/byte-opt.el: Use lexical binding.
23869 (byte-inline-lapcode): Remove (to bytecomp).
23870 (byte-compile-inline-expand): Pay attention to inlining to/from
23871 lexically bound code.
23872 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23873 any more.
23874 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23875 any more and don't call compiler-macros.
23876 (byte-compile-splice-in-already-compiled-code): Remove.
23877 (byte-code): Don't inline any more.
23878 (disassemble-offset): Receive `bytes' as argument rather than via
23879 dynamic scoping.
23880 (byte-compile-tag-number): Declare before first use.
23881 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23882 `return' even if make-spliceable.
23883 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23884 obsolete interactive-p.
23885 (byte-optimize-lapcode): Optimize new lap-codes.
23886 Don't trip up on new form of `byte-constant' lap code.
23887
23888 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23889
23890 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23891
23892 * custom.el (custom-initialize-default, custom-declare-variable):
23893 Use `defvar'.
23894
23895 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23896 New variables.
23897 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23898 (COMPILE_FIRST): Add macroexp and cconv.
23899 * makefile.w32-in: Mirror changes in Makefile.in.
23900
23901 * vc/cvs-status.el:
23902 * vc/diff-mode.el:
23903 * vc/log-edit.el:
23904 * vc/log-view.el:
23905 * vc/smerge-mode.el:
23906 * textmodes/bibtex-style.el:
23907 * textmodes/css-mode.el:
23908 * startup.el:
23909 * uniquify.el:
23910 * minibuffer.el:
23911 * newcomment.el:
23912 * reveal.el:
23913 * server.el:
23914 * mpc.el:
23915 * emacs-lisp/smie.el:
23916 * doc-view.el:
23917 * dired.el:
23918 * abbrev.el: Use lexical binding.
23919
23920 2011-04-01 Eli Zaretskii <eliz@gnu.org>
23921
23922 * info.el (info-display-manual): New function.
23923
23924 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23925
23926 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23927
23928 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23929
23930 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
23931 an entry for that server in rcirc-authinfo. (Bug#8385)
23932
23933 2011-03-31 Glenn Morris <rgm@gnu.org>
23934
23935 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23936
23937 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23938
23939 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23940
23941 * progmodes/python.el (python-default-interpreter)
23942 (python-python-command-args, python-jython-command-args)
23943 (python-which-shell, python-which-args, python-which-bufname)
23944 (python-file-queue, python-comint-output-filter-function)
23945 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23946 variables and functions.
23947
23948 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23949
23950 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23951 (completion-in-region-mode): New minor mode.
23952 (completion-in-region): Use it.
23953 (completion-in-region--data, completion-in-region-mode-map): New vars.
23954 (completion-in-region--postch): New function.
23955 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23956 New vars.
23957 (completion--capf-wrapper): New function.
23958 (completion-at-point): Use it to track well-behavedness of
23959 hook functions.
23960 (completion-help-at-point): New command.
23961
23962 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23963
23964 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23965 syntax class to search for whitespace on a single line
23966 (Message-ID: <4D938140.4030905@redhat.com>).
23967
23968 2011-03-30 Leo Liu <sdl.web@gmail.com>
23969
23970 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23971 New commands.
23972 (edit-abbrevs-map): Bind them here.
23973 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23974
23975 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23976
23977 * allout.el (allout-hide-by-annotation, allout-flag-region):
23978 Reduce possibility of overlay leakage by making them volatile.
23979
23980 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23981 hash is not shared between buffers. Mode initialization is
23982 responsible for giving it a useful starting value.
23983 (allout-item-span): Reduce possibility of overlay leakage by
23984 making them volatile.
23985 (allout-widgets-count-buttons-in-region): Add diagnostic function
23986 for tracking down button overlay leaks.
23987
23988 2011-03-29 Leo Liu <sdl.web@gmail.com>
23989
23990 * ido.el (ido-read-internal): Use the default history var
23991 minibuffer-history if no HISTORY is specified.
23992
23993 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23994
23995 * net/imap.el (imap-shell-open, imap-process-connection-type):
23996 Use imap-process-connection-type for 'shell' streams as well as
23997 Kerberos, SSL, other subprocesses.
23998
23999 2011-03-28 Leo Liu <sdl.web@gmail.com>
24000
24001 * abbrev.el (abbrev-table-empty-p): New function.
24002 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24003 nonempty ones. (Bug#5937)
24004
24005 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24006
24007 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24008
24009 2011-03-27 Leo Liu <sdl.web@gmail.com>
24010
24011 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24012 for foreground and background colors.
24013 (ansi-color-make-color-map): Adapt.
24014
24015 2011-03-25 Leo Liu <sdl.web@gmail.com>
24016
24017 * midnight.el (midnight-time-float): Remove. Note it calculates
24018 the microsecond component incorrectly and seconds-to-time does the
24019 same job.
24020 Remove redundant (require 'timer).
24021
24022 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24023 (ido-completions): Remove unused arguments. (Bug#8329)
24024
24025 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24026
24027 * minibuffer.el (completion--flush-all-sorted-completions):
24028 Remove itself from hook.
24029 (completion-at-point): Let the functions perform the completion
24030 immediately and return nil or t.
24031 * comint.el (comint-dynamic-complete-functions): Now identical to
24032 completion-at-point-functions.
24033 (comint-dynamic-list-input-ring): Remove unused var `index'.
24034 (comint--match-partial-filename, comint--unquote&expand-filename):
24035 New funs, split from comint-match-partial-filename.
24036 (comint-dynamic-complete): Use completion-at-point.
24037 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24038
24039 2011-03-24 Drew Adams <drew.adams@oracle.com>
24040
24041 * thingatpt.el: Support `defun'.
24042
24043 2011-03-23 Leo Liu <sdl.web@gmail.com>
24044
24045 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24046
24047 * help-mode.el (help-mode-finish): Tweak regexp.
24048
24049 2011-03-23 Glenn Morris <rgm@gnu.org>
24050
24051 * eshell/esh-opt.el (eshell-eval-using-options):
24052 Do not bind unused local variable `eshell-option-stub'.
24053
24054 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24055
24056 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24057
24058 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24059 keymap variable in `with-no-warnings' to avoid a warning when the
24060 keymap has been already `defconst'ed.
24061
24062 2011-03-22 Leo Liu <sdl.web@gmail.com>
24063
24064 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24065 encode all chars in abbrevs; otherwise use emacs-mule or
24066 utf-8-emacs. (Bug#8308)
24067
24068 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24069
24070 * simple.el (backward-delete-char-untabify):
24071 Avoid warning about using `delete-backward-char'.
24072
24073 * image.el (image-type-file-name-regexps): Make it variable.
24074 `imagemagick-register-types' modifies it, and the user may want
24075 to add new extensions for known image types.
24076 (imagemagick-register-types): Throw error if not using ImageMagick.
24077
24078 2011-03-22 Leo Liu <sdl.web@gmail.com>
24079
24080 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24081 located before rcirc-prompt-end-marker.
24082 (rcirc-complete): Error if point is not after rcirc prompt.
24083 Handle the case when table is nil.
24084 (rcirc-user-authenticated): Define to fix compiler warning.
24085
24086 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24087
24088 * custom.el (custom--inhibit-theme-enable): Make it affect only
24089 custom-theme-set-variables and custom-theme-set-faces.
24090 (provide-theme): Ignore custom--inhibit-theme-enable.
24091 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24092 (custom-enabling-themes): Delete variable.
24093 (enable-theme): Accept only loaded themes as arguments.
24094 Ignore the special custom-enabled-themes variable.
24095 (custom-enabled-themes): Forbid themes from setting this.
24096 Eliminate use of custom-enabling-themes.
24097 (custom-push-theme): Quote "changed" custom var entry.
24098
24099 2011-03-21 Leo Liu <sdl.web@gmail.com>
24100
24101 * ido.el (ido-read-internal): Add ido-selected to history instead
24102 of user input.
24103
24104 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24105
24106 * subr.el (deferred-action-list, deferred-action-function):
24107 Mark obsolete.
24108
24109 2011-03-21 Leo Liu <sdl.web@gmail.com>
24110
24111 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24112 change on 2011-02-13 (bug#8309).
24113
24114 * minibuffer.el (read-file-name-function): Change default value.
24115 (read-file-name--defaults): Rename from read-file-name-defaults.
24116 (read-file-name-default): Rename from read-file-name.
24117 (read-file-name): Call read-file-name-function.
24118
24119 2011-03-21 Glenn Morris <rgm@gnu.org>
24120
24121 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24122 Doc fixes.
24123
24124 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24125
24126 * cus-theme.el: Add missing provide statement.
24127 (customize-create-theme): Extract theme value correctly.
24128 (custom-theme-visit-theme): Autoload.
24129 (customize-create-theme): Prompt before inserting default faces.
24130
24131 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24132
24133 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24134 units and musical notes.
24135
24136 2011-03-20 Leo Liu <sdl.web@gmail.com>
24137
24138 * ido.el (ido-read-internal): Use completing-read-default.
24139 (ido-completing-read): Fix compatibility with completing-read.
24140
24141 2011-03-20 Christian Ohler <ohler@gnu.org>
24142
24143 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24144 (ert-delete-all-tests): Use `called-interactively-p' rather than
24145 `interactive-p'.
24146 (ert--make-xrefs-region): Respect END.
24147
24148 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24149
24150 * dired-aux.el (dired-create-directory): Signal an error if the
24151 directory already exists (Bug#8246).
24152
24153 * facemenu.el (list-colors-display): Call list-faces-display
24154 inside with-help-window.
24155 (list-colors-print): Use display property to align the final
24156 column, instead of checking window-width.
24157
24158 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24159
24160 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24161 windows-nt systems.
24162 (emerge-protect-metachars): Quote correctly for ms-dos and
24163 windows-nt systems.
24164
24165 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24166
24167 * info.el (info-initialize): Replace all uses of `:' with
24168 path-separator for compatibility with non-Unix systems.
24169 Cache quoting of path-separator. (Bug#8258)
24170
24171 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24172
24173 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24174 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24175 (mouse-avoidance-mode): Fix typos in docstrings.
24176
24177 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24178
24179 * startup.el (package-subdirectory-regexp): Move from package.el.
24180 Omit \\` and \\', and let callers add them.
24181
24182 * emacs-lisp/package.el (package-strip-version)
24183 (package-load-all-descriptors): Add \\` and \\' to
24184 package-subdirectory-regexp before using it.
24185 (package-untar-buffer): New arg DIR; ensure that file untars only
24186 into this expected directory. Remove superfluous delete-region.
24187 (package-unpack): Caller changed.
24188 (package-tar-file-info): Use package-subdirectory-regexp.
24189
24190 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24191
24192 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24193 diff-mode-shared-map (bug#8284).
24194 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24195
24196 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24197
24198 * calendar/time-date.el (format-seconds): Use assoc instead of
24199 assoc-string, since assoc-string doesn't exist in XEmacs.
24200
24201 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24202
24203 * custom.el (custom-known-themes): Reflow docstring.
24204 (custom-theme-load-path): Fix typo in docstring.
24205 (load-theme): Fix typo in error message.
24206 (custom-available-themes, custom-variable-theme-value):
24207 Use `let', not `let*'.
24208
24209 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24210
24211 * calc/README: Mention inclusion of musical notes.
24212
24213 * calc/calc-units.el (calc-lu-quant): Rename from
24214 `calc-logunits-quantity'.
24215 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24216 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24217 (calc-db): Rename from `calc-dblevel'.
24218 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24219 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24220 (calc-np): Rename from `calc-nplevel'.
24221 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24222 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24223 (calc-lu-plus): Rename from `calc-logunits-add'.
24224 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24225 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24226 (calc-lu-minus): Rename from `calc-logunits-sub'.
24227 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24228 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24229 (calc-lu-times): Rename from `calc-logunits-mul'.
24230 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24231 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24232 (calc-lu-divide): Rename from `calc-logunits-div'.
24233 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24234 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24235
24236 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24237 functions being autoloaded.
24238
24239 * calc/calc.el (calc-lu-power-reference): Rename from
24240 `calc-logunits-power-reference'.
24241 (calc-lu-field-reference): Rename from
24242 `calc-logunits-field-reference'.
24243
24244 * calc/calc-help.el (calc-l-prefix-help):
24245 Mention musical note functions.
24246
24247 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24248
24249 * minibuffer.el (completion-all-sorted-completions):
24250 Use :completion-cycle-penalty text property if present.
24251
24252 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24253
24254 * allout.el (allout-yank-processing): Adjust for new rebulleting
24255 regime so bullet being yanked is used without prompting the user
24256 for a choice.
24257
24258 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24259
24260 * startup.el (command-line): Warn the user that _emacs is deprecated.
24261
24262 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24263
24264 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24265 (delphi-verbose, delphi-comment-face, delphi-string-face)
24266 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24267 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24268 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24269 (delphi-new-comment-line, delphi-font-lock-defaults)
24270 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24271 Fix typos in docstrings.
24272
24273 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24274
24275 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24276 Invert the roles of character and string values for INSTEAD, so a
24277 string is used for the more common case of a defaulting prompt.
24278
24279 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24280
24281 * progmodes/ruby-mode.el (ruby-backward-sexp):
24282 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24283 * play/gamegrid.el (gamegrid-make-face):
24284 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24285 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24286 * notifications.el (notifications-notify):
24287 * net/xesam.el (xesam-search-engines):
24288 * net/quickurl.el (quickurl-list-insert):
24289 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24290
24291 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24292
24293 * startup.el (command-line): Update package subdirectory regexp.
24294
24295 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24296
24297 * allout.el (allout-abbreviate-flattened-numbering)
24298 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24299
24300 * subr.el (read-char-choice): Only show the cursor after the prompt,
24301 not after the answer.
24302
24303 2011-03-15 Kevin Ryde <user42@zip.com.au>
24304
24305 * help-fns.el (variable-at-point): Skip leading quotes, if any
24306 (bug#8253).
24307
24308 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24309
24310 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24311 warning message.
24312
24313 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24314
24315 * shell.el (shell): When called interactively, offer to change the
24316 shell file name on remote hosts.
24317
24318 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24319
24320 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24321 integration for LDAP parameters. The host, base, user or binddn,
24322 and secret tokens can be specified in a netrc file, for instance.
24323 This is optional because an `auth-source' parameter must be
24324 specified in the search attributes.
24325
24326 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24327
24328 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24329
24330 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24331
24332 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24333 into declaration. Remove redundant and harmful binding.
24334
24335 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24336
24337 * files.el (file-ownership-preserved-p): Pass `integer' as an
24338 explicit 2nd argument to `file-attributes'. If the file's owner
24339 is the Administrators group on Windows, and the current user is
24340 Administrator, consider that a match.
24341
24342 * server.el (server-ensure-safe-dir): Consider server directory
24343 safe on MS-Windows if its owner is the Administrators group while
24344 the current Emacs user is Administrator. Use `=' to compare
24345 numerical UIDs, since they could be integers or floats.
24346
24347 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24348
24349 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24350
24351 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24352
24353 Sync with Tramp 2.2.1.
24354
24355 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24356
24357 * net/trampver.el: Update release number.
24358
24359 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24360
24361 * progmodes/compile.el (compilation--previous-directory): Fix up
24362 various nil/dead-marker mismatches (bug#8014).
24363 (compilation-directory-properties, compilation-error-properties):
24364 Don't call it at a position past the one we're about to change.
24365
24366 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24367 Disable obsolescence warnings in the file that declares it.
24368
24369 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24370
24371 * allout-widgets.el (allout-widgets-tally):
24372 Initialize allout-widgets-tally as a hash table rather than nil to
24373 prevent mode-line redisplay warnings. Also, clarify the module
24374 description and fix a comment typo.
24375
24376 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24377
24378 * help-fns.el (describe-variable): Don't complete keywords.
24379 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24380
24381 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24382
24383 * emacs-lisp/package.el (package-version-join): Impose a standard
24384 string representation for pre/alpha/beta version lists.
24385 (package-unpack-single): Standardize the directory name by passing
24386 it through package-version-join.
24387 (package-strip-rcs-id): Accept any version string that does not
24388 signal an error in version-to-list.
24389
24390 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24391
24392 * simple.el (delete-trailing-whitespace): Return nil for the
24393 benefit of `write-file-functions'.
24394
24395 2011-03-10 Glenn Morris <rgm@gnu.org>
24396
24397 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24398
24399 * vc/vc-git.el (vc-git-program): New option.
24400 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24401 (vc-git--call): Use it.
24402
24403 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24404
24405 * cus-edit.el (Custom-newline): If no button at point, look
24406 for a subgroup button at start-of-line. (Bug#2298)
24407
24408 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24409
24410 2011-03-10 Julien Danjou <julien@danjou.info>
24411
24412 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24413 `cursor-type' is nil.
24414
24415 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24416
24417 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24418
24419 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24420
24421 * allout.el: Change so yank of distinctive-bullet items
24422 preserves the existing header prefix, rebulleting it if necessary,
24423 rather than replacing it. This is necessary for proper operation
24424 of cooperative addons like allout-widgets.
24425 (allout-make-topic-prefix, allout-rebullet-heading):
24426 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24427 value as alternate bullet to be used, instead of prompting the user
24428 for a bullet character.
24429
24430 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24431
24432 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24433 Do not use `tramp-file-name-port', because this returns also
24434 `tramp-default-port'.
24435
24436 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24437
24438 * net/rcirc.el (rcirc-handler-001): Remove useless
24439 with-rcirc-process-buffer.
24440 (rcirc-check-auth-status): Swap arguments to string-match.
24441
24442 2011-03-09 Glenn Morris <rgm@gnu.org>
24443
24444 * shell.el (shell-mode):
24445 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24446
24447 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24448 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24449
24450 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24451
24452 * emacs-lisp/package.el (package-refresh-contents)
24453 (package-menu-execute): Use condition-case-no-debug.
24454
24455 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24456
24457 * simple.el (shell-command-to-string): Use `process-file'.
24458
24459 * emacs-lisp/package.el (package-tar-file-info): Handle also
24460 remote files.
24461
24462 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24463 Use `equal' for upload base check.
24464
24465 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24466
24467 * textmodes/texinfo.el (texinfo-environments):
24468 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24469
24470 2011-03-08 Glenn Morris <rgm@gnu.org>
24471
24472 * cus-start.el (cursor-in-non-selected-windows):
24473 Fix :set quoting oddness. (Bug#8192)
24474
24475 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24476 in some setf expressions. (Bug#2159)
24477
24478 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24479
24480 * custom.el (custom-available-themes): Return themes in
24481 alphabetical order.
24482
24483 See ChangeLog.15 for earlier changes.
24484
24485 ;; Local Variables:
24486 ;; coding: utf-8
24487 ;; End:
24488
24489 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24490
24491 This file is part of GNU Emacs.
24492
24493 GNU Emacs is free software: you can redistribute it and/or modify
24494 it under the terms of the GNU General Public License as published by
24495 the Free Software Foundation, either version 3 of the License, or
24496 (at your option) any later version.
24497
24498 GNU Emacs is distributed in the hope that it will be useful,
24499 but WITHOUT ANY WARRANTY; without even the implied warranty of
24500 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24501 GNU General Public License for more details.
24502
24503 You should have received a copy of the GNU General Public License
24504 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.