]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
[gnu-emacs] / lisp / ChangeLog
1 2013-02-17 Glenn Morris <rgm@gnu.org>
2
3 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
4
5 * image-mode.el (image-mode-map): Add image-dired menu entry.
6
7 * image-dired.el (tumme): Make this alias obsolete.
8
9 2013-02-16 Glenn Morris <rgm@gnu.org>
10
11 * image.el (image-animated-types): Remove.
12 (image-multi-frame-p): Rename from image-animated-p, and generalize.
13 (image-animated-p): Make obsolete alias.
14 (image-animate, image-nth-frame, image-animate-timeout):
15 Use image-multi-frame-p.
16 (image-animate-timeout): If no delay, use image-default-frame-delay.
17 * image-mode.el (image-mode, image-toggle-animation):
18 Use image-multi-frame-p. (Bug#763, bug#10739)
19 (image-mode): Adjust startup message for a multi-frame image.
20
21 * image-mode.el (image-mode-map): Give it a menu.
22
23 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
24
25 * net/tramp-cache.el (tramp-connection-properties): New customer
26 option.
27 (tramp-get-connection-property): Use it.
28
29 * net/tramp-compat.el (top): Require 'trampver.
30
31 * net/tramp-sh.el (tramp-remote-process-environment): Set
32 tramp-autoload cookie.
33
34 2013-02-16 Kevin Ryde <user42@zip.com.au>
35
36 * info-look.el (info-lookup-select-mode): If major-mode has no
37 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
38
39 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
40
41 * replace.el (read-regexp): Tighten the regexp that matches tag.
42 When tag is retrieved with `find-tag-default', use regexp that
43 matches tag at point. Also update docstring (Bug#13687).
44
45 2013-02-16 Eli Zaretskii <eliz@gnu.org>
46
47 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
48 add watch for the file, not its parent directory, since w32notify
49 sets up the watch for the directory internally. (Bug#13725)
50
51 2013-02-16 Glenn Morris <rgm@gnu.org>
52
53 * image.el (image-default-frame-delay): New variable.
54 (image-animated-p): Use image-default-frame-delay.
55 (image-minimum-frame-delay): New constant.
56 (image-animate-timeout): Use image-minimum-frame-delay.
57
58 * image.el (image-nth-frame): New, split from image-animate-timeout.
59 (image-animate-timeout): Use image-nth-frame.
60 * image-mode.el (image-goto-frame, image-next-frame)
61 (image-previous-frame): New commands.
62 (image-mode-map): Add new frame commands.
63
64 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
65
66 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
67 If col-desc already has help-echo, use it. (Bug#13563)
68
69 2013-02-16 Glenn Morris <rgm@gnu.org>
70
71 * image.el (image-current-frame): New variable.
72 (image-animate-timeout): Set image-current-frame.
73 * image-mode.el (image-mode): For animated images,
74 display a frame counter via mode-line-process.
75
76 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
77
78 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
79
80 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
81
82 2013-02-15 Alan Mackenzie <acm@muc.de>
83
84 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
85 global minor mode has been enabled, call the minor mode function
86 for a new buffer once only, after the major mode hook, whilst
87 allowing that hook explicitly to disable the minor mode.
88 (MODE-disable-in-buffer): New (generated) function.
89 (disable-MODE): New (generated) buffer local variable.
90
91 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
92
93 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
94 `iswitchb-next-match' and `iswitchb-prev-match' resply.
95 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
96 `ido-next-match' and `ido-prev-match' resply.
97 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
98 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
99 `icomplete-backward-completions' (Bug#13708).
100
101 2013-02-15 Glenn Morris <rgm@gnu.org>
102
103 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
104
105 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
106
107 * net/goto-addr.el (goto-address-fontify): Add start and end args.
108 (goto-address-fontify-region): Use them instead of narrowing, so
109 syntax-ppss has access to the whole buffer.
110
111 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
112
113 * progmodes/python.el: Explain how to restore "cc-mode"-like
114 forward-sexp movement in header documentation (Bug#13642).
115 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
116 comments and strings (GH bug 114).
117
118 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
119
120 * progmodes/python.el (python-info-current-defun): Fix current
121 defun detection (Bug#13618).
122
123 2013-02-15 Chong Yidong <cyd@gnu.org>
124
125 * xml.el (xml-parse-string): Fix typo in handling of bad character
126 references.
127
128 2013-02-15 Glenn Morris <rgm@gnu.org>
129
130 * play/fortune.el (fortune-compile): Simplify and fix previous change.
131
132 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
133
134 * net/tramp.el (tramp-debug-message):
135 Add `tramp-condition-case-unless-debug'.
136 (tramp-debug-on-error): New defvar.
137 (tramp-condition-case-unless-debug): New defun.
138 (tramp-file-name-handler): Use it.
139
140 2013-02-14 Juri Linkov <juri@jurta.org>
141
142 * info.el (Info-isearch-filter): Treat non-nil values of
143 `search-invisible' including its default value `open'
144 like the value `t' to match hidden text. (Bug#13402)
145
146 2013-02-14 Glenn Morris <rgm@gnu.org>
147
148 * help-fns.el (find-lisp-object-file-name): Give special treatment
149 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
150
151 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
152
153 * net/quickurl.el (quickurl-save-urls):
154 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
155
156 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
157
158 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
159 depth for unfinished percent literal. Not using it in the caller.
160 (ruby-move-to-block): Jump over multiline literals of all types,
161 ignoring code-looking contents inside them.
162 (ruby-add-log-current-method): Improve performance at the expense
163 of accuracy. `ruby-block-contains-point' is relatively slow, so
164 only use it for method and singleton class blocks.
165
166 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
167
168 Use ControlMaster where applicable. (Bug#13677)
169
170 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
171 replacing `tramp-detect-ssh-controlmaster'.
172 (tramp-default-method): Use it.
173
174 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
175 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
176 arguments.
177 [scpc, rsyncc]: Remove methods.
178 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
179 and "ssh2_old".
180 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
181 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
182
183 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * emacs-lisp/package.el (package--initialized): Move before first use.
186
187 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
188
189 * icomplete.el (icomplete-hide-common-prefix): New user option.
190 (icomplete-first-match): New face.
191 (icomplete-completions): Correct handling of "complete but not
192 unique" (Bug#12638).
193
194 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
195
196 * descr-text.el (describe-char): Display the script (bug#13698).
197
198 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
199
200 * tmm.el: Use lexical-binding and current-active-maps.
201 (tmm-menubar): Use map-keymap and pcase.
202 (tmm--completion-table): New function.
203 (tmm-prompt): Use it to fix the menu order.
204 (tmm-get-keybind): Use current-active-maps.
205
206 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
207
208 Add dired-hide-details-mode. (Bug#6799)
209
210 * locate.el (locate-mode): Set parent mode property to dired-mode.
211
212 * find-dired.el (find-dired): Call dired-insert-set-properties on
213 initial information line. Set process mark on end of buffer.
214 (find-dired-sentinel):
215 Call dired-insert-set-properties on summary.
216
217 * dired.el (dired-hide-details-hide-symlink-targets)
218 (dired-hide-details-hide-information-lines): New options.
219 (dired-insert-directory):
220 Set properties after final treatment of output.
221 (dired-insert-set-properties):
222 Set dired-hide-details-* properties.
223 (dired-mode-map): Bind dired-hide-details-mode.
224 (dired-mode): Set buffer-invisibility-spec to a list.
225 (dired-next-line): Skip hidden lines.
226 (dired-previous-line): Use dired-next-line.
227 (dired-hide-details-mode): New minor mode.
228 (dired-hide-details-update-invisibility-spec): New function.
229
230 2013-02-13 Glenn Morris <rgm@gnu.org>
231
232 * play/yow.el: Move to obsolete/. (Bug#9384)
233
234 2013-02-13 Juri Linkov <juri@jurta.org>
235
236 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
237 to select `ediff-control-frame' and set input focus correctly on Xfce.
238 (Bug#12218)
239
240 2013-02-13 Juri Linkov <juri@jurta.org>
241
242 * image-mode.el (image-mode-map):
243 * doc-view.el (doc-view-mode-map):
244 * vc/ediff-util.el (ediff-setup-keymap):
245 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
246
247 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
248
249 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
250 performance. Instead of recalculating indentation fully for each
251 line, sum up indentation depth based only on visited lines.
252 (ruby-parse-partial): Increase the depth after "do" even when END
253 is right after it.
254 (ruby-parse-partial): When END is in the middle of a percent
255 literal, increase the depth if the delimiter chars belong to the
256 paren syntax class.
257
258 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
259
260 * play/fortune.el (fortune-compile): Also make the compiled file
261 if it does not exist at all, not just if it is old. (Bug#5338)
262
263 2013-02-13 Glenn Morris <rgm@gnu.org>
264
265 * emacs-lisp/package.el (package-menu-execute): Doc fix.
266
267 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
268
269 * lisp/emacs-lisp/package.el (package-menu-execute):
270 Add optional noquery argument. (Bug#13625)
271
272 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
273
274 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
275 if DIR exists and PARENTS is non-nil.
276
277 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
278
279 * progmodes/js.el (js--multi-line-declaration-indentation):
280 Silence byte-compiler warning.
281
282 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
283
284 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
285
286 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
287 only if it doesn't exist.
288
289 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
290 Set process marker.
291
292 2013-02-12 Tassilo Horn <tsdh@gnu.org>
293
294 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
295 UserInstallation when calling soffice to work around LibreOffice
296 bug 37531.
297
298 2013-02-12 Glenn Morris <rgm@gnu.org>
299
300 * files.el (basic-save-buffer):
301 Offer to create a non-existing directory. (Bug#3016)
302
303 * calc/calc-graph.el (calc-graph-show-dumb):
304 * calendar/calendar.el (calendar-mode-map):
305 * cus-edit.el (custom-mode-map):
306 * ehelp.el (electric-help-map):
307 * emulation/vip.el (vip-mode-map):
308 * epa.el (epa-key-list-mode-map):
309 * info.el (Info-mode-map):
310 * mail/rmail.el (rmail-mode-map):
311 * mail/rmailsum.el (rmail-summary-mode-map):
312 * man.el (Man-mode-map):
313 * net/newst-plainview.el (newsticker-mode-map):
314 * progmodes/cpp.el (cpp-edit-mode-map):
315 * progmodes/grep.el (grep-mode-map):
316 * progmodes/idlw-help.el (idlwave-help-mode-map):
317 * simple.el (special-mode-map):
318 * startup.el (splash-screen-keymap):
319 * view.el (view-mode-map):
320 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
321
322 2013-02-11 Elias Pipping <pipping@lavabit.com>
323
324 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
325 (bug#13679).
326
327 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
328
329 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
330
331 2013-02-11 Glenn Morris <rgm@gnu.org>
332
333 * vc/diff.el (diff-use-labels): New variable.
334 (diff-no-select): Use --label rather than -L, and first
335 check that it is supported. (Bug#11067)
336
337 * files.el (enable-dir-local-variables): New variable.
338 (hack-dir-local-variables): Respect enable-dir-local-variables.
339 * tutorial.el (help-with-tutorial):
340 Ignore directory-local variables. (Bug#11127)
341
342 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
343 (vc-svn-global-switches): ... to here. (Bug#13513)
344
345 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
346
347 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
348 Handle "foo (bar, default: xxx): " prompts.
349
350 2013-02-10 Chong Yidong <cyd@gnu.org>
351
352 * files.el (basic-save-buffer-1): Do not set
353 buffer-file-coding-system-explicit (Bug#4533).
354
355 * mail/emacsbug.el (report-emacs-bug): Change binding of
356 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
357
358 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
359
360 * calc/calc.el (calc-allow-units-as-numbers): New variable.
361 * calc/calc-units.el (calc-convert-units): Use new variable.
362
363 2013-02-09 Eli Zaretskii <eliz@gnu.org>
364
365 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
366
367 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
368 buffer-file-type.
369
370 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
371 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
372 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
373 coding-system-for-write instead.
374
375 * jka-compr.el (jka-compr-write-region): Don't bind
376 buffer-file-type.
377
378 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
379 buffer-file-type.
380
381 * files.el (file-name-buffer-file-type-alist): Remove defvar.
382 (insert-file-contents-literally): Remove reference to
383 file-name-buffer-file-type-alist.
384
385 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
386 make-obsolete.
387 (find-buffer-file-type-match, find-buffer-file-type): Remove.
388 (find-buffer-file-type-coding-system): Remove references to
389 find-buffer-file-type-match, find-buffer-file-type, and
390 buffer-file-type.
391 Don't put find-buffer-file-type-coding-system into
392 file-coding-system-alist.
393 (find-file-binary, find-file-text): Bind coding-system-for-read
394 instead of file-name-buffer-file-type-alist.
395
396 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
397
398 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
399 converter (Bug#13622).
400 (doc-view-unoconv-program): Make obsolete alias.
401 (doc-view-odf->pdf-converter-program): New variable.
402 (doc-view-odf->pdf-converter-function): New variable.
403 (doc-view-mode-p): Use it.
404 (doc-view-odf->pdf-converter-unoconv):
405 Rename from `doc-view-odf->pdf-converter-unoconv'.
406 (doc-view-odf->pdf-converter-soffice): New function.
407 (doc-view-convert-current-doc):
408 Use `doc-view-odf->pdf-converter-function'.
409
410 2013-02-09 Chong Yidong <cyd@gnu.org>
411
412 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
413 view-echo-area-messages (Bug#13340).
414
415 * help.el (view-echo-area-messages): Use display-buffer.
416
417 * dired-x.el (dired-do-run-mail): Prompt for confirmation
418 (Bug#13561).
419
420 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
421
422 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
423 Eval body right away, now that we do eager macroexpansion (bug#13605).
424
425 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
426 (fundamental-mode): Use run-mode-hooks.
427
428 * eshell/esh-proc.el (eshell/kill): Fix last change.
429 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
430
431 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
432
433 * eshell/esh-proc.el (eshell/kill): Rewrite.
434
435 * eshell/em-ls.el (show-almost-all): Declare.
436 (eshell-do-ls): Add support for -A argument.
437
438 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
439
440 * icomplete.el (icomplete-forward-completions)
441 (icomplete-backward-completions): Handle corner case (bug#13602).
442
443 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
444
445 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
446 be nil. Handle this. (Bug#13636)
447
448 2013-02-07 Richard Stallman <rms@gnu.org>
449
450 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
451 `save-buffer-coding-system'.
452
453 2013-02-07 Alan Mackenzie <acm@muc.de>
454
455 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
456 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
457 (c-parse-state-get-strategy): Don't return 'BOD any more.
458 (c-append-lower-brace-pair-to-state-cache):
459 Extra parameter HERE instead of narrowing.
460 Widen to top of buffer before searching backwards for a brace pair.
461 (c-state-push-any-brace-pair): Add HERE parameter to function call.
462 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
463 Narrow to parameter HERE, in place of being called narrowed.
464 (c-remove-stale-state-cache): Extra parameter HERE in place of
465 narrowing. Check there's an open brace in the cache before
466 searching for its match.
467 (c-invalidate-state-cache-1): Add HERE parameter to function call.
468 (c-parse-state-1): Don't narrow here for 'forward strategy,
469 instead passing extra parameter HERE to several functions.
470 Remove 'BOD strategy.
471
472 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
473
474 * emacs-lisp/package.el (describe-package-1): Tell what archive is
475 used to install the package.
476
477 2013-02-06 Glenn Morris <rgm@gnu.org>
478
479 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
480 if we can't get user input. (Bug#6567)
481
482 * startup.el (command-line): If simple.el is missing,
483 test and warn about for some possible causes.
484
485 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
486
487 * cus-start.el (all): Add ns-use-native-fullscreen.
488
489 2013-02-05 Glenn Morris <rgm@gnu.org>
490
491 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
492
493 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
494 Fix directory creation in fallback case.
495
496 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
497
498 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
499 (vc-update-change-log): Use dolist.
500
501 2013-02-04 Chong Yidong <cyd@gnu.org>
502
503 * thingatpt.el: Rewrite the URL detection routines, absorbing some
504 code from ffap.el.
505 (thing-at-point-beginning-of-url-regexp): New var.
506 (thing-at-point-uri-schemes): Update list of URI schemes.
507 (thing-at-point-url-regexp): Variable deleted.
508 (thing-at-point-markedup-url-regexp): Disallow newlines.
509 (thing-at-point-newsgroup-regexp)
510 (thing-at-point-newsgroup-heads)
511 (thing-at-point-default-mail-uri-scheme): New variables.
512 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
513 method to find the possible bounds of the URI at point.
514 New optional argument to find ill-formed URIs.
515 (thing-at-point-url-at-point): Rewrite. New arguments for finding
516 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
517 the scheme-adding heuristics from ffap-url-at-point.
518 (thing-at-point--bounds-of-well-formed-url): New function.
519 Do parens matching to decide whether to include parens in the URI
520 (Bug#9153).
521
522 * ffap.el: Require thingatpt.
523 (ffap-url-at-point): Delegate URI detection to thing-at-point.
524 All URI-valid characters are now recognized (Bug#5673).
525 (ffap-string-at-point): Use use-region-p.
526 (ffap-url-regexp): Extra character is handled by thing-at-point.
527 (ffap-string-at-point-mode-alist): Allow parentheses.
528 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
529 Convert to aliases; code moved to thingatpt.el.
530 (ffap-gnus-hook): Use setq-local.
531
532 2013-02-04 Glenn Morris <rgm@gnu.org>
533
534 * emacs-lisp/ert.el (ert--explain-format-atom):
535 Don't try to print non-characters as characters. (Bug#13543)
536
537 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
538
539 * net/tramp.el (tramp-debug-message): Extend function exclude list.
540 (tramp-backtrace): New defun.
541 (tramp-handle-insert-file-contents): Use `visit' when inserting
542 the local copy.
543
544 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
545 Use `remote-file-name-inhibit-cache'.
546
547 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
548
549 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
550 (bug#13614).
551
552 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
553 current-load-list (bug#13366).
554
555 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
556
557 * progmodes/compile.el (compilation-error-regexp-alist-alist):
558 Identify g++ template instantiation trace. (Bug#12287)
559 (compilation-mode-hook, compilation-start-hook)
560 (compilation-window-height): Simplify docstrings. (Bug#13379)
561
562 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
563
564 * mouse.el (mouse-drag-track): Always deactivate the mark before
565 running the final event's command since that command is in charge of
566 activating the mark if needed (bug#13523).
567
568 2013-02-02 Juri Linkov <juri@jurta.org>
569
570 * replace.el (perform-replace): Move let-bindings of isearch-*
571 variables deeper to the loop that searches for the next match.
572 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
573 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
574 (Bug#13579)
575
576 * isearch.el (isearch-search-fun-default): Check for null
577 first element of isearch-cmds as a precaution when it's used
578 with inactive isearch.
579
580 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
581
582 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
583 error when buffer in question is narrowed so position 1 is out of
584 visible part.
585
586 2013-02-02 Glenn Morris <rgm@gnu.org>
587
588 * textmodes/remember.el (remember-clipboard): Doc fix.
589
590 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
591
592 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
593 properties (bug#13179).
594
595 2013-02-02 Juri Linkov <juri@jurta.org>
596
597 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
598 instead of hard-coded default face `match'. (Bug#9438)
599
600 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
601
602 * vc/vc-arch.el (vc-arch-registered):
603 * vc/vc-bzr.el (vc-bzr-registered):
604 * vc/vc-cvs.el (vc-cvs-registered):
605 * vc/vc-git.el (vc-git-registered):
606 * vc/vc-hg.el (vc-hg-registered):
607 * vc/vc-mtn.el (vc-mtn-registered):
608 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
609 (Bug#13139)
610
611 * info.el (Info-next-reference, Info-prev-reference): Add numeric
612 prefix argument. (Bug#11656)
613
614 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
615
616 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
617
618 2013-02-01 Glenn Morris <rgm@gnu.org>
619
620 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
621 if the backend is known not to support it.
622
623 * imenu.el (imenu-default-create-index-function):
624 Tweak infinite loop test to check for forward motion as well as none.
625
626 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
627
628 * net/soap-client.el (soap-invoke): Encode the string for
629 `url-request-data' as UTF-8.
630 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
631
632 2013-02-01 Glenn Morris <rgm@gnu.org>
633
634 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
635
636 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
637
638 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
639
640 * net/tramp.el (tramp-tramp-file-p): Comment check for
641 `string-as-unibyte'. The function does not exist on XEmacs, and
642 likely we need another approach.
643
644 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
645 `tramp-gw-*' variables are bound.
646
647 2013-01-31 Glenn Morris <rgm@gnu.org>
648
649 * files.el (basic-save-buffer-2): Choose coding system for
650 writing the file before backing it up, to reduce delay between
651 backing up and writing the new version. (Bug#13522)
652
653 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
654
655 * simple.el (cycle-spacing): New command.
656 (just-one-space): Use it.
657
658 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
661 (opascal-newline-always-indents): Remove custom.
662 (opascal-tab, opascal-newline): Remove commands.
663 (opascal-new-comment-line): Insert "\n" instead of calling newline.
664 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
665 (opascal-save-match-data): Remove, use save-match-data instead.
666 (opascal-save-state): Use with-silent-modifications.
667
668 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
669 (bug#13585).
670
671 2013-01-30 Juri Linkov <juri@jurta.org>
672
673 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
674 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
675 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
676
677 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
678
679 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
680 column if we're just deleting the backslashes.
681 (makefile-fill-paragraph): Use eolp.
682
683 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
684
685 * autorevert.el (auto-revert-use-notify): Fix docstring.
686
687 2013-01-30 Leo Liu <sdl.web@gmail.com>
688
689 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
690
691 2013-01-30 Glenn Morris <rgm@gnu.org>
692
693 * mouse.el (mouse-drag-line): Avoid pushing same event onto
694 unread-command-events twice in some cases. This tries to implement
695 the 2012-07-26 changes in a different way. (Bug#13560)
696
697 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
698
699 * progmodes/python.el
700 (python-pdbtrack-comint-output-filter-function): Enhancements on
701 stacktrace detection. (thanks @gnovak)
702
703 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
704
705 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
706 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
707 Use defvar-local.
708 (jit-lock-register): Use setq-local.
709
710 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
711
712 * calc-units.el (math-default-units-table): Remove initial value.
713 (calc-convert-units): Treat expressions where all the units cancel as
714 if they didn't have units.
715
716 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
717
718 * net/tramp.el (tramp-process-connection-type): Fix docstring.
719 (tramp-completion-reread-directory-timeout): Fix type.
720 (tramp-connection-min-time-diff): New defcustom.
721
722 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
723
724 2013-01-30 Glenn Morris <rgm@gnu.org>
725
726 * imenu.el (imenu-default-create-index-function):
727 Put back a version of the infinite loop test removed 2013-01-23.
728
729 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
730
731 * progmodes/python.el (python-shell-parse-command):
732 Find python-shell-interpreter with modified environment.
733
734 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
735
736 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
737
738 2013-01-29 Alan Mackenzie <acm@muc.de>
739
740 Amend to fontify /regexp/s in actions correctly.
741 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
742 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
743 are no longer included.
744 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
745 What used to be these variables without "-line" in the name.
746 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
747 (c-awk-non-arith-op-bra-re): Now also matches {.
748 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
749 "return", and "case".
750 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
751 by /.
752 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
753 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
754
755 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
756
757 * autorevert.el (auto-revert-use-notify):
758 Use `custom-initialize-default' for initialization. (Bug#13583)
759
760 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
761
762 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
763 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
764 in `tramp-file-name-handler'.
765 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
766 compatibility.
767 (tramp-compute-multi-hops): Check, whether
768 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
769
770 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
771
772 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
773 (bug#13297).
774
775 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
776
777 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
778 checks made superfluous by the \_< operator.
779 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
780 temporarily) broken indentation.
781 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
782 Highlight nested constants, too. \_< broke that.
783
784 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
785
786 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
787 instead of "\\b".
788
789 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
790
791 * autorevert.el (auto-revert-handler): Notifications which result
792 from a saved file shall not be taken into account. (Bug#13557)
793
794 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
795
796 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
797 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
798 (lisp-mode): Pass t for it. (Bug#13556)
799
800 2013-01-25 Alan Mackenzie <acm@muc.de>
801
802 AWK Mode: Fix indentation bug at top level. Bug #12274.
803
804 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
805 just before CASE 5D.
806
807 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
808
809 * net/socks.el (socks-nslookup-host): Use string-to-number.
810
811 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
812
813 * autorevert.el (auto-revert-remote-files)
814 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
815 (auto-revert-notify-enabled, auto-revert-use-notify)
816 (auto-revert-notify-watch-descriptor-hash-list)
817 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
818 (auto-revert-notify-event-descriptor)
819 (auto-revert-notify-event-action)
820 (auto-revert-notify-event-file-name): Doc fix.
821 (global-auto-revert-mode): Reorder checks.
822 (auto-revert-notify-rm-watch): Respect changed values of
823 `auto-revert-notify-watch-descriptor-hash-list'.
824 (auto-revert-notify-add-watch): Check for
825 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
826 `inotify-add-watch'. Watch `default-directory' instead of
827 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
828 has a changed meaning now. (Bug#13540)
829 (auto-revert-notify-handler): Change implementation wrt events
830 returning from a directory.
831 (auto-revert-handler): Reorder implementation for checks of remote
832 files.
833 (auto-revert-buffers): Fix parentheses error.
834
835 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
836
837 * progmodes/python.el: Enhancements to header documentation about
838 skeletons. (Bug#5716)
839
840 * imenu.el (imenu-default-create-index-function): Remove useless
841 infinite loop check. (Bug#13438)
842
843 2013-01-25 Alan Mackenzie <acm@muc.de>
844
845 Fix a bug in the state cache mechanism. Refactor this a bit.
846
847 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
848 `cache-pos' element from the return value.
849 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
850 buffer to enable proper searching from beyond HERE. Amend the
851 test for detecting the sought brace pair. Amend the value written
852 to the "brace desert cache" when the brace isn't found.
853 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
854 and several other variables analogously.
855 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
856 parameter to a locally calculated variable.
857 (c-parse-state-1): Change the calling conventions to the two
858 defuns involving `cache-pos'.
859
860 2013-01-25 Chong Yidong <cyd@gnu.org>
861
862 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
863
864 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
865
866 * paren.el (show-paren-function): Make sure to set 'priority and
867 'face only if the overlay does exist.
868
869 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
870
871 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
872
873 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
874 basic attributes.
875 (tramp-sh-handle-set-file-acl): Improve error checking.
876
877 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
878
879 * doc-view.el (doc-view-display): Force mode line update until all
880 document is converted. Suggested by Stefan Monnier (Bug#13164).
881
882 2013-01-23 Bastien Guerry <bzg@gnu.org>
883
884 * paren.el (show-paren-function): Make sure an overlay exists
885 before trying to delete it. Also use `pos' as a position only
886 when it is an integer.
887
888 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
889
890 * play/gametree.el (gametree-break-line-here): Use point-marker.
891
892 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
893
894 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
895 Mark descriptive parts with `display' property.
896
897 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
898
899 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
900 New variable to map standard dict names to hunspell ones.
901 (ispell-set-spellchecker-params): Make sure specific dict names
902 are used for standard dicts with hunspell.
903
904 2013-01-21 Tassilo Horn <tsdh@gnu.org>
905
906 * textmodes/reftex-cite.el (reftex-format-citation): Add format
907 chars for note (%N) and url (%U).
908 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
909
910 2013-01-21 Juri Linkov <juri@jurta.org>
911
912 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
913 in addition to existing separate binding `meta f10' in `global-map'.
914 (Bug#13484)
915
916 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
917
918 Improve XEmacs compatibility.
919
920 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
921
922 * net/tramp-adb.el (top): Require `time-date'.
923 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
924 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
925 Use `tramp-file-name-handler'.
926 (tramp-adb-maybe-open-connection):
927 Use `tramp-compat-set-process-query-on-exit-flag'.
928
929 * net/tramp-sh.el (tramp-sh-handle-file-acl):
930 Use `tramp-compat-funcall'.
931
932 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
933 `tramp-compat-funcall'.
934
935 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
936
937 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
938 reimplementation using "adb shell command ..." instead of running
939 remote shell interactively.
940
941 2013-01-20 Glenn Morris <rgm@gnu.org>
942
943 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
944 Add native profiler menu entries.
945
946 * profiler.el (profiler-running-p): New function.
947 (profiler-cpu-profile): Use profiler-running-p.
948 (profiler-report-mode-map): Add some more menu entries.
949
950 2013-01-19 Glenn Morris <rgm@gnu.org>
951
952 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
953 fixes 2012-12-07 change. (Bug#13499)
954
955 2013-01-19 Leo Liu <sdl.web@gmail.com>
956
957 * dired.el (dired-get-marked-files): Prune erroneous values due to
958 last change. (Bug#13152)
959
960 2013-01-19 Glenn Morris <rgm@gnu.org>
961
962 * progmodes/etags.el (tags-table-check-computed-list):
963 Preserve point in tags buffer. (Bug#13412)
964
965 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
966
967 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
968 Chong Yidong <cyd@gnu.org>
969
970 * image-mode.el (image-next-file, image-previous-file):
971 New commands (Bug#8453).
972 (image-mode-map): Bind them to n and p.
973 (image-mode--images-in-directory): New helper function.
974
975 2013-01-19 Chong Yidong <cyd@gnu.org>
976
977 * image-mode.el (image-mode-fit-frame): Add a frame argument.
978 Suggested by Drew Adams (Bug#7730). Handle window decorations;
979 save and restore the old window configuration.
980
981 2013-01-18 Leo Liu <sdl.web@gmail.com>
982
983 * progmodes/js.el: Tweak autoload cookie for alias.
984
985 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
986
987 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
988 buffer local, again. This was lost with the fix on 2013-01-12.
989
990 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
991
992 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
993 order to support several eshell buffers in parallel.
994
995 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
996
997 * autorevert.el (auto-revert-use-notify): In the :set function, do
998 not modify `kill-buffer-hook'.
999 (auto-revert-notify-rm-watch):
1000 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1001 (auto-revert-notify-add-watch): Do not call
1002 `auto-revert-notify-rm-watch', but add it to a buffer local
1003 `kill-buffer-hook'.
1004
1005 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1008 call to `eval' rather than a backquoted lambda.
1009
1010 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1011
1012 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1013 to return an explicit nil.
1014 (advice--remove-function): Change accordingly.
1015
1016 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1017 the use of nadvice.el.
1018
1019 * progmodes/which-func.el (which-function): Silence imenu errors
1020 (bug#13433).
1021
1022 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1023
1024 * progmodes/sql.el: (sql-imenu-generic-expression):
1025 (sql-mode-font-lock-object-name): Match schema qualified names.
1026 (sql-connect): Use string keys.
1027 (sql-product-interactive): Wait for interpreter prompt.
1028 (sql-comint-oracle): Set process coding based on NLS_LANG.
1029
1030 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1031
1032 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1033 (sql-interactive-remove-continuation-prompt):
1034 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1035
1036 2013-01-14 Leo Liu <sdl.web@gmail.com>
1037
1038 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1039 (Bug#13420)
1040
1041 2013-01-14 Glenn Morris <rgm@gnu.org>
1042
1043 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1044 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1045
1046 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1047
1048 * progmodes/python.el (python-nav-end-of-statement):
1049 Fix cornercase when handling multiline strings.
1050
1051 2013-01-13 Richard Stallman <rms@gnu.org>
1052
1053 * mail/sendmail.el (mail-position-on-field): Add doc string.
1054
1055 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1056 Get current message boundaries and pass them to
1057 message-forward-make-body-mime. Minor style changes.
1058
1059 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1060
1061 * cus-start.el (all): Avoid warnings about
1062 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1063
1064 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1065
1066 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1067
1068 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1069
1070 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1071 (jit-lock--debug-fontifying): New var.
1072 (jit-lock--debug-fontify): New function.
1073 * subr.el (condition-case-unless-debug): Don't prevent catching the
1074 error, just let the debbugger run.
1075 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1076 timer code and don't drop errors silently.
1077
1078 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1079
1080 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1081 `permanent-local' property.
1082 (auto-revert-notify-handler): Use `file-equal-p'.
1083
1084 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1085
1086 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1087 file notification by ACTION. For filtering by file name, compare
1088 only the non-directory part of the file name.
1089
1090 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1091
1092 * autorevert.el: Use cl-lib instead of cl.
1093
1094 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1095 (vc-bzr-checkin): Use it.
1096 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1097 will preserve match-data.
1098
1099 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1100
1101 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1102 (js--declaration-keyword-re): New var.
1103 (js--multi-line-declaration-indentation): New function.
1104 (js--proper-indentation): Use it.
1105
1106 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1107
1108 * calc/calc.el (calc-highlight-selections-with-faces)
1109 (calc-dispatch):
1110 * comint.el (comint-history-isearch-message):
1111 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1112 * ffap.el (ffap-string-at-point-region, ffap-next)
1113 (ffap-string-at-point, ffap-string-around)
1114 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1115 (ffap-literally):
1116 * font-lock.el (font-lock-keywords-alist)
1117 (font-lock-removed-keywords-alist):
1118 * help-mode.el (help-xref-symbol-regexp):
1119 * info.el (Info-find-emacs-command-nodes):
1120 * international/mule.el (add-to-coding-system-list):
1121 * isearch.el (isearch-message-function, isearch-fail-pos):
1122 * misearch.el (multi-isearch-next-buffer-function):
1123 * newcomment.el (comment-box):
1124 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1125 (pr-setting-database):
1126 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1127 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1128 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1129 (pike-font-lock-keywords-3):
1130 * progmodes/compile.el (compile):
1131 * progmodes/etags.el (tags-table-files)
1132 (tags-table-files-function, tags-included-tables-function):
1133 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1134 (gdb-restore-windows):
1135 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1136 (ps-n-up-filling-database):
1137 * server.el (server-buffer, server-log):
1138 * simple.el (newline, delete-backward-char, delete-forward-char)
1139 (minibuffer-history-isearch-message, kill-line, track-eol)
1140 (temporary-goal-column):
1141 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1142 (flyspell-default-deplacement-commands):
1143 * textmodes/ispell.el (ispell-accept-output):
1144 * textmodes/sgml-mode.el (html-tag-help):
1145 * vc/compare-w.el (compare-ignore-whitespace)
1146 (compare-ignore-case, compare-windows-dehighlight):
1147 * vc/diff.el (diff):
1148 * whitespace.el (whitespace-point)
1149 (whitespace-font-lock-refontify, whitespace-bob-marker)
1150 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1151
1152 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1153
1154 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1155 (auto-revert-notify-rm-watch): Ignore errors.
1156 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1157 inotify, and '(size last-write-time) for w32notify.
1158 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1159 watch fails - this is a fallback to the file modification check.
1160 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1161 (auto-revert-notify-event-action)
1162 (auto-revert-notify-event-file-name): New defuns.
1163 (auto-revert-notify-handler): Use them. Implement first
1164 plausibility checks.
1165 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1166
1167 2013-01-11 Julien Danjou <julien@danjou.info>
1168
1169 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1170 max are almost equal. Also return the correct value for V which is
1171 already between 0 and 1.
1172
1173 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1174
1175 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1176
1177 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1178
1179 * autorevert.el (auto-revert-notify-rm-watch)
1180 (auto-revert-notify-add-watch): Fix typos in w32notify function
1181 names.
1182
1183 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1184
1185 * autorevert.el (auto-revert-notify-enabled): Move up.
1186 (auto-revert-use-notify): New defcustom.
1187 (auto-revert-mode, global-auto-revert-mode)
1188 (auto-revert-notify-add-watch, auto-revert-handler)
1189 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1190 `auto-revert-notify-enabled'.
1191
1192 2013-01-10 Elias Pipping <pipping@exherbo.org>
1193
1194 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1195 * doc-view.el (doc-view-document->bitmap):
1196 Use doc-view-single-page-converter-function instead of
1197 single-page-converter arg; adjust callers.
1198
1199 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1200
1201 * progmodes/which-func.el (which-function): Understand Semantic's use
1202 of overlays in imenu--index-alist.
1203
1204 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1205
1206 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1207 (Man-man-k-use-anchor): New var.
1208 (Man-parse-man-k): New function.
1209 (Man-completion-table): Use it.
1210 (man): Flush the completion cache between uses.
1211
1212 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1213
1214 * autorevert.el: Add file watch support.
1215 (auto-revert-notify-enabled): New defconst.
1216 (auto-revert-notify-watch-descriptor-hash-list)
1217 (auto-revert-notify-watch-descriptor)
1218 (auto-revert-notify-modified-p): New defvars.
1219 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1220 (auto-revert-notify-handler): New defuns.
1221 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1222 when mode is disabled.
1223 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1224 (auto-revert-buffers): Add file watches for active buffers.
1225
1226 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1227
1228 * cus-start.el (toplevel): Only allow float values for
1229 scroll-up-aggressively and scroll-down-aggressively.
1230 Allow any number for line-spacing.
1231
1232 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1233
1234 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1235 (doc-view-pdf->png-converter-function): Use mupdf if available.
1236 (doc-view-djvu->png-converter-function)
1237 (doc-view-ps->png-converter-function): Remove.
1238 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1239 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1240 (doc-view-already-converted-p): Adjust accordingly.
1241 (doc-view-mode-p): Simplify.
1242 (doc-view-enlarge): Use setq-local.
1243 (doc-view-pdf->png-converter-ghostscript)
1244 (doc-view-djvu->png-converter-ddjvu)
1245 (doc-view-pdf->png-converter-mupdf): Rework to call
1246 doc-view-start-process directly.
1247 (doc-view-pdf/ps->png): Simplify accordingly.
1248 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1249 (doc-view-document->bitmap): Rename from doc-view-document->png.
1250 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1251 (doc-view-set-slice-from-bounding-box): Fix completion table.
1252 (doc-view-mode): Use add-hook for after-revert-hook.
1253
1254 2013-01-10 Glenn Morris <rgm@gnu.org>
1255
1256 * emacs-lisp/authors.el (authors-ignored-files)
1257 (authors-valid-file-names, authors-renamed-files-alist):
1258 Add some more entries.
1259
1260 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1261
1262 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1263 `t' pseudo-window entry.
1264
1265 2013-01-10 Alan Mackenzie <acm@muc.de>
1266
1267 Fix bugs in the c-parse-state mechanism. Reuse some markers
1268 instead of continually generating new ones.
1269
1270 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1271 (c-state-old-cpp-end-marker): New variables.
1272 (c-append-lower-brace-pair-to-state-cache): Start a backward
1273 search for "}" definitively outside CPP constructs.
1274 (c-remove-stale-state-cache): Inform the caller of a need to
1275 search back for a brace pair in certain circumstances.
1276 (c-state-maybe-marker): New macro.
1277 (c-parse-state): Reuse markers when appropriate.
1278
1279 2013-01-10 Glenn Morris <rgm@gnu.org>
1280
1281 * simple.el (execute-extended-command): Doc fix.
1282 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1283
1284 2013-01-10 Chong Yidong <cyd@gnu.org>
1285
1286 * faces.el (read-face-name): Doc fix.
1287
1288 2013-01-10 Roland Winkler <winkler@gnu.org>
1289
1290 * emacs-lisp/crm.el: Allow any regexp for separators.
1291 (crm-default-separator): All spaces around the default comma separator.
1292 (crm--completion-command): New macro.
1293 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1294 (crm-complete-and-exit): Handle non-single-char separators.
1295
1296 2013-01-09 Elias Pipping <pipping@lavabit.com>
1297
1298 * doc-view.el: Add support for DjVu (bug#13164).
1299 (doc-view-djvu->png-converter-function): New config var.
1300 (doc-view-single-page-converter-function, doc-view--image-type)
1301 (doc-view--image-file-extension): New vars.
1302 (doc-view-mode): Initialize them.
1303 (doc-view-goto-page): Use them.
1304 (doc-view-mode-p): Add support for ddjvu.
1305 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1306 (doc-view-set-up-single-converter): New funs.
1307 (doc-view-pdf/ps->png): Extend for djvu.
1308 (doc-view-document->png): Rename from doc-view-pdf->png.
1309 (doc-view-convert-current-doc): Handle djvu.
1310 (doc-view-insert-image, doc-view-display)
1311 (doc-view-already-converted-p): Don't hardcode png.
1312 (doc-view-set-doc-type): Recognize djvu docs.
1313
1314 2013-01-09 Elias Pipping <pipping@lavabit.com>
1315
1316 * doc-view.el: Add support for mupdf converter (bug#13164).
1317 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1318 (doc-view-ps->png-converter-function): New config vars.
1319 (doc-view-pdf->png-converter-ghostscript)
1320 (doc-view-ps->png-converter-ghostscript)
1321 (doc-view-pdf->png-converter-mupdf): New functions.
1322 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1323
1324 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1325
1326 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1327 first in session cache: When `tramp-own-remote-path' is in
1328 `tramp-remote-path', the remote path is only set in the session
1329 cache.
1330
1331 2013-01-09 Glenn Morris <rgm@gnu.org>
1332
1333 * emacs-lisp/trace.el (trace-function-foreground)
1334 (trace-function-background): Doc fix.
1335
1336 2013-01-09 Juri Linkov <juri@jurta.org>
1337
1338 * international/mule-cmds.el (read-char-by-name): Move let-binding
1339 of completion-ignore-case around completing-read to fix regression
1340 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1341 `string-match-p' using the nil value of `case-fold-search' and
1342 `completion-ignore-case' in `completion-pcm--all-completions'.
1343 (Bug#12615).
1344
1345 2013-01-09 Glenn Morris <rgm@gnu.org>
1346
1347 * progmodes/compile.el (compilation-parse-errors):
1348 Fix typo. (Bug#13369)
1349
1350 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1351
1352 * comint.el (comint-send-input): Check size of buffer before
1353 waiting for process output, in case already accepted. (Bug#13290)
1354
1355 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1356
1357 Spelling fixes.
1358 * net/tramp-adb.el (tramp-adb-get-toolbox):
1359 Fix misspelling of 'unknown'.
1360
1361 2013-01-08 Juri Linkov <juri@jurta.org>
1362
1363 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1364 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1365 Use underline style wave on terminals that support it. (Bug#13000)
1366
1367 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1368
1369 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1370 the predicate returns nil.
1371
1372 * simple.el: Use lexical-binding.
1373 (primitive-undo): Use pcase.
1374 (minibuffer-history-isearch-push-state): Use a closure.
1375
1376 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1377
1378 * simple.el (primitive-undo): Move from undo.c.
1379
1380 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1381
1382 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1383 (cvs-mode-remove-handled): Use it (bug#13380).
1384
1385 * emacs-lisp/nadvice.el (advice--tweak): New function.
1386 (advice--remove-function, advice--subst-main): Use it.
1387
1388 * emacs-lisp/advice.el: Update commentary.
1389
1390 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1391
1392 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1393 Remove spurious entry.
1394
1395 2013-01-08 Glenn Morris <rgm@gnu.org>
1396
1397 * net/tramp.el (tramp-default-host-alist): Add :version.
1398
1399 2013-01-08 Juri Linkov <juri@jurta.org>
1400
1401 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1402 single completion. (Bug#12456)
1403 (info--manual-names): Expand node completions into an explicit list
1404 before appending it to another list. Filter out internal buffers
1405 with the leading space in the buffer name. (Bug#10771)
1406
1407 2013-01-08 Juri Linkov <juri@jurta.org>
1408
1409 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1410 that defaults to the Top node.
1411 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1412 the short format (FILENAME) goes to the Top node.
1413 (Info-build-node-completions): Rename arg `file' to `filename'.
1414 (Bug#13365)
1415
1416 2013-01-07 Bastien Guerry <bzg@gnu.org>
1417
1418 * menu-bar.el (menu-bar-search-documentation-menu):
1419 Use `apropos-user-option' and fix the help message.
1420
1421 2013-01-07 Bastien Guerry <bzg@gnu.org>
1422
1423 * apropos.el (apropos-do-all): Update docstring.
1424 (apropos-user-option-button): New face.
1425 (apropos-user-option): Rename from `apropos-variable' and update
1426 docstring.
1427 (apropos-variable): Rewrite, now show all variables by default.
1428 (apropos-print): Mention "User option" instead of "Variable" when
1429 printing doc for user options. (Bug#13276)
1430
1431 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1432
1433 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1434 Handle filename correctly, when parsing "source -> target" symlink
1435 output.
1436 (tramp-adb-handle-set-file-times): New defun.
1437
1438 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1439
1440 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1441 advice list when the interactive-spec of ad-Advice-* changes.
1442
1443 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1444
1445 * wid-edit.el (widget-default-get): Work for inlined elements.
1446 (Bug#12670)
1447
1448 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1449
1450 * net/tramp.el (tramp-default-host-alist): New defcustom.
1451 (tramp-find-host): Use it.
1452 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1453 `eshell-directory-change-hook'.
1454
1455 * net/tramp-adb.el (top): Add adb specific entry in
1456 `tramp-default-host-alist'.
1457 (tramp-adb-file-name-host): Remove function.
1458 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1459 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1460
1461 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1462
1463 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1464
1465 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1466
1467 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1468
1469 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1470 consist of more than one digit.
1471 (tramp-adb-file-name-handler-alist):
1472 Use `tramp-handle-file-exists-p' consistently.
1473 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1474 (tramp-adb-handle-file-exists-p): Remove function.
1475 (tramp-adb-file-name-host): New defun.
1476 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1477 Use it.
1478 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1479
1480 2013-01-06 Chong Yidong <cyd@gnu.org>
1481
1482 * vc/vc.el (vc-next-action): Detect buffer modifications
1483 conflicting with locking VCS operation (Bug#11490).
1484
1485 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1486
1487 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1488
1489 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1490 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1491
1492 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1493
1494 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1495 parsing of ls output using regular expression (handle filenames
1496 with spaces). Use virtual device number.
1497 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1498 cleanup).
1499
1500 2013-01-04 Daiki Ueno <ueno@gnu.org>
1501
1502 * epg.el: Silence byte-compiler warnings.
1503 (epg--start): Use delete-char instead of delete-backward-char.
1504 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1505
1506 2013-01-04 Daiki Ueno <ueno@gnu.org>
1507
1508 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1509 Suggested by Eli Zaretskii <eliz@gnu.org>.
1510
1511 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1512
1513 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1514 non-negative integers. Otherwise, the default values are used.
1515 (tramp-convert-file-attributes): Convert uid and gid to integers.
1516
1517 2013-01-04 Glenn Morris <rgm@gnu.org>
1518
1519 * term.el (term-handle-colors-array): Ensure face attributes
1520 are fully specified, not nil. (Bug#13337)
1521
1522 * term.el (term-default-fg-color, term-default-bg-color):
1523 Fix custom type.
1524
1525 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1526 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1527 rather than 'jka-compr being loaded. (Bug#13338)
1528
1529 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1530
1531 * icomplete.el (icomplete-completions):
1532 Honor icomplete-prospects-height once more following
1533 2012-11-29 changes. (Bug#13224)
1534
1535 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1538 of called-interactively-p as well (bug#13237).
1539
1540 * view.el (view--enable, view--disable): Rename from view-mode-enable
1541 and view-mode-disable and assume it's called from view-mode.
1542 (view-mode-enable, view-mode-disable): Redefine as obsolete
1543 compatibility layer above view-mode.
1544 (view-mode-enter): Call `view-mode'.
1545
1546 * files.el (after-find-file): Call `view-mode'.
1547
1548 * doc-view.el (doc-view-scale-internally): New var.
1549 (doc-view-enlarge, doc-view-insert-image): Obey it.
1550
1551 2013-01-03 Daiki Ueno <ueno@gnu.org>
1552
1553 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1554 exist. (Bug#13344)
1555
1556 2013-01-03 Glenn Morris <rgm@gnu.org>
1557
1558 * mail/rmail.el (rmail-set-header-1): Ignore case.
1559 Handle multi-line headers. (Bug#13330)
1560
1561 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1562 Handle paragraph starting at beginning of buffer.
1563
1564 * subr.el (eval-after-load): Don't purecopy the form, so that it
1565 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1566
1567 * emacs-lisp/byte-run.el (defun): Place cl declarations
1568 after any interactive spec. (Bug#13265)
1569
1570 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1571
1572 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1573 defun. Don't check for DECL if DOCSTRING isn't a string.
1574 (defun): Likewise.
1575
1576 2013-01-02 Glenn Morris <rgm@gnu.org>
1577
1578 * eshell/em-cmpl.el (eshell-pcomplete):
1579 More thoroughly imitate pcomplete. (Bug#13293)
1580
1581 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1582 Return nil for empty path elements. (Bug#13296)
1583
1584 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1585
1586 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1587 order to improve efficiency (Based on Daniel Colascione's
1588 <dancol@dancol.org> patch). (Bug#13182)
1589
1590 2013-01-02 Glenn Morris <rgm@gnu.org>
1591
1592 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1593
1594 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1595
1596 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1597 neither DOCSTRING nor DECL was given. (Bug#13316)
1598
1599 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1600
1601 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1602 `error' call.
1603 (tramp-do-copy-or-rename-file): Ignore errors when calling
1604 `set-file-extended-attributes'.
1605
1606 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1607 Add handler for `file-acl'.
1608 (tramp-smb-handle-file-acl): New defun.
1609
1610 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1611
1612 * calc/README: Mention ISO 8601 week-numbering dates.
1613
1614 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1615
1616 * view.el (view-mode-enable): New argument run-view-mode-hook.
1617 Run view-mode-hook only when it's non-nil (Bug#13315).
1618 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1619 argument t.
1620
1621 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1622
1623 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1624 (No device connected, invalid device name). (Bug #13299)
1625
1626 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1627
1628 * window.el (window-resizable--p): Rename to window-resizable-p.
1629 (window-resize-no-error): New function.
1630
1631 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1632 broken in fix from 2012-12-28.
1633
1634 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1635
1636 * subr.el (special-form-p): Don't signal errors on undef aliases.
1637
1638 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1639
1640 * calc/calc-forms.el (math-parse-date): Try using
1641 `math-parse-iso-date' when it looks like it might be needed.
1642 Allow times of 24:00.
1643 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1644 of 24:00.
1645
1646 2012-12-30 Glenn Morris <rgm@gnu.org>
1647
1648 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1649 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1650 (rmail-summary-displayed, rmail-summary): Declare.
1651 (mairix-rmail-display): Just require rmail.
1652
1653 2012-12-30 Chong Yidong <cyd@gnu.org>
1654
1655 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1656 check for the tarball contents.
1657
1658 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1659
1660 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1661 tarfile content listings (Bug#13136).
1662
1663 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1664
1665 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1666 Insert the undecoded text of the message being forwarded. (Bug#9521)
1667
1668 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1669
1670 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1671 integers, if they are real numbers. (Bug#13282)
1672
1673 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1674 Return `t' on success.
1675
1676 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1677 Add handler for `set-file-selinux-context'.
1678
1679 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1680
1681 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1682 (tramp-sh-handle-set-file-acl): Return `t' on success.
1683
1684 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1685
1686 * files.el (backup-buffer-copy, basic-save-buffer-2):
1687 If set-file-extended-attributes fails, fall back on set-file-modes
1688 instead of signaling an error. (Bug#13298)
1689 (basic-save-buffer): Likewise.
1690
1691 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1692
1693 * progmodes/python.el: Support other commands triggering
1694 python-indent-line so indentation cycling continues to work.
1695 (python-indent-trigger-commands): New defcustom.
1696 (python-indent-line): Use it.
1697
1698 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1699
1700 * progmodes/python.el (python-shell-send-region): Add blank lines
1701 for non sent code so backtraces remain correct.
1702
1703 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1704
1705 * progmodes/python.el: Remove cl dependency.
1706 (python-syntax-count-quotes): Replace incf call.
1707 (python-fill-string): Replace setf call.
1708
1709 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1710
1711 * info.el (info-other-window): New arg, for consistency with info.
1712
1713 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1714
1715 * mail/rmail.el (rmail-maybe-display-summary):
1716 Rewrite (Bug#13066).
1717
1718 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1719
1720 * epg.el (epg--start): Modify process-environment locally.
1721
1722 2012-12-28 Daiki Ueno <ueno@gnu.org>
1723
1724 * epg.el: Support pinentry-curses.
1725 Suggested by Werner Koch in
1726 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1727 (epg-agent-file, epg-agent-mtime): New variable.
1728 (epg--start): Record the modified time of gpg-agent socket file,
1729 to restore Emacs frame after pinentry-curses termination.
1730 (epg-wait-for-completion): Restore Emacs frame here.
1731
1732 2012-12-27 Juri Linkov <juri@jurta.org>
1733
1734 * info.el (Info-file-completions): New variable.
1735 (Info-read-node-name-1): Complete node names in the Info file
1736 when a file name is given. Call `Info-build-node-completions'
1737 with a file name.
1738 (Info-build-node-completions): Add new arg `file'. When it is
1739 non-nil, visit it in a temporary buffer and cache its completions in
1740 `Info-current-file-completions'. Move most of the function body to
1741 `Info-build-node-completions-1'.
1742 (Info-build-node-completions-1): New function with the body from
1743 `Info-build-node-completions'. (Bug#12456)
1744
1745 2012-12-27 Juri Linkov <juri@jurta.org>
1746
1747 * frame.el (frame-maximization-style): Remove user option.
1748 (cycle-frame-maximized): Remove function.
1749 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1750 (toggle-frame-fullscreen): New command bound to <f11> instead of
1751 `toggle-frame-maximized'.
1752 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1753
1754 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1755
1756 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1757
1758 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1759 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1760 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1761 for `file-accessible-directory-p'. (Bug#13275)
1762
1763 2012-12-27 Sam Steingold <sds@gnu.org>
1764
1765 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1766 continuations, see <http://stackoverflow.com/questions/3582436>.
1767
1768 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
1769
1770 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1771 "module" and "def" to have indentation before them.
1772 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1773
1774 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1775
1776 2012-12-27 Alan Mackenzie <acm@muc.de>
1777
1778 Speed up fontification where there's large brace blocks.
1779 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1780 to a call of c-beginning-of-decl-1.
1781
1782 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1783
1784 * comint.el (comint-adjust-window-point): New function.
1785 (comint-postoutput-scroll-to-bottom):
1786 Call comint-adjust-window-point (Bug#13248).
1787
1788 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1789
1790 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1791 Rakefile regexp.
1792 (auto-mode-alist): Associate .gemspec files with ruby-mode
1793 (https://bugs.ruby-lang.org/issues/5453).
1794
1795 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1796
1797 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1798 Suppress coloring, if possible (required for BusyBox based systems like
1799 CyanogenMod).
1800 (tramp-adb-handle-file-attributes)
1801 (tramp-adb-handle-insert-directory)
1802 (tramp-adb-handle-file-name-all-completions): Use it.
1803 (tramp-adb-get-toolbox): New defun. Check for remote shell
1804 implementation (BusyBox or Toolbox).
1805
1806 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1807
1808 * startup.el (initial-buffer-choice): Allow function as value
1809 (Bug#13251).
1810 (command-line-1): Handle case where initial-buffer-choice
1811 specifies a function.
1812 * server.el (server-execute): Handle case where
1813 initial-buffer-choice specifies a function.
1814
1815 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1816
1817 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1818 its own function.
1819 (smtpmail-try-auth-methods): Forget the user name/password if the
1820 login is unsuccessful (bug#12424).
1821
1822 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
1823
1824 * notifications.el (notifications-notify): Protect body with
1825 `with-demoted-errors'.
1826
1827 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1828 Check properties of remote device. Restart connection, if there is a
1829 change.
1830
1831 2012-12-21 Chong Yidong <cyd@gnu.org>
1832
1833 * sort.el (sort-subr): Doc fix (Bug#13056).
1834
1835 2012-12-21 Bastien Guerry <bzg@gnu.org>
1836
1837 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1838
1839 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
1840
1841 * simple.el (process-file): Overwrite stderr file, if exists.
1842
1843 2012-12-21 Daiki Ueno <ueno@gnu.org>
1844
1845 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1846 (epg-error): Set `error-message' property.
1847
1848 2012-12-21 Chong Yidong <cyd@gnu.org>
1849
1850 * international/mule-cmds.el (read-char-by-name): Signal an error
1851 if the user does not supply a valid character (Bug#13177).
1852
1853 * simple.el (transpose-subr-1): Preserve marker positions by
1854 changing the insertion sequence (Bug#13122).
1855
1856 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1857
1858 * simple.el (kill-region): Deactivate mark even for empty regions
1859 (Bug#13169).
1860
1861 2012-12-21 Chong Yidong <cyd@gnu.org>
1862
1863 * help-fns.el (describe-variable): Make sure we get the right
1864 buffer name (Bug#13105). Suggested by Kelly Dean.
1865
1866 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1867
1868 * comint.el (comint-redirect-previous-input-string): New variable.
1869 (comint-redirect-setup, comint-redirect-cleanup)
1870 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1871 (comint-redirect-preoutput-filter): Fix verbose message.
1872
1873 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
1874
1875 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1876 is too long for Tramp. See discussion in
1877 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1878
1879 * progmodes/compile.el (compilation-start): Remove line escape
1880 template.
1881
1882 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1883
1884 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1885 Adjust comment.
1886
1887 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1888
1889 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1890 following non-comment text (bug#13207).
1891 (lm-header-multiline): Continuation lines need to be indented more than
1892 the first line.
1893 (lm-homepage): New function.
1894 (lm-with-file): Don't be confused if narrowing is in effect.
1895
1896 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1897
1898 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1899 very beginning of a hunk (e.g. killing the first line).
1900
1901 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
1902
1903 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1904 and text properties from returned ACL string.
1905 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1906 for "setfacl" command.
1907
1908 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
1909
1910 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1911 `tramp-cleanup-this-connection', when the process has died.
1912 (Bug#13151)
1913
1914 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1915
1916 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1917
1918 2012-12-17 Kevin Ryde <user42@zip.com.au>
1919
1920 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1921
1922 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
1923
1924 Add support for preserving ACL entries of files.
1925
1926 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1927 `set-file-acl' handlers.
1928
1929 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1930 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1931
1932 * net/tramp-compat.el (tramp-compat-copy-file):
1933 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1934
1935 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1936 Add `file-acl' and `set-file-acl' handlers.
1937 (tramp-gvfs-handle-copy-file):
1938 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1939 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1940 New defuns.
1941
1942 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1943 Add `file-acl' and `set-file-acl' handlers.
1944 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1945 (tramp-sh-handle-set-file-acl): New defuns.
1946 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1947 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1948
1949 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1950 Add `file-acl' and `set-file-acl' handlers.
1951 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1952
1953 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1954
1955 * help-macro.el (make-help-screen): Instead of switch-to-buffer
1956 use pop-to-buffer with NORECORD argument t. As buffer name, use
1957 *Metahelp* with a leading space (Bug#13190).
1958
1959 2012-12-16 Romain Francoise <romain@orebokech.com>
1960
1961 * files.el (file-extended-attributes)
1962 (set-file-extended-attributes): New functions.
1963 (backup-buffer): Use them to handle both SELinux context and ACL
1964 entries.
1965 (backup-buffer-copy): Work with an alist of extended attributes,
1966 rather than an SELinux context.
1967 (basic-save-buffer-2): Ditto.
1968
1969 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1970
1971 * battery.el (battery-bsd-apm): New function.
1972
1973 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1974
1975 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1976 standard date formats.
1977
1978 2012-12-15 Juri Linkov <juri@jurta.org>
1979
1980 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1981 `isearch-insert-char-by-name'.
1982 (with-isearch-suspended): New defmacro with body mostly from
1983 `isearch-edit-string' except the part that sets
1984 `isearch-new-string' and `isearch-new-message'.
1985 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1986 body that sets `isearch-new-string' and `isearch-new-message'.
1987 (isearch-insert-char-by-name): New command.
1988 * international/mule-cmds.el (read-char-by-name): Let-bind
1989 `enable-recursive-minibuffers' to t.
1990 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1991
1992 2012-12-15 Juri Linkov <juri@jurta.org>
1993
1994 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1995 (Bug#13175)
1996
1997 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1998
1999 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2000 the prompt. (Bug#13045)
2001
2002 2012-12-14 Glenn Morris <rgm@gnu.org>
2003
2004 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2005 Try to include filename in non-bytecomp warning. (Bug#13132)
2006
2007 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2008
2009 Fix permissions bugs with setgid directories etc. (Bug#13125)
2010 * files.el (backup-buffer): Don't rely on 9th output of
2011 file-attributes, as it's now a placeholder. Instead, use the new
2012 optional arg of file-ownership-preserved-p.
2013 (file-ownership-preserved-p): New optional arg GROUP.
2014 Fix mishandling of setuid directories that would cause this
2015 function to return t when it should have returned nil.
2016 Document what happens if the file does not exist, and when
2017 it's not known whether the ownership will be preserved.
2018 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2019 Likewise.
2020 (tramp-get-local-gid): Use group-gid for integer, as that's
2021 faster and more reliable.
2022
2023 2012-12-14 Julien Danjou <julien@danjou.info>
2024
2025 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2026 Update keywords list, data type and PL/pgSQL.
2027
2028 2012-12-14 Dave Abrahams <dave@boostpro.com>
2029
2030 * vc/ediff-util.el (ediff-buffer-type): New function.
2031 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2032 rather than taking it as as argument.
2033 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2034
2035 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2036
2037 * json.el: Add pretty-print option (bug#12634).
2038 (json-encoding-separator, json-encoding-default-indentation)
2039 (json--encoding-current-indentation, json-encoding-pretty-print)
2040 (json-encoding-lisp-style-closings): New vars.
2041 (json--with-indentation): New macro.
2042 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2043 (json-encode-array): Use it to obey json-encoding-pretty-print.
2044 (json-pretty-print-buffer, json-pretty-print): New commands.
2045
2046 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2047
2048 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2049 Extract `ruby-syntax-propertize-expansions'.
2050 (ruby-syntax-propertize-expansions): Only change syntax on
2051 certain string delimiters, to punctuation. This way the common
2052 functions like forward-word and thing-at-point still work.
2053 (ruby-match-expression-expansion): Improve readability.
2054 (ruby-block-contains-point): New function.
2055 (ruby-add-log-current-method): Handle several edge cases.
2056
2057 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2058
2059 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2060 unload-feature finishes even when aborting an ongoing edebug session.
2061 Also, do not worry about edebug-mode, unload-feature takes care of it.
2062
2063 2012-12-13 Andreas Schwab <schwab@suse.de>
2064
2065 * net/tls.el (tls-program): Update customize type.
2066
2067 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2068
2069 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2070 (edebug-setup-hook, cl-read-load-hooks): Use it.
2071 (edebug-unload-function): New function. (Bug#13163)
2072
2073 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2074
2075 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2076 Otherwise, there could be errors in autoloading. (Bug#13151)
2077
2078 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2079
2080 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2081 sequences.
2082
2083 2012-12-13 Alan Mackenzie <acm@muc.de>
2084
2085 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2086 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2087 around `forward-comment' not recognizing ^M as whitespace.
2088
2089 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2090
2091 * progmodes/python.el (python-skeleton-class)
2092 (python-skeleton-def): Do not add space after defun name.
2093
2094 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2095
2096 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2097 (cl--symbol-function): Remove (now that funbound is like nil).
2098
2099 2012-12-12 Glenn Morris <rgm@gnu.org>
2100
2101 * button.el (button--area-button-p): Fix typo.
2102
2103 2012-12-12 Sam Steingold <sds@gnu.org>
2104
2105 * frame.el (frame-maximization-style): New user option.
2106 (toggle-frame-maximized): Toggle frame maximization according to
2107 `frame-maximization-style', bound to <f11>.
2108 (cycle-frame-maximized): Cycle between all maximization styles and
2109 non-maximized frame, bound to shift-<f11>.
2110
2111 2012-12-12 David Cadé <codename68@gmail.com>
2112
2113 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2114
2115 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2116
2117 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2118 (eieio-override-prin1): Don't quote kewords and booleans.
2119 (object-write) <eieio-default-superclass>: Don't put closing parens
2120 on new line, avoid needless empty lines, align values that are objects
2121 with the slot keyword (instead of beginning on the same line).
2122 (eieio-list-prin1): Align value with slot keyword; increase
2123 eieio-print-depth before printing members of the list.
2124
2125 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2126
2127 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2128 a display text-property.
2129 (report-emacs-bug-hook): Don't bother deleting it any more.
2130
2131 * hilit-chg.el (highlight-save-buffer-state): Delete.
2132 Use with-silent-modifications instead.
2133 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2134
2135 * button.el: Handle buttons in display text-properties.
2136 (button--area-button-p, button--area-button-string):
2137 Use (STRING . STRING-POS) representation instead of just STRING.
2138
2139 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2140
2141 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2142 subdirectory be skipped.
2143
2144 2012-12-11 Glenn Morris <rgm@gnu.org>
2145
2146 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2147
2148 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2149 Treat preprocessor lines embedded in continuations like comments.
2150 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2151
2152 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2153
2154 * calc/calc.el (calc-standard-date-formats): Add more date
2155 formats.
2156 * calc/calc-forms.el (math-parse-iso-date): New function.
2157 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2158 (math-parse-iso-date-validate): Add extra error checking.
2159 (calc-date-notation): Add ability to access new date formats.
2160
2161 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2162
2163 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2164 font-lock as well as when there's no text-property.
2165
2166 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2167
2168 * hi-lock.el: Refine the choice of default face.
2169 (hi-lock-keyword->face): New function. Use it wherever we used
2170 cadadadr instead.
2171 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2172 (hi-lock--last-face): Remove var.
2173 (hi-lock--unused-faces): New var to replace it.
2174 (hi-lock-read-face-name): Use/maintain it.
2175 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2176 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2177 if it has another face.
2178
2179 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2180
2181 * subr.el (w32notify-handle-event): New function.
2182 (inotify-handle-event): Doc fix.
2183
2184 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2185
2186 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2187
2188 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2189
2190 * simple.el (just-one-space): Doc fix.
2191
2192 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2193
2194 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2195
2196 2012-12-10 Le Wang <l26wang@gmail.com>
2197
2198 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2199 narrowed buffer (bug#12361).
2200
2201 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2202
2203 * vc/vc-hooks.el (vc-state): Doc fix.
2204
2205 2012-12-10 Glenn Morris <rgm@gnu.org>
2206
2207 * mail/rmail.el (rmail-maybe-display-summary):
2208 Preserve buffer, in case select-window changes it. (Bug#13066)
2209
2210 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2211
2212 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2213 cl-load-hook where they belong.
2214
2215 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2216
2217 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2218
2219 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2220
2221 Parallelize byte compilation on MS-Windows.
2222 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2223 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2224 (WINS_BASIC): Define as concatenation of the above.
2225 (compile): Subdivide into 4 separate and independent jobs that can
2226 be run in parallel.
2227 (compile0-CMD, compile0-SH): New targets for compiling
2228 COMPILE_FIRST files, which are prerequisites for the rest of the
2229 byte-compilation.
2230 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2231 New targets for parallel compilation with cmd.exe.
2232 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2233 compiling under a Unixy shell.
2234
2235 2012-12-09 Chong Yidong <cyd@gnu.org>
2236
2237 * simple.el (set-mark-default-inactive): Delete this
2238 accidentally-introduced option.
2239 (set-mark-command, exchange-point-and-mark): Remove calls.
2240
2241 2012-12-09 Glenn Morris <rgm@gnu.org>
2242
2243 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2244 Respect a defcustom's :set function, if appropriate. (Bug#109)
2245 (eval-defun): Doc fix.
2246
2247 2012-12-08 Juri Linkov <juri@jurta.org>
2248
2249 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2250 (Info-fontify-node, Info-bookmark-make-record): Remove the
2251 file extension from Info-current-file (Bug#13016).
2252
2253 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2254
2255 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2256 point, still provide some default.
2257 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2258 names, since we don't use it right now. Actually return the list.
2259 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2260
2261 2012-12-07 Chong Yidong <cyd@gnu.org>
2262
2263 * novice.el (disabled-command-function): Remove a spurious help
2264 xref (Bug#13043). Suggested by Kelly Dean.
2265
2266 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2267 syntax is specified (Bug#13025).
2268
2269 * info.el (Info-set-mode-line): Remove the file extension from
2270 Info-current-file if there is one (Bug#13016).
2271
2272 2012-12-07 Glenn Morris <rgm@gnu.org>
2273
2274 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2275 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2276 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2277 and rmail-mime-decoded. (Bug#9841)
2278
2279 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2280 (batch-unrmail, unrmail): Doc fixes.
2281 (unrmail): Respect unrmail-mbox-format.
2282 * mail/rmail.el (rmail-mbox-format): New option.
2283 (rmail-show-message-1): Respect rmail-mbox-format.
2284
2285 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2286
2287 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2288
2289 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2290
2291 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2292 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2293 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2294 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2295 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2296 (cl-progv): Don't rely on dynamic scoping to find the body.
2297 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2298 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2299 (cl-declaim): Use backquotes.
2300 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2301 Use "cl--" prefix for the object's tag.
2302
2303 * ses.el: Use advice-add/remove.
2304 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2305 (copy-region-as-kill, yank): Use advice-add.
2306 (ses-unload-function): Use advice-remove.
2307
2308 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2309
2310 * button.el: Make them work in header-lines (bug#12817).
2311 (button-map): Add bindings for header-line and mode-line use.
2312 (button-get, button-put, button-label): `button' may now be a string.
2313 (button-activate): Don't make it a defsubst.
2314 (button--area-button-p, button--area-button-string): New functions.
2315 (make-text-button): Fix the return value when `beg' was a string.
2316 (push-button): Handle the mode-line case.
2317
2318 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2319
2320 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2321 (sql-signum): Remove. Use `cl-signum' instead.
2322 (sql-read-passwd): Remove; use read-passwd instread.
2323 (sql-get-login-ext): Use read-string.
2324 (sql-get-login): Use dolist and pcase.
2325 (sql--completion-table): Rename from sql-try-completion.
2326 Use complete-with-action.
2327 (sql-mode): Don't change abbrev-all-caps globally.
2328 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2329 (sql-postgres-completion-object): Initialize vars in their `let'.
2330 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2331 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2332 (sql-comint-interbase): Use a single append, without setq.
2333 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2334
2335 * hi-lock.el: Rework the default face and the serialize regexp code.
2336 (hi-lock--auto-select-face-defaults): Remove.
2337 (hi-lock-string-serialize-serial): Remove.
2338 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2339 make weak.
2340 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2341 equal string.
2342 (hi-lock-set-pattern): Adjust accordingly.
2343 (hi-lock--regexps-at-point): Simplify accordingly.
2344 (hi-lock--auto-select-face-defaults): Remove.
2345 (hi-lock--last-face): New var to replace it.
2346 (hi-lock-read-face-name): Rewrite (bug#11095).
2347 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2348
2349 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2350
2351 * net/tramp.el (tramp-replace-environment-variables):
2352 Hide compiler warning.
2353 (tramp-file-name-for-operation): Remove `executable-find',
2354 `start-process', `call-process' and `call-process-region'.
2355
2356 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2357
2358 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2359 compatibility.
2360
2361 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2362
2363 2012-12-06 Chong Yidong <cyd@gnu.org>
2364
2365 * ffap.el (ffap-replace-file-component): Fix typo.
2366
2367 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2368
2369 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2370 fix open-paren-like token test (bug#12785).
2371
2372 2012-12-06 Glenn Morris <rgm@gnu.org>
2373
2374 * mail/rmailsum.el (rmail-new-summary): Tweak for
2375 rmail-maybe-display-summary changing buffer. (Bug#13066)
2376
2377 2012-12-06 Juri Linkov <juri@jurta.org>
2378
2379 * info.el (Info-fontify-node): Don't hide the last newline.
2380 (Bug#12272)
2381
2382 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2383
2384 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2385 so as to enable message-read-from-minibuffer to expand mail aliases.
2386
2387 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2390 the `intangible' property.
2391 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2392
2393 2012-12-05 Deniz Dogan <deniz@dogan.se>
2394
2395 * net/rcirc.el (rcirc-urls): Update documentation.
2396 (rcirc-condition-filter): New function.
2397 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2398 and exclude consecutive duplicate URLs (Bug#6082).
2399
2400 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2401
2402 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2403 Check return code of copy command.
2404
2405 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2406 Use group `tramp'. Add version.
2407
2408 2012-12-05 Chong Yidong <cyd@gnu.org>
2409
2410 * ffap.el (ffap-url-regexp): Don't require matching at front of
2411 string (Bug#4952).
2412 (ffap-url-p): If only a substring matches, return that.
2413 (ffap-url-at-point): Use the return value of ffap-url-p.
2414 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2415 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2416 (ffap-guess-file-name-at-point): Likewise.
2417 (ffap-replace-file-component): Fix typo.
2418
2419 * info.el (info-display-manual): Add existing Info buffers, whose
2420 files may not be in Info-directory-list, to the completion.
2421 (info--manual-names): New helper function.
2422
2423 2012-12-05 Glenn Morris <rgm@gnu.org>
2424
2425 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2426 New functions, for detecting and resolving conflicts. (Bug#10709)
2427
2428 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2429
2430 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2431 (hi-lock-auto-select-face-defaults): New buffer local variable.
2432 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2433 (hi-lock-unface-buffer): Prompt user with useful defaults.
2434 With prefix arg, unhighlight all hi-lock patterns in buffer.
2435
2436 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2437
2438 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2439
2440 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2441
2442 * Makefile.in (TRAMP_SRC):
2443 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2444
2445 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2446
2447 * net/tramp-adb.el: New package.
2448
2449 2012-12-04 Chong Yidong <cyd@gnu.org>
2450
2451 * terminal.el: Move to obsolete/.
2452
2453 * longlines.el: Move to obsolete/.
2454
2455 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2456 Remove code referring to longlines mode.
2457
2458 2012-12-03 Juri Linkov <juri@jurta.org>
2459
2460 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2461
2462 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2463
2464 * textmodes/ispell.el (ispell-init-process)
2465 (ispell-start-process, ispell-internal-change-dictionary):
2466 Make sure personal dictionary name is expanded after initial
2467 `default-directory' value. Use expanded strings for
2468 keep/restart checks and for value (Bug#13019).
2469
2470 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2471
2472 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2473
2474 2012-12-03 Leo Liu <sdl.web@gmail.com>
2475
2476 * files.el (dir-locals-read-from-file): Check file non-empty
2477 before reading. (Bug#13038)
2478
2479 2012-12-03 Glenn Morris <rgm@gnu.org>
2480
2481 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2482 Remove any version extension before checking filename. (Bug#13006)
2483 (jka-compr-compression-info-list): Belated :version bump.
2484
2485 2012-12-03 Chong Yidong <cyd@gnu.org>
2486
2487 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2488
2489 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2490 (buffer-menu): Doc fix (Bug#12294).
2491
2492 2012-12-03 Roland Winkler <winkler@gnu.org>
2493
2494 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2495 of diary-show-all-entries in the diary buffer (Bug#12994).
2496
2497 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2498
2499 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2500 "<STDIN>". This is binary safe.
2501
2502 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2503
2504 * calc/calc-forms.el (math-absolute-from-iso-dt)
2505 (math-date-to-iso-dt, math-parse-iso-date-validate)
2506 (math-iso-dt-to-date): New functions.
2507 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2508 (math-fd-isoweekday): New variables.
2509 (calc-date-notation, math-parse-standard-date, math-format-date)
2510 (math-format-date-part): Add support for more formatting codes.
2511
2512 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2513
2514 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2515 current buffer's file name when called interactively (Bug#12488).
2516
2517 2012-12-02 Juri Linkov <juri@jurta.org>
2518
2519 * info.el (info-display-manual): Don't clobber an existing Info
2520 buffer (Bug#10770). Add completion (Bug#10771).
2521
2522 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2523
2524 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2525 before using it for comparison (Bug#5297).
2526
2527 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2528
2529 * textmodes/css-mode.el (css-current-defun-name): New function.
2530 (css-mode): Use it.
2531
2532 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2533 (html-mode): Use it.
2534
2535 2012-12-01 Chong Yidong <cyd@gnu.org>
2536
2537 Modularize add-log-current-defun (Bug#2224).
2538 Suggested by Jari Aalto.
2539
2540 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2541 (add-log-current-defun): Move mode-specific code to other files.
2542 (add-log-lisp-like-modes, add-log-c-like-modes)
2543 (add-log-tex-like-modes): Variables deleted.
2544
2545 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2546 (lisp-mode-variables): Use it.
2547
2548 * progmodes/cc-mode.el (c-common-init):
2549 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2550 add-log-current-defun-function.
2551
2552 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2553 (m4-mode): Use it.
2554
2555 * progmodes/perl-mode.el (perl-current-defun-name): New.
2556 (perl-mode): Use it.
2557
2558 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2559 Use lisp-current-defun-name.
2560
2561 * textmodes/tex-mode.el (tex-current-defun-name): New.
2562 (tex-common-initialization): Use it.
2563
2564 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2565 (texinfo-mode): Use it.
2566
2567 2012-12-01 Chong Yidong <cyd@gnu.org>
2568
2569 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2570 * progmodes/autoconf.el (autoconf-mode):
2571 * progmodes/js.el (js-mode):
2572 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2573 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2574 * progmodes/perl-mode.el (perl-mode):
2575 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2576 * textmodes/css-mode.el (css-mode):
2577 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2578 (sgml-tags-invisible, sgml-guess-indent):
2579 * textmodes/tex-mode.el (tex-common-initialization)
2580 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2581 (doctex-mode, plain-tex-mode, latex-mode):
2582 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2583
2584 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2585
2586 * vc/vc-hg.el (vc-hg-next-revision):
2587 Ensure use of default "tip" output format. (Bug#6968)
2588
2589 2012-12-01 Kim F. Storm <storm@cua.dk>
2590
2591 * startup.el (fancy-startup-tail): Add a clickable link
2592 (Bug#2176).
2593
2594 2012-12-01 Chong Yidong <cyd@gnu.org>
2595
2596 * startup.el (fancy-startup-tail): Improve the message about
2597 auto-save files (Bug#2176).
2598
2599 * files.el (recover-session): Improve the descriptive message, and
2600 use substitute-command-keys.
2601
2602 2012-12-01 Glenn Morris <rgm@gnu.org>
2603
2604 * ido.el (ido-file-internal):
2605 Handle other-window, other-frame for dired. (Bug#13036)
2606
2607 2012-11-30 Glenn Morris <rgm@gnu.org>
2608
2609 * icomplete.el (icomplete-separator): Fix :version.
2610
2611 2012-11-30 Chong Yidong <cyd@gnu.org>
2612
2613 * shell.el (shell): For C-u M-x shell, use an inactive shell
2614 buffer as the default (Bug#1975).
2615 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2616 (shell-mode): Use them to reapply ansi colorization if Shell mode
2617 is re-enabled.
2618
2619 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2620
2621 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2622
2623 2012-11-30 Samuel Bronson <naesten@gmail.com>
2624
2625 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2626 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2627
2628 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2629
2630 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2631 by move-to-column (Bug#3234).
2632
2633 2012-11-30 Chong Yidong <cyd@gnu.org>
2634
2635 * longlines.el (longlines-wrap-line, longlines-encode-region):
2636 Preserve text properties (Bug#1425).
2637
2638 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2639
2640 * vc/vc.el (vc-register): Allow registering a file which is
2641 already registered with a different backend (Bug#10589).
2642
2643 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2644 Stefan Monnier <monnier@iro.umontreal.ca>
2645
2646 * icomplete.el: Change separator; add ido-style commands.
2647 (icomplete-show-key-bindings): Remove custom var.
2648 (icomplete-get-keys): Remove function.
2649 (icomplete-forward-completions, icomplete-backward-completions):
2650 New commands.
2651 (icomplete-minibuffer-map): New var.
2652 (icomplete-minibuffer-setup): Use it.
2653 (icomplete-exhibit): Don't delay if the list of completions is known.
2654 (icomplete-separator): New custom.
2655 (icomplete-completions): Use it.
2656 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2657 (minibuffer-force-complete-and-exit): New command.
2658 (minibuffer--complete-and-exit): New function extracted from
2659 minibuffer-complete-and-exit.
2660 (minibuffer-complete-and-exit): Use it.
2661
2662 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2663 error message when the file doesn't exist (bug#12974).
2664
2665 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2666
2667 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2668
2669 2012-11-29 Glenn Morris <rgm@gnu.org>
2670
2671 * files.el (hack-dir-local-variables): Warn if try to set
2672 coding via dir-locals, since it doesn't work. (Bug#7169)
2673
2674 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2675 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2676 Set buffer-local value of desktop-save-buffer.
2677 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2678 New functions.
2679 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2680 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2681
2682 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2683 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2684 Doc fix.
2685 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2686 Doc fixes.
2687
2688 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2689
2690 * calc/calc-forms.el (calc-date-notation): Fix regexp
2691 used to find time codes. Fix symbol for seconds.
2692
2693 2012-11-27 Glenn Morris <rgm@gnu.org>
2694
2695 * emacs-lisp/derived.el (derived-mode-make-docstring):
2696 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2697
2698 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2699
2700 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2701 lexically scoped variables (bug#13005).
2702
2703 2012-11-27 Glenn Morris <rgm@gnu.org>
2704
2705 * vc/vc-hooks.el (vc-mistrust-permissions):
2706 Default to t, to avoid data-loss. (Bug#11490)
2707
2708 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2709
2710 * progmodes/python.el (python-indent-guess-indent-offset):
2711 If indentation is guessed make python-indent-offset buffer-local.
2712
2713 Fix Imenu regression.
2714 * progmodes/python.el (python-nav-beginning-of-defun):
2715 Fix forward movement when statement(s) separates point from defun.
2716 (python-imenu-prev-index-position): New function.
2717
2718 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2719
2720 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2721
2722 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2723 Don't set buffer-file-type. Return nil. (Bug#12989)
2724
2725 2012-11-27 Glenn Morris <rgm@gnu.org>
2726
2727 * hippie-exp.el (hippie-expand-try-functions-list):
2728 Re-autoload it. (Bug#12982)
2729
2730 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2731
2732 * descr-text.el (describe-char-padded-string):
2733 Call internal-char-font only on GUI frames. (Bug#11964)
2734
2735 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2736
2737 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2738 and obsoletion message.
2739
2740 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2743 the constructs to keep outside of the `cl-block' (bug#12977).
2744
2745 2012-11-27 Chong Yidong <cyd@gnu.org>
2746
2747 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2748 keep reading until we get the up-event anyway, in order to process
2749 the up-event for mouse-1-click-follows-link (Bug#12971).
2750
2751 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2752
2753 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2754 base function is not yet defined (bug#12965).
2755 (ad-activate-advised-definition): Use ad-compile-function.
2756 (ad-activate): Use cond.
2757
2758 2012-11-25 Leo Liu <sdl.web@gmail.com>
2759
2760 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2761 (Bug#12979)
2762
2763 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2764
2765 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2766 reftex-section-info-function in order to be compatible with
2767 Texinfo integration.
2768
2769 * textmodes/reftex.el (reftex-section-pre-regexp)
2770 (reftex-section-post-regexp, reftex-section-info-function):
2771 New variable.
2772 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2773 reftex-section-post-regexp, and reftex-section-info-function in order
2774 to be compatible with Texinfo integration.
2775
2776 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2777 use reftex-section-pre-regexp variable in order to be compatible with
2778 Texinfo integration.
2779
2780 2012-11-25 Chong Yidong <cyd@gnu.org>
2781
2782 * faces.el: Make face-spec-set more analogous to setq.
2783 (face-spec-set): Change the third arg to specify whether this
2784 function is being called via defface, customize, or a third party.
2785 Set the appropriate symbol properties. Clear the override spec if
2786 setting via Custom. Initialize face if necessary. (Bug#4988)
2787 (face-spec-recalc): Allow theme faces to completely replace the
2788 defface spec, in the same way as custom faces (Bug#8454).
2789
2790 * cus-face.el (custom-declare-face): Move face initialization to
2791 face-spec-set.
2792 (custom-theme-set-faces): Don't initialize the face name here, as
2793 that is now done in face-spec-set.
2794
2795 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2796 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2797 Simplify by using the new arg to face-spec-set.
2798
2799 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2800 reset face-override-spec too, and use custom-declare-face.
2801
2802 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2803
2804 * term/ns-win.el (ns-initialize-window-system): Move creation of
2805 fontsets here (Bug#11964).
2806
2807 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2808
2809 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2810 cell renaming.
2811
2812 2012-11-24 Chong Yidong <cyd@gnu.org>
2813
2814 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2815 obsolete.
2816
2817 * custom.el (custom-theme-set-variables): Use a topological sort
2818 for ordering by custom dependencies (Bug#12952).
2819 (custom--sort-vars, custom--sort-vars-1): New functions.
2820
2821 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2822
2823 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2824 lexical-binding (bug#12938).
2825
2826 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
2827
2828 * image-mode.el (image-transform-check-size): Use assertions only
2829 for images of type imagemagick.
2830
2831 Otherwise no error, image-transform-fit-to-{width,height} is
2832 silently ignored, as before. Doc fix.
2833
2834 2012-11-24 Chong Yidong <cyd@gnu.org>
2835
2836 * faces.el (color-defined-p): Doc fix (Bug#12853).
2837
2838 2012-11-24 Juri Linkov <juri@jurta.org>
2839
2840 * dired.el (dired-mark): Add optional arg `interactive'.
2841 Check for `use-region-p' if `interactive' is non-nil.
2842 (dired-unmark, dired-flag-file-deletion): Add optional arg
2843 `interactive'. Call `dired-mark' with the arg `interactive'.
2844 (Bug#10624)
2845
2846 * wdired.el: Revert 2012-10-17 change partly and replace it with
2847 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2848 (wdired-finish-edit): Add marks for new file names to
2849 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2850 after `revert-buffer'.
2851 (wdired-do-renames): Remove calls to `dired-remove-file',
2852 `dired-add-file', `dired-add-entry'. (Bug#11795)
2853
2854 2012-11-24 Alan Mackenzie <acm@muc.de>
2855
2856 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2857
2858 Fix bugs in the state cache. Enhance a debugging mechanism.
2859 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2860 "brace at column zero" strategy for C++.
2861 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2862 (c-parse-state-point): New variable.
2863 (c-record-parse-state-state): Record old parse state with
2864 `copy-tree'. Record previous value of point.
2865 (c-debug-parse-state-double-cons): New debugging function.
2866 (c-debug-parse-state): Call the above new function.
2867 (c-toggle-parse-state-debug): Output a confirmatory message.
2868
2869 * progmodes/cc-mode.el (c-before-change, c-after-change):
2870 Call c-invalidate-state-cache from `c-before-change' instead of
2871 `c-after-change'.
2872
2873 2012-11-23 Chong Yidong <cyd@gnu.org>
2874
2875 * find-cmd.el (find-constituents): Add executable, ipath,
2876 readable, samefile, writable, daystart, regextype (Bug#12856).
2877
2878 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2879
2880 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2881
2882 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2883
2884 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2885 definition. This fixes a bootstrap failure.
2886 (calc-gregorian-switch): In menu, put dates before regions.
2887 This is easier to follow, lines up better in the menu, and lets us
2888 coalesce regions that switch at the same time. Give country
2889 names, not "Vatican", as that's better for non-expert users.
2890 Use names that are stable between the date of switch and now, e.g.,
2891 Bohemia and Moravia (which existed then and now) and not
2892 Czechoslovakia (which didn't exist then and doesn't exist now).
2893 What is now the U.S. mostly did not switch at the same time as
2894 Britain, so omit the U.S. Correct spelling of "Britain".
2895 Catholic Switzerland was too much of a mess, so omit it.
2896
2897 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2898
2899 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2900 after the variable is changed.
2901
2902 2012-11-21 Daniel Colascione <dancol@dancol.org>
2903
2904 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2905 in SQL declarations for font-lock.
2906 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2907
2908 2012-11-21 Glenn Morris <rgm@gnu.org>
2909
2910 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2911 (face-italic-p): Add optional argument "inherit".
2912
2913 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2914 Remove -p suffix from names, for consistency with other set-face-*.
2915 (set-face-inverse-video): Fix interactive spec.
2916 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2917 * textmodes/table.el (table--update-cell-face):
2918 Use set-face-inverse-video rather than now obsolete alias.
2919
2920 2012-11-21 Eli Zaretskii <eliz@gnu.org>
2921
2922 * simple.el (line-move): Don't call line-move-partial if
2923 scroll-conservatively is in effect. (Bug#12927)
2924
2925 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2926
2927 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2928 Fallback on completion-at-point rather than
2929 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2930 (eshell-cmpl-initialize): Setup completion-at-point.
2931
2932 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2933
2934 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2935
2936 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
2937
2938 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2939 are remote, check out-of-band property for both.
2940
2941 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2942
2943 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2944 code rewrite.
2945
2946 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
2947
2948 More minor time fixes.
2949 * calendar/time-date.el: Commentary fix.
2950 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2951 too much other code depends on (0 0) time stamps.
2952 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2953 Add a couple of FIXME comments.
2954
2955 Minor cleanup for times as lists of four integers.
2956 * files.el (dir-locals-directory-cache):
2957 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2958 Doc fixes.
2959 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2960 * ps-bdf.el (bdf-file-newer-than-time):
2961 Process four-integers time stamps, not two. Doc fixes.
2962
2963 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2964
2965 * uniquify.el (uniquify-managed): Use defvar-local.
2966 (rename-buffer, create-file-buffer): Advise with advice-add.
2967 (uniquify-unload-function): Unadvise accordingly.
2968
2969 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2970 (trace-buffer): Don't purecopy.
2971 (trace-entry-message, trace-exit-message): Add `context' arg.
2972 (trace--timer): New var.
2973 (trace-make-advice): Adjust for use in nadvice.
2974 Add `context' argument. Delay `display-buffer' via a timer.
2975 (trace-function-internal): Use advice-add.
2976 (trace--read-args): New function.
2977 (trace-function-foreground, trace-function-background): Use it.
2978 (trace-function): Rename to trace-function-foreground and redefine as
2979 an alias to that new name.
2980 (untrace-function, untrace-all): Adjust to the use of nadvice.
2981
2982 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2983
2984 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2985
2986 * subr.el (called-interactively-p-functions): New var.
2987 (internal--called-interactively-p--get-frame): New macro.
2988 (called-interactively-p, interactive-p): Rewrite in Lisp.
2989 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2990 (called-interactively-p-functions): Use it.
2991 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2992 (called-interactively-p-functions): Use it.
2993 * allout.el (allout-called-interactively-p): Don't assume
2994 called-interactively-p is a subr.
2995
2996 2012-11-20 Glenn Morris <rgm@gnu.org>
2997
2998 * profiler.el (profiler-report-mode-map): Add a menu.
2999 No need to bind `q' because we derive from special-mode.
3000 (profiler-report-find-entry): Handle calls from the menu-bar.
3001
3002 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3003
3004 * emacs-lisp/byte-run.el (defun-declarations-alist):
3005 Allow a compiler-macro to be a lambda expression.
3006
3007 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3008 eval-when-compile.
3009 (python-syntax-context): Add compiler-macro.
3010 (python-font-lock-keywords): Simplify with De Morgan.
3011
3012 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3013
3014 * files.el (load-file): Require match in minibuffer selection, as was
3015 the case in Emacs-20 before we changed the spec to allow .elc files
3016 (bug#12935).
3017
3018 * json.el: Don't require cl since we don't use it.
3019 * color.el: Don't require cl.
3020 (color-complement): `caddr' -> `nth 2'.
3021
3022 * calendar/time-date.el (time-to-seconds): De-obsolete.
3023
3024 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3025
3026 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3027 year numbers.
3028 (math-date-to-julian-dt): Adjust the initial approximation for the
3029 year to deal with the new definition of the DATE.
3030
3031 2012-11-19 Daniel Colascione <dancol@dancol.org>
3032
3033 * term/w32-win.el (cygwin-convert-path-from-windows):
3034 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3035
3036 2012-11-18 Chong Yidong <cyd@gnu.org>
3037
3038 * filecache.el (file-cache--read-list): New function.
3039 (file-cache-add-directory-list, file-cache-add-file-list)
3040 (file-cache-delete-file-list, file-cache-delete-directory-list):
3041 Use it to read a list of files or directories (Bug#12846).
3042 (file-cache-add-file, file-cache-add-directory)
3043 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3044 (file-cache-delete-directory): Print an message.
3045
3046 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3047
3048 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3049 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3050
3051 2012-11-18 Glenn Morris <rgm@gnu.org>
3052
3053 * image.el (insert-image, insert-sliced-image): Doc fix.
3054
3055 2012-11-18 Chong Yidong <cyd@gnu.org>
3056
3057 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3058 (Bug#12810).
3059
3060 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3061
3062 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3063 response when the target file is in a subdirectory (Bug#12757).
3064
3065 2012-11-18 Chong Yidong <cyd@gnu.org>
3066
3067 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3068
3069 2012-11-18 Glenn Morris <rgm@gnu.org>
3070
3071 * emacs-lisp/cl-lib.el (face-underline-p):
3072 Use set-face-underline rather than the alias set-face-underline-p.
3073
3074 * window.el (with-temp-buffer-window): Doc fix.
3075 * subr.el (with-output-to-temp-buffer):
3076 Add doc xref to with-temp-buffer-window.
3077
3078 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3079
3080 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3081 * calc/calc.el (math-format-date-cache): Declare.
3082
3083 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3084
3085 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3086 It also uses January 1, 1 AD as its day number 1.
3087 * calc/calc-forms.el (math-julian-date-beginning)
3088 (math-julian-date-beginning-int): Implement this.
3089
3090 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3091
3092 * descr-text.el (quail-find-key):
3093 * dired.el (desktop-file-name):
3094 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3095 * generic-x.el (comint-mode, comint-exec):
3096 * image-dired.el (widget-forward):
3097 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3098 (speedbar-change-expand-button-char)
3099 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3100 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3101 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3102 (widget-field-action, widget-value-set):
3103 * speedbar.el (imenu--make-index-alist):
3104 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3105 (ring-length, ring-insert):
3106 * vcursor.el (compare-windows-skip-whitespace):
3107 * woman.el (dired-get-filename):
3108 Declare functions.
3109
3110 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3111
3112 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3113
3114 * calc/calc.el (calc-gregorian-switch): New variable.
3115
3116 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3117 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3118 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3119 (math-leap-year-p): Add option to distinguish between Julian
3120 and Gregorian calendars.
3121 (math-day-number): Use `math-day-in-year' to do the computations.
3122 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3123 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3124 to do the computations.
3125 (math-date-to-dt): Use `math-date-to-julian-dt' and
3126 `math-date-to-gregorian-dt' to do the computations.
3127 (calcFunc-weekday, math-format-date-part): Use the new version of
3128 the DATE to determine the weekday.
3129 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3130 when necessary.
3131
3132 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3133
3134 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3135 Cygwin; otherwise use 'file:'. (Bug#12914)
3136 (cygwin-convert-path-from-windows): Declare, to avoid
3137 byte-compiler warnings.
3138
3139 2012-11-17 Andreas Politz <politza@fh-trier.de>
3140
3141 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3142 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3143 prefix and negative numeric prefix args (Bug#12795).
3144
3145 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3146
3147 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3148 Don't signal an error with a score that is too low to add to the
3149 list of top scores. (Bug#12779)
3150
3151 2012-11-17 Chong Yidong <cyd@gnu.org>
3152
3153 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3154
3155 * filecache.el (file-cache-add-file): Handle relative file name in
3156 the argument (Bug#12694).
3157
3158 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3159
3160 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3161
3162 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3163
3164 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3165
3166 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3167
3168 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3169
3170 * window.el (enlarge-window, shrink-window): Don't mention return
3171 value in doc-string (Bug#12896).
3172 (window--display-buffer): Don't resize frames - it won't work
3173 with all window managers and defeat pop-up-frame-alist.
3174 (display-buffer-alist): In doc-string explain that CONDITION can
3175 be a function and which arguments are passed to it (Bug#12854).
3176 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3177 expressions (Bug#12854).
3178 (display-buffer): Pass ACTION argument to
3179 display-buffer-assq-regexp.
3180
3181 2012-11-16 Glenn Morris <rgm@gnu.org>
3182
3183 * window.el (fit-frame-to-buffer-bottom-margin)
3184 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3185
3186 * faces.el (face-underline-p): Use face-attribute-specified-or.
3187
3188 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3189
3190 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3191
3192 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3193
3194 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3195
3196 2012-11-16 Glenn Morris <rgm@gnu.org>
3197
3198 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3199 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3200
3201 * faces.el (face-underline-p): Doc fix. Handle :underline being
3202 things other than `t' (a string, a list).
3203 (face-inverse-video-p): Doc fix.
3204 (set-face-underline): Rename it back from set-face-underline-p.
3205 Doc fix. Allow interactive input of values other than t.
3206 (read-face-attribute): Apply formatting to :underline,
3207 since like :box and :stipple it can take list values.
3208
3209 * term.el (ansi-term): Don't let C-x escape-char binding
3210 clobber the more standard C-c binding. (Bug#12842)
3211
3212 * subr.el (set-temporary-overlay-map): Doc fix.
3213
3214 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3215
3216 * window.el (record-window-buffer)
3217 (display-buffer-record-window): When copying the markers to
3218 window-point preserve window-point-insertion-type. (Bug#12588)
3219
3220 2012-11-16 Glenn Morris <rgm@gnu.org>
3221
3222 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3223 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3224 Use new names for hooks rather than obsolete aliases.
3225
3226 2012-11-15 Daniel Colascione <dancol@dancol.org>
3227
3228 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3229 prefix instead of "file:" so that when FILE-NAME begins with "//",
3230 as it does when the target file is on a network share, url-handler
3231 isn't confused.
3232
3233 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3234
3235 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3236 a preactivated advice from an old advice.el; they're not compatible!
3237
3238 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3239
3240 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3241 Fix string-spec case.
3242
3243 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3244
3245 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3246
3247 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3248 (advice--buffer-local-function-sample): New var.
3249 (advice--set-buffer-local, advice--buffer-local): New functions.
3250 (add-function, remove-function): Use them.
3251
3252 2012-11-15 Drew Adams <drew.adams@oracle.com>
3253
3254 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3255
3256 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3257
3258 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3259 potential binding of print-gensym to t, and prettify (back)quotes in
3260 case they appear in args's default values (bug#12884).
3261
3262 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3263
3264 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3265 (advice-eval-interactive-spec): New function.
3266 (advice--make-interactive-form): Support around advice (bug#12844).
3267
3268 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3269
3270 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3271 more strict. Add docstring.
3272 (ruby-expression-expansion-re): Extract from
3273 `ruby-match-expression-expansion'.
3274 (ruby-syntax-propertize-function): After everything else, search
3275 for expansions in string literals, mark their insides as
3276 whitespace syntax and save match data for font-lock.
3277 (ruby-font-lock-keywords): Use the 2nd group from expression
3278 expansion matches.
3279 (ruby-match-expression-expansion): Use the match data saved to the
3280 text property in ruby-syntax-propertize-function.
3281
3282 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3283
3284 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3285 (bug#12879).
3286
3287 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3288
3289 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3290 start/end keyword a bit harder. Works with different values of N.
3291 Add more comments.
3292 (ruby-end-of-block): Update accordingly.
3293
3294 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3295
3296 * woman.el (woman-file-name): Don't mess with unread-command-events
3297 (bug#12861).
3298
3299 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3300 Remove out of date self-require hack.
3301 (ad-do-advised-functions): Use simple `dolist'.
3302 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3303 (ad-advice-definition): Redefine as functions.
3304 (ad-advice-classes): Move before first use.
3305 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3306 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3307 (ad--defalias-fset): Remove functions.
3308 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3309 (ad-get-orig-definition): Rewrite.
3310 (ad-make-advised-definition-docstring): Change base docstring.
3311 (ad-real-orig-definition): Rewrite.
3312 (ad-map-arglists): Change name of called function.
3313 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3314 (ad-make-advised-definition): Simplify.
3315 (ad-assemble-advised-definition): Tweak for new calling context.
3316 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3317 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3318 function and call ad-activate if needed.
3319 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3320 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3321 (ad-compile-function): Compile ad-Advice-*.
3322 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3323 (ad-start-advice, ad-stop-advice): Remove.
3324
3325 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3326
3327 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3328 period before class method names, not after. Remove handling of
3329 one impossible case. Add comments.
3330
3331 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3332
3333 * emacs-lisp/advice.el: Remove support for freezing.
3334 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3335 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3336 Remove support for `freeze'.
3337
3338 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3339 override the default.
3340 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3341 cl--dotimes/dolist.
3342 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3343 `cl' is loaded.
3344
3345 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3346 from add-advice.
3347 (advice--strip-macro): New function.
3348 (advice--defalias-fset): Use them to handle macros.
3349 (advice-add): Use them.
3350 (advice-member-p): Correctly handle macros.
3351
3352 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3353
3354 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3355 Never font-lock the beginning of singleton class as heredoc.
3356
3357 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3358
3359 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3360
3361 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3362
3363 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3364 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3365 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3366
3367 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3368
3369 Fix end-of-defun misbehavior.
3370 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3371 python-beginning-of-defun-function. Handle nested defuns
3372 correctly.
3373 (python-nav-end-of-defun): Rename from
3374 python-end-of-defun-function. Ensure forward movement.
3375 (python-info-current-defun): Reimplement to work as intended
3376 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3377 parent defuns as soon as possible.
3378
3379 2012-11-13 Glenn Morris <rgm@gnu.org>
3380
3381 * progmodes/flymake.el (flymake-error-bitmap)
3382 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3383 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3384
3385 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3386
3387 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3388 backward, always stop at indentation. Reverts the change from
3389 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3390
3391 2012-11-13 Glenn Morris <rgm@gnu.org>
3392
3393 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3394 Add ibuffer-filter-by-derived-mode.
3395
3396 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3397 the same name shadowing each other.
3398
3399 * window.el (with-temp-buffer-window): Doc tweak.
3400
3401 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3402
3403 * help.el (temp-buffer-max-height):
3404 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3405 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3406
3407 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3408
3409 * emacs-lisp/nadvice.el: New package.
3410 * subr.el (special-form-p): New function.
3411 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3412 (elp-all-instrumented-list): Remove var.
3413 (elp-not-profilable): Remove elp-wrapper.
3414 (elp-profilable-p): Use autoloadp and special-form-p.
3415 (elp--advice-name): New const.
3416 (elp-instrument-function): Use advice-add.
3417 (elp--instrumented-p): New predicate.
3418 (elp-restore-function): Use advice-remove.
3419 (elp-restore-all, elp-reset-all): Use mapatoms.
3420 (elp-set-master): Use elp--instrumented-p.
3421 (elp--make-wrapper): Rename from elp-wrapper, return a function
3422 suitable for advice-add. Use cl-inf.
3423 (elp-results): Use mapatoms+elp--instrumented-p.
3424 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3425 (debug-function-list): Remove var.
3426 (debug): Rename arg, and then let-bind it explicitly inside.
3427 (debugger-setup-buffer): Rename arg.
3428 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3429 (debugger-frame-number): Adjust to new debug-on-entry setup.
3430 (debug--implement-debug-on-entry): Rename from
3431 implement-debug-on-entry, add argument.
3432 (debugger-special-form-p): Remove, use special-form-p instead.
3433 (debug-on-entry): Use advice-add.
3434 (debug--function-list): New function.
3435 (cancel-debug-on-entry): Use it, along with advice-remove.
3436 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3437 (debugger-list-functions): Use debug--function-list instead of
3438 debug-function-list.
3439 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3440 (ad-special-form-p): Remove, use special-form-p instead.
3441 (ad-set-advice-info): Use add-function and remove-function.
3442 (ad--defalias-fset): Adjust accordingly.
3443
3444 2012-11-10 Glenn Morris <rgm@gnu.org>
3445
3446 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3447 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3448 (report-emacs-bug-create-existing-bugs-buffer)
3449 (report-emacs-bug-parse-query-results)
3450 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3451
3452 * term.el (term-default-fg-color, term-default-bg-color):
3453 Make obsolete, rather than just saying "deprecated" in the doc.
3454
3455 * term.el (term): Rename from `term-face'.
3456 (term-current-face, ansi-term-color-vector)
3457 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3458 Update all users.
3459
3460 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3461
3462 * server.el (server-create-window-system-frame): Handle Nextstep
3463 specially (Bug#12780).
3464
3465 2012-11-10 Glenn Morris <rgm@gnu.org>
3466
3467 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3468 Unautoload, and make obsolete. (Bug#7449)
3469
3470 2012-11-10 Chong Yidong <cyd@gnu.org>
3471
3472 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3473 rename from diff-remove-trailing-whitespace (Bug#12831).
3474
3475 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3476
3477 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3478 miscompilation of trace.el.
3479
3480 2012-11-10 Glenn Morris <rgm@gnu.org>
3481
3482 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3483
3484 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3485
3486 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3487 (bug#12812).
3488
3489 2012-11-10 Chong Yidong <cyd@gnu.org>
3490
3491 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3492 a defcustom with an appropriate :set function.
3493 (minibuffer-default--in-prompt-regexps): New function.
3494
3495 2012-11-10 Glenn Morris <rgm@gnu.org>
3496
3497 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3498 (define-modify-macro): Doc fixes.
3499
3500 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3501 (gv-define-simple-setter): Update doc of `fix-return'.
3502
3503 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3504
3505 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3506 twice when `fix-return' is set (bug#12813).
3507
3508 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3509 gv-define-simple-setter (bug#12812).
3510
3511 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3512 (bug#12756).
3513
3514 2012-11-10 Glenn Morris <rgm@gnu.org>
3515
3516 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3517
3518 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3519 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3520 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3521 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3522
3523 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3524
3525 2012-11-10 Leo Liu <sdl.web@gmail.com>
3526
3527 * ido.el (ido-set-matches-1): Improve flex matching performance by
3528 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3529
3530 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3531
3532 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3533 (ad--defalias-fset): New function.
3534 (ad-safe-fset): Remove.
3535 (ad-make-freeze-definition): Use cl-letf*.
3536
3537 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3538
3539 * subr.el (dolist): Don't bind VAR in RESULT.
3540
3541 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3542 (fset, documentation): Don't save real def since we don't advise.
3543 (ad-do-advised-functions): Remove problematic `result-form'.
3544 (ad-safe-fset): `ad-real-fset' => `fset'.
3545 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3546 uses CL's dolist internally.
3547 (ad-arglist): Remove unused arg `name'.
3548 (ad-docstring, ad-make-advised-docstring):
3549 `ad-real-documentation' => `documentation'.
3550 (warning-suppress-types): Declare.
3551 (ad-set-arguments): Simple CSE.
3552 (ad-recover-normality): Sanity check.
3553
3554 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3555 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3556
3557 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3558
3559 * ses.el: symbol to coordinate mapping is made by symbol property
3560 `ses-cell'. This means that the same mapping is done for all SES
3561 sheets. That is good enough for cells with standard A1 names, but
3562 not for named cell. So a hash map is added for the latter.
3563 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3564 (ses-sym-rowcol): Use hashmap for named cell.
3565 (ses-is-cell-sym-p): New defun.
3566 (ses-decode-cell-symbol): New defun.
3567 (ses-create-cell-variable): Add cell to hashmap when name is not
3568 A1-like.
3569 (ses-rename-cell): Check that cell new name is not already in
3570 spreadsheet with the use of ses-is-cell-sym-p
3571 (ses-rename-cell): Use hash map for named cells, but accept also
3572 renaming back to A1-like.
3573
3574 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3575
3576 * emacs-lisp/advice.el: Use new dynamic docstrings.
3577 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3578 Use dynamic-docstring-function instead of ad-advice-info.
3579 (ad--make-advised-docstring): New function extracted from
3580 ad-make-advised-docstring.
3581 (ad-make-advised-docstring): Use it.
3582 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3583 from sql-help.
3584 (sql-help): Use it with dynamic-docstring-function.
3585
3586 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3587
3588 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3589
3590 * files.el (hack-one-local-variable--obsolete): New function.
3591 (hack-one-local-variable): Use it for obsolete settings.
3592
3593 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3594 the new name.
3595
3596 * progmodes/js.el (js--filling-paragraph): New var.
3597 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3598 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3599 less sneaky.
3600
3601 2012-11-08 Julien Danjou <julien@danjou.info>
3602
3603 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3604 `auto-mode-alist' (Bug#12835).
3605
3606 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3607
3608 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3609 (perl--prettify-symbols-alist): New const.
3610 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3611 New functions.
3612 (perl-font-lock-keywords-2): Use them.
3613 (perl-electric-noindent-p): New function.
3614 (perl-mode): Use it to set up electric-indent-mode.
3615 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3616 (perl-mode-map): Remove bindings for them.
3617 (perl-imenu-generic-expression, perl-outline-level):
3618 Match functions&packages in column>0.
3619
3620 * env.el (env--substitute-vars-regexp): New const.
3621 (substitute-env-vars): Use it. Add `only-defined' arg.
3622 * net/tramp.el (tramp-replace-environment-variables): Use it.
3623
3624 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3625 Byte-compile *before* eval in eval-and-compile.
3626 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3627 (byte-compile-file-form-autoload): Don't hide actual definition.
3628 (byte-compile-maybe-guarded): Accept `functionp' as well.
3629
3630 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3631
3632 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3633
3634 * notifications.el (notifications-get-server-information-method):
3635 New defconst.
3636 (notifications-get-capabilities): Fix docstring.
3637 (notifications-get-server-information): New defun.
3638
3639 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3640
3641 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3642 readability.
3643
3644 * textmodes/ispell.el: Experimental support for support debugging.
3645 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3646 buffer for ispell.
3647 (ispell-print-if-debug): New function to print stuff to
3648 `ispell-debug-buffer' if debugging is enabled.
3649 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3650 show some debugging info.
3651 (ispell-buffer-with-debug): New function that creates a debugging
3652 buffer and calls `ispell-buffer' with debugging enabled.
3653
3654 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3655 comment in autoconf mode. (Bug#12768)
3656
3657 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3658
3659 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3660 frame-first-window, frame-root-window, frame-selected-window,
3661 minibuffer-selected-window, minibuffer-window,
3662 window-absolute-pixel-edges, window-at, window-body-height,
3663 window-body-width, window-display-table, window-combination-limit,
3664 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3665 window-inside-edges, window-inside-pixel-edges, window-left-child,
3666 window-left-column, window-margins, window-next-buffers,
3667 window-next-sibling, window-new-normal, window-new-total,
3668 window-normal-size, window-parameter, window-parameters, window-parent,
3669 window-pixel-edges, window-point, window-prev-buffers,
3670 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3671 window-start, window-text-height, window-top-child, window-top-line,
3672 window-total-height, window-total-width and window-use-time to the list
3673 of functions without side-effects.
3674 (toplevel): Add window-valid-p to the list of error-free functions
3675 without side-effects.
3676
3677 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3678
3679 * textmodes/ispell.el (ispell-program-name):
3680 Update spellchecker parameters when customized.
3681
3682 2012-11-04 Glenn Morris <rgm@gnu.org>
3683
3684 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3685
3686 2012-11-04 Chong Yidong <cyd@gnu.org>
3687
3688 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3689 same-window-* variables.
3690
3691 2012-11-04 Juri Linkov <juri@jurta.org>
3692
3693 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3694 (isearch-describe-key, isearch-describe-mode): Use a display
3695 action instead of binding same-window-* variables (Bug#10040).
3696
3697 2012-11-03 Glenn Morris <rgm@gnu.org>
3698
3699 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3700 Rename handler properties back from cl-- to cl-. (Bug#12788)
3701
3702 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3703
3704 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3705
3706 * term/pc-win.el: Don't load term/internal from here.
3707
3708 * loadup.el: Load term/internal from here.
3709
3710 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3711
3712 * progmodes/python.el (inferior-python-mode): Fix hang in
3713 jit-lock (Bug#12645).
3714
3715 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3716
3717 * window.el (switch-to-visible-buffer)
3718 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3719
3720 2012-11-03 Glenn Morris <rgm@gnu.org>
3721
3722 * emacs-lisp/cl-lib.el (cl--random-time):
3723 Rename from cl-random-time. (Bug#12773)
3724 (cl--gensym-counter, cl--random-state): Update callers.
3725 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3726
3727 2012-11-03 Chong Yidong <cyd@gnu.org>
3728
3729 * cus-start.el: Make cursor-type customizable (Bug#11633).
3730
3731 2012-11-02 Glenn Morris <rgm@gnu.org>
3732
3733 * filecache.el: No need to load find-lisp when compiling.
3734 (find-lisp-find-files): Autoload it.
3735 (file-cache-add-directory-recursively): Don't require find-lisp.
3736
3737 * image.el (image-type-from-file-name): Trivial simplification.
3738
3739 * emacs-lisp/bytecomp.el (byte-compile-eval):
3740 Decouple "noruntime" and "cl-functions" warnings.
3741
3742 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3743
3744 * play/gomoku.el (gomoku-display-statistics): Update mode line
3745 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3746
3747 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3748
3749 * window.el (quit-restore-window): If the window has been
3750 created on an existing frame and ended up as the sole window on
3751 that frame, do not delete it (Bug#12764).
3752
3753 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3754
3755 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3756 Rename from sh--inside-arithmetic-expression, handle more cases
3757 (bug#11263).
3758
3759 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3760 (sh-font-lock-open-heredoc): Use it (bug#12770).
3761
3762 2012-10-30 Glenn Morris <rgm@gnu.org>
3763
3764 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3765
3766 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3767
3768 2012-10-29 Chong Yidong <cyd@gnu.org>
3769
3770 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3771 function key is stored in a keyboard macro (Bug#4894).
3772
3773 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3774
3775 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3776
3777 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3778 header comments".
3779 (diff-unified->context, diff-context->unified)
3780 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3781
3782 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3783
3784 * files.el (find-alternate-file): Only ask one question (bug#12487).
3785
3786 2012-10-29 Chong Yidong <cyd@gnu.org>
3787
3788 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3789 Suggested by Dan Nicolaescu (Bug#6326).
3790
3791 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3792
3793 * startup.el (fancy-about-screen): Don't message (Bug#12680).
3794
3795 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3796
3797 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3798
3799 * face-remap.el (face-remap-add-relative): Handle the case where a
3800 face-remapping-alist entry is a cons cell (Bug#12762).
3801
3802 2012-10-29 Kevin Ryde <user42@zip.com.au>
3803
3804 * woman.el (woman-parse-numeric-value): Handle picas correctly
3805 (Bug#12639).
3806
3807 2012-10-29 Glenn Morris <rgm@gnu.org>
3808
3809 * emacs-lisp/cl.el (defsetf): Doc fix.
3810
3811 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3812
3813 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3814 syntax to the matching opener, if any (bug#12547).
3815 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3816 matching open as a "case-(".
3817 (sh-smie-rc-grammar): Add a corresponding rule for it.
3818
3819 2012-10-28 Daniel Hackney <dan@haxney.org>
3820
3821 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3822 "PKGNAME-autoloads.el" in case we created it.
3823
3824 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3825
3826 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3827 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3828 (completion--twq-all): Disable too-strict assertions.
3829
3830 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3831
3832 2012-10-27 Eli Zaretskii <eliz@gnu.org>
3833
3834 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3835 text to match the real keybindings.
3836
3837 2012-10-27 Juri Linkov <juri@jurta.org>
3838
3839 * wdired.el (wdired-keep-marker-rename): New defcustom.
3840 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3841 (Bug#11795)
3842
3843 * dired.el (dired-keep-marker-rename): Add reference to
3844 `wdired-keep-marker-rename' in the docstring.
3845 Add default character value ?R to display initially in
3846 Customization UI instead of ?@.
3847
3848 2012-10-27 Martin Rudalics <rudalics@gmx.at>
3849
3850 * window.el (display-buffer): In doc-string describe
3851 window-height and window-width alist entries.
3852
3853 * time.el (display-time-world): Restore fit-window-to-buffer
3854 behavior.
3855
3856 2012-10-27 Chong Yidong <cyd@gnu.org>
3857
3858 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3859
3860 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
3861
3862 * minibuffer.el (completion-category-overrides): New completion
3863 category `bookmark' (bug#11131).
3864
3865 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3866
3867 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3868 Silence bogus compiler warnings for ad-do-it.
3869
3870 * bookmark.el (bookmark-completing-read): Set the completion category
3871 to `bookmark' (bug#11131).
3872
3873 2012-10-26 Bastien <bzg@altern.org>
3874 Stefan Monnier <monnier@iro.umontreal.ca>
3875
3876 * face-remap.el: Use lexical-binding.
3877 (text-scale-adjust): Improve docstring. Use itself for the temporary
3878 overlay-map bindings, so as to repeat the "Use..." message each time.
3879
3880 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3881
3882 * emacs-lisp/macroexp.el (macroexp--expand-all):
3883 Obey byte-compile-warning-enabled-p (bug#12486).
3884
3885 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3886 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3887
3888 2012-10-26 Martin Rudalics <rudalics@gmx.at>
3889
3890 * mouse.el (mouse-drag-line): Move last form into preceding when
3891 clause (Bug#12731).
3892
3893 * help.el (resize-temp-buffer-window): Fix doc-string.
3894
3895 2012-10-25 David Engster <deng@randomsample.de>
3896
3897 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3898 Remove. This feature is already integrated in imenu.
3899
3900 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3901 always loaded. Require `speedbar' unconditionally.
3902
3903 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3904
3905 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3906
3907 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3908
3909 * net/ldap.el (ldap-search-internal): The official ldif format starts
3910 with a "version: 1" header (bug#12724).
3911
3912 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3913 (bug#12721).
3914
3915 2012-10-25 Glenn Morris <rgm@gnu.org>
3916
3917 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3918
3919 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3920
3921 * minibuffer.el (minibuffer-force-complete): Use one more marker
3922 for the temporary-overlay-map command (bug#12619).
3923
3924 2012-10-24 Chong Yidong <cyd@gnu.org>
3925
3926 * time.el (display-time-world-mode): Derive from special-mode.
3927 (display-time-world): Use display-buffer (Bug#12708).
3928 (display-time-world-mode-map): Variable deleted.
3929 (display-time-world-display): Wrap the final delete-char inside
3930 inhibit-read-only.
3931
3932 2012-10-24 Chong Yidong <cyd@gnu.org>
3933
3934 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3935 Doc fix.
3936
3937 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3938
3939 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3940
3941 * minibuffer.el (completion--all-sorted-completions-location): New var.
3942 (completion--cache-all-sorted-completions)
3943 (completion--flush-all-sorted-completions): Use it.
3944 (completion-in-region, completion-in-region--postch)
3945 (completion-at-point, completion-help-at-point): Use markers in
3946 completion-in-region--data (bug#12619).
3947
3948 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3949
3950 * progmodes/compile.el (compilation-start): Try to handle common
3951 quoting of `cd' argument (bug#12640).
3952
3953 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3954 (bug#12671).
3955
3956 2012-10-23 Glenn Morris <rgm@gnu.org>
3957
3958 * progmodes/gud.el (gud-menu-map):
3959 Check gdb-active-process is bound. (Bug#12358)
3960
3961 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3962
3963 * repeat.el (repeat): Set real-this-command (bug#12232).
3964
3965 * htmlfontify.el (hfy-post-html-hook):
3966 * filesets.el (filesets-cache-fill-content-hook):
3967 * arc-mode.el (archive-extract-hook):
3968 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3969 * net/rcirc.el (rcirc-sentinel-functions)
3970 (rcirc-receive-message-functions, rcirc-activity-functions)
3971 (rcirc-print-functions):
3972 * net/dbus.el (dbus-event-error-functions):
3973 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3974 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3975 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3976 * term/sun.el (sun-raw-prefix-hooks):
3977 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3978
3979 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
3980
3981 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3982 Set `tramp-chunksize' to 1. This improves the performance.
3983 (tramp-smb-wait-for-output): Add timeout to
3984 `tramp-accept-process-output' calls.
3985
3986 2012-10-23 Chong Yidong <cyd@gnu.org>
3987
3988 * faces.el (font-list-limit): Define as an obsolete variable.
3989
3990 * startup.el (command-line):
3991 * cus-start.el: Don't refer to font-list-limit.
3992
3993 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3994
3995 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3996
3997 * subr.el (internal-temp-output-buffer-show): Rename from
3998 temp-output-buffer-show, since previously compiled files expect this name.
3999
4000 2012-10-23 Glenn Morris <rgm@gnu.org>
4001
4002 * image.el (image-type-from-file-name): If multiple types match,
4003 return the first one that is supported. (Bug#9045)
4004
4005 2012-10-22 Glenn Morris <rgm@gnu.org>
4006
4007 * image.el (imagemagick-enabled-types): Doc fix.
4008
4009 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4010
4011 * progmodes/which-func.el (which-func-current): The hash-table may have
4012 an explicit nil (bug#12338).
4013
4014 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 * electric.el (electric-pair-delete-selection-self-insert-function):
4017 Rename to electric-pair-will-use-region, return a boolean.
4018 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4019
4020 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4021 (delete-selection-pre-hook): Use use-region-p.
4022 (delete-selection-self-insert-function): Remove.
4023 (self-insert-command): Obey self-insert-uses-region-functions.
4024 (self-insert-iso): Revert to previous setting, since we don't actually
4025 know what that command does.
4026 (delete-selection-self-insert-hooks): Remove.
4027
4028 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4029
4030 * delsel.el (delete-selection-helper): New function, extracted from
4031 delete-selection-pre-hook.
4032 (delete-selection-pre-hook): Use it.
4033 (delete-selection-self-insert-function): New function.
4034 (delete-selection-self-insert-hooks): New hook.
4035 (self-insert-command, self-insert-iso): Use it.
4036 * electric.el (electric-pair-syntax): New function, extracted from
4037 electric-pair-post-self-insert-function.
4038 (electric-pair-post-self-insert-function): Use it.
4039 (electric-pair-delete-selection-self-insert-function): New function.
4040 (electric-pair-mode): Require delsel and setup
4041 delete-selection-self-insert-hooks (bug#11520).
4042
4043 2012-10-20 Chong Yidong <cyd@gnu.org>
4044
4045 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4046 no changes to show (Bug#12586).
4047
4048 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4049 list explicitly (Bug#12571).
4050
4051 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4052
4053 * progmodes/flymake.el (flymake-create-temp-inplace):
4054 Use file-truename.
4055
4056 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4057
4058 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4059
4060 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4061
4062 * calc/calc-units.el (math-extract-units): Properly extract powers
4063 of units.
4064
4065 2012-10-20 Daniel Colascione <dancol@dancol.org>
4066
4067 * frame.el (make-frame): Set x-display-name as we used to in order
4068 to unbreak creating an X11 frame from an Emacs daemon started
4069 without a display.
4070
4071 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4072
4073 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4074 the same completion-field (bug#12221).
4075
4076 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4077
4078 * emacs-lisp/debug.el (debug): Record height of debugger window
4079 also when debugger will be back (Bug#8789).
4080
4081 2012-10-18 Chong Yidong <cyd@gnu.org>
4082
4083 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4084 Convert to defcustom.
4085 (gdb-get-source-file): Don't bind pop-up-windows.
4086
4087 * progmodes/gud.el (gud-display-line): Don't specially re-use
4088 other frames for the gdb-mi case (Bug#12648).
4089
4090 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4091
4092 * emacs-lisp/advice.el: Clean up commentary a bit.
4093 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4094 (byte-code-function-p): Never redefine.
4095
4096 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4097
4098 2012-10-18 Glenn Morris <rgm@gnu.org>
4099
4100 * dired.el (dired-sort-toggle): Some ls implementations only allow
4101 a single option string. (Bug#12666)
4102
4103 * minibuffer.el (completion-cycle-threshold): Doc fix.
4104
4105 2012-10-17 Kenichi Handa <handa@gnu.org>
4106
4107 * international/mule.el (set-keyboard-coding-system):
4108 Recover input meta mode when the new coding system doesn not use 8-bit.
4109 Supply TERMINAL arg to set-input-meta-mode.
4110
4111 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4112
4113 * wdired.el (wdired-old-marks): New variable.
4114 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4115 (wdired-do-renames): Move point with renamed file and don't lose
4116 mark status (Bug#11795).
4117
4118 2012-10-16 Juri Linkov <juri@jurta.org>
4119
4120 * replace.el (query-replace-help): Mention multi-buffer replacement
4121 keys in the Help message. (Bug#12655)
4122
4123 2012-10-15 Chong Yidong <cyd@gnu.org>
4124
4125 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4126
4127 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4128
4129 * window.el (display-buffer): Doc fix.
4130
4131 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4132 Adjust the msft regexp to the output of Studio 2010, and move msft
4133 before edg-1. See the discussion on emacs-devel,
4134 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4135 for the details.
4136
4137 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4138
4139 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4140 (oset): Move uses of object-class-fast macro after its definition.
4141
4142 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4143
4144 2012-10-13 Chong Yidong <cyd@gnu.org>
4145
4146 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4147 enabled, re-enable it (Bug#11963).
4148
4149 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4150
4151 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4152 non-nil, restore window configuration (Bug#12623).
4153
4154 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4155
4156 * help-fns.el (describe-variable, describe-function-1):
4157 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4158
4159 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4160
4161 2012-10-12 Glenn Morris <rgm@gnu.org>
4162
4163 * mail/rmailsum.el (rmail-header-summary):
4164 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4165
4166 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4167
4168 * progmodes/python.el (python-mode-map):
4169 Replace subtitute-key-definition with proper command remapping.
4170 (python-nav--up-list): Fix behavior for blocks on the same level.
4171
4172 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4173
4174 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4175
4176 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4177 changes to the format of load-history.
4178
4179 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4180 completion-ignore-case in case that var is buffer-local (bug#12615).
4181
4182 2012-10-11 Kenichi Handa <handa@gnu.org>
4183
4184 * international/eucjp-ms.el: Re-generated.
4185
4186 2012-10-10 Kenichi Handa <handa@gnu.org>
4187
4188 * select.el (xselect--encode-string): If a coding is specified for
4189 selection, and that is compatible with COMPOUND_TEXT, use it.
4190
4191 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4192
4193 * window.el (switch-to-buffer-preserve-window-point): New option.
4194 (switch-to-buffer):
4195 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4196
4197 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4198
4199 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4200 Don't document nil as a useful value (bug#12583).
4201
4202 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4203
4204 * net/tramp.el (tramp-debug-message):
4205 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4206 (with-tramp-progress-reporter): Rename from
4207 `tramp-with-progress-reporter'.
4208 (with-tramp-file-property, with-tramp-connection-property):
4209 Move from tramp-cache.el, rename from `with-file-property' and
4210 `with-connection-property', respectively.
4211
4212 * net/tramp-cache.el: Remove `with-file-property' and
4213 `with-connection-property'.
4214
4215 * net/tramp.el:
4216 * net/tramp-gvfs.el:
4217 * net/tramp-sh.el:
4218 * net/tramp-smb.el: Adapt callees.
4219
4220 * net/trampver.el: Update release number.
4221
4222 2012-10-09 Glenn Morris <rgm@gnu.org>
4223
4224 * w32-fns.el (set-message-beep):
4225 * term/w32-win.el (set-message-beep): Update declarations.
4226
4227 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4228
4229 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4230 (mode-line-widen, mode-line-input-method-map)
4231 (mode-line-coding-system-map, mode-line-remote)
4232 (mode-line-unbury-buffer, mode-line-bury-buffer)
4233 (mode-line-next-buffer, mode-line-previous-buffer):
4234 Replace save-selected-window+select-window => with-selected-window.
4235
4236 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4237 * progmodes/cc-vars.el (bq-process): Remove, unused.
4238
4239 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4240
4241 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4242
4243 Implemented `backward-up-list'-like navigation.
4244 * progmodes/python.el (python-nav-up-list)
4245 (python-nav-backward-up-list): New functions.
4246 (python-mode-map): Define substitute key for backward-up-list to
4247 python-nav-backward-up-list.
4248
4249 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4250
4251 * progmodes/python.el (python-fill-paragraph): Rename from
4252 python-fill-paragraph-function. Fixed fill-paragraph for
4253 decorators (Bug#12605).
4254
4255 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4256
4257 * progmodes/python.el (python-shell-output-filter): Handle extra
4258 carriage return in OSX (Bug#12409).
4259
4260 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4261
4262 Fix shell handling of unbalanced quotes and parens in output.
4263 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4264 (python-syntax-propertize-function): Use it.
4265 (python-shell-output-syntax-table): New var.
4266 (inferior-python-mode): Prevent unbalanced parens/quotes from
4267 previous output mess with current input context.
4268
4269 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4270
4271 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4272 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4273
4274 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4275
4276 * ffap.el (ffap-replace-file-component): Support Tramp file name
4277 syntax, not only ange-ftp's one.
4278
4279 2012-10-08 Glenn Morris <rgm@gnu.org>
4280
4281 * cus-start.el (message-log-max): Set :version.
4282
4283 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4284
4285 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4286
4287 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4288 the minibuffer window (Bug#10851).
4289
4290 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4291
4292 Enhancements on forward-sexp movement.
4293 * progmodes/python.el (python-nav-beginning-of-statement)
4294 (python-nav-end-of-statement): Return point-marker.
4295 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4296 (python-info-current-symbol)
4297 (python-info-statement-starts-block-p): Rename from
4298 python-info-beginning-of-block-p.
4299 (python-info-statement-ends-block-p): Rename from
4300 python-info-end-of-block-p.
4301 (python-info-beginning-of-statement-p)
4302 (python-info-end-of-statement-p)
4303 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4304 New functions.
4305
4306 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4307
4308 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4309 frame-selected-windows.
4310
4311 2012-10-08 Daniel Colascione <dancol@dancol.org>
4312
4313 * battery.el (battery-status-function): Check for
4314 w32-battery-status itself, not system-time windows-nt.
4315
4316 * frame.el: Require cl-lib.
4317 (display-format-alist): New variable mapping frame types to
4318 functions that initialize them.
4319 (window-system-for-display): New function: interprets
4320 display-format-alist.
4321 (make-frame-on-display): Remove existing display-selection logic
4322 and just forward to make-frame, which will now DTRT.
4323 (make-frame): Restructure to use window-system-for-display to
4324 figure out how to create a frame on a given display.
4325 (display-mouse-p): Look for frame-type w32, not a particular
4326 system-type.
4327
4328 * loadup.el: Load w32 lisp code when we have the w32 feature.
4329
4330 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4331 system-type windows-nt.
4332
4333 * server.el (server-create-window-system-frame): Look for window
4334 type.
4335 (server-proces-filter): Only force a window system when windows-nt
4336 _and_ w32. Explain why.
4337
4338 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4339 of window systems we configure for the mode.
4340
4341 * startup.el (command-line): Mark window system is initialized
4342 after we've done it.
4343
4344 * common-win.el (x-select-text): Look for w32, not windows-nt.
4345
4346 * ns-win.el: Require cl-lib. Add ourselves to
4347 display-format-alist.
4348 (ns-initialize-window-system): Assert we're not initialized twice.
4349
4350 * w32-win.el: Enable lexical binding; require cl-lib; add
4351 ourselves to display-format-alist.
4352 (w32-handle-dropped-file): Convert incoming dropped files from
4353 Windows paths to Cygwin ones before passing them on to the rest of
4354 Emacs.
4355 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4356 (w32-initialize-window-system): Assert we're not initialized twice.
4357
4358 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4359 (x-initialize-window-system): Assert we're not initialized twice.
4360
4361 * w32-common-fns.el: New File.
4362 (w32-version, w32-using-nt, w32-get-clipboard-data)
4363 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4364 (w32-charset-info-alist, x-last-selected, text)
4365 (x-get-selection-value, x-selection-value): Move here.
4366
4367 * w32-fns.el: Require w32-common-fns.
4368 (w32-version, w32-using-nt, w32-get-clipboard-data)
4369 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4370 (w32-charset-info-alist, x-last-selected, text)
4371 (x-get-selection-value, x-selection-value): Move to
4372 w32-common-fns.
4373
4374 * w32-vars.el:
4375 (w32-allow-system-shell, w32-system-shells): Define only in
4376 non-cygwin case.
4377
4378 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4379
4380 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4381 (read-passwd): Remove a few more potential sources of leaks.
4382
4383 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4384
4385 * progmodes/python.el (inferior-python-mode)
4386 (python-shell-make-comint): Fix initialization of local
4387 variables copied from parent buffer.
4388
4389 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4390
4391 * term/ns-win.el (ns-read-file-name): Update declaration to match
4392 nsfns.m.
4393 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4394 it is set when font is acted upon.
4395
4396 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4397
4398 Enhancements to indentation.
4399 * progmodes/python.el (python-indent-context): Give priority to
4400 inside-string context. Make comments indentation markers.
4401 (python-indent-region): Do not mess with strings, unless it's the
4402 enclosing set of quotes.
4403
4404 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4405
4406 * window.el (internal--before-save-selected-window)
4407 (internal--after-save-selected-window): New functions extracted from
4408 save-selected-window. Make sure we return the `alist' we construct.
4409 (save-selected-window): Use them.
4410
4411 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4412 Use with-selected-window.
4413
4414 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4415 forms that define macros (bug#12593).
4416
4417 2012-10-07 Kenichi Handa <handa@gnu.org>
4418
4419 * international/mule-conf.el (compound-text-with-extensions):
4420 Add :mime-charset property as x-ctext.
4421
4422 2012-10-07 Stefan Merten <smerten@oekonux.de>
4423
4424 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4425 (rst-indent-literal-normal, rst-indent-literal-minimized)
4426 (rst-indent-comment): Correct :version tag.
4427 (rst-official-cvs-rev): Correct version string.
4428
4429 2012-10-07 Glenn Morris <rgm@gnu.org>
4430
4431 * mail/rmailmm.el (rmail-mime-process-multipart):
4432 Do not confuse a multipart message with an epilogue
4433 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4434
4435 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4436
4437 Fix shell output retrieval and comint-prompt-regexp init.
4438 * progmodes/python.el (inferior-python-mode):
4439 (python-shell-make-comint): Fix initialization of
4440 comint-prompt-regexp from copied file local variables.
4441 (python-shell-fetched-lines): Remove var.
4442 (python-shell-output-filter-in-progress): Rename from
4443 python-shell-fetch-lines-in-progress.
4444 (python-shell-output-filter-buffer): Rename from
4445 python-shell-fetch-lines-string.
4446 (python-shell-fetch-lines-filter): Delete function.
4447 (python-shell-output-filter): New function.
4448 (python-shell-send-string-no-output): Use them.
4449
4450 2012-10-07 Glenn Morris <rgm@gnu.org>
4451
4452 * hi-lock.el (hi-lock-process-phrase):
4453 Try to make it less fragile. (Bug#7161)
4454
4455 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4456
4457 2012-10-06 Glenn Morris <rgm@gnu.org>
4458
4459 * ehelp.el (electric-help-mode): Use help-mode rather than
4460 non-existent mode `help'.
4461 (electric-help-map): Use button-buffer-map. (Bug#10917)
4462
4463 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4464 (reftex-create-bibtex-footer): Fix custom types.
4465
4466 * progmodes/sh-script.el (sh-indent-after-continuation):
4467 Add explicit :group.
4468
4469 * textmodes/rst.el (rst-preferred-decorations)
4470 (rst-shift-basic-offset): Clarify obsolescence versions.
4471
4472 * profiler.el (profiler): Add missing group :version tag.
4473 * avoid.el (mouse-avoidance-banish-position):
4474 * proced.el (proced-renice-command):
4475 * calc/calc.el (calc-ensure-consistent-units):
4476 * calendar/icalendar.el (icalendar-import-format-uid):
4477 * net/tramp.el (tramp-save-ad-hoc-proxies):
4478 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4479 * progmodes/flymake.el (flymake-error-bitmap)
4480 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4481 * progmodes/sh-script.el (sh-indent-after-continuation):
4482 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4483 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4484 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4485 (vhdl-array-index-record-field-in-sensitivity-list)
4486 (vhdl-indent-comment-like-next-code-line):
4487 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4488 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4489 (reftex-cite-key-separator, reftex-create-bibtex-header)
4490 (reftex-create-bibtex-footer):
4491 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4492 (rst-indent-literal-normal, rst-indent-literal-minimized)
4493 (rst-indent-comment): Add missing custom :version tags.
4494
4495 * calendar/timeclock.el (timeclock-modeline-display):
4496 Add missing obsolete alias for renamed user option.
4497
4498 * strokes.el (strokes-modeline-string):
4499 * emulation/crisp.el (crisp-mode-modeline-string):
4500 * eshell/esh-mode.el (eshell-status-in-modeline):
4501 Aliases to defcustoms must come before the defcustom.
4502
4503 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4504 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4505 (cal-tex-cursor-week-monday): Doc fixes.
4506 (cal-tex-cursor-week2-summary): Doc fix.
4507 Rename from cal-tex-cursor-week-at-a-glance.
4508
4509 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4510 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4511
4512 * calendar/calendar.el (calendar-mode-map):
4513 Add cal-tex-cursor-week2-summary.
4514
4515 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4516
4517 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4518
4519 * subr.el (read-passwd-map): New var.
4520 (read-passwd): Use `read-string' again.
4521 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4522
4523 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4524
4525 * register.el (append-to-register, prepend-to-register):
4526 Deactivate mark, as does `copy-to-register' (bug#12389).
4527
4528 2012-10-06 Chong Yidong <cyd@gnu.org>
4529
4530 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4531
4532 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4533
4534 * international/characters.el: Fix simple mistake ((car chars) ->
4535 elt), delete duplicated code.
4536
4537 2012-10-06 Glenn Morris <rgm@gnu.org>
4538
4539 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4540
4541 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4542
4543 * color.el (color-hsl-to-rgb): Fix incorrect results for
4544 small and large hue values. (Bug#12559)
4545
4546 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4547
4548 Enhancements to docstring formatting when filling paragraphs.
4549 * progmodes/python.el (python-fill-docstring-style): Rename from
4550 python-fill-string-style. Added new style.
4551 (python-fill-string): Use new style. Better checks for
4552 docstrings.
4553
4554 2012-10-05 Glenn Morris <rgm@gnu.org>
4555
4556 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4557
4558 * color.el (color-name-to-rgb, color-rgb-to-hex)
4559 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4560 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4561 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4562 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4563
4564 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4565
4566 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4567
4568 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4569 to get the correct size across symlinks.
4570
4571 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4572
4573 2012-10-04 Juri Linkov <juri@jurta.org>
4574
4575 * replace.el (query-replace-interactive): Declare obsolete.
4576 (query-replace-read-from): Add the last incremental search string
4577 to the list of default values accessible via M-n.
4578 (map-query-replace-regexp): Use `read-regexp'.
4579 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4580 (map-query-replace-regexp, replace-string, replace-regexp):
4581 Fix docstrings to replace mentions of `query-replace-interactive'
4582 with alternatives. (Bug#12526)
4583
4584 2012-10-04 Juri Linkov <juri@jurta.org>
4585
4586 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4587 (dired-pop-to-buffer): Declare obsolete.
4588 (dired-mark-pop-up): Doc fix.
4589
4590 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4591
4592 Allow user to set docstring style for fill-paragraph.
4593 * progmodes/python.el
4594 (python-fill-comment-function, python-fill-string-function)
4595 (python-fill-decorator-function, python-fill-paren-function):
4596 Remove :safe for defcustoms.
4597 (python-fill-string-style): New defcustom
4598 (python-fill-paragraph-function): Enhance context detection.
4599 (python-fill-string): Honor python-fill-string-style settings.
4600
4601 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4602
4603 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4604 after setting its buffer (Bug#10805).
4605
4606 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4607
4608 Fix cornercase for string syntax.
4609 * progmodes/python.el (python-syntax-propertize-function):
4610 Simplify and enhance the regexp for unescaped quotes. Now it also
4611 matches quotes in weird situations like the single quote in
4612 "something\"'".
4613 (python-syntax-stringify): Simplify num-quotes detecting code.
4614
4615 2012-10-03 Glenn Morris <rgm@gnu.org>
4616
4617 * help-macro.el (three-step-help):
4618 Revert 2012-09-29 change. (Bug#12567)
4619
4620 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4621
4622 * menu-bar.el (kill-this-buffer): Don't do anything when
4623 `menu-frame' is not alive or visible (Bug#8184).
4624
4625 * emacs-lisp/debug.el (debug): When quitting the debugger window
4626 restore current buffer (Bug#12502).
4627
4628 2012-10-02 Chong Yidong <cyd@gnu.org>
4629
4630 * progmodes/hideif.el (hif-lookup, hif-defined):
4631 Handle semantic-c-takeover-hideif.
4632
4633 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4634
4635 Change sampling interval units from ms to ns.
4636 * profiler.el (profiler-sampling-interval): Change units
4637 from ms to ns, multiplying the default by 1000000 so that
4638 it remains 1 ms.
4639 (profiler-report-cpu-line-format): Give enough room for
4640 the maximum counters on 64-bit hosts.
4641 (profiler-report-render-calltree-1): Call them "CPU samples",
4642 not "Time (ms)", since they are not milliseconds now (and
4643 never really were).
4644
4645 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4646
4647 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4648 Fix querying BBDB for entries without a last name (Bug#11580).
4649
4650 2012-10-02 Chong Yidong <cyd@gnu.org>
4651
4652 * emacs-lisp/eieio.el: Restore Version header.
4653
4654 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4655
4656 * vc/diff-mode.el (diff--auto-refine-data): New var.
4657 (diff-hunk): Use it to delay refinement.
4658 (diff-mode): Remove overlays when we turn off font-lock.
4659
4660 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4661 (table-initialize-table-fixed-width-mode)
4662 (table-set-table-fixed-width-mode): Remove functions.
4663 (table-command-list): Move initialization into declaration.
4664 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4665 (table-with-cache-buffer): Use `declare'.
4666 (table-span-cell): Simplify via CSE.
4667 (table-fixed-width-mode): Use define-minor-mode.
4668 (table-call-interactively, table-funcall, table-apply): Remove.
4669 (table-function): New function, to replace them.
4670
4671 * bookmark.el (bookmark-search-pattern): Remove var.
4672 (bookmark-read-search-input): Remove function.
4673 (bookmark-bmenu-search): Reimplement using a minibuffer.
4674
4675 * faces.el (modeline): Remove obsolete face name.
4676
4677 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4678 and give a non-nil default value.
4679 (add-change-log-entry): Simplify accordingly.
4680
4681 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4682
4683 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4684 (vc-git-log-edit-toggle-amend): New function.
4685 (vc-git-log-edit-toggle-signoff): New function.
4686 (vc-git-log-edit-mode): New major mode.
4687 (vc-git-log-edit-mode-map): Keymap for it.
4688 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4689
4690 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4691 header names.
4692 (log-edit-toggle-header): New function.
4693 (log-edit-extract-headers): Accept function values in HEADERS alist.
4694
4695 2012-10-01 David Engster <deng@randomsample.de>
4696
4697 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4698 from symbol property and change message to be more consistent with
4699 Emacs proper.
4700 (eieio-describe-generic): Add filename for each implementation.
4701 Fix indices for generic and normal methods.
4702 (eieio-method-def, eieio-class-def): New buttons.
4703 (eieio-help-find-method-definition)
4704 (eieio-help-find-class-definition): New functions.
4705 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4706 class, constructor and method definitions.
4707
4708 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4709 information in symbol property.
4710 (scoped-class): Remove.
4711 (eieio-slot-name-index, call-next-method): Check if it is bound.
4712
4713 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4714
4715 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4716 (eieio-custom-mode): New major mode.
4717 (eieio-customize-object): Use it.
4718
4719 2012-10-01 Eric Ludlam <zappo@gnu.org>
4720
4721 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4722 specifying the expected class, and whether subclassing is allowed.
4723 (eieio-persistent-convert-list-to-object):
4724 (eieio-persistent-validate/fix-slot-value)
4725 (eieio-persistent-slot-type-is-class-p): New functions.
4726 (eieio-named::slot-missing): Doc fix.
4727
4728 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4729 Stop using unused publd variable.
4730
4731 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4732 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4733 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4734 (eieio-speedbar-handle-click): Do not specify a class for the
4735 method. Fixes method invocation order problems with EDE.
4736
4737 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4738
4739 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4740 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4741
4742 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4743
4744 * bookmark.el (bookmark-version-control): Give tags in the
4745 :type choices (Bug#12309), and improve doc string.
4746 (bookmark-write-file): Bind `print-circle' to `t' to allow
4747 circular custom bookmark types. (Bug#12503)
4748
4749 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4750
4751 Revert the FOLLOW-SYMLINKS change for file-attributes.
4752 * files.el (remote-file-name-inhibit-cache, after-find-file):
4753 * time.el (display-time-file-nonempty-p): Undo last change.
4754
4755 * profiler.el (profiler-sampling-interval): Change default back to 1.
4756 See Stefan Monnier in
4757 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4758
4759 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4760
4761 Shell output catching a la gud-gdb.
4762 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4763 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4764 New Vars.
4765 (python-shell-fetch-lines-filter): New function.
4766 (python-shell-send-string-no-output): Use them.
4767
4768 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4769
4770 * profiler.el (profiler-sampling-interval): Rename from
4771 profiler-sample-interval.
4772 (profiler-sampling-interval): Default to 10.
4773 (profiler-find-profile): New command (was profiler-find-log).
4774 (profiler-find-profile-other-window): New command.
4775 (profiler-find-profile-other-frame): New command.
4776 (profiler-profile): Introduce API-level data structure.
4777
4778 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4779
4780 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4781 * files.el (remote-file-name-inhibit-cache):
4782 * time.el (display-time-file-nonempty-p): Use it.
4783 * files.el (after-find-file): Don't chase links before calling
4784 file-exists-p, as file-exists-p already does the right thing.
4785
4786 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
4787
4788 Merge from standalone RefTeX repository.
4789
4790 The following ChangeLog entries are shortened versions of the
4791 original ones with file paths adapted. A not so strongly edited
4792 version of the original ChangeLog can be found in the commit log.
4793
4794 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4795 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4796 Correctly handle new value type returned by `reftex-citation'.
4797
4798 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4799 that entries with whitespace at various places are found.
4800 Doc fix. Include entries that are cross-referenced from cited entries.
4801 Include @String definitions in the resulting bib file. Add header
4802 and footer defined in `reftex-create-bibtex-header' and
4803 `reftex-create-bibtex-footer'.
4804 (reftex-do-citation): Make it possible again to insert
4805 non-existent entries. Save match data when asking for optional
4806 arguments. Return all keys, not just the first one.
4807 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4808 all citations in the same line.
4809 (reftex-parse-bibtex-entry): Accept additional optional argument
4810 `raw' and keep quotes or braces if it is non-nil. Match fields
4811 containing hyphens besides word constituents.
4812 (reftex-get-string-refs): New function.
4813 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4814 and ask if it should be reread in case it did.
4815 (reftex-pop-to-bibtex-entry)
4816 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4817 entries with spaces or tabs in front of arguments.
4818 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4819 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4820 Match entries containing numbers and symbol constituents.
4821 (reftex-do-citation, reftex-figure-out-cite-format):
4822 Use `reftex-cite-key-separator'.
4823
4824 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4825 (reftex-mouse-view-crossref): Explain why point is set.
4826
4827 * textmodes/reftex-global.el: Whitespace changes.
4828
4829 * textmodes/reftex-index.el: Move provide statement to end of
4830 file.
4831 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4832 (reftex-index-visit-phrases-buffer): Set marker when visiting
4833 buffer. This allows for returning from the phrases file to the
4834 file one was just editing instead of the file where the last
4835 phrases was added from.
4836 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4837 punctuation syntax as it usually is not used as string quote in
4838 TeX-related modes and may occur unmatched. The change also
4839 prevents fontification of quoted content.
4840 (reftex-index-phrases-mode): Use it.
4841
4842 * textmodes/reftex-parse.el (reftex-parse-from-file):
4843 Move backward one char if a `\' was matched after a section macro.
4844 (reftex-parse-from-file): Use beginning of match instead of end as
4845 bound.
4846
4847 * textmodes/reftex-ref.el: Adapt creation of
4848 `reftex-<package>-<macro>' functions to new structure of
4849 `reftex-ref-style-alist'.
4850 (reftex-reference): Use `reftex-ref-style-list' function.
4851 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4852 reference macro if `reftex-ref-macro-prompt' is non-nil.
4853 (reftex-reference): Pass refstyle to `reftex-format-special'.
4854 Determine reference macro by looking at
4855 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4856 Use only one special format function.
4857 (reftex-varioref-vref, reftex-fancyref-fref)
4858 (reftex-fancyref-Fref): Remove definitions. The functions are now
4859 generated from `reftex-ref-style-alist'.
4860 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4861 Remove.
4862 (reftex-format-special): New function.
4863
4864 * textmodes/reftex-sel.el
4865 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4866 of `reftex-ref-style-alist'. Remove code for testing macro type.
4867 (reftex-select-toggle-varioref)
4868 (reftex-select-toggle-fancyref): Remove.
4869 (reftex-select-cycle-ref-style-internal)
4870 (reftex-select-cycle-ref-style-forward)
4871 (reftex-select-cycle-ref-style-backward): New functions.
4872 (reftex-select-label-map): Use `v' and `V' for general cycling
4873 through reference styles. Add `p' for switching between number
4874 and page reference types.
4875
4876 * textmodes/reftex-toc.el (reftex-re-enlarge):
4877 Call `enlarge-window' only if there is something to do because in Emacs
4878 the horizontal version throws an error even if the parameter is 0.
4879
4880 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4881 (reftex-plug-into-AUCTeX): Doc fix.
4882 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4883 string. Adapt to new name.
4884 (reftex-ref-style-alist): Change structure so that it is not
4885 possible to use multiple different package names within a style.
4886 Remove the symbols for symbols for macro type distinction.
4887 Add characters for macro selection.
4888 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4889 (reftex-create-bibtex-footer): New variables.
4890 (reftex-format-ref-function): Mention third argument of special
4891 format function.
4892 (reftex-ref-style-alist, reftex-ref-style-default-list):
4893 New variables.
4894 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4895 to new implementation. Mark as obsolete. Add compatibility code
4896 for honoring the variable values in case they are set.
4897 (reftex-cite-format-builtin, reftex-bibliography-commands):
4898 Add support for ConTeXt.
4899 (reftex-format-ref-function, reftex-format-cite-function):
4900 Fix custom type.
4901 (reftex-cite-key-separator): New variable.
4902
4903 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4904 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4905 `reftex-syntax-table' because parens have to retain their paren
4906 syntax in order for parsing of BibTeX entries like @book(...) to
4907 work.
4908 (reftex-in-comment): Do not error out if `comment-start-skip' is
4909 not set. Deal correctly with escaped comment characters.
4910 (reftex-tie-multifile-symbols): Add doc string.
4911 Initialize `reftex-ref-style-list'.
4912 (reftex-untie-multifile-symbols): Add doc string.
4913 (reftex-add-index-macros): Doc fix.
4914 (reftex-ref-style-activate, reftex-ref-style-toggle)
4915 (reftex-ref-style-list): New functions.
4916 (reftex-mode-menu): Use them. Adapt to new structure of
4917 `reftex-ref-style-alist'.
4918 (reftex-select-with-char): Kill the RefTeX Select buffer when
4919 done.
4920 (reftex-remove-if): New function.
4921 (reftex-erase-all-selection-and-index-buffers)
4922 (reftex-mode-menu): Reference styles are now computed from
4923 `reftex-ref-style-alist'. Fix typo.
4924 (reftex-report-bug): New function.
4925 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4926 algorithms with O(n log n). Introduce optional argument SORT (not
4927 yet used).
4928
4929 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4930
4931 Enhancements for triple-quote string syntax.
4932 * progmodes/python.el (python-syntax-propertize-function):
4933 Match both quote cases in one regexp.
4934 (python-syntax-stringify): Handle matches properly.
4935
4936 2012-09-30 Juri Linkov <juri@jurta.org>
4937
4938 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4939 to nil around the call to `insert' to prevent
4940 directory time modification by lock_file. (Bug#2295)
4941 * tar-mode.el (tar-summarize-buffer): Idem.
4942
4943 2012-09-30 Juri Linkov <juri@jurta.org>
4944
4945 * facemenu.el (list-colors-sort): Add option "Luminance".
4946 (list-colors-sort-key): Implement it.
4947
4948 * vc/diff-mode.el (diff-refine-removed):
4949 * vc/ediff-init.el (ediff-fine-diff-A):
4950 * vc/smerge-mode.el (smerge-refined-removed):
4951 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4952
4953 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4954
4955 * term/ns-win.el (x-file-dialog): New function.
4956
4957 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
4958
4959 * ido.el (ido-max-directory-size): Default to nil; the current
4960 default is small for POSIX systems, and impractical on Windows 7
4961 now that lstat returns directory sizes for NTFS.
4962
4963 2012-09-30 Martin Rudalics <rudalics@gmx.at>
4964
4965 In buffer display functions handle window-height/window-width
4966 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
4967 * window.el (window--display-buffer): New argument ALIST.
4968 Obey window-height and window-width alist entries.
4969 (window--try-to-split-window): New argument ALIST.
4970 Bind window-combination-limit to t when the window's size shall be
4971 changed and window-combination-limit equals `window-size'.
4972 (display-buffer-in-atom-window)
4973 (display-buffer-in-major-side-window)
4974 (display-buffer-in-side-window, display-buffer-same-window)
4975 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4976 (display-buffer-pop-up-window, display-buffer-below-selected)
4977 (display-buffer-at-bottom, display-buffer-in-previous-window)
4978 (display-buffer-use-some-window): Adjust all callers of
4979 window--display-buffer and window--try-to-split-window.
4980 (fit-frame-to-buffer): New option.
4981 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4982 is non-nil.
4983 (display-buffer-in-major-side-window): Evaluate window-height /
4984 window-width alist entries.
4985
4986 * help.el (temp-buffer-resize-frames)
4987 (temp-buffer-resize-regexps): Remove options.
4988 (temp-buffer-resize-mode): Adjust doc-string.
4989 (resize-temp-buffer-window): Don't consult
4990 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4991 temp-buffer-resize-frames.
4992
4993 * dired.el (dired-mark-pop-up):
4994 Call display-buffer-below-selected with a fit-window-to-buffer alist
4995 entry.
4996
4997 2012-09-30 Chong Yidong <cyd@gnu.org>
4998
4999 * server.el (server-host): Document the security implications.
5000 (server-auth-key): Doc fix.
5001
5002 * startup.el (initial-buffer-choice): Doc fix.
5003
5004 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5005
5006 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5007 restriction change.
5008
5009 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5010
5011 * help-fns.el (help-fns--obsolete): Fix last change.
5012
5013 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5014
5015 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5016 (minor-mode-map-alist): Remove redundant code.
5017
5018 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5019 visited in a buffer.
5020 (cvs-insert-visited-file): New function.
5021 (find-file-hook): Use it.
5022
5023 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5024
5025 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5026 chose face.
5027 (log-edit-empty-buffer-p): Don't require a space after a header.
5028
5029 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5030
5031 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5032
5033 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5034 a proper minor-mode.
5035
5036 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5037
5038 2012-09-29 Glenn Morris <rgm@gnu.org>
5039
5040 * winner.el (winner-mode): Remove variable (let define-minor-mode
5041 handle it).
5042 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5043 Doc fixes.
5044 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5045 (winner-mode): Use define-minor-mode.
5046
5047 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5048 the full definition in loaddefs, rather than duplicating it.
5049
5050 * help-macro.el (three-step-help): No need to autoload defcustom.
5051
5052 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5053 (inferior-lisp-program, inferior-lisp-load-command)
5054 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5055 No need to autoload defcustoms.
5056
5057 * hippie-exp.el (hippie-expand-try-functions-list)
5058 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5059 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5060 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5061 (hippie-expand-only-buffers): No need to autoload defcustoms.
5062 * progmodes/vhdl-mode.el (vhdl-line-expand):
5063 Explicitly load hippie-exp, so it does not get autoloaded
5064 while hippie-expand-try-functions-list is let-bound.
5065
5066 2012-09-28 Glenn Morris <rgm@gnu.org>
5067
5068 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5069
5070 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5071 Only "cl.el" counts as cl these days.
5072
5073 2012-09-28 Juri Linkov <juri@jurta.org>
5074
5075 Display archive errors in the echo area instead of inserting
5076 to the file buffer.
5077
5078 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5079 to STDERR-TEST that can be a regexp matching a successful output.
5080 Create a temporary file and redirect stderr to it. Search for
5081 STDERR-TEST in the stderr output and display it in the echo area
5082 if no match is found.
5083 (archive-extract-by-file): New function like
5084 `archive-extract-by-stdout' but extracting archives to files
5085 and looking for successful matches in stdout. Function body is
5086 mostly copied from `archive-rar-extract'.
5087 (archive-rar-extract): Use `archive-extract-by-file'.
5088 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5089
5090 2012-09-28 Leo Liu <sdl.web@gmail.com>
5091
5092 * pcomplete.el (pcomplete-show-completions):
5093 Use minibuffer-message to make pcomplete usable in minibuffer.
5094
5095 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5096
5097 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5098
5099 * type-break.el: Use lexical-binding.
5100 (type-break-mode): Use define-minor-mode.
5101
5102 * emacs-lisp/pcase.el (pcase--mark-used): New.
5103 (pcase--u1): Use it (bug#12512).
5104
5105 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5106 in load-history with the right file name.
5107
5108 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5109
5110 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5111 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5112 (doc-view-get-bounding-box): Make bounding box slicing work for
5113 ODF and DVI documents.
5114
5115 2012-09-28 Glenn Morris <rgm@gnu.org>
5116
5117 * type-break.el (type-break-mode, type-break-interval)
5118 (type-break-good-rest-interval, type-break-keystroke-threshold):
5119 No need to autoload.
5120 (type-break-good-rest-interval, type-break-keystroke-threshold):
5121 Add :set-after.
5122
5123 2012-09-28 Chong Yidong <cyd@gnu.org>
5124
5125 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5126 Add :version tag.
5127
5128 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5129
5130 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5131
5132 2012-09-27 Glenn Morris <rgm@gnu.org>
5133
5134 * faces.el (x-display-name): Declare (for without-x builds).
5135
5136 * linum.el (linum-format): Don't autoload it. Improve :type.
5137
5138 * progmodes/tcl.el: Don't require outline when compiling.
5139 (outline-regexp, outline-level): Declare.
5140 * textmodes/sgml-mode.el: Don't require outline when compiling.
5141 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5142
5143 * term.el (term-ansi-reset):
5144 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5145
5146 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5147 files for RCS and SCCS. (Bug#9781)
5148
5149 2012-09-27 Chong Yidong <cyd@gnu.org>
5150
5151 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5152 change; value should be t.
5153
5154 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5155
5156 * image-mode.el: Use lexical-binding.
5157 (image-mode-winprops): Use t to stand for the window of
5158 a buffer that's not displayed.
5159 * doc-view.el (doc-view-new-window-function): Handle the new
5160 t in winprops.
5161 (doc-view-enlarge): Make it a real nop if the size is not changed.
5162 (doc-view-display): Handle the case where the buffer is not (yet?)
5163 displayed in any window.
5164 (doc-view-saved-settings): New var.
5165 (doc-view-mode): Use it.
5166 (doc-view-fallback-mode): Set it.
5167
5168 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5169 Set lexical-binding.
5170 (minibuffer-eldef-shorten-default): New var.
5171 (minibuffer-default-in-prompt-regexps): Use it for new default.
5172 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5173
5174 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5175
5176 * international/uni-bidi.el:
5177 * international/uni-category.el:
5178 * international/uni-name.el:
5179 * international/uni-numeric.el: Regenerate.
5180
5181 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5182 Stefan Monnier <monnier@iro.umontreal.ca>
5183
5184 * profiler.el: New file.
5185
5186 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5187
5188 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5189 (testcover-reinstrument): Simplify with CSE.
5190
5191 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5192
5193 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5194
5195 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5196
5197 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5198 (verilog-auto-input, verilog-auto-insert-lisp)
5199 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5200 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5201 (verilog-auto-unused, verilog-auto-wire)
5202 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5203 newline. Reported by Andrew Jones.
5204 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5205 Reported by Brad Dobbie.
5206 (verilog-batch-delete-trailing-whitespace):
5207 Create verilog-batch-delete-trailing-whitespace.
5208 Reported by Brad Dobbie.
5209 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5210 parameters from another module. Reported by Dan Katz.
5211 (verilog-auto, verilog-auto-assign-modport)
5212 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5213 AUTOINOUTMODPORT for UVM interface module shell generation.
5214 Reported by Brad Dobbie.
5215 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5216 standard behavior.
5217 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5218 Reported by Matt Martin.
5219
5220 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5221
5222 * window.el (window--resize-child-windows): When resizing child
5223 windows proportionally, process them in reverse order to
5224 preserve the "when splitting a window the new one gets the odd
5225 line" behavior.
5226 (window--resize-root-window-vertically): When resizing the
5227 minibuffer window try to affect only windows at the bottom of the
5228 frame. (Bug#12419)
5229
5230 2012-09-25 Chong Yidong <cyd@gnu.org>
5231
5232 * subr.el (declare): Doc fix.
5233
5234 * help-fns.el (help-fns--obsolete): Handle macros properly.
5235
5236 2012-09-25 Chong Yidong <cyd@gnu.org>
5237
5238 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5239 this function obsolete.
5240
5241 * calendar/cal-x.el (calendar-two-frame-setup)
5242 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5243 * calendar/calendar.el (american-calendar, european-calendar)
5244 (calendar-for-loop):
5245 * comint.el (comint-dynamic-simple-complete)
5246 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5247 * desktop.el (desktop-load-default):
5248 * dired-x.el (dired-omit-here-always)
5249 (dired-hack-local-variables, dired-default-directory):
5250 * emacs-lisp/derived.el (derived-mode-class):
5251 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5252 * emacs-lock.el (toggle-emacs-lock):
5253 * epa.el (epa-display-verify-result):
5254 * epg.el (epg-sign-keys, epg-start-sign-keys)
5255 (epg-passphrase-callback-function):
5256 * eshell/esh-util.el (eshell-for):
5257 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5258 (eshell-add-to-window-buffer-names):
5259 * files.el (locate-file-completion):
5260 * imenu.el (imenu-example--create-c-index)
5261 (imenu-example--create-lisp-index)
5262 (imenu-example--lisp-extract-index-name)
5263 (imenu-example--name-and-position):
5264 * international/mule-cmds.el (princ-list):
5265 * international/mule-diag.el (decode-codepage-char):
5266 * international/mule-util.el (detect-coding-with-priority):
5267 * iswitchb.el (iswitchb-read-buffer):
5268 * mail/mailalias.el (mail-complete):
5269 * mail/sendmail.el (mail-sent-via):
5270 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5271 (mouse-major-mode-menu):
5272 * password-cache.el (password-read-and-add):
5273 * pcomplete.el (pcomplete-parse-comint-arguments):
5274 * progmodes/sh-script.el (sh-maybe-here-document):
5275 * replace.el (query-replace-regexp-eval):
5276 * savehist.el (savehist-load):
5277 * simple.el (choose-completion-delete-max-match):
5278 * term.el (term-dynamic-simple-complete):
5279 * vc/ediff-init.el (ediff-check-version):
5280 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5281 * vc/vc.el (vc-diff-switches-list):
5282 * view.el (view-return-to-alist-update): Likewise.
5283
5284 * subr.el (eval-next-after-load, makehash, insert-string)
5285 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5286 mark obsolete.
5287 (mode-line-inverse-video): Variable deleted.
5288
5289 * international/mule-util.el (string-to-sequence): Remove.
5290
5291 * calendar/calendar.el (calendar-version):
5292 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5293 (icalendar-convert-diary-to-ical):
5294 * cus-edit.el (custom-mode):
5295 * ansi-color.el (ansi-color-unfontify-region):
5296 * international/latin1-disp.el (latin1-char-displayable-p):
5297 * progmodes/cwarn.el (turn-on-cwarn-mode):
5298 * progmodes/which-func.el (which-func-update-1):
5299 Use define-obsolete-function-alias.
5300
5301 * net/newst-backend.el (newsticker-cache-filename):
5302 * net/newst-treeview.el (newsticker-groups-filename):
5303 Fix incorrect obsolescence declaration.
5304
5305 * allout.el (allout-passphrase-hint-string): Likewise.
5306 (allout-init): Use a declare form to mark obsolete.
5307
5308 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5309 this applies to functions.
5310
5311 * iswitchb.el (iswitchb-read-buffer): Move code of
5312 iswitchb-define-mode-map here, and delete that obsolete function.
5313
5314 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5315 font-lock-reference-face.
5316
5317 2012-09-25 Glenn Morris <rgm@gnu.org>
5318
5319 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5320 Doc fixes.
5321
5322 * eshell/em-term.el (eshell-term-name):
5323 Default to term-term-name. (Bug#12485)
5324
5325 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5326
5327 * progmodes/python.el (python-shell-send-buffer): Better handling
5328 of "if __name__ == '__main__':" conditionals when sending the buffer.
5329
5330 2012-09-24 Glenn Morris <rgm@gnu.org>
5331
5332 * eshell/esh-cmd.el (eshell-find-alias-function):
5333 Tighten up file-name regexp. (Bug#12499)
5334
5335 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5336
5337 Enhancements for triple-quote string syntax.
5338 * progmodes/python.el (python-quote-syntax): Remove.
5339 (python-syntax-propertize-function): New value.
5340 (python-syntax-count-quotes, python-syntax-stringify):
5341 New functions.
5342
5343 2012-09-24 Chong Yidong <cyd@gnu.org>
5344
5345 * mail/supercite.el (sc-version): Remove obsolete function.
5346 (sc-describe): Don't mark as obsolete, since it is bound.
5347 (sc-submit-bug-report): Remove.
5348
5349 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5350 (cvs-commit-buffer-require-final-newline): Remove.
5351 (log-edit-require-final-newline)
5352 (log-edit-changelog-full-paragraphs): Default to t.
5353
5354 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5355 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5356 * vc/vc.el (vc-checkout-carefully): Likewise.
5357
5358 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5359 (emerge-version): Remove.
5360
5361 * progmodes/compile.el (compile-internal): Remove.
5362 (compilation-parse-errors-function): Fix typo.
5363
5364 * international/mule.el (set-char-table-default): Remove.
5365 (set-coding-priority, make-coding-system, generic-char-p)
5366 (charset-list, charset-bytes, charset-id): Use declare to mark
5367 functions as obsolete.
5368
5369 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5370 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5371 * vc/vc-hooks.el (vc-default-registered): Don't use
5372 vc-master-templates.
5373
5374 * font-lock.el (font-lock-reference-face):
5375 Use define-obsolete-variable-alias.
5376
5377 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5378 * calendar/calendar.el (calendar-font-lock-keywords):
5379 * calendar/diary-lib.el (diary-font-lock-keywords)
5380 (diary-fancy-font-lock-keywords):
5381 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5382 * textmodes/reftex-index.el (reftex-insert-index):
5383 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5384 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5385 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5386 * progmodes/prolog.el (prolog-font-lock-keywords):
5387 * progmodes/idlwave.el (idlwave-idl-keywords):
5388 * progmodes/ada-mode.el (ada-font-lock-keywords):
5389 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5390
5391 2012-09-24 Glenn Morris <rgm@gnu.org>
5392
5393 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5394
5395 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5396
5397 * progmodes/python.el (python-indent-line): More consistent cursor
5398 movement behavior.
5399
5400 2012-09-23 Stefan Merten <smerten@oekonux.de>
5401
5402 * textmodes/rst.el: Fix compiler warning.
5403
5404 2012-09-23 Roland Winkler <winkler@gnu.org>
5405
5406 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5407 Transcribe also LaTeX hyphenation.
5408 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5409 bibtex-reformat-previous-options.
5410
5411 2012-09-23 Roland Winkler <winkler@gnu.org>
5412
5413 * proced.el (proced-renice-command): New variable.
5414 (proced-marked-processes): New function.
5415 (proced-with-processes-buffer): New macro.
5416 (proced-send-signal): Use them.
5417 (proced-renice): New command bound to r.
5418
5419 2012-09-23 Roland Winkler <winkler@gnu.org>
5420
5421 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5422 ibuffer-saved-filter-groups has one element, shortcut the call of
5423 completing-read. (Bug#12331)
5424
5425 2012-09-23 Chong Yidong <cyd@gnu.org>
5426
5427 * bindings.el (mode-line-toggle-read-only):
5428 * bs.el (bs-toggle-readonly):
5429 * buff-menu.el (Buffer-menu-toggle-read-only):
5430 * dired.el (dired-toggle-read-only):
5431 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5432
5433 2012-09-23 Chong Yidong <cyd@gnu.org>
5434
5435 * image.el (image-type-available-p): Adapt to init-image-library
5436 argument changes.
5437
5438 2012-09-22 Juri Linkov <juri@jurta.org>
5439
5440 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5441 `dired-toggle-read-only'. (Bug#12462)
5442
5443 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5444
5445 * subr.el (temp-output-buffer-show): New function.
5446 (with-output-to-temp-buffer): Call temp-output-buffer-show
5447 instead of internal-temp-output-buffer-show.
5448
5449 2012-09-22 Chong Yidong <cyd@gnu.org>
5450
5451 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5452 (Bug#12462).
5453
5454 * repeat.el (repeat): Doc fix (Bug#12348).
5455
5456 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5457 (Bug#10909).
5458
5459 * simple.el (shell-command-on-region): Doc fix.
5460 (read-only-mode): Doc fix.
5461
5462 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5463
5464 * emacs-lisp/timer.el (run-with-idle-timer)
5465 (timer-activate-when-idle): Warn against reinvoking an idle timer
5466 from within its own timer action. (Bug#12447)
5467
5468 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5469
5470 * cus-start.el (window-combination-limit): Add new optional
5471 values.
5472 * window.el (temp-buffer-window-show)
5473 (window--try-to-split-window): Handle new values of
5474 window-combination-limit (Bug#1806).
5475 (split-window): Test window-combination-limit for t instead of
5476 non-nil.
5477 (display-buffer-at-bottom): New buffer display action function.
5478 * help.el (temp-buffer-resize-regexps): New option.
5479 (temp-buffer-resize-mode): Rewrite doc-string.
5480 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5481 Don't resize reused window. Suggested by Glenn Morris.
5482
5483 2012-09-22 Stefan Merten <smerten@oekonux.de>
5484
5485 * textmodes/rst.el: Revamp section title faces.
5486 (rst-official-version)
5487 (rst-package-emacs-version-alist): Sync with official version
5488 V1.4.0.
5489 (rst-faces-defaults, rst-set-level-default)
5490 (rst-level-face-max, rst-level-face-base-color)
5491 (rst-level-face-base-light, rst-level-face-format-light)
5492 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5493 (rst-adornment-faces-alist): Match new setup.
5494 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5495 (rst-level-5, rst-level-6): New faces.
5496
5497 2012-09-22 Chong Yidong <cyd@gnu.org>
5498
5499 * simple.el (undo): Handle indirect buffers (Bug#8207).
5500
5501 2012-09-21 Leo Liu <sdl.web@gmail.com>
5502
5503 IDO: Disable match re-ordering for buffer switching.
5504 * ido.el (ido-buffer-disable-smart-matches): New variable.
5505 (ido-set-matches-1): Use it. (Bug#2042)
5506
5507 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5508
5509 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5510 Fix 2011-05-17 change. (Bug#12418)
5511
5512 2012-09-21 Leo Liu <sdl.web@gmail.com>
5513
5514 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5515
5516 2012-09-21 Glenn Morris <rgm@gnu.org>
5517
5518 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5519 Be more robust about locating simple.el.
5520
5521 2012-09-21 Glenn Morris <rgm@gnu.org>
5522
5523 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5524
5525 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5526
5527 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5528
5529 2012-09-20 Juri Linkov <juri@jurta.org>
5530
5531 * replace.el (query-replace-read-from): Use `read-regexp' instead
5532 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5533 (occur-read-primary-args): Use `read-regexp' instead of
5534 `read-string'.
5535 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5536 `read-from-minibuffer'.
5537 * isearch.el (isearch-occur): Use `read-regexp' instead of
5538 `read-string'.
5539 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5540 `read-from-minibuffer'.
5541 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5542 of `read-string'. (Bug#7567)
5543
5544 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5545 and allow accepting a list of strings prepended to a list of
5546 standard default values. Doc fix. (Bug#12321)
5547
5548 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5549
5550 * replace.el (read-regexp): Don't add ": " when PROMPT already
5551 ends with a colon and space. (Bug#12321)
5552
5553 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5554
5555 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5556 error.
5557
5558 2012-09-20 Stefan Merten <smerten@oekonux.de>
5559
5560 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5561 Fixes feature request bug#11711.
5562 (rst-mode): Create `imenu-create-index-function'.
5563 (rst-get-stripped-line): Delete after refactoring.
5564 (rst-section-tree, rst-section-tree-rec)
5565 (rst-section-tree-point): Refactor and document properly.
5566 (rst-imenu-find-adornments-for-position)
5567 (rst-imenu-convert-cell, rst-imenu-create-index):
5568 New function.
5569
5570 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5571
5572 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5573 (macroexp--expand-all): Use it.
5574 (macroexp--funcall-and-return): Remove by folding it into its sole
5575 caller (macroexp--warn-and-return).
5576 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5577 Use macroexp--obsolete-warning.
5578
5579 * calc/calc.el: Fix last change by removing the whole chunk, since it
5580 was only needed back when Calc was not bundled.
5581
5582 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5583
5584 * emacs-lisp/debug.el (debug): Restore assignment to
5585 debugger-old-buffer removed on 2012-09-08.
5586
5587 2012-09-20 Juri Linkov <juri@jurta.org>
5588
5589 * dired-aux.el (dired-diff): Remove (require 'diff) since
5590 `diff-latest-backup-file' is now autoloaded.
5591
5592 2012-09-20 Chong Yidong <cyd@gnu.org>
5593
5594 * vc/diff.el (diff-latest-backup-file): Autoload.
5595
5596 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * calc/calc.el: Remove redundant autoload shape check.
5599 (sel-mode): Don't defvar.
5600 (calc-get-stack-element): Add `sel-mode' arg instead.
5601 (calc-top, calc-top-list): Pass it this additional argument.
5602 * calc/calc-store.el (calc-store-map):
5603 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5604 (calc-map-equation, calc-outer-product, calc-inner-product):
5605 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5606
5607 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5608
5609 2012-09-19 Juri Linkov <juri@jurta.org>
5610
5611 * dired-aux.el (dired-diff): Add (require 'diff) because
5612 `diff-latest-backup-file' is not autoloaded.
5613 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5614 of `dired-get-filename' to t to not report error when there is
5615 no default file on the current line.
5616
5617 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5618
5619 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5620 macroexp--eval-if-compile.
5621 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5622 (macroexp--expand-all): Use them (bug#12371).
5623
5624 * doc-view.el (doc-view-guess-paper-size)
5625 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5626
5627 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5628
5629 New feature: set optimal slice from BoundingBox information.
5630 * doc-view.el (doc-view-mode-map): Add keybinding.
5631 (doc-view-menu): Add menu entry.
5632 (doc-view-set-slice): Adapt docstring.
5633 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5634 (doc-view-scale-bounding-box)
5635 (doc-view-set-slice-from-bounding-box): New functions.
5636 (doc-view-paper-sizes): New defvar.
5637
5638 2012-09-19 Glenn Morris <rgm@gnu.org>
5639
5640 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5641 (byte-compile-log-warning): Autoload. (Bug#12371)
5642
5643 * calendar/calendar.el (calendar-american-month-header)
5644 (calendar-european-month-header, calendar-iso-month-header)
5645 (calendar-month-header): New options.
5646 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5647 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5648
5649 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5650
5651 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5652
5653 2012-09-18 Juri Linkov <juri@jurta.org>
5654
5655 * dired-aux.el (dired-diff): Restore original functionality of
5656 getting the default value, but keep new feature of using the
5657 latest existing backup file (`diff-latest-backup-file').
5658
5659 2012-09-18 Juri Linkov <juri@jurta.org>
5660
5661 * dired.el (dired-mark): If the region is active in Transient Mark
5662 mode, mark all files in the active region. Doc fix.
5663 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5664 Doc fix. (Bug#10624)
5665
5666 2012-09-18 Juri Linkov <juri@jurta.org>
5667
5668 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5669 attributes for M-n are pulled from the file at point.
5670 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5671 Suggested by Drew Adams. (Bug#10624)
5672
5673 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5674
5675 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5676 whitespace after "end".
5677 (ruby-do-end-to-brace): Collapse block to one line if it fits
5678 within fill-column.
5679
5680 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5681
5682 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5683 value.
5684 (debug): Don't remove debugger window when debugger is expected
5685 to be back.
5686
5687 2012-09-18 Chong Yidong <cyd@gnu.org>
5688
5689 * custom.el (defface): Doc fix.
5690
5691 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5692
5693 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5694
5695 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5696 to initialize query-on-exit; then test that instead (bug#12288).
5697
5698 2012-09-17 Stefan Merten <smerten@oekonux.de>
5699
5700 * textmodes/rst.el: Add support for `testcover'.
5701 (rst-defcustom-testcover, rst-testcover-add-compose)
5702 (rst-testcover-add-1value): New functions.
5703 (rst-portable-mark-active-p): Replace by `use-region-p'.
5704 (rst-update-section, rst-classify-adornment)
5705 (rst-find-title-line): Mark `1value' forms.
5706 (rst-classify-adornment): Remove superfluous form.
5707 (rst-update-section, rst-get-adornments-around)
5708 (rst-adornment-complete-p, rst-get-next-adornment)
5709 (rst-adjust, rst-promote-region)
5710 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5711 (rst-find-pfx-in-region, rst-section-tree-rec)
5712 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5713 (rst-toc-node, rst-toc, rst-forward-section)
5714 (rst-iterate-leftmost-paragraphs)
5715 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5716 (rst-bullet-list-region)
5717 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5718 (rst-compile-find-conf, rst-compile)
5719 (rst-repeat-last-character): Fix style.
5720
5721 2012-09-17 Chong Yidong <cyd@gnu.org>
5722
5723 * comint.el (comint--complete-file-name-data): Don't add a space
5724 if the status is `sole'; that adds a gratuitous space in the
5725 completion-cycling case (Bug#12092).
5726
5727 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5728
5729 2012-09-17 Richard Stallman <rms@gnu.org>
5730
5731 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5732 only in the mime-shown mode, not in raw mode.
5733 (rmail-mime): Toggle off mime by displaying the message without
5734 mime processing. (Bug#12305)
5735
5736 * mail/rmail.el (rmail-retry-failure):
5737 Turn off mime processing first. (Bug#12037)
5738
5739 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5740
5741 2012-09-17 Chong Yidong <cyd@gnu.org>
5742
5743 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5744 (shell-dynamic-complete-functions): Convert to defcustom.
5745 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5746
5747 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5748 * comint.el (comint-prompt-read-only):
5749 * custom.el (defcustom):
5750 * hi-lock.el (hi-lock-mode):
5751 * ibuffer.el (ibuffer-formats):
5752 * ielm.el (ielm-prompt-read-only):
5753 * novice.el (disable-command):
5754 * saveplace.el (toggle-save-place):
5755 * speedbar.el (speedbar-supported-extension-expressions):
5756 * startup.el (auto-save-list-file-prefix, init-file-user)
5757 (after-init-hook, inhibit-startup-echo-area-message):
5758 * strokes.el (strokes-help):
5759 * time-stamp.el (time-stamp):
5760 * calendar/calendar.el (calendar, diary-file):
5761 * calendar/diary-lib.el (diary-mail-entries, diary)
5762 (diary-list-entries-hook):
5763 * calendar/holidays.el (holidays, calendar-holidays):
5764 * calendar/lunar.el (lunar-phases):
5765 * calendar/solar.el (sunrise-sunset):
5766 * emulation/edt.el (edt-load-keys):
5767 * emulation/viper.el (viper-mode):
5768 * eshell/em-alias.el (eshell-command-aliases-list):
5769 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5770 * international/ogonek.el (ogonek-information):
5771 * net/tramp-cmds.el (tramp-bug):
5772 * net/quickurl.el (quickurl-reread-hook-postfix):
5773 * play/decipher.el (decipher-font-lock-keywords):
5774 * progmodes/cc-styles.el (c-set-style):
5775 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5776 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5777 * progmodes/octave-mod.el (octave-mode):
5778 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5779 * progmodes/verilog-mode.el (verilog-read-defines):
5780 * textmodes/two-column.el (2C-mode): Likewise.
5781
5782 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5783
5784 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5785 that holds many addresses.
5786
5787 2012-09-16 Chong Yidong <cyd@gnu.org>
5788
5789 * align.el (align-areas): Call the indication function with
5790 positions instead of markers for arguments (Bug#12343).
5791
5792 * files.el (parse-colon-path): Use split-string (Bug#12351).
5793
5794 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5795 (display-buffer-function): Mark as obsolete.
5796
5797 * progmodes/compile.el (compilation-parse-errors): Accept list
5798 values similar to font-lock-keywords (Bug#12136).
5799 Suggested by Oleksandr Manzyuk.
5800 (compilation-error-regexp-alist): Doc fix.
5801
5802 2012-09-15 Glenn Morris <rgm@gnu.org>
5803
5804 * version.el (emacs-bzr-version-bzr): New function.
5805 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5806
5807 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5808 checkouts, check the parent dirstate matches the branch.
5809 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5810 empty string.
5811
5812 * version.el (emacs-bzr-version): Doc fix.
5813 (emacs-bzr-version-dirstate): New function.
5814 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5815 is local try and check that it matches the branch. If not, just
5816 use dirstate information. (Bug#12441)
5817
5818 2012-09-14 Juri Linkov <juri@jurta.org>
5819
5820 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5821 (Bug#12399)
5822
5823 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5824
5825 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5826
5827 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5828 Remove obsolete byte-compiler hack that tried to silence some warnings.
5829 (edebug-submit-bug-report): Remove.
5830 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5831 Remove aliases, use the un-prefixed name instead.
5832 (edebug-pop-to-buffer): Consider other frames.
5833 (edebug-original-read):: Make it more obvious that it's always defined.
5834 (edebug--make-form-data-entry, edebug--form-data-name)
5835 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5836 single-dashed name, and implement with cl-defstruct.
5837 (edebug-set-form-data-entry): Use the standard accessors.
5838 (edebug-make-top-form-data-entry): Use push.
5839 (edebug-no-match): Drop useless `funcall'.
5840 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5841 to functions.
5842 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5843 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5844 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5845 (easy-menu-define, with-custom-print): Remove redundant specs.
5846 (edebug-outside-overriding-local-map)
5847 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5848 (edebug--display): Bind unread-command-events directly to nil rather
5849 than binding it to unread-command-events and later setting it to nil.
5850 (edebug--display): Kill edebug-eval-buffer here...
5851 (edebug--recursive-edit): ...rather than here.
5852 Bind standard-output and standard-input.
5853 (edebug-eval): Check cl-macroexpand-all is fboundp.
5854 (edebug-temp-display-freq-count): Fix last change.
5855
5856 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5857 * subr.el (noreturn, 1value): Add `debug' spec.
5858 * emacs-lisp/advice.el: Require cl-lib.
5859 (ad-copy-tree): Remove, use copy-tree instead.
5860 (ad-dolist): Remove use dolist or cl-dolist instead.
5861 (ad-do-return): Remove, use cl-return instead.
5862 (defadvice): Add `debug' spec.
5863
5864 2012-09-13 Juri Linkov <juri@jurta.org>
5865
5866 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5867 (Bug#12399)
5868
5869 2012-09-13 Glenn Morris <rgm@gnu.org>
5870
5871 * calc/calc.el (math-compose-expr):
5872 * calc/calc-ext.el (math-compose-expr):
5873 * progmodes/cc-defs.el (cl-macroexpand-all):
5874 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5875 (cl-macroexpand-all): Update declarations.
5876
5877 * vc/vc.el: No need to require ediff.
5878 (ediff-load-version-control): Declare.
5879 (ediff-vc-internal): Fix declaration.
5880 (vc-version-ediff): Require ediff.
5881
5882 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5883
5884 Use a more backwards-compatible timer format (Bug#12430).
5885 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5886 being right after USECS, as that better supports old code that
5887 inadvisedly looked directly at the timer vector.
5888
5889 2012-09-13 Kenichi Handa <handa@gnu.org>
5890
5891 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5892 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5893 `coding-priority' property of these language environment.
5894
5895 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5896
5897 Fix glitches caused by addition of psec to timers (Bug#12430).
5898 * image.el (image-animate-timer):
5899 * time.el (display-time-world-timer):
5900 Use timer--function and timer--args rather than raw access to
5901 timer vector.
5902
5903 2012-09-13 Glenn Morris <rgm@gnu.org>
5904
5905 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5906 If not compiling a file, try using load-file-name.
5907
5908 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5909
5910 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5911 Fix last change.
5912 (edebug-update-eval-list): Use `push'.
5913
5914 * emacs-lisp/edebug.el: Use lexical-binding.
5915 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5916 Mark unused args with underscore.
5917 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5918 (edebug-form-data): Use defvar-local.
5919 (edebug-make-before-and-after-form, edebug-make-after-form):
5920 Use backquote.
5921 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5922 Not dynamically scoped any more.
5923 (edebug--enter-trace): Add arguments `function' and `args'.
5924 Rename from edebug-enter-trace.
5925 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5926 (edebug--update-coverage): Add `after-index' and `value' args.
5927 Rename from edebug-update-coverage.
5928 (edebug-slow-after): Call it accordingly.
5929 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5930 edebug-recursive-edit.
5931 (edebug--display): Call it accordingly. Add args `value',
5932 `offset-index', and `arg-mode'. Rename from edebug-display.
5933 (edebug-debugger, edebug): Call it accordingly.
5934 (edebug-eval-display-list): Use dolist.
5935
5936 2012-09-12 Juri Linkov <juri@jurta.org>
5937
5938 * info.el (Info-search): Don't check for isearch-mode and
5939 isearch-regexp before let-binding search-spaces-regexp to
5940 Info-search-whitespace-regexp.
5941 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5942 search-whitespace-regexp if isearch-lax-whitespace or
5943 isearch-regexp-lax-whitespace is non-nil.
5944 (Info-mode): Don't set local variable search-whitespace-regexp.
5945 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5946
5947 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5948
5949 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5950 (debugger-env-macro): Remove support for unread-command-char.
5951
5952 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5953 the temporary map re-appearing on emulation-mode-map-alists.
5954
5955 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5956 since 22.1.
5957
5958 * ehelp.el (with-electric-help): Accept functions in
5959 electric-help-form-to-execute.
5960 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5961 And replace unread-command-char -> unread-command-events.
5962
5963 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
5964
5965 Sync with Tramp 2.2.6.
5966
5967 * net/tramp.el (tramp-accept-process-output): Don't use
5968 JUST-THIS-ONE in the XEmacs case.
5969
5970 * net/trampver.el: Update release number.
5971
5972 2012-09-12 Martin Rudalics <rudalics@gmx.at>
5973
5974 * emacs-lisp/debug.el (debugger-previous-window-height):
5975 New variable.
5976 (debug): When debugger-jumping-flag is non-nil try to restore
5977 height of debugger window. (Bug#8789)
5978
5979 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5980
5981 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5982 overriding-local-map and pre/post-command-hook here.
5983 (edebug-recursive-edit): Do it here instead (bug#12345).
5984 (edebug-outside-unread-command-char): Remove all uses of
5985 unread-command-char.
5986
5987 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5988 inhibit-debugger is bound instead.
5989
5990 2012-09-11 Bastien Guerry <bzg@gnu.org>
5991
5992 * subr.el (set-temporary-overlay-map): Add a docstring.
5993 (Bug#12346)
5994
5995 2012-09-11 Bastien Guerry <bzg@gnu.org>
5996
5997 * minibuffer.el (completion-table-subvert): Fix docstring.
5998 (Bug#12347)
5999
6000 2012-09-11 Bastien Guerry <bzg@gnu.org>
6001
6002 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6003
6004 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6005
6006 * progmodes/sql.el: Version 3.1
6007 (sql-db2-escape-newlines): New variable.
6008 (sql-escape-newlines-filter): Use it.
6009
6010 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6011
6012 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6013
6014 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6015
6016 * vc/diff-mode.el (diff-mode-menu):
6017 Bind diff-remove-trailing-whitespace.
6018
6019 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6022 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6023 (emacs-lisp-byte-code-mode): New functions.
6024 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6025 (eval-defun-2): Remove bogus interactive spec.
6026 (lisp-indent-line): Remove redundant whole-exp code, now done in
6027 indent-according-to-mode.
6028 (save-match-data): Remove redundant indent data.
6029
6030 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6031 Use `declare'.
6032
6033 2012-09-09 Juri Linkov <juri@jurta.org>
6034
6035 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6036 (replace-lax-whitespace, query-replace-regexp)
6037 (query-replace-regexp-eval, replace-regexp): Doc fix.
6038 (perform-replace, replace-highlight): Let-bind
6039 isearch-lax-whitespace to replace-lax-whitespace and
6040 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6041
6042 * isearch.el (isearch-query-replace): Let-bind
6043 replace-lax-whitespace to isearch-lax-whitespace and
6044 replace-regexp-lax-whitespace to
6045 isearch-regexp-lax-whitespace. (Bug#10885)
6046
6047 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6048
6049 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6050
6051 2012-09-09 Alan Mackenzie <acm@muc.de>
6052
6053 * progmodes/cc-engine.el (c-state-cache-init):
6054 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6055 (c-record-parse-state-state):
6056 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6057
6058 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6059
6060 * register.el (register-separator): Rename from
6061 separator-register. All uses changed. Doc fix.
6062 (register): Fix version.
6063
6064 2012-09-09 Chong Yidong <cyd@gnu.org>
6065
6066 * replace.el (query-replace-map): Bind four new symbols for
6067 requesting window scrolling.
6068
6069 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6070 query-replace-map (Bug#8948).
6071
6072 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6073
6074 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6075 since they are now in query-replace-map.
6076
6077 * window.el (scroll-other-window-down): Make the arg optional.
6078
6079 2012-09-09 Chong Yidong <cyd@gnu.org>
6080
6081 * files.el (hack-local-variables-confirm): Use quit-window to kill
6082 the *Local Variables* buffer.
6083
6084 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6085
6086 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6087 not just expect to be at its beginning. Adjust callees.
6088 Succeed when do-end block has no space before the pipe character.
6089 (ruby-brace-to-do-end): When the original block is one-liner,
6090 convert to multiline. Reindent the result.
6091
6092 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6093
6094 * register.el (register): New group.
6095 (separator-register): New user option.
6096 (increment-register): Route it to `append-to-register', if
6097 register contains text. Implication is that `C-x r +' can now be
6098 used for appending to a text register (bug#12217).
6099 (append-to-register, prepend-to-register): Add separator based on
6100 `separator-register'.
6101
6102 2012-09-08 Alan Mackenzie <acm@muc.de>
6103
6104 AWK Mode: make auto-newline work when there's "==" in the pattern.
6105 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6106 correctly.
6107 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6108 Test more rigorously for "=" token.
6109
6110 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6111
6112 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6113 Only fail when reached LIMIT.
6114
6115 2012-09-08 Chong Yidong <cyd@gnu.org>
6116
6117 * dired.el (dired-mode-map): Don't bind M-=.
6118
6119 * dired-aux.el (dired-diff): Use backup file as default.
6120
6121 2012-09-08 Drew Adams <drew.adams@oracle.com>
6122
6123 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6124
6125 2012-09-08 Chong Yidong <cyd@gnu.org>
6126
6127 * subr.el (syntax-after, syntax-class): Doc fix.
6128
6129 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6130
6131 * window.el (display-buffer-in-previous-window): New buffer
6132 display action function.
6133
6134 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6135 (debugger-previous-window): New variable.
6136 (debug): Rewrite using display-buffer-in-previous-window,
6137 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6138
6139 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6140
6141 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6142
6143 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6144
6145 * progmodes/python.el (python-shell-send-string):
6146 When default-directory is remote, create temp file on remote
6147 filesystem.
6148 (python-shell-send-file): When file is remote, pass local view of
6149 file paths to remote Python interpreter. (Bug#12340)
6150
6151 2012-09-07 Chong Yidong <cyd@gnu.org>
6152
6153 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6154
6155 * files.el (after-find-file): Don't fail on a read-only buffer if
6156 require-final-newline is `visit' or `visit-save' (Bug#11156).
6157
6158 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6159
6160 * userlock.el (ask-user-about-supersession-threat):
6161 Use read-char-choice (Bug#12093).
6162
6163 2012-09-07 Chong Yidong <cyd@gnu.org>
6164
6165 * subr.el (buffer-narrowed-p): New function.
6166
6167 * ses.el (ses-widen):
6168 * simple.el (count-words--buffer-message):
6169 * net/browse-url.el (browse-url-of-buffer): Use it.
6170
6171 * simple.el (count-words-region): Don't signal an error if there
6172 is a non-nil prefix arg and the mark is not set.
6173
6174 * help.el (describe-key-briefly): Allow the message to be seen
6175 when invoked from the minibuffer (Bug#7014).
6176
6177 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6178
6179 * progmodes/ruby-mode.el (ruby-end-of-defun)
6180 (ruby-beginning-of-defun): Simplify, allow indentation before
6181 block beginning and end keywords.
6182 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6183 (ruby-end-of-defun): Expect that the point is at the beginning of
6184 the defun.
6185
6186 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6187
6188 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6189 (bug#12367).
6190 (cl--make-usage-args): Strip _ from argument names.
6191
6192 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6193
6194 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6195 obsolete alias speedbar-key-map.
6196 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6197 (vhdl-index-menu-init): Don't use obsolete variable
6198 font-lock-maximum-size.
6199
6200 2012-09-06 Chong Yidong <cyd@gnu.org>
6201
6202 * frame.el (window-system-version): Mark as obsolete.
6203
6204 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6205 of obsolete variable speedbar-key-map.
6206
6207 2012-09-06 Juri Linkov <juri@jurta.org>
6208
6209 * replace.el (replace-lax-whitespace): New defcustom.
6210 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6211 (replace-string, replace-regexp): Mention it in docstrings.
6212 (perform-replace, replace-highlight): Let-bind
6213 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6214 to the values of replace-lax-whitespace and regexp-flag.
6215 Don't let-bind search-whitespace-regexp. (Bug#10885)
6216
6217 * isearch.el (isearch-query-replace): Let-bind
6218 replace-lax-whitespace instead of let-binding
6219 replace-search-function and replace-re-search-function.
6220 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6221 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6222 (isearch-toggle-symbol): Set isearch-regexp to nil
6223 in isearch-word mode (like in isearch-toggle-word).
6224
6225 2012-09-06 Juri Linkov <juri@jurta.org>
6226
6227 * replace.el (replace-search-function)
6228 (replace-re-search-function): Set default values to nil.
6229 (perform-replace): Let-bind isearch-related variables based on
6230 replace-related values, call `isearch-search-fun' and let-bind
6231 the result to `search-function'. Remove code that sets
6232 `search-function' and `search-string' separately for
6233 `delimited-flag'.
6234 (replace-highlight): Add new argument `delimited-flag' and
6235 rename other arguments to the names used in `perform-replace'.
6236 Let-bind `isearch-word' to the argument `delimited-flag'.
6237 (Bug#10885, bug#10887)
6238
6239 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6240
6241 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6242 ruby-beginning-of-indent, simplify, allow all keywords to have
6243 indentation before them.
6244 (ruby-beginning-of-indent): Adjust for above. Search until the
6245 found point is not inside a string or comment.
6246 (ruby-font-lock-keywords): Allow symbols to start with "@"
6247 character, give them higher priority than variables.
6248 (ruby-syntax-propertize-function)
6249 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6250 matchers. Expression expansions are not comments when inside a
6251 string, and there comment syntax status is irrelevant.
6252 (ruby-match-expression-expansion): New function. Check that
6253 expression expansion is inside a string, and it's not escaped.
6254 (ruby-font-lock-keywords): Use it.
6255
6256 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6257
6258 * help.el (temp-buffer-max-height): New default value.
6259 (temp-buffer-resize-frames): New option.
6260 (resize-temp-buffer-window): Optionally resize frame.
6261
6262 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6263 (fit-frame-to-buffer): New function.
6264
6265 2012-09-05 Glenn Morris <rgm@gnu.org>
6266
6267 * emulation/cua-rect.el (cua--init-rectangles):
6268 * textmodes/picture.el (picture-mode-map):
6269 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6270 like forward-char and backward-char. (Bug#12317)
6271
6272 2012-09-05 Leo Liu <sdl.web@gmail.com>
6273
6274 * progmodes/flymake.el (flymake-warning-re): New variable.
6275 (flymake-parse-line): Use it.
6276
6277 2012-09-05 Glenn Morris <rgm@gnu.org>
6278
6279 * calendar/holidays.el (holiday-christian-holidays):
6280 Rename an entry. (Bug#12289)
6281
6282 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6283
6284 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6285 (bug#12222).
6286
6287 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6288
6289 * loadup.el: Load macroexp. Remove hack.
6290 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6291 (macroexp--expand-all): Use it to get better warnings.
6292 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6293 (internal-macroexpand-for-load): New functions.
6294 (macroexp--pending-eager-loads): New var.
6295 (emacs-startup-hook): New hack to replace one in loadup.el.
6296 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6297 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6298 (cl-psetf): Simplify.
6299 (cl-defstruct): Add indent rule.
6300
6301 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6302
6303 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6304 over `user-mail-address' for the SMTP MAIL FROM envelope.
6305 (smtpmail-via-smtp): Ditto.
6306
6307 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6308
6309 * progmodes/ruby-mode.el: Clean up keybindings.
6310 (ruby-mode-map): Don't bind ruby-electric-brace,
6311 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6312 backward-kill-word, reindent-then-newline-and-indent.
6313 (ruby-mark-defun): Remove.
6314 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6315 (ruby-mode): Set local beginning-of-defun-function and
6316 end-of-defun-function values.
6317
6318 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6319
6320 * window.el (temp-buffer-window-setup-hook)
6321 (temp-buffer-window-show-hook): New hooks.
6322 (temp-buffer-window-setup, temp-buffer-window-show)
6323 (with-temp-buffer-window): New functions.
6324 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6325 (special-display-popup-frame): Make sure the window used shows BUFFER.
6326
6327 * help.el (temp-buffer-resize-mode): Fix doc-string.
6328 (resize-temp-buffer-window): New optional argument WINDOW.
6329
6330 * files.el (recover-file, save-buffers-kill-emacs):
6331 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6332
6333 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6334
6335 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6336 remote definition of `default-directory', ensure we can connect.
6337
6338 2012-09-02 Juri Linkov <juri@jurta.org>
6339
6340 Toggle whitespace matching mode with M-s SPC.
6341 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6342
6343 * isearch.el (search-whitespace-regexp): Doc fix.
6344 Remove cons cell customization.
6345 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6346 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6347 New variables.
6348 (isearch-forward, isearch-forward-regexp): Doc fix.
6349 (isearch-toggle-lax-whitespace): New command.
6350 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6351 (re-search-forward-lax-whitespace)
6352 (re-search-backward-lax-whitespace): New functions.
6353 (isearch-whitespace-regexp): Remove function.
6354 (isearch-query-replace): Let-bind replace-search-function and
6355 replace-re-search-function.
6356 (isearch-occur): Let-bind search-spaces-regexp according to the
6357 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6358 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6359 condition for C-q SPC.
6360 (isearch-search-fun-default): Use new functions mentioned above.
6361 (isearch-search-forward, isearch-search-backward): Remove functions.
6362 (isearch-search): Don't let-bind search-spaces-regexp.
6363 (isearch-lazy-highlight-space-regexp): Remove variable.
6364 (isearch-lazy-highlight-lax-whitespace)
6365 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6366 (isearch-lazy-highlight-new-loop): Use them.
6367 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6368
6369 2012-09-02 Chong Yidong <cyd@gnu.org>
6370
6371 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6372
6373 2012-09-02 Glenn Morris <rgm@gnu.org>
6374
6375 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6376
6377 2012-09-01 Glenn Morris <rgm@gnu.org>
6378
6379 * term.el: Tidy up menu definitions.
6380 (term-mode-map): Use easymenu for In/Out, Complete menus.
6381 (term-pager-break-map): Initialize in the defvar.
6382 (term-terminal-menu, term-signals-menu): Define with easymenu.
6383 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6384 (term-pager-menu): New, extracted from term-process-pager.
6385 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6386 (term-update-mode-line): Propertize line/char and page items.
6387 (term-process-pager): Move keymap initialization elsewhere.
6388
6389 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6390
6391 * window.el (switch-to-prev-buffer): Handle additional values of
6392 BURY-OR-KILL argument. Don't switch in minibuffer window.
6393 (switch-to-next-buffer): Don't switch in minibuffer window.
6394 (quit-restore-window): New function based on quit-window.
6395 Handle additional values of former KILL argument.
6396 (quit-window): Call quit-restore-window with appropriate
6397 interpretation of KILL argument.
6398 (display-buffer-below-selected): New buffer display action
6399 function.
6400
6401 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6402
6403 * minibuffer.el (completion-at-point-functions): Complete docstring
6404 (bug#12254).
6405
6406 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6407
6408 Better seed support for (random).
6409 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6410 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6411 * play/mpuz.el, play/tetris.el, play/zone.el:
6412 * calc/calc-comb.el (math-init-random-base):
6413 * play/blackbox.el (bb-init-board):
6414 * play/life.el (life):
6415 * server.el (server-use-tcp):
6416 * type-break.el (type-break):
6417 Remove unnecessary call to (random t).
6418 * net/sasl.el (sasl-unique-id-function):
6419 Change (random t) to (random), now that the latter is more random.
6420 * play/life.el (life-initialized): Remove no-longer-needed var.
6421
6422 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6423
6424 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6425 Consider frame's buffer predicate when choosing the buffer.
6426 (Bug#12081)
6427
6428 2012-08-30 Richard Stallman <rms@gnu.org>
6429
6430 * simple.el (special-mode-map): Delete binding for `z'.
6431
6432 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6433
6434 * progmodes/compile.el (compilation-always-kill): Doc fix.
6435
6436 2012-08-30 Chong Yidong <cyd@gnu.org>
6437
6438 * window.el (display-buffer-reuse-frames): Make the obsolescence
6439 message more informative.
6440
6441 2012-08-30 Glenn Morris <rgm@gnu.org>
6442
6443 * paren.el (show-paren-delay):
6444 Add a :set function. Doc fix. (Bug#12297)
6445
6446 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6447
6448 * progmodes/compile.el (compilation-always-kill): New var.
6449 (compilation-start): Use it.
6450
6451 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6452
6453 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6454 * files.el (read-only-mode): Move to simple.el.
6455
6456 * files.el (read-only-mode): New minor mode.
6457 (toggle-read-only): Use it and mark obsolete.
6458 (find-file--read-only):
6459 * vc/vc.el (vc-next-action, vc-checkout):
6460 * vc/vc-cvs.el (vc-cvs-checkout):
6461 * obsolete/vc-mcvs.el (vc-mcvs-update):
6462 * ffap.el (ffap--toggle-read-only): Update callers.
6463
6464 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6465
6466 * eshell/esh-ext.el (eshell-external-command): Do not examine
6467 remote shell scripts.
6468 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6469
6470 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6471 "/usr/local/sbin".
6472
6473 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6474
6475 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6476
6477 2012-08-28 Leo Liu <sdl.web@gmail.com>
6478
6479 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6480 completion-at-point. (Bug#12220)
6481
6482 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6483
6484 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6485
6486 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6487
6488 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6489 be buffer-local; add delete-trailing-whitespace (bug#12259).
6490
6491 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6492
6493 * progmodes/hideif.el (hif-compress-define-list):
6494 Fix typo. (Bug#11951)
6495
6496 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6497
6498 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6499 buffer local setting.
6500
6501 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6502 rcirc-encode-coding-system.
6503
6504 2012-08-28 Leo Liu <sdl.web@gmail.com>
6505
6506 * net/rcirc.el (rcirc-split-message): New function.
6507 (rcirc-send-message): Use it. (Bug#12051)
6508
6509 2012-08-28 Juri Linkov <juri@jurta.org>
6510
6511 * info.el (Info-fontify-node): Hide empty lines at the end of
6512 the node. (Bug#12272)
6513
6514 2012-08-27 Drew Adams <drew.adams@oracle.com>
6515
6516 * dired.el (dired-pop-to-buffer): Make window start at beginning
6517 of buffer (Bug#12281).
6518
6519 2012-08-26 Chong Yidong <cyd@gnu.org>
6520
6521 * window.el (special-display-regexps, special-display-frame-alist)
6522 (special-display-buffer-names, special-display-function)
6523 (display-buffer-reuse-frames): Mark as obsolete.
6524
6525 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6526
6527 * help.el (help-print-return-message): Don't treat
6528 display-buffer-reuse-frames specially.
6529
6530 2012-08-26 Chong Yidong <cyd@gnu.org>
6531
6532 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6533 New variable, replacing gdb-frame-parameters.
6534 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6535 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6536 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6537 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6538 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6539 the functions directly with gdb-display-buffer-other-frame-action.
6540 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6541 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6542 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6543 (gdb-display-registers-buffer): Define directly.
6544 (def-gdb-display-buffer): Macro deleted.
6545 (gdb-display-buffer): Remove second and third args, callers don't
6546 use them. Defer to the default display-buffer behavior, apart
6547 from making windows dedicated.
6548 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6549
6550 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6551
6552 * window.el (display-buffer-pop-up-frame): Handle a
6553 pop-up-frame-parameters alist entry.
6554 (display-buffer): Document it.
6555
6556 2012-08-26 Chong Yidong <cyd@gnu.org>
6557
6558 * isearch.el (search-whitespace-regexp): Make string and nil
6559 values apply to both ordinary and regexp search. Allow a cons
6560 cell value to distinguish between the two.
6561 (isearch-whitespace-regexp, isearch-search-forward)
6562 (isearch-search-backward): New functions.
6563 (isearch-occur, isearch-search-fun-default, isearch-search)
6564 (isearch-lazy-highlight-new-loop): Use them.
6565 (isearch-forward, isearch-forward-regexp): Doc fix.
6566
6567 2012-08-26 Chong Yidong <cyd@gnu.org>
6568
6569 * faces.el (help-argument-name): Always inherit from italic
6570 (Bug#12213).
6571
6572 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6573
6574 * window.el (window--even-window-heights): Even heights when
6575 WINDOW and the selected window form a vertical combination.
6576 (display-buffer-use-some-window): Provide that window used gets
6577 sized back by quit-window. (Bug#11880) and (Bug#12091)
6578
6579 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6580
6581 Fix file time stamp problem with bzr and CVS (Bug#12001).
6582 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6583 in the file's time stamp, since the version control system loses
6584 that information.
6585
6586 2012-08-22 Juri Linkov <juri@jurta.org>
6587
6588 * info.el (Info-fontify-node): Hide the suffix of the
6589 Info file name in the header line. (Bug#12187)
6590
6591 2012-08-22 Glenn Morris <rgm@gnu.org>
6592
6593 * calendar/cal-tex.el (cal-tex-weekly-common):
6594 Restore leading blank page.
6595
6596 2012-08-22 Le Wang <l26wang@gmail.com>
6597
6598 * misc.el (forward-to-word, backward-to-word): Activate or extend
6599 the region under `shift-select-mode'. (Bug#12231)
6600
6601 2012-08-22 Bastien Guerry <bzg@gnu.org>
6602
6603 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6604 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6605 gives details on why the space is never needed.
6606
6607 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6608
6609 * window.el (walk-window-tree, window-with-parameter):
6610 New optional argument MINIBUF to control whether these functions
6611 should run on the minibuffer window.
6612 (window-at-side-list): Don't operate on minibuffer window.
6613 (window-in-direction): Simplify and rewrite doc-string.
6614 (window--size-ignore): Rename to window--size-ignore-p.
6615 Update callers.
6616 (display-buffer-in-atom-window, window--major-non-side-window)
6617 (window--major-side-window, display-buffer-in-major-side-window)
6618 (delete-side-window, display-buffer-in-side-window):
6619 New functions.
6620 (window--side-check, window-deletable-p, delete-window)
6621 (delete-other-windows, split-window): Handle side windows and
6622 atomic windows appropriately.
6623 (window--display-buffer): Call display-buffer-record-window also
6624 when the window buffer did not change.
6625
6626 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6627
6628 * help-fns.el (help-fns--key-bindings):
6629 Abbreviate non-symbol remap targets. (Bug#12174)
6630
6631 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6632
6633 * dired.el (dired-mark-remembered): Don't clobber point.
6634 (Bug#11795)
6635
6636 2012-08-22 Glenn Morris <rgm@gnu.org>
6637
6638 * progmodes/bug-reference.el (bug-reference): New custom group.
6639 (bug-reference-bug-regexp): Make it a defcustom.
6640
6641 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6642
6643 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6644 (js-paren-indent-offset, js-square-indent-offset)
6645 (js-curly-indent-offset): Add :safe (Bug#12257).
6646
6647 2012-08-22 Edward O'Connor <hober0@gmail.com>
6648
6649 * json.el (json-key-format): Add error properties.
6650 (json-encode-key): New function.
6651 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6652 Use json-encode-key.
6653
6654 2012-08-22 Glenn Morris <rgm@gnu.org>
6655
6656 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6657 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6658 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6659 Update for above change.
6660
6661 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6662
6663 * cus-face.el (custom-face-attributes): Fix customize type for the
6664 :underline attribute. (Bug#11805)
6665
6666 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6667
6668 * window.el (window-point-1, set-window-point-1): Remove.
6669 (window-in-direction, record-window-buffer)
6670 (set-window-buffer-start-and-point, split-window-below)
6671 (window--state-get-1, display-buffer-record-window):
6672 Replace calls to window-point-1 and set-window-point-1 by calls to
6673 window-point and set-window-point respectively.
6674
6675 2012-08-21 Glenn Morris <rgm@gnu.org>
6676
6677 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6678 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6679 Use it.
6680
6681 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6682 (cal-tex-shortday): New function.
6683 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6684 (cal-tex-cursor-filofax-daily): Use the above.
6685
6686 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6687 New functions.
6688 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6689 (cal-tex-cursor-filofax-week): Use them.
6690
6691 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6692 New constants.
6693 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6694 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6695
6696 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6697 (cal-tex-end-document): Don't rely on buffer name.
6698
6699 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6700 Use cal-tex-vspace.
6701 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6702 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6703 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6704 Use cal-tex-arg.
6705
6706 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6707 (cal-tex-cursor-week, cal-tex-cursor-week2)
6708 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6709 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6710 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6711 (cal-tex-insert-preamble, cal-tex-b-document)
6712 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6713 Improve cal-tex-cmd usage.
6714
6715 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6716 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6717 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6718 (cal-tex-weekly-paper): New function.
6719 (cal-tex-cursor-week, cal-tex-cursor-week2)
6720 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6721 (cal-tex-cursor-day): Use it.
6722
6723 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6724 (cal-tex-cursor-filofax-week): Remove leading blank page.
6725
6726 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6727 Add autoload cookie. For now at least, don't use color, since
6728 no other cal-tex function does.
6729
6730 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6731 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6732 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6733
6734 2012-08-21 Juri Linkov <juri@jurta.org>
6735
6736 * info.el (Info-file-attributes): New variable.
6737 (info-insert-file-contents): Add file attributes to
6738 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6739 `Info-toc-nodes' when previous modtime of the Info file is less
6740 than new modtime.
6741 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6742 of info.el. (Bug#12230)
6743
6744 2012-08-20 Glenn Morris <rgm@gnu.org>
6745
6746 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6747 * calendar/holidays.el (calendar-holiday-list):
6748 Report errors with display-warning rather than beep'n'sleep.
6749
6750 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6751
6752 * net/tramp.el (tramp-accept-process-output): Accept only output
6753 from PROC. Otherwise, process filters and sentinels might be
6754 confused. (Bug#12145)
6755
6756 2012-08-20 Chong Yidong <cyd@gnu.org>
6757
6758 * descr-text.el (describe-text-properties-1): Use overlays-in to
6759 report on empty overlays (Bug#3322).
6760
6761 2012-08-20 Glenn Morris <rgm@gnu.org>
6762
6763 * mail/rmailout.el (rmail-output-read-file-name):
6764 Trap and report errors in rmail-output-file-alist elements.
6765
6766 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6767 since most non-font-lock faces are not also variables).
6768
6769 2012-08-20 Edward Reingold <reingold@iit.edu>
6770
6771 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6772 New function. (Bug12160)
6773
6774 2012-08-19 Glenn Morris <rgm@gnu.org>
6775
6776 * mail/rmailout.el (rmail-output-read-file-name):
6777 Fix previous change (when the alist is nil or does not match).
6778
6779 2012-08-19 Chong Yidong <cyd@gnu.org>
6780
6781 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6782 (Bug#12228).
6783
6784 2012-08-18 Chong Yidong <cyd@gnu.org>
6785
6786 * simple.el (yank-handled-properties): New defcustom.
6787 (yank-excluded-properties): Add font-lock-face and category.
6788 (yank): Doc fix.
6789
6790 * subr.el (remove-yank-excluded-properties):
6791 Obey yank-handled-properties. The special handling of font-lock-face
6792 and category is now done this way, instead of being hard-coded.
6793 (insert-for-yank-1): Remove font-lock-face handling.
6794 (yank-handle-font-lock-face-property)
6795 (yank-handle-category-property): New function.
6796
6797 2012-08-17 Glenn Morris <rgm@gnu.org>
6798
6799 * mail/rmailout.el (rmail-output-read-file-name):
6800 Check rmail-output-file-alist against the full message body
6801 in the correct rmail buffer. (Bug#12214)
6802
6803 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
6804
6805 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6806 Eliminate superfluous prompt. (Bug#12203)
6807
6808 2012-08-17 Chong Yidong <cyd@gnu.org>
6809
6810 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6811 font spec, set the font directly (Bug#3228).
6812
6813 2012-08-17 Martin Rudalics <rudalics@gmx.at>
6814
6815 * window.el (delete-window): Fix last fix.
6816
6817 2012-08-16 Martin Rudalics <rudalics@gmx.at>
6818
6819 * window.el (window-valid-p): Move to window.c.
6820 (window-child, window-child-count, window-last-child)
6821 (window-normalize-window, window-combined-p)
6822 (window-combinations, window-atom-root, window-min-size)
6823 (window-sizable, window-sizable-p, window-size-fixed-p)
6824 (window-min-delta, window-max-delta, window--resizable)
6825 (window--resizable-p, window-resizable, window-total-size)
6826 (window-full-height-p, window-full-width-p, window-body-size)
6827 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6828 (minimize-window, window-deletable-p, delete-window)
6829 (delete-other-windows, set-window-buffer-start-and-point)
6830 (next-buffer, previous-buffer, split-window, balance-windows-2)
6831 (set-window-text-height, window-buffer-height)
6832 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6833 (truncated-partial-width-window-p): Minor code adjustments.
6834 In doc-strings state whether the argument window has to denote a
6835 live, valid or any window.
6836
6837 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6838
6839 * progmodes/subword.el (subword-forward-function)
6840 (subword-backward-function, subword-forward-regexp)
6841 (subword-backward-regexp): New variables.
6842 (subword-forward, subword-forward-internal, subword-backward-internal):
6843 Use new variables, eg so that different "word" definitions
6844 can be easily used. (Bug#11411)
6845
6846 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6847
6848 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6849 for composite selectors.
6850 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6851 operation just because we can't find a previous revision.
6852
6853 2012-08-15 Chong Yidong <cyd@gnu.org>
6854
6855 * frame.el (set-frame-font): Accept font objects.
6856
6857 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6858
6859 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6860
6861 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6862
6863 * man.el (Man-overstrike-face, Man-underline-face)
6864 (Man-reverse-face): Remove variables.
6865 (Man-overstrike, Man-underline, Man-reverse): New faces.
6866 (Man-fontify-manpage): Use them instead of the variables.
6867 (Man-cleanup-manpage): Comment change.
6868 (Man-ansi-color-map): New variable.
6869 (Man-fontify-manpage): Use it.
6870 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6871
6872 Implement ANSI SGR parameters 22-27 (bug#12146).
6873 * ansi-color.el (ansi-colors): Doc fix.
6874 (ansi-color-context, ansi-color-context-region): Doc fix.
6875 (ansi-color--find-face): New function.
6876 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6877 Rename the local variable `face' to `codes' since it is now a list of
6878 ansi codes. Doc fix.
6879 (ansi-color-get-face): Remove.
6880 (ansi-color-parse-sequence): New function, derived from
6881 ansi-color-get-face.
6882 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6883 codes 22-27.
6884
6885 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6886
6887 * subr.el (read-passwd): Allow use from a minibuffer.
6888
6889 2012-08-14 Eli Zaretskii <eliz@gnu.org>
6890
6891 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6892 inside comments and strings as identifiers.
6893
6894 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6895 expression to evaluate. This allows to evaluate expressions with
6896 embedded whitespace.
6897 (gud-tooltip-tips): Add a blank before the newline in the
6898 message-box text, for the benefit of message-box emulation on
6899 MS-Windows.
6900
6901 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6902 messages from GDB, pop them up in a tooltip to give feedback to
6903 user.
6904 (gdb-tooltip-print-1): Quote the expression to evaluate.
6905 This allows to evaluate expressions with embedded whitespace.
6906 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6907 if the TTY name is nil or empty (which happens when communicating
6908 with the inferior via pipes, e.g. on MS-Windows).
6909 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6910 don't send that to the GUD buffer.
6911
6912 2012-08-14 Glenn Morris <rgm@gnu.org>
6913
6914 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6915 Optimize away setq-default with no args, as for setq. (Bug#12195)
6916
6917 2012-08-14 Chong Yidong <cyd@gnu.org>
6918
6919 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6920
6921 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6922 (Bug#12085).
6923
6924 2012-08-14 Glenn Morris <rgm@gnu.org>
6925
6926 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6927
6928 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
6929
6930 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6931 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6932 Use cached shell name.
6933
6934 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6935
6936 * progmodes/python.el (python-shell-send-string):
6937 (python-shell-send-setup-code): Do not use `format' with `message'.
6938
6939 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6940
6941 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6942 (ruby-percent-literal-beg-re): New constant.
6943 (ruby-syntax-general-delimiters-goto-beg): Rename to
6944 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6945 (ruby-syntax-propertize-general-delimiters): Rename to
6946 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6947 popular term. Adjust comments everywhere.
6948 (ruby-syntax-propertize-percent-literal): Only propertize when not
6949 inside a simple string or comment. When the literal is unclosed,
6950 leave the text after it unpropertized.
6951 (ruby-syntax-methods-before-regexp): New constant.
6952 (ruby-syntax-propertize-function): Use it to recognize regexps.
6953 Don't look at the text after regexp, just use the whitelist.
6954
6955 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6956
6957 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6958 non-nil always load the compiled file if it exists. (Bug#12197)
6959
6960 2012-08-14 Chong Yidong <cyd@gnu.org>
6961
6962 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6963 (hi-lock-set-pattern): When deciding whether to use font lock or
6964 overlays, look at font-lock-mode instead of font-lock-fontified
6965 (Bug#12168).
6966 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6967 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6968
6969 2012-08-14 Daiki Ueno <ueno@unixuser.org>
6970
6971 * subr.el (internal--after-with-selected-window): Fix typo
6972 (Bug#12193).
6973
6974 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6975
6976 Use `completion-table-dynamic' for completion functions.
6977 * progmodes/python.el
6978 (python-shell-completion--do-completion-at-point)
6979 (python-shell-completion--get-completions):
6980 Remove functions.
6981 (python-shell-completion-complete-at-point): New function.
6982 (python-completion-complete-at-point): Use it.
6983
6984 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
6985
6986 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6987 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6988
6989 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6990
6991 * subr.el (function-get): Refine `autoload' arg so it can also
6992 autoload functions for gv.el (bug#12191).
6993 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6994 autoloads macros.
6995
6996 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6997 Prefer pcase-let over destructuring-bind.
6998 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6999 Also, remove whitespace as we go, rather than after accumulating the
7000 various places.
7001
7002 * subr.el (internal--before-with-selected-window)
7003 (internal--after-with-selected-window): Fix typo seleted->selected.
7004 (with-selected-window): Adjust callers.
7005 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7006
7007 2012-08-13 Bastien Guerry <bzg@gnu.org>
7008
7009 * window.el (special-display-popup-frame): Minor docstring
7010 enhancement. (Bug#12172)
7011
7012 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7013
7014 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7015 type 1-6.
7016 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7017 extended headers.
7018
7019 * files.el (hack-local-variables-filter): Remove useless eval.
7020
7021 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7022
7023 * subr.el (with-selected-window): Fix last change.
7024
7025 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7026
7027 * subr.el (internal--before-with-seleted-window)
7028 (internal--after-with-seleted-window): New functions.
7029 (with-selected-window): Use them, to replace dependency on
7030 tty-top-frame.
7031
7032 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7033
7034 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7035 binding for `newline'.
7036 (ruby-move-to-block): When moving backward, stop at block opening,
7037 not indentation.
7038 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7039 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7040 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7041 `ruby-toggle-block'.
7042
7043 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7044
7045 * ibuffer.el (ibuffer-do-toggle-read-only):
7046 * dired.el (dired-toggle-read-only):
7047 * buff-menu.el (Buffer-menu-toggle-read-only):
7048 * bindings.el (mode-line-toggle-read-only):
7049 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7050
7051 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7052
7053 * descr-text.el (describe-char): Put the overlays over the
7054 "displayed as" character.
7055
7056 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7057
7058 * calc/calc-units.el (math-default-units-table): Give an
7059 initial value.
7060 (math-put-default-units): Add options to put composite units and
7061 unit systems in the default units table.
7062 (calc-convert-units): Send composite units to
7063 `math-put-default-units' when appropriate.
7064
7065 2012-08-11 Glenn Morris <rgm@gnu.org>
7066
7067 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7068
7069 * tutorial.el (help-with-tutorial):
7070 * emacs-lisp/copyright.el (copyright-update-directory):
7071 * emacs-lisp/autoload.el (autoload-find-generated-file)
7072 (autoload-find-file): Disable local eval: (for insurance).
7073
7074 * files.el (hack-local-variables-filter): If an eval: form is not
7075 known to be safe, and enable-local-variables is :safe, then ignore
7076 the form totally, as is done for non-eval forms. (Bug#12155)
7077 This is CVE-2012-3479.
7078
7079 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7080
7081 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7082 (rx-form): Simplify.
7083
7084 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7085
7086 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7087 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7088 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7089 (ruby-syntax-propertize-function): Adjust for changes in
7090 `ruby-syntax-propertize-heredoc'.
7091
7092 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7093
7094 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7095 binding (use `M-;' instead).
7096 (ruby-singleton-class-p): New function.
7097 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7098
7099 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7100
7101 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7102
7103 2012-08-10 Chong Yidong <cyd@gnu.org>
7104
7105 * progmodes/python.el (python-shell-get-process-name): Don't mess
7106 with same-window-buffer-names.
7107
7108 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7109 (eshell-remove-from-window-buffer-names): Make obsolete.
7110 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7111 (eshell): Just use pop-to-buffer-same-window instead.
7112
7113 2012-08-10 Chong Yidong <cyd@gnu.org>
7114
7115 * bindings.el: Bind M-= back to count-words-region.
7116
7117 * simple.el (count-words-region): Accept a prefix arg for acting
7118 on the entire buffer.
7119 (count-words--buffer-message): New helper function.
7120
7121 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7122
7123 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7124 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7125 (event-start, event-end): Use posn-at-point to return a more
7126 informative posn.
7127 (posnp): New function.
7128 * mouse.el (popup-menu-normalize-position): Use it.
7129
7130 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7131
7132 * mouse.el (popup-menu-normalize-position): New function.
7133 (popup-menu): Use `popup-menu-normalize-position' to normalize
7134 the form for POSITION argument.
7135
7136 * term/x-win.el (x-menu-bar-open):
7137 Use the value returend from (posn-at-point) as position
7138 passed to `popup-menu'.
7139
7140 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7141
7142 * calc/calccomp.el (math-compose-expr): Add extra argument
7143 indicating that parentheses should be put around products in
7144 denominators. Give multiplication precedence over division during
7145 composition.
7146
7147 2012-08-09 Chong Yidong <cyd@gnu.org>
7148
7149 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7150 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7151 (Man-untabify-command, manual-program): Convert to defcustom
7152 (Bug#10429).
7153
7154 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7155
7156 * descr-text.el (describe-char): Don't insert extra newlines
7157 (Bug#10127).
7158
7159 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7160 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7161
7162 * align.el (align-region): Delete temporary markers (Bug#10047).
7163 Plus some code cleanups.
7164
7165 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7166
7167 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7168 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7169 (python-shell-internal-last-output): Use make-local-variable
7170 instead of make-variable-buffer-local.
7171
7172 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7173
7174 * progmodes/python.el: Enhancements to forward-sexp.
7175 (python-nav-forward-sexp): Rename from
7176 python-nav-forward-sexp-function.
7177 (python-nav--forward-sexp, python-nav--backward-sexp):
7178 New functions.
7179
7180 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7181
7182 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7183 modes and simplification modes.
7184
7185 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7186
7187 * delsel.el (delete-selection-pre-hook): Don't propagate the
7188 file-supersession signals (bug#12161).
7189
7190 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7191
7192 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7193 (cl-map-extents): Add compatibility aliases (bug#12135).
7194
7195 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7196
7197 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7198 tests by `ignore-error'.
7199 (tramp-find-shell): Open also a new shell, when cache is already
7200 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7201
7202 2012-08-08 Juri Linkov <juri@jurta.org>
7203
7204 * bookmark.el: Add `defaults' property to the bookmark record.
7205 (bookmark-current-buffer): Doc fix.
7206 (bookmark-make-record): Add `defaults' property with default values
7207 to the bookmark record.
7208 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7209 with `bookmark-insert-current-bookmark'.
7210 (bookmark-set): Get `defaults' property from the bookmark record
7211 and use it in `read-from-minibuffer'.
7212 (bookmark-insert-current-bookmark): Remove function.
7213
7214 * info.el (Info-bookmark-make-record): Add `defaults' property
7215 with values of canonical Info node name, the current Info file
7216 name and the current Info node name. (Bug#12107)
7217
7218 2012-08-08 Juri Linkov <juri@jurta.org>
7219
7220 * files.el (basic-save-buffer): Use `buffer-name' as the default
7221 of `read-file-name' when buffer is not visiting a file (bug#12128).
7222
7223 2012-08-08 Juri Linkov <juri@jurta.org>
7224
7225 * info.el (Info-isearch-search): Doc fix.
7226 (Info-search): Change search-failed message from "initial node" to
7227 "end of node" (bug#12078).
7228 (Info-isearch-search): Change `isearch-string-state' to
7229 `isearch--state-string'.
7230
7231 2012-08-08 Glenn Morris <rgm@gnu.org>
7232
7233 * language/persian.el: Remove file.
7234 * language/misc-lang.el: Move unique part of persian.el here.
7235 * loadup.el: Remove language/persian.
7236
7237 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7238
7239 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7240
7241 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7242
7243 * progmodes/python.el: Fix defsubst warning.
7244 (python-syntax-context) Rename from python-info-ppss-context.
7245 (python-syntax-context-type): Rename from
7246 python-info-ppss-context-type.
7247 (python-syntax-comment-or-string-p): Rename from
7248 python-info-ppss-comment-or-string-p.
7249
7250 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7251
7252 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7253
7254 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7255
7256 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7257 a defcustom that is quoted with backquote.
7258
7259 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7260 Fix handling of interactive spec when the body uses return.
7261 (math-do-arg-check, math-define-function-body): Use backquote forms.
7262 * calc/calc-ext.el (math-defcache): Likewise.
7263 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7264 * allout.el (allout-new-exposure): Likewise.
7265 * calc/calcalg2.el (math-tracing-integral): Likewise.
7266 * info.el (Info-last-menu-item): Likewise.
7267 * emulation/vip.el (vip-loop): Likewise.
7268 * textmodes/artist.el (artist-funcall): Likewise.
7269 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7270 Construct menu-item directly.
7271
7272 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7273 Don't declare.
7274
7275 2012-08-07 Chong Yidong <cyd@gnu.org>
7276
7277 * simple.el (deactivate-mark): Preserve text properties when
7278 saving the primary selection (Bug#8384).
7279
7280 2012-08-07 Kevin Ryde <user42@zip.com.au>
7281
7282 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7283 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7284 and continue processing (Bug#12110).
7285
7286 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7287
7288 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7289 syntax-propertize-function (bug#10095).
7290
7291 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7292
7293 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7294 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7295 describe-function-1.
7296 (describe-function-1): Use them. Move compiler macro after sig.
7297 (help-fns--compiler-macro): Use function-get. Assume we're already in
7298 standard-output. Adjust layout to new call order.
7299
7300 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7301 re-binding a symbol that has a symbol-macro (bug#12119).
7302
7303 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7304
7305 * language/persian.el: New file. (Bug#11812)
7306 * loadup.el: Add language/persian.el.
7307
7308 2012-08-06 Chong Yidong <cyd@gnu.org>
7309
7310 * window.el (window--maybe-raise-frame): New function.
7311 (window--display-buffer): Split off from here.
7312 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7313 (display-buffer-pop-up-window, display-buffer-use-some-window):
7314 Obey an inhibit-switch-frame action alist entry.
7315 (display-buffer): Update doc.
7316
7317 * replace.el (occur-after-change-function): Avoid losing focus by
7318 using the inhibit-switch-frame display parameter (Bug#12139).
7319
7320 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7321
7322 Make internal shell process buffer names start with space.
7323 * progmodes/python.el (python-shell-make-comint): Add optional
7324 argument INTERNAL.
7325 (run-python-internal): Use it.
7326 (python-shell-internal-get-or-create-process): Check for new
7327 internal buffer names.
7328
7329 2012-08-06 Glenn Morris <rgm@gnu.org>
7330
7331 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7332 Do less getting and setting of environment variables.
7333
7334 2012-08-05 Chong Yidong <cyd@gnu.org>
7335
7336 * proced.el (proced): Add substitution string to docstring to
7337 trigger autoloading of the proced library on C-h f (Bug#1768).
7338
7339 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7340 Don't show defvars which have no second argument (Bug#8638).
7341
7342 * imenu.el (imenu-generic-expression): Move documentation here
7343 from imenu--generic-function.
7344 (imenu--generic-function): Refer to imenu-generic-expression.
7345
7346 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7347
7348 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7349 indentation declaration.
7350 (viper-loop): Add indentation declaration (Bug#7025).
7351
7352 2012-08-05 Chong Yidong <cyd@gnu.org>
7353
7354 * help-fns.el (describe-variable): Add hyperlink for
7355 directory-local variables files. Improve buffer-local and
7356 permanent-local reporting; suggested by MON KEY (Bug#6644).
7357
7358 * help-mode.el (help-dir-local-var-def): New button type.
7359
7360 * files.el (kill-buffer-hook): Provide a defvar.
7361
7362 2012-08-05 Glenn Morris <rgm@gnu.org>
7363
7364 * eshell/esh-ext.el (eshell/addpath):
7365 Also update eshell-path-env. (Bug#12013)
7366
7367 2012-08-05 Chong Yidong <cyd@gnu.org>
7368
7369 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7370
7371 * fringe.el (fringe-styles): Add docstring.
7372 (fringe--check-mode): New function.
7373 (set-fringe-mode, set-fringe-style): Use it.
7374 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7375
7376 * files.el (set-auto-mode): Fix invalid setq call.
7377
7378 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7379
7380 * isearch.el: Misc simplification; use defstruct.
7381 (isearch-mode-map): Dense maps now work like sparse ones.
7382 (isearch--state): New defstruct.
7383 (isearch-string-state, isearch-message-state, isearch-point-state)
7384 (isearch-success-state, isearch-forward-state)
7385 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7386 (isearch-wrapped-state, isearch-barrier-state)
7387 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7388 replaced by defstruct's accessors.
7389 (isearch--set-state): Rename from isearch-top-state and change
7390 calling convention.
7391 (isearch-push-state): Use new isearch--get-state.
7392 (isearch-toggle-word): Disable regexp when enabling word.
7393 (isearch-message-prefix): Remove unused arg _c-q-hack.
7394 (isearch-message-suffix): Remove unused arg _ellipsis.
7395
7396 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7397
7398 * simple.el (list-processes--refresh): For a server use :host or
7399 :local as the address.
7400 (list-processes): Doc fix.
7401
7402 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7403
7404 * lisp/mpc.el: Support password in host argument.
7405 (mpc--proc-connect): Parse and use new password element.
7406 Set mpc-proc variable instead of returning process.
7407 (mpc-proc): Adjust accordingly.
7408
7409 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7410
7411 * whitespace.el (whitespace-display-mappings): Use Unicode
7412 codepoints, instead of emacs-mule codepoints. See
7413 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7414 for the details.
7415
7416 * files.el (file-truename): Don't skip symlink-chasing part on
7417 windows-nt. Incorporate the resolution of 8+3 short aliases on
7418 Windows into the loop that recursively chases symlinks.
7419 Compare directory and its parent case-insensitively on MS-Windows and
7420 MS-DOS.
7421
7422 2012-08-03 Chong Yidong <cyd@gnu.org>
7423
7424 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7425
7426 * sort.el (sort-regexp-fields): Doc fix.
7427
7428 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7429
7430 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7431 labels regex position point at the expected place.
7432
7433 2012-08-03 MON KEY <monkey@sandpframing.com>
7434
7435 * net/imap.el (imap-interactive-login, imap-authenticate)
7436 (imap-mailbox-lsub, imap-mailbox-list)
7437 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7438 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7439 (imap-parse-response): Doc fix.
7440
7441 2012-08-03 João Távora <joaotavora@gmail.com>
7442
7443 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7444 if sexp scanning does not move point (Bug#5734).
7445
7446 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7447
7448 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7449 Add listings, minted, and ctable packages.
7450 (reftex-label-alist-builtin): Move listings, minted, and ctable
7451 entries before LaTeX.
7452 (reftex-label-alist): Docfix.
7453
7454 2012-08-02 Bastien Guerry <bzg@gnu.org>
7455
7456 * replace.el (occur): Fix docstring (bug#12122).
7457
7458 2012-08-02 Glenn Morris <rgm@gnu.org>
7459
7460 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7461
7462 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7463
7464 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7465 * international/mule-cmds.el: Create
7466 inactivate-current-input-method-function as an obsolete alias for
7467 deactivate-current-input-method-function. See Katsumi Yamaoka in
7468 <http://bugs.gnu.org/10150#46>.
7469
7470 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7471
7472 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7473 of nested `if's.
7474
7475 2012-08-01 Glenn Morris <rgm@gnu.org>
7476
7477 * progmodes/autoconf.el (autoconf-definition-regexp):
7478 Add AH_TEMPLATE, adjust submatch numbering.
7479 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7480 (autoconf-current-defun-function): Update for above change.
7481 (autoconf-current-defun-function): First skip to end of current word.
7482
7483 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7484
7485 * calendar/cal-html.el (cal-html-insert-agenda-days):
7486 Fix typo. (Bug#12018)
7487
7488 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7489
7490 Shell processes: enhancements to startup and CEDET compatibility.
7491 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7492 (python-shell-make-comint): accept-process-output at startup.
7493 (run-python-internal): Set inferior-python-mode-hook to nil.
7494 (python-shell-internal-get-or-create-process): call sit-for.
7495 (python-preoutput-result): Add obsolete alias.
7496 (python-shell-internal-send-string): Use it.
7497 (python-shell-send-setup-code): Remove call to
7498 accept-process-output.
7499
7500 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7501
7502 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7503 (Bug#12108)
7504
7505 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7506
7507 * calc-mode.el (calc-basic-simplification-mode): Rename from
7508 `calc-limited-simplification-mode'.
7509 (calc-alg-simplification-mode): New function.
7510 (calc-set-simplify-mode): Adjust message.
7511
7512 * calc.el (calc-set-mode-line): Adjust mode line display for
7513 basic simplification mode.
7514
7515 * calc-help.el (calc-m-prefix-help): Update help message.
7516
7517 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7518 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7519
7520 2012-07-31 Bastien Guerry <bzg@gnu.org>
7521
7522 * man.el (man): Fix comment. (bug#12101)
7523
7524 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7525
7526 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7527 Don't return a non-nil value when no suitable buffer was found.
7528
7529 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7530
7531 * progmodes/python.el (run-python-internal): Disable font lock for
7532 internal shells.
7533
7534 2012-07-30 Stefan Merten <smerten@oekonux.de>
7535
7536 * textmodes/rst.el: Silence `checkdoc-ispell'.
7537 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7538 (rst-official-version, rst-official-cvs-rev)
7539 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7540 (rst-mode-map): New key binding.
7541
7542 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7543
7544 Update .PHONY listings in makefiles.
7545 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7546 autoloads, update-subdirs, updates, bzr-update, update-authors,
7547 compile-onefile, compile-calc, backup-compiled-files,
7548 compile-after-backup, compile-one-process, mh-autoloads,
7549 bootstrap-clean, distclean, maintainer-clean.
7550
7551 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7552
7553 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7554 (calc-set-mode-line): Don't display "AlgSimp ".
7555
7556 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7557 (calc-lim-simplify-mode): New function.
7558 (calc-set-simplify-mode): Default to 'alg.
7559 (calc-default-simplify-mode): Make algebraic simplifications
7560 the default.
7561
7562 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7563 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7564
7565 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7566 indicate new simplification modes.
7567
7568 * calc/README: Mention new default simplification mode.
7569
7570 * calc/calc.el (math-normalize-error): New variable.
7571 (math-normalize): Set `math-normalize-error' to t
7572 when there's an error.
7573
7574 * calc/calc-alg.el (math-simplify): Don't simplify when
7575 `math-normalize' returns an error.
7576
7577 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7578
7579 * international/mule-cmds.el (set-locale-environment): Revert last
7580 change, since display-graphic-p returns nil when this function is
7581 called during startup. Instead...
7582
7583 * term/w32console.el (terminal-init-w32console): ...setup the
7584 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7585
7586 2012-07-29 Juri Linkov <juri@jurta.org>
7587
7588 * simple.el (goto-line): Don't display default line number in the
7589 prompt because it should be displayed by `read-number' (bug#9952).
7590 Add the current line number to the defaults of `goto-line' to
7591 allow its easier modification by users with `M-n' (bug#9201).
7592
7593 * subr.el (read-number): Support multiple default values like in
7594 other minibuffer reading functions. Replace `read' with
7595 `string-to-number' for consistency with `number-to-string'.
7596
7597 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7598
7599 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7600 * emulation/viper-init.el (viper-deactivate-input-method-action):
7601 Rename from viper-inactivate-input-method-action.
7602 (viper-deactivate-input-method):
7603 Rename from viper-inactivate-input-method.
7604 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7605 * international/mule-cmds.el (deactivate-input-method):
7606 Rename from inactivate-input-method.
7607 Also run input-method-deactivate-hook.
7608 (deactivate-current-input-method-function):
7609 Rename from inactivate-current-input-method-function.
7610 (input-method-deactivate-hook): New hook.
7611 (input-method-inactivate-hook): Mark obsolete.
7612 (inactivate-input-method): Mark obsolete.
7613
7614 * international/quail.el (quail-activate):
7615 Also run quail-deactivate-hook.
7616 (quail-deactivate): Rename from quail-inactivate.
7617 * international/robin.el (robin-activate):
7618 Also run robin-deactivate-hook.
7619 (robin-deactivate): Rename from robin-inactivate.
7620
7621 2012-07-29 Chong Yidong <cyd@gnu.org>
7622
7623 * simple.el (indicate-copied-region): New function.
7624 (kill-ring-save): Split off from here.
7625
7626 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7627 (kill-rectangle): Set deactivate-mark to t on read-only error.
7628
7629 * register.el (copy-to-register, copy-rectangle-to-register):
7630 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7631 (append-to-register, prepend-to-register): Call indicate-copied-region.
7632
7633 2012-07-29 Juri Linkov <juri@jurta.org>
7634
7635 * simple.el (async-shell-command-buffer): New defcustom.
7636 (shell-command): Use it. (Bug#4719)
7637
7638 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7639
7640 * international/mule-cmds.el (set-locale-environment): In a
7641 console session on MS-Windows, set up keyboard and terminal
7642 encoding from the OEM codepage, not the ANSI codepage.
7643 (Bug#12055)
7644
7645 2012-07-28 Chong Yidong <cyd@gnu.org>
7646
7647 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7648 gdb-get-location.
7649
7650 2012-07-28 Leo Liu <sdl.web@gmail.com>
7651
7652 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7653 the alist (bug#12029).
7654
7655 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7656
7657 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7658 (compile-always, compile-first)
7659 ($(lisp)/calendar/cal-loaddefs.el)
7660 ($(lisp)/calendar/diary-loaddefs.el)
7661 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7662 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7663 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7664 instead of on update-subdirs.
7665 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7666
7667 2012-07-28 Chong Yidong <cyd@gnu.org>
7668
7669 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7670 directory if vc-deduce-backend returns nil (Bug#7350).
7671
7672 * simple.el (delete-trailing-lines): New option.
7673 (delete-trailing-whitespace): Obey it (Bug#11879).
7674
7675 2012-07-28 David Engster <deng@randomsample.de>
7676
7677 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7678 Explanation of new 'symbol-qnames feature in doc-strings.
7679 (xml-maybe-do-ns): Return expanded names as plain symbols if
7680 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7681 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7682
7683 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7684
7685 Consistent completion in inferior python with emacs -nw.
7686 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7687 binding in inferior-python-mode-map with "\t".
7688 (python-shell-completion-complete-at-point)
7689 (python-completion-complete-at-point): Remove interactive spec.
7690
7691 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7692
7693 * calc/calccomp.el (math-compose-expr): Undo previous change.
7694
7695 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7696
7697 * progmodes/python.el (python-mode-map): Add keybinding for
7698 run-python.
7699 (python-shell-make-comint): Fix pop-to-buffer call.
7700 (run-python): Autoload. New arg SHOW.
7701 (python-shell-get-or-create-process): Do not pop python process
7702 buffer.
7703
7704 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7705
7706 * notifications.el (notifications-on-action-signal)
7707 (notifications-on-closed-signal): Use also the bus address for the map.
7708 (notifications-notify, notifications-close-notification)
7709 (notifications-get-capabilities): Add optional argument BUS.
7710
7711 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7712
7713 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7714 Add support for the lstlisting and minted environments, and for the
7715 ctable macro.
7716 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7717 labels written in keyvals syntax.
7718
7719 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7720
7721 * calc/calccomp.el (math-compose-expr): Use parentheses when
7722 there is a product in the denominator of a fraction.
7723
7724 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7725
7726 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7727 ($(lisp)/calendar/diary-loaddefs.el)
7728 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7729 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7730 Fixes failures in parallel bootstrap because subdirs.el is being
7731 rewritten while the autoload files are built at the same time,
7732 which needs to load subdirs.el.
7733
7734 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7735
7736 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7737 (mouse-drag-line): Don't exit tracking when a switch-frame or
7738 switch-window event occurs (Bug#12006).
7739
7740 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7741
7742 * mouse.el (popup-menu): Fix last change.
7743
7744 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7745
7746 Autoload from Lisp with more care. Follow aliases when looking for
7747 function properties.
7748 * subr.el (autoloadp): New function.
7749 (symbol-file): Use it.
7750 (function-get): New function.
7751 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7752 autoload-do-load.
7753 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7754 (lisp-indent-function):
7755 * emacs-lisp/gv.el (gv-get):
7756 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7757 * emacs-lisp/byte-opt.el (byte-optimize-form):
7758 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7759 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7760 Use function-get.
7761 * emacs-lisp/cl.el: Don't propagate function properties any more.
7762
7763 * speedbar.el (speedbar-add-localized-speedbar-support):
7764 * emacs-lisp/disass.el (disassemble-internal):
7765 * desktop.el (desktop-load-file):
7766 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7767 (describe-function-1):
7768 * emacs-lisp/find-func.el (find-function-noselect):
7769 * emacs-lisp/elp.el (elp-instrument-function):
7770 * emacs-lisp/advice.el (ad-has-proper-definition):
7771 * apropos.el (apropos-safe-documentation, apropos-macrop):
7772 * emacs-lisp/debug.el (debug-on-entry):
7773 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7774 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7775 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7776
7777 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7778
7779 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7780 function, not an obsolete variable (Bug#12046).
7781
7782 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7783
7784 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7785
7786 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7787
7788 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7789 window only if it is still live (Bug#12034).
7790
7791 2012-07-25 Martin Rudalics <rudalics@gmx.at>
7792
7793 * subr.el (redirect-frame-focus): Add advertised calling
7794 convention (Bug#12030).
7795
7796 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7797
7798 Prefer typical American spelling for "acknowledgment".
7799 * vc/add-log.el (change-log-acknowledgment): Rename from
7800 change-log-acknowledgement, with an alias for the old name.
7801
7802 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7803
7804 * calc-alg.el (math-simplify-divide): Don't cross multiply
7805 in an equation when the lhs is a variable.
7806
7807 2012-07-24 Julien Danjou <julien@danjou.info>
7808
7809 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7810 Remove, unused.
7811
7812 2012-07-23 Eli Zaretskii <eliz@gnu.org>
7813
7814 * startup.el (command-line): Don't display an empty user name in
7815 the error message about non-existent home directory, when
7816 init-file-user was set to an empty string. See
7817 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7818 for the details and context.
7819
7820 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7821
7822 * ses.el (ses-cell-formula-aset): New macro.
7823 (ses-cell-references-aset): New macro.
7824 (ses-cell-p): New function.
7825 (ses-rename-cell): Do no longer rely on complex operations like
7826 ses-cell-set-formula or ses-set-cell to change the cell and handle
7827 the undo at the same time, but rather use lower level new macros
7828 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7829 the undo directly. Refresh the mode line.
7830
7831 2012-07-21 Leo Liu <sdl.web@gmail.com>
7832
7833 * progmodes/cc-cmds.el (c-defun-name):
7834 Use match-string-no-properties instead for consistency.
7835
7836 2012-07-20 Leo Liu <sdl.web@gmail.com>
7837
7838 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7839 (Bug#7879)
7840
7841 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7842
7843 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7844
7845 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7846 * progmodes/bug-reference.el, misearch.el: Provide themselves
7847 (bug#11915).
7848
7849 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7850 of narrowed buffer (bug#11966).
7851
7852 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7853
7854 * ses.el (ses-rename-cell): Set new name also in reference list of
7855 cells of which the renamed cell depends.
7856
7857 2012-07-20 Masatake YAMATO <yamato@redhat.com>
7858
7859 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7860 to check whether menu-bar is shown or not. If not shown,
7861 show the menu-bar as a popup menu instead of using tmm.
7862 * mouse.el (popup-menu): Accept `point' as `position' argument.
7863
7864 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7865
7866 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7867 up inside string symbol literal (bug#11923).
7868
7869 2012-07-20 Eli Zaretskii <eliz@gnu.org>
7870
7871 * startup.el (fancy-startup-text): Read the whole tutorial, not
7872 just its first 256 bytes. Prevents gibberish in display of the
7873 tutorial title.
7874
7875 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7876
7877 Drop idle buffer compaction due to an absence of the
7878 proved efficiency.
7879 * compact.el: Remove.
7880
7881 2012-07-19 Sam Steingold <sds@gnu.org>
7882
7883 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7884 vc-bzr-pull & vc-bzr-merge-branch.
7885 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7886 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7887 for consistency with compilation-error-regexp-alist.
7888 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7889 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7890 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7891 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7892
7893 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7894
7895 * emacs-lisp/chart.el: Use lexical-binding.
7896 (chart-emacs-storage): Don't hardcode the list of entries.
7897
7898 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7899
7900 Next round of tweaks caused by Fgarbage_collect changes.
7901 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7902
7903 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7904
7905 Compact buffers when idle.
7906 * compact.el: New file.
7907
7908 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7909
7910 * subr.el (eventp): Presume that if it looks vaguely like an event,
7911 it's an event (bug#10190).
7912
7913 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7914
7915 Enhancements to ppss related code (thanks Stefan).
7916 * progmodes/python.el (python-indent-context)
7917 (python-indent-calculate-indentation, python-indent-dedent-line)
7918 (python-indent-electric-colon, python-nav-forward-block)
7919 (python-mode-abbrev-table)
7920 (python-info-assignment-continuation-line-p): Simplify checks
7921 for ppss context.
7922 (python-info-continuation-line-p): Cleanup.
7923 (python-info-ppss-context): Do not catch 'quote.
7924 (python-info-ppss-context-type)
7925 (python-info-ppss-comment-or-string-p): Simplify.
7926
7927 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7928
7929 * progmodes/python.el: Enhancements to eldoc support.
7930 (python-info-current-symbol): New function.
7931 (python-eldoc-at-point): Use python-info-current-symbol.
7932 (python-info-current-defun): Fix cornercase on first defun scan.
7933 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7934 and signal error when no inferior python process is available.
7935
7936 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7937
7938 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7939 assume it's always t.
7940 (vc-git-registered): Remove caching, the function is only called
7941 once.
7942 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7943
7944 2012-07-18 Chong Yidong <cyd@gnu.org>
7945
7946 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7947
7948 * simple.el (count-words): Report on narrowing (Bug#9959).
7949
7950 * bindings.el: Bind M-= to count-words.
7951
7952 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7953
7954 2012-07-18 Masatake YAMATO <yamato@redhat.com>
7955
7956 * progmodes/sh-script.el (sh-imenu-generic-expression):
7957 Capture a function with `function' keyword and without parentheses
7958 like "function FOO" (bug#11856).
7959
7960 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7961
7962 * window.el (split-window-sensibly): Make WINDOW argument
7963 optional.
7964
7965 2012-07-18 Chong Yidong <cyd@gnu.org>
7966
7967 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7968
7969 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7970 and make C-x 8 RET exit isearch (Bug#11439).
7971
7972 * international/iso-transl.el: Move isearch-mode-map key
7973 definitions to isearch.el.
7974
7975 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7976
7977 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7978 (eieio-defclass): Use gv-define-setter when possible.
7979
7980 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7981
7982 Reflect recent changes in Fgarbage_collect.
7983 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7984 reflect new format of data returned by Fgarbage_collect.
7985
7986 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7987
7988 New utility functions + python-info-ppss-context fix (Bug#11910).
7989 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7990 (python-info-ppss-comment-or-string-p): New functions.
7991 (python-info-ppss-context): Small fix for string check.
7992
7993 2012-07-17 Juri Linkov <juri@jurta.org>
7994
7995 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7996 (dired-do-async-shell-command): Don't add `*' at the end of the
7997 command (Bug#11815).
7998 (dired-do-shell-command): Doc fix.
7999 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8000 Join the individual commands using either "&" or ";" as the
8001 separator depending on the values of these trailing characters.
8002 At the end re-add the trailing "&". (Bug#10598)
8003
8004 * simple.el (async-shell-command): Sync the interactive spec with
8005 `shell-command'. Doc fix.
8006 (shell-command): Doc fix.
8007
8008 2012-07-17 Juri Linkov <juri@jurta.org>
8009
8010 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8011
8012 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8013
8014 Final renames and doc fixes for movement commands (bug#11899).
8015 * progmodes/python.el (python-nav-beginning-of-statement):
8016 Rename from python-nav-statement-start.
8017 (python-nav-end-of-statement): Rename from
8018 python-nav-statement-end.
8019 (python-nav-beginning-of-block): Rename from
8020 python-nav-block-start.
8021 (python-nav-end-of-block): Rename from python-nav-block-end.
8022
8023 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8024
8025 * progmodes/python.el (python-shell-send-string-no-output):
8026 Allow accept-process-output to quit, keeping shell process ready for
8027 future interactions (Bug#11868).
8028
8029 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8030
8031 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8032
8033 * emacs-lisp/elint.el (elint-find-args-in-code):
8034 Use help-function-arglist, so as to handle lexical byte-code.
8035
8036 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8037 change (bug#11826).
8038
8039 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8040
8041 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8042 Avoid spuriously marking the buffer as modified because of c-is-sws.
8043
8044 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8045 as not-a-comment (bug#11946).
8046
8047 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8048 for uninterned vars.
8049
8050 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8051 Use read-event since we don't really want to read chars but bytes.
8052
8053 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8054 $$..$$ but also $..$ using regexps (bug#11953).
8055 Use tex-verbatim for \url and \path.
8056 (tex-font-lock-keywords): Define as defconst like the others.
8057 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8058
8059 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8060
8061 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8062 alias for insert-char.
8063
8064 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8065
8066 * progmodes/python.el: Simplified imenu implementation.
8067 (python-nav-jump-to-defun): Remove command.
8068 (python-mode-map): Use `imenu' instead.
8069 (python-nav-list-defun-positions-cache)
8070 (python-imenu-include-defun-type, python-imenu-make-tree)
8071 (python-imenu-subtree-root-label, python-imenu-index-alist):
8072 Remove vars.
8073 (python-nav-list-defun-positions, python-nav-read-defun)
8074 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8075 (python-imenu-make-tree, python-imenu-create-index):
8076 Remove functions.
8077 (python-mode): Update to interact with imenu by setting
8078 `imenu-extract-index-name-function' only.
8079
8080 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8081
8082 * progmodes/python.el: Enhancements to navigation commands.
8083 (python-nav-backward-sentence)
8084 (python-nav-forward-sentence): Remove.
8085 (python-nav-backward-statement, python-nav-forward-statement)
8086 (python-nav-statement-start, python-nav-statement-end)
8087 (python-nav-backward-block, python-nav-forward-block)
8088 (python-nav-block-start, python-nav-block-end)
8089 (python-nav-forward-sexp-function)
8090 (python-info-current-line-comment-p)
8091 (python-info-current-line-empty-p): New functions.
8092 (python-indent-context): Use `python-nav-statement-start'.
8093
8094 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8095
8096 * eshell/em-ls.el (eshell/ls): Use `apply'.
8097
8098 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8099 multi-hops, instead of Tramp internals.
8100
8101 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8102
8103 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8104 when F1 and F2 are located on different hosts.
8105
8106 2012-07-14 Chong Yidong <cyd@gnu.org>
8107
8108 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8109 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8110 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8111 (xterm-mouse--read-event-sequence-1000)
8112 (xterm-mouse--read-event-sequence-1006): New functions. For old
8113 mouse protocol, handle M-mouse-X events correctly.
8114 (xterm-mouse-event): New arg specifying mouse protocol.
8115 (turn-on-xterm-mouse-tracking-on-terminal)
8116 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8117 sequence to toggle extended coordinates on newer XTerms.
8118 This appears to be harmless on terminals which do not support this.
8119
8120 2012-07-14 Leo Liu <sdl.web@gmail.com>
8121
8122 Add fringe bitmap indicators for flymake. (Bug#11253)
8123 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8124 (flymake-make-overlay): New arg BITMAP.
8125 (flymake-error-bitmap, flymake-warning-bitmap)
8126 (flymake-fringe-indicator-position): New user variables.
8127
8128 * fringe.el: New bitmap exclamation-mark.
8129
8130 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8131
8132 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8133 also (Bug#7879).
8134
8135 2012-07-14 Chong Yidong <cyd@gnu.org>
8136
8137 * electric.el (electric-pair-post-self-insert-function): Fix pair
8138 insertion in empty-region case (Bug#11520).
8139
8140 2012-07-14 Chong Yidong <cyd@gnu.org>
8141
8142 * bindings.el: Consolidate ctl-x-r-map bindings.
8143 Bind copy-rectangle-as-kill to C-x r w.
8144
8145 * rect.el, register.el: Move bindings to bindings.el.
8146
8147 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8148
8149 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8150
8151 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8152
8153 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8154
8155 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8156
8157 * bindings.el (top): Use `mapc' instead of `mapcar'.
8158
8159 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8160
8161 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8162
8163 * progmodes/sql.el (sql-comint): Suppress the check for program on
8164 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8165 (Bug#11908)
8166
8167 2012-07-13 Chong Yidong <cyd@gnu.org>
8168
8169 * bindings.el: Assign a non-nil permanent-local property to
8170 per-buffer variables which lack a default value (Bug#11930).
8171
8172 * help-fns.el (describe-variable): In the "automatically becomes
8173 local" notice, take note of permanent-local variables.
8174
8175 2012-07-13 Chong Yidong <cyd@gnu.org>
8176
8177 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8178 to allow printing the message when called from Lisp.
8179
8180 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8181 Remove toggle-read-only.
8182
8183 * bs.el (bs-toggle-readonly):
8184 * buff-menu.el (Buffer-menu-toggle-read-only):
8185 Remove with-no-warnings around toggle-read-only.
8186
8187 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8188 Remove with-no-warnings around toggle-read-only.
8189 (ffap-read-only, ffap-read-only-other-window)
8190 (ffap-read-only-other-frame): Callers changed.
8191
8192 * help-mode.el: Don't require view package.
8193 (help-mode-finish): Set buffer-read-only instead of calling
8194 toggle-read-only.
8195
8196 * bindings.el (mode-line-toggle-read-only):
8197 * dired.el (dired-toggle-read-only):
8198 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8199 with non-nil second arg.
8200
8201 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8202 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8203 directly.
8204
8205 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8206
8207 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8208 not incf.
8209
8210 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8211
8212 More CL cleanups and reduction of use of cl.el.
8213 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8214 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8215 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8216 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8217 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8218 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8219 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8220 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8221 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8222 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8223 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8224 * eshell/em-cmpl.el, eshell/em-banner.el:
8225 * calendar/parse-time.el: Use cl-lib.
8226 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8227 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8228 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8229 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8230 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8231 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8232 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8233 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8234 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8235 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8236 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8237 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8238 `lambda' rather than with `quote'.
8239 (eshell-do-opt): Adjust accordingly.
8240 (eshell-process-option): Simplify.
8241 * eshell/esh-var.el:
8242 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8243 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8244 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8245 to `pcase--dontcare'.
8246 * emacs-lisp/cl.el (labels): Mark obsolete.
8247 (cl--letf, letf): Move to cl-lib.
8248 (cl--letf*, letf*): Remove.
8249 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8250 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8251 (cl-progv): Rewrite.
8252 (cl--letf, cl-letf): Move from cl.el.
8253 (cl-letf*): New macro.
8254 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8255
8256 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8257
8258 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8259
8260 2012-07-11 Chong Yidong <cyd@gnu.org>
8261
8262 * vc/log-edit.el (log-edit-vc-backend): New variable.
8263 (log-edit): Doc fix.
8264
8265 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8266 argument of log-edit to set up all local variables.
8267 (vc-start-logentry): New optional arg specifying VC backend.
8268
8269 * vc/vc.el (vc-checkin): Use it.
8270 (vc-deduce-fileset): Handle Log Edit buffers.
8271 (vc-diff): Make first argument optional too.
8272
8273 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8274
8275 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8276
8277 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8278 command, just in case. The function is not needed anymore.
8279 (eshell-external-command): Do not call `eshell-remote-command'.
8280
8281 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8282
8283 Reduce use of (require 'cl).
8284 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8285 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8286 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8287 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8288 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8289 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8290 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8291 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8292 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8293 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8294 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8295 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8296 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8297 (byte-compile-unfold-bcf, byte-compile-check-variable):
8298 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8299 (byte-compile-nilconstp):
8300 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8301 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8302
8303 * emacs-lisp/gv.el (cond): Make it a valid place.
8304 (if): Simplify slightly.
8305
8306 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8307 (pcase--self-quoting-p): New function.
8308 (pcase--u1): Use it.
8309
8310 2012-07-10 Glenn Morris <rgm@gnu.org>
8311
8312 * emacs-lisp/authors.el (authors-fixed-entries):
8313 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8314
8315 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8316
8317 Rename configure.in to configure.ac (Bug#11603).
8318 * emacs-lisp/authors.el (authors-canonical-file-name):
8319 * progmodes/autoconf.el (autoconf-mode):
8320 Prefer configure.ac to configure.in.
8321
8322 2012-07-08 Chong Yidong <cyd@gnu.org>
8323
8324 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8325 Implement the mouse-1-click-follows-link handling properly.
8326
8327 * info.el (Info-link-keymap): Use follow-link mechanism for
8328 header-line links (Bug#374).
8329
8330 * simple.el (deactivate-mark): Do not set the primary selection
8331 if another program has acquired it (Bug#11772).
8332
8333 2012-07-07 Kevin Ryde <user42@zip.com.au>
8334
8335 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8336 (woman-decode-region): Replace escaped-escapes without destroying
8337 bold or underline (Bug#11552).
8338 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8339
8340 2012-07-07 Chong Yidong <cyd@gnu.org>
8341
8342 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8343 (interprogram-cut-function, interprogram-paste-function):
8344 Mention that we typically mean the clipboard.
8345
8346 2012-07-06 Glenn Morris <rgm@gnu.org>
8347
8348 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8349
8350 * files.el (toggle-read-only): Restrict message to interactive use.
8351
8352 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8353
8354 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8355
8356 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8357
8358 2012-07-06 Glenn Morris <rgm@gnu.org>
8359
8360 * Makefile.in (compile-one-process): Rename from "recompile".
8361
8362 * Makefile.in (bzr-update): "compile" is the same as "recompile
8363 autoloads", but parallelizable, so use that instead.
8364
8365 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8366
8367 * window.el (quit-window): Always restore window height when
8368 it's saved in quit-restore parameter (Bug#11810).
8369
8370 2012-07-06 Glenn Morris <rgm@gnu.org>
8371
8372 * simple.el (kill-whole-line): Doc tweak.
8373
8374 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8375
8376 * files.el (file-relative-name): Compare file names
8377 case-insensitively if on MS-Windows or MS-DOS, or if
8378 read-file-name-completion-ignore-case is non-nil. Don't use
8379 case-fold-search for this purpose. (Bug#11827)
8380
8381 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8382
8383 * calendar/cal-dst.el (calendar-current-time-zone):
8384 Return calendar-current-time-zone-cache if non-nil.
8385
8386 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8387 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8388
8389 * calendar/cal-dst.el (calendar-current-time-zone):
8390 Return calendar-current-time-zone-cache if non-nil.
8391
8392 2012-07-06 Glenn Morris <rgm@gnu.org>
8393
8394 * Makefile.in (cvs-update): Remove old alias.
8395
8396 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8397
8398 Sync with Tramp 2.2.6-pre.
8399
8400 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8401 compatible declaration.
8402
8403 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8404 Protect `list-load-path-shadows' call.
8405
8406 * net/tramp-compat.el (top): Require packages, which aren't
8407 autoloaded anymore for XEmacs. Protect call of
8408 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8409 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8410 it hurts at least for SXEmacs.
8411 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8412 standard-value for `temporary-file-directory'.
8413
8414 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8415 Redirect stderr to /dev/null.
8416 (tramp-sh-handle-write-region): uid and gid can be floats.
8417 Reported by Russell Sim <russell.sim@gmail.com>.
8418 (tramp-sh-handle-vc-registered): Hide errors.
8419 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8420 and `start-file-process'.
8421 (tramp-maybe-open-connection): Check also whether `non-essential'
8422 is bound.
8423
8424 2012-07-04 Chong Yidong <cyd@gnu.org>
8425
8426 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8427 (xml-parse-tag): Likewise, and avoid changing entity tables.
8428 (xml-syntax-table): Define from scratch, making sure not to give
8429 x2000 and other Unicode spaces whitespace syntax, since those are
8430 not spaces in XML.
8431 (xml-parse-fragment): Delete unused function.
8432 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8433 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8434 (xml-entity-ref, xml-pe-reference-re)
8435 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8436 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8437 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8438 (xml-entity-value-re): Use syntax references in regexps where
8439 possible; no need to define inside a let-binding.
8440 (xml-parse-dtd): Use xml-pe-reference-re.
8441 (xml-entity-or-char-ref-re): New defconst.
8442 (xml-parse-string, xml-substitute-special): Use it.
8443
8444 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8445
8446 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8447 (find-file--read-only): New function.
8448 (find-file-read-only, find-file-read-only-other-window)
8449 (find-file-read-only-other-frame): Use it.
8450 (insert-file-contents-literally): Don't `fset'.
8451 (get-free-disk-space): Use locate-dominating-file.
8452
8453 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8454 function is already compiled.
8455
8456 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8457
8458 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8459
8460 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8461 files on the same host.
8462
8463 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8464
8465 * help-fns.el (describe-function-1): Only call
8466 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8467
8468 2012-07-03 Chong Yidong <cyd@gnu.org>
8469
8470 * xml.el: Protect parser against XML bombs.
8471 (xml-entity-expansion-limit): New variable.
8472 (xml-parse-string, xml-substitute-special): Use it.
8473 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8474
8475 2012-07-03 Glenn Morris <rgm@gnu.org>
8476
8477 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8478 Allow linking to specific messages in debbugs reports (eg 123#5).
8479
8480 2012-07-02 Chong Yidong <cyd@gnu.org>
8481
8482 * xml.el: Fix entity and character reference expansion, allowing
8483 them to expand into markup as per XML spec.
8484 (xml-default-ns): New variable.
8485 (xml-entity-alist): Use XML spec definitions for lt and amp.
8486 (xml-parse-region): Make first two arguments optional.
8487 Discard text properties.
8488 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8489 All callers changed.
8490 (xml-parse-tag): Call xml-parse-tag-1. For backward
8491 compatibility, this function should not modify buffer contents.
8492 (xml-parse-tag-1): Fix opening-tag regexp.
8493 (xml-parse-string): Rewrite, handling entity and character
8494 references properly.
8495 (xml--entity-replacement-text): Signal an error if a parameter
8496 entity is undefined.
8497
8498 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8499
8500 * comint.el (comint-output-filter): Filter out repeated prompts.
8501
8502 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8503 and file-name-absolute-p.
8504 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8505 internal calls.
8506
8507 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8508
8509 Spelling fixes.
8510 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8511 Rename from byte-compile--refiy-function. All uses changed.
8512
8513 2012-07-01 Chong Yidong <cyd@gnu.org>
8514
8515 * xml.el (xml--parse-buffer): New function. Move most of
8516 xml-parse-region here.
8517 (xml-parse-region): Copy region into a temporary buffer, since
8518 parameter entity substitution requires changing buffer contents.
8519 Use xml--parse-buffer.
8520 (xml-parse-file): Use xml--parse-buffer.
8521 (xml-parse-dtd): Make parameter entity substitution work right.
8522 Use proper regexps for ELEMENT declarations (Bug#7172).
8523
8524 2012-06-30 Glenn Morris <rgm@gnu.org>
8525
8526 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8527
8528 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8529 Remove outdated and unnecessary dbus declarations.
8530
8531 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8532
8533 * emacs-lisp/timer.el (timer-until): Subtract results of
8534 float-time, instead of taking float-time of the result of
8535 time-subtract, since float-time signals an error for negative time
8536 arguments.
8537
8538 2012-06-30 Chong Yidong <cyd@gnu.org>
8539
8540 * xml.el (xml-*-re): Convert defvars into defconsts, and
8541 eval-and-compile them so eval-and-compile works on derivatives.
8542 (xml--entity-replacement-text): Use eval-and-comple.
8543
8544 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8545
8546 * vc/vc-git.el (vc-git-registered): Use cache property
8547 `git-registered'.
8548 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8549 `vc-git-working-revision' in order to benefit from the cache.
8550 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8551
8552 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8553
8554 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8555 removed (likely outside Emacs). (Bug#11757)
8556
8557 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8558
8559 * emacs-lisp/cl-lib.el: Require macroexp.
8560
8561 2012-06-30 Chong Yidong <cyd@gnu.org>
8562
8563 * xml.el: Implement XML parameter entities.
8564 (xml-parameter-entity-alist): New variable.
8565 (xml-parse-region, xml-parse-fragment): Preserve previous values
8566 of xml-entity-alist and xml-parameter-entity-alist, so that
8567 repeated calls on different documents do not change them.
8568 (xml-parse-tag): Fix doctype regexp.
8569 (xml--entity-replacement-text): New function.
8570 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8571 properly requires url retrieval which is unimplemented.
8572 (xml-escape-string): Doc fix.
8573
8574 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8575
8576 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8577
8578 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8579
8580 * fringe.el (fringe-mode): Doc fix.
8581
8582 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8583
8584 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8585 is non-nil.
8586 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8587 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8588
8589 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8590
8591 * calendar/cal-dst.el (calendar-current-time-zone):
8592 Return calendar-current-time-zone-cache if non-nil.
8593
8594 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8595
8596 * progmodes/which-func.el (which-func-format):
8597 Add mouse-face. (Bug#11698)
8598
8599 2012-06-29 Leo Liu <sdl.web@gmail.com>
8600
8601 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8602
8603 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8604
8605 * minibuffer.el (minibuffer-confirm-exit-commands):
8606 Add completion-at-point (bug#11725).
8607
8608 2012-06-29 Glenn Morris <rgm@gnu.org>
8609
8610 * progmodes/f90.el (f90-font-lock-keywords-2):
8611 Add some preprocessor elements. (Bug#10499)
8612
8613 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8614
8615 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8616 Use syntax-propertize (bug#11739).
8617
8618 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8619
8620 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8621
8622 2012-06-28 Julien Danjou <julien@danjou.info>
8623
8624 * term.el (term-handle-colors-array): Use a set of new faces to
8625 color the terminal. Also uses :inverse-video property.
8626 (term-default-fg-color): Set to nil by default, deprecate in favor
8627 of `term-face'.
8628 (term-default-bg-color): Set to nil by default, deprecate in favor
8629 of `term-face'.
8630 (term-current-face): Use `term-face' by default.
8631 (term-bold-attribute): Variable deleted.
8632
8633 2012-06-28 Glenn Morris <rgm@gnu.org>
8634
8635 * simple.el (completion-list-mode-finish):
8636 Don't use toggle-read-only. (Since completion-list-mode has
8637 a special mode-class, it wasn't doing anything extra anyway.)
8638
8639 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8640
8641 Make inlining of other-mode interpreted functions work (bug#11799).
8642 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8643 (byte-compile): Use it to fix compilation of lexical-binding closures.
8644 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8645 function, if needed.
8646
8647 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8648
8649 * help-mode.el (help-make-xrefs): Don't just withstand
8650 cyclic-variable-indirection but any error in documentation-property.
8651
8652 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8653 memory use.
8654 * bindings.el (bindings--define-key): New function.
8655 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8656 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8657 * bindings.el: Use it to purecopy define-key bindings.
8658
8659 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8660
8661 * emacs-lisp/cl.el (flet): Mark obsolete.
8662 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8663 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8664 * progmodes/js.el (js-c-fill-paragraph):
8665 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8666 (ebrowse-switch-member-buffer-to-derived-class):
8667 * play/5x5.el (5x5-solver): Use cl-flet.
8668
8669 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8670 (cl--symbol-function): New macro.
8671 (cl--letf, cl--letf*): Use it.
8672
8673 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8674 Strip "toggle-" if any.
8675
8676 2012-06-27 Glenn Morris <rgm@gnu.org>
8677
8678 * info.el (Info-default-directory-list): Move here from paths.el.
8679 * paths.el: Remove file, which is now empty.
8680 * loadup.el: No longer load "paths".
8681
8682 * custom.el (custom-initialize-delay): Doc fix.
8683
8684 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8685 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8686 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8687 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8688 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8689 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8690 * eshell/eshell.el (eshell-defgroup): Remove alias.
8691
8692 2012-06-27 Chong Yidong <cyd@gnu.org>
8693
8694 * help.el (help-enable-auto-load): New variable.
8695
8696 * help-fns.el (help-fns--autoloaded-p): New function.
8697 (describe-function-1): Refer to a function as "autoloaded" if it
8698 was autoloaded at any time in the past. Perform autoloading if
8699 help-enable-auto-load is non-nil.
8700
8701 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8702
8703 * makefile.w32-in (compile, compile-always): Depend on
8704 update-subdirs, not on subdirs.el. Otherwise, several different
8705 sub-targets of 'bootstrap' running in parallel could
8706 simultaneously write to subdirs.el, producing a garbled file.
8707
8708 2012-06-26 Sam Steingold <sds@gnu.org>
8709
8710 * files.el (file-name-base): New convenience function.
8711 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8712 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8713 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8714 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8715 * textmodes/ispell.el, textmodes/reftex-ref.el:
8716 * textmodes/tex-mode.el: Use it.
8717 Did not touch cedet and org because they are maintained elsewhere.
8718
8719 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8720
8721 * calendar/calendar.el (calendar-exit): Don't try to delete or
8722 iconify last frame. See:
8723 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8724
8725 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8726
8727 * server.el (server-process-filter): Remember dir in the
8728 process's `server-client-directory' properties.
8729
8730 2012-06-24 Chong Yidong <cyd@gnu.org>
8731
8732 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8733 non-tag text.
8734
8735 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8736
8737 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8738
8739 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8740
8741 * help-fns.el (describe-variable): Don't croak when doc is not found.
8742 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8743 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8744 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8745 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8746 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8747 ((lambda ..) ..).
8748 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8749
8750 2012-06-23 Chong Yidong <cyd@gnu.org>
8751
8752 * info.el (Info-mouse-follow-link): Accept symbol values of
8753 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8754 (Info-fontify-node): Use Info-link-keymap for all navigation
8755 buttons, with link-args property to perform the desired action.
8756 (Info-link-keymap): Doc fix.
8757 (Info-next-link-keymap, Info-prev-link-keymap)
8758 (Info-up-link-keymap): Delete now-unused keymaps.
8759
8760 2012-06-23 Chong Yidong <cyd@gnu.org>
8761
8762 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8763
8764 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8765 system abbrevs.
8766
8767 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8768
8769 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8770
8771 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8772 (bug#11719).
8773
8774 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8775 the requote function doesn't work properly (bug#11714).
8776
8777 2012-06-23 Glenn Morris <rgm@gnu.org>
8778
8779 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8780
8781 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8782
8783 Further GV/CL cleanups.
8784 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8785 gv-expander.
8786 (gv--defun-declaration): New function.
8787 (defun-declarations-alist): Use it.
8788 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8789 (gv-place): Autoload.
8790 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8791 original definition of dotimes and dolist.
8792 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8793 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8794 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8795 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8796 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8797 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8798 to the function's definition.
8799 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8800 * window.el:
8801 * files.el:
8802 * faces.el:
8803 * env.el: Don't use CL.
8804
8805 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8806
8807 Support higher-resolution time stamps (Bug#9000).
8808
8809 * calendar/time-date.el (with-decoded-time-value): New arg
8810 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8811 (encode-time-value): New optional arg PICO. New type 3.
8812 (time-to-seconds) [!float-time]: Support the new picoseconds
8813 component if it's used.
8814 (seconds-to-time, time-subtract, time-add):
8815 Support ps-resolution time stamps as well.
8816
8817 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8818 (timerp): Timer vectors now have length 9, not 8.
8819 (timer--time): Support new-style (4-part) time stamps.
8820 (timer-next-integral-multiple-of-time): Time stamps now have
8821 picosecond resolution, so take a bit more care about rounding.
8822 (timer-relative-time, timer-inc-time): New optional arg psecs.
8823 (timer-set-time-with-usecs): Set psecs to 0.
8824 (timer--activate): Check psecs component, too.
8825
8826 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8827
8828 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8829
8830 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8831 Move the non-essential binding to the post/pre-command-hook where it is
8832 more obviously correct.
8833
8834 * subr.el (read-passwd): Don't use a history at all.
8835 * savehist.el (savehist-save): Remove password saved accidentally
8836 because of the above bug.
8837
8838 2012-06-22 Bastien Guerry <bzg@gnu.org>
8839
8840 * files.el (toggle-read-only): Display a message telling whether
8841 the buffer is read-only or not (bug#11726).
8842
8843 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8844
8845 * emacs-lisp/gv.el: New file.
8846 * subr.el (push, pop): Extend to generalized variables.
8847 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8848 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8849 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8850 gv-define-simple-setter, and gv-define-expander.
8851 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8852 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8853 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8854 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8855 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8856 gv-letplace.
8857 (cl-defstruct): Don't define setf-method any more.
8858 * emacs-lisp/cl.el (flet): Don't autoload.
8859 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8860 (define-setf-expander, defsetf, define-modify-macro)
8861 (cl-struct-setf-expander): Move from cl-lib.el.
8862 * emacs-lisp/syntax.el:
8863 * emacs-lisp/ewoc.el:
8864 * emacs-lisp/smie.el:
8865 * emacs-lisp/cconv.el:
8866 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8867 (timer--time): Use gv-define-simple-setter.
8868 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8869 to avoid coding-system problems in subr.el. Adjust all users.
8870 (macroexp--maxsize, macroexp-small-p): New functions.
8871 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8872 * scroll-bar.el (scroll-bar-mode):
8873 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8874 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8875 * winner.el (winner-configuration, winner-make-point-alist)
8876 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8877 * files.el (locate-file-completion-table): Avoid list*.
8878
8879 2012-06-22 Chong Yidong <cyd@gnu.org>
8880
8881 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8882 (dired-create-files): Doc fix (Bug#11329).
8883 (dired-do-copy): Doc fix (Bug#11334).
8884 (dired-mark-read-string): Doc fix (Bug#11553).
8885
8886 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8887 Doc fix (Bug#11326).
8888 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8889 (dired-dwim-target): Doc fix.
8890
8891 * wdired.el (wdired-mode): Doc fix.
8892
8893 2012-06-22 Glenn Morris <rgm@gnu.org>
8894
8895 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8896 (pcmpl-rpm-cache-stamp-file): New constant.
8897 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8898 (pcmpl-rpm-packages): Optionally cache list of packages.
8899
8900 * pcmpl-rpm.el (pcmpl-rpm): New group.
8901 (pcmpl-rpm-query-options): New option.
8902 (pcmpl-rpm-packages): No need to inline it.
8903 Use pcmpl-rpm-query-options.
8904
8905 * calendar/calendar.el (calendar-in-read-only-buffer):
8906 Avoid some needless mode changes.
8907
8908 2012-06-21 Chong Yidong <cyd@gnu.org>
8909
8910 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8911 (desktop-path): Remove . from the default value (Bug#10977).
8912 (desktop-read): Use user-emacs-directory if desktop-path is nil.
8913
8914 2012-06-20 Chong Yidong <cyd@gnu.org>
8915
8916 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8917
8918 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8919
8920 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8921 (bug#11201).
8922
8923 2012-06-20 Chong Yidong <cyd@gnu.org>
8924
8925 * term.el (term-window-width): Handle the case of a missing right
8926 fringe (Bug#8837).
8927 (term-check-size): Use window-text-height (Bug#5445).
8928 (term-mode): Use define-derived-mode. Minor cleanups.
8929 Set font-lock-defaults (Bug#7692).
8930 (term-move-columns, term-insert-char, term-emulate-terminal)
8931 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
8932
8933 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
8934
8935 * net/ange-ftp.el (ange-ftp-get-passwd):
8936 Bind `enable-recursive-minibuffers'.
8937 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8938
8939 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8940
8941 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8942
8943 2012-06-19 Glenn Morris <rgm@gnu.org>
8944
8945 * progmodes/python.el (python-mode): Derive from prog-mode.
8946
8947 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8948
8949 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8950 (edt-user-menu-bar-update-buffers): New functions.
8951 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8952
8953 2012-06-19 Chong Yidong <cyd@gnu.org>
8954
8955 * subr.el (with-selected-window): Preserve the selected window's
8956 terminal's top-frame (Bug#4702).
8957
8958 * window.el (save-selected-window): Likewise.
8959
8960 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8961
8962 * progmodes/python.el (python-rx-constituents): Move backquote.
8963 (python-skeleton-define, python-define-auxiliary-skeleton):
8964 Use `declare'.
8965
8966 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
8967
8968 * minibuffer.el (read-file-name-default): Revert the patch from
8969 2012-06-17.
8970
8971 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8972
8973 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8974 (pcase--u1, pcase--q1): Don't use apply-partially.
8975
8976 2012-06-18 Glenn Morris <rgm@gnu.org>
8977
8978 * progmodes/python.el (python-proc, python-buffer)
8979 (python-send-receive, python-send-string): Fix obsolete versions.
8980
8981 2012-06-18 Martin Rudalics <rudalics@gmx.at>
8982
8983 * window.el (special-display-p): Completely remove stringp
8984 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8985
8986 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
8987
8988 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8989
8990 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8991
8992 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8993 * net/tramp-sh.el (tramp-maybe-open-connection):
8994 Throw if `non-essential' is non-nil.
8995
8996 2012-06-17 Martin Rudalics <rudalics@gmx.at>
8997
8998 * window.el (special-display-p): Signal an error if BUFFER-NAME
8999 is not a string (Bug#11713).
9000
9001 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9002
9003 * progmodes/python.el (python-info-beginning-of-backslash):
9004 Rename from python-info-beginning-of-backlash, as a spelling fix.
9005
9006 2012-06-17 Chong Yidong <cyd@gnu.org>
9007
9008 * term.el (term-emulate-terminal): If term-check-size is called,
9009 move point to the process mark without resetting point (Bug#4635).
9010
9011 2012-06-17 Glenn Morris <rgm@gnu.org>
9012
9013 * international/mule-cmds.el (mule-menu-keymap)
9014 (set-language-environment, set-locale-environment): Doc tweaks.
9015
9016 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9017
9018 * cus-face.el (custom-face-attributes): Add wave-style underline
9019 attribute.
9020 * faces.el (set-face-attribute): Update docstring to describe
9021 wave-style underline attribute.
9022
9023 2012-06-16 Chong Yidong <cyd@gnu.org>
9024
9025 * term/xterm.el (terminal-init-xterm): Discard input before
9026 querying background mode (Bug#10959).
9027
9028 2012-06-16 Stefan Merten <smerten@oekonux.de>
9029
9030 * textmodes/rst.el: Added and corrected some comments.
9031 (rst-re-alist-def): Improve symbol syntax.
9032 (rst-mode-syntax-table): Correct syntax entries.
9033 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9034 (rst-official-version, rst-official-cvs-rev): Update version
9035 information.
9036
9037 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9038
9039 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9040 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9041
9042 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9043
9044 * progmodes/python.el: New python.el merge.
9045 (python-guess-indent): Obsolete var.
9046 (python-indent-guess-indent-offset): New defcustom.
9047 (python-indent): Obsolete var.
9048 (python-indent-offset): New defcustom.
9049 (python-python-command, python-jython-command): Delete var.
9050 (python-shell-interpreter): New defcustom.
9051 (python-pdbtrack-do-tracking-p): Delete var.
9052 (python-pdbtrack-activate): New defcustom.
9053 (python-use-skeletons): Obsolete var.
9054 (python-skeleton-autoinsert): New defcustom.
9055 (inferior-python-filter-regexp, python-continuation-offset)
9056 (python-honour-comment-indentation, python-indent-string-contents)
9057 (python-jython-packages, python-mode-hook)
9058 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9059 (python-shell-prompt-alist)
9060 (python-source-modes): Delete defcustoms.
9061 (python-check-buffer-name, python-eldoc-setup-code)
9062 (python-eldoc-string-code, python-ffap-setup-code)
9063 (python-ffap-string-code, python-fill-comment-function)
9064 (python-fill-decorator-function, python-fill-paren-function)
9065 (python-fill-string-function, python-imenu-include-defun-type)
9066 (python-imenu-make-tree, python-imenu-subtree-root-label)
9067 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9068 (python-shell-compilation-regexp-alist)
9069 (python-shell-completion-module-string-code)
9070 (python-shell-completion-pdb-string-code)
9071 (python-shell-completion-setup-code)
9072 (python-shell-completion-string-code)
9073 (python-shell-enable-font-lock, python-shell-exec-path)
9074 (python-shell-extra-pythonpaths)
9075 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9076 (python-shell-process-environment)
9077 (python-shell-prompt-block-regexp)
9078 (python-shell-prompt-output-regexp)
9079 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9080 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9081 (python-shell-virtualenv-path): New defcustoms.
9082 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9083 (inferior-python-mode-syntax-table, python--prompt-regexp)
9084 (python-buffer, python-command python-python-command)
9085 (python-default-template, python-imports, python-indent-index)
9086 (python-indent-list, python-indent-list-length)
9087 (python-mode-running, python-pdbtrack-is-tracking-p)
9088 (python-preoutput-continuation, python-preoutput-leftover)
9089 (python-preoutput-result, python-preoutput-skip-next-prompt)
9090 (python-prev-dir/file, python-recursing)
9091 (python-saved-check-command, python-version-checked)
9092 (python-which-func-length-limit)
9093 (view-return-to-alist): Delete vars.
9094 (python-check-custom-command, python-dotty-syntax-table)
9095 (python-imenu-index-alist, python-indent-current-level)
9096 (python-indent-dedenters, python-indent-levels)
9097 (python-nav-beginning-of-defun-regexp)
9098 (python-nav-list-defun-positions-cache)
9099 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9100 (python-shell-internal-buffer)
9101 (python-skeleton-available): New vars.
9102 (def-python-skeleton): Delete macro.
9103 (python-skeleton-define): New macro.
9104 (python-define-auxiliary-skeleton, python-rx): New macros.
9105 (python-insert-class): Delete command.
9106 (python-skeleton-class): New command.
9107 (python-insert-def): Delete command.
9108 (python-skeleton-def): New command.
9109 (python-insert-for): Delete command.
9110 (python-skeleton-for): New command.
9111 (python-insert-if): Delete command.
9112 (python-skeleton-if): New command.
9113 (python-insert-try/except, python-insert-try/finally): Delete commands.
9114 (python-skeleton-try): New command.
9115 (python-insert-while): Delete command.
9116 (python-skeleton-while): New command.
9117 (python-backspace): Delete command.
9118 (python-indent-dedent-line-backspace): New command.
9119 (python-electric-colon): Delete command.
9120 (python-indent-electric-colon): New command.
9121 (python-guess-indent): Delete command.
9122 (python-indent-guess-indent-offset): New command.
9123 (python-shift-left): Delete command.
9124 (python-indent-shift-left): New command.
9125 (python-shift-right): Delete command.
9126 (python-indent-shift-right): New command.
9127 (python-find-function): Delete command.
9128 (python-nav-jump-to-defun): New command.
9129 (python-next-statement): Delete command.
9130 (python-nav-forward-sentence): New command.
9131 (python-previous-statement): Delete command.
9132 (python-nav-backward-sentence): New command.
9133 (python-fill-paragraph): Delete command.
9134 (python-fill-paragraph-function): New command.
9135 (python-send-buffer): Delete command.
9136 (python-shell-send-buffer): New command.
9137 (python-send-defun): Delete command.
9138 (python-shell-send-defun): New command.
9139 (python-send-region, python-send-region-and-go): Delete commands.
9140 (python-shell-send-region)
9141 (python-shell-switch-to-shell): New commands.
9142 (python-send-string): Delete command.
9143 (python-shell-send-string): New command.
9144 (python-switch-to-python): Delete command.
9145 (python-shell-switch-to-shell): New command.
9146 (python-describe-symbol): Delete command.
9147 (python-eldoc-at-point): New command.
9148 (python--set-prompt-regexp, python-args-to-list)
9149 (python-after-info-look, python-check-version)
9150 (python-check-comint-prompt, python-find-imports)
9151 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9152 (python-unload-function, python-expand-template)
9153 (python-maybe-jython, python-preoutput-filter)
9154 (python-pdbtrack-get-source-buffer)
9155 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9156 (python-pdbtrack-toggle-stack-tracking)
9157 (python-pdbtrack-track-stack-file, python-initial-text)
9158 (python-first-word, python-comment-line-p, python-send-command)
9159 (python-setup-brm, python-sentinel, python-set-proc)
9160 (python-skip-out, python-input-filter, python-outdent-p)
9161 (python-outline-level, python-backslash-continuation-line-p)
9162 (python-end-of-block, python-end-of-statement, python-mark-block)
9163 (python-beginning-of-block, python-beginning-of-statement)
9164 (python-blank-line-p, python-beginning-of-string)
9165 (python-open-block-statement-p): Delete functions.
9166 (python-indent-line, python-indent-line-1): Delete functions.
9167 (python-indent-line): New function.
9168 (python-indentation-levels): Delete function.
9169 (python-indent-calculate-levels): New function.
9170 (python-proc): Delete function.
9171 (python-shell-get-process): New function.
9172 (python-send-receive): Delete function.
9173 (python-shell-send-string-no-output): New function.
9174 (python-module-path): Delete function.
9175 (python-ffap-module-path): New function.
9176 (python-completion-at-point)
9177 (python-symbol-completions): Delete functions.
9178 (python-completion-complete-at-point): New function.
9179 (python-load-file): Delete function.
9180 (python-shell-send-file): New function.
9181 (python-calculate-indentation): Delete function.
9182 (python-indent-calculate-indentation): New function.
9183 (python-skip-comments/blanks): Delete function.
9184 (python-util-forward-comment): New function.
9185 (python-continuation-line-p): Delete function.
9186 (python-info-continuation-line-p): New function.
9187 (python-which-func, python-current-defun): Delete function.
9188 (python-info-current-defun): New function.
9189 (python-beginning-of-defun): Delete function.
9190 (python-nav-beginning-of-defun): New function.
9191 (python-close-block-statement-p)
9192 (python-block-end-p): Delete function.
9193 (python-info-closing-block): New function.
9194 (python-comint-output-filter-function)
9195 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9196 (python-fill-comment, python-fill-decorator, python-fill-paren)
9197 (python-fill-string, python-imenu-make-element-tree)
9198 (python-imenu-make-tree, python-imenu-tree-assoc)
9199 (python-indent-context, python-indent-dedent-line)
9200 (python-indent-line-function)
9201 (python-indent-post-self-insert-function)
9202 (python-indent-toggle-levels)
9203 (python-info-assignment-continuation-line-p)
9204 (python-info-beginning-of-backlash)
9205 (python-info-block-continuation-line-p)
9206 (python-info-closing-block-message)
9207 (python-info-line-ends-backslash-p)
9208 (python-info-looking-at-beginning-of-defun)
9209 (python-info-ppss-context, python-info-ppss-context-type)
9210 (python-nav-list-defun-positions, python-nav-read-defun)
9211 (python-nav-sentence-end, python-nav-sentence-start)
9212 (python-pdbtrack-comint-output-filter-function)
9213 (python-pdbtrack-set-tracked-buffer)
9214 (python-shell-calculate-exec-path)
9215 (python-shell-calculate-process-environment)
9216 (python-shell-completion--do-completion-at-point)
9217 (python-shell-completion--get-completions)
9218 (python-shell-completion-complete-at-point)
9219 (python-shell-completion-complete-or-indent)
9220 (python-shell-get-or-create-process)
9221 (python-shell-get-process-name)
9222 (python-shell-internal-get-or-create-process)
9223 (python-shell-internal-get-process-name)
9224 (python-shell-internal-send-string, python-shell-make-comint)
9225 (python-shell-parse-command, python-shell-send-setup-code)
9226 (python-skeleton-add-menu-items)
9227 (python-util-clone-local-variables, python-util-position)
9228 (run-python-internal, python-indentation-levels)
9229 (python-nav-beginning-of-defun)
9230 (python-completion-complete-at-point): New functions.
9231 (run-python): Change arguments. New API requirements.
9232
9233 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9234
9235 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9236 (bug#11649).
9237
9238 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9239 (macroexp--expand-all): Use it.
9240
9241 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9242 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9243 Use `cl-function' instead.
9244
9245 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9246
9247 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9248 Suggested by Stefan Monnier while discussing bug#11657.
9249
9250 2012-06-14 Sam Steingold <sds@gnu.org>
9251
9252 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9253
9254 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9255
9256 * play/doctor.el (doctor-doc): Remove parameter and use
9257 doctor-sent instead of sent.
9258 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9259
9260 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9261
9262 * files.el: Require cl-lib.
9263 (file-name-non-special): Replace case -> cl-case.
9264
9265 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9266
9267 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9268 mapping from #' to function*.
9269
9270 2012-06-13 Chong Yidong <cyd@gnu.org>
9271
9272 * mouse.el (mouse-drag-track): Do not set the mark if the user
9273 releases the mouse without selecting anything (Bug#11588).
9274
9275 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9276
9277 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9278 as well (bug#11646).
9279
9280 * loadup.el: Count byte-code functions as well.
9281
9282 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9283 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9284
9285 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9286 (bug#11649). Add cl-defun and cl-defmacro.
9287
9288 2012-06-13 Drew Adams <drew.adams@oracle.com>
9289
9290 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9291 Fix last change.
9292
9293 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9294
9295 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9296 Otherwise, it blocks in batch mode.
9297
9298 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9299
9300 * help-mode.el (bookmark-make-record-default): Declare.
9301
9302 2012-06-13 Chong Yidong <cyd@gnu.org>
9303
9304 * emacs-lisp/package.el (list-packages): Compute a list of
9305 packages that are newly-available since the last list-packages
9306 invocation.
9307 (package-menu--new-package-list): New var.
9308 (package-menu--generate, package-menu--print-info)
9309 (package-menu--status-predicate, package-menu-mark-install):
9310 Handle new status label "new".
9311
9312 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9313
9314 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9315 conversion to backquotes.
9316
9317 2012-06-12 Chong Yidong <cyd@gnu.org>
9318
9319 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9320 Rename from gud-inhibit-global-bindings.
9321
9322 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9323
9324 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9325 hook from nxml-glyph-set-hook.
9326
9327 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9328 declaration.
9329
9330 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9331
9332 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9333 Convert to defcustom.
9334
9335 2012-06-12 Drew Adams <drew.adams@oracle.com>
9336
9337 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9338 New functions.
9339 (help-mode): Use them.
9340
9341 2012-06-11 Glenn Morris <rgm@gnu.org>
9342
9343 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9344 Use preprocessor face for directives.
9345 (fortran-directive-re): Doc fix.
9346
9347 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9348
9349 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9350 conversion to backquotes (bug#11652).
9351
9352 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9353 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9354 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9355 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9356 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9357 (cl-ninth, cl-tenth): Mark them as inlinable.
9358 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9359 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9360 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9361 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9362 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9363 (cl-list*, cl-adjoin): Don't put an autoload manually.
9364 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9365 (cl--compiler-macro-list*): Add autoload cookie.
9366 (cl--compiler-macro-cXXr): New function.
9367
9368 * help-fns.el (help-fns--compiler-macro): New function extracted from
9369 describe-function-1; follow aliases and use `compiler-macro' property.
9370 (describe-function-1): Use it.
9371
9372 2012-06-11 Chong Yidong <cyd@gnu.org>
9373
9374 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9375 is uninstalled, if imagemagick is installed.
9376
9377 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9378
9379 * emacs-lisp/cl-lib.el: Use lexical-binding.
9380 (cl-map-extents, cl-maclisp-member): Remove.
9381 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9382 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9383 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9384 * emacs-lisp/cl-extra.el: Use lexical-binding.
9385 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9386 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9387 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9388 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9389 * emacs-lisp/cl-seq.el: Use lexical-binding.
9390 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9391 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9392 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9393 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9394 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9395 CL's internals.
9396
9397 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9398
9399 Sync with Tramp 2.2.6-pre.
9400
9401 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9402 `print-length' and `print-level' to nil, in order to avoid
9403 truncation. Reported by Christopher Schmidt
9404 <christopher@ristopher.com>.
9405
9406 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9407
9408 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9409 New defmacro.
9410 (tramp-compat-copy-directory): Add optional argument
9411 COPY-CONTENTS. It is not handled yet.
9412
9413 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9414 (tramp-ftp-file-name-p): Simplify.
9415
9416 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9417 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9418 connection vector.
9419
9420 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9421 (tramp-methods): Do not use `tramp-password-end-of-line'.
9422 (tramp-completion-function-alist-putty): Handle UNIX case.
9423 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9424 (tramp-do-file-attributes-with-stat)
9425 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9426 gid as real numbers. They could run out of integer range on cygwin.
9427 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9428 (tramp-sh-handle-expand-file-name): Handle hops.
9429 (tramp-open-connection-setup-interactive-shell):
9430 Use `tramp-cleanup'. Move check for busyboxes ...
9431 (tramp-find-shell): ... here. Simplify implementation.
9432 Set "remote-shell" property also for alternative shells.
9433 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9434 If failing, a regular file would be written otherwise.
9435 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9436 (tramp-find-inline-encoding): Cache the coding commands in the
9437 process cache. Apply test command on the remote side, if defined.
9438 (tramp-find-inline-compress): Cache the compress commands in the
9439 process cache.
9440 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9441 when requested. Handle hops.
9442 (tramp-current-connection): New defvar.
9443 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9444 Throw `suppress', if there was a failed connection shortly before.
9445 Handle user interrupt. (Bug#10187)
9446 (tramp-get-inline-compress, tramp-get-inline-coding):
9447 Read connection properties from the process cache.
9448
9449 * net/tramp-smb.el (tramp-smb-server-version)
9450 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9451 New defconsts.
9452 (tramp-smb-prompt): Extend for powershell prompt.
9453 (tramp-smb-file-name-handler-alist): Add handlers for
9454 `process-file', `shell-command' and `start-file-process'.
9455 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9456 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9457 (tramp-smb-file-name-p): Simplify.
9458 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9459 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9460 (tramp-smb-shell-quote-argument): New defuns.
9461 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9462 Implement using "tar". By this, time-stamps are preserved.
9463 (tramp-smb-handle-copy-file): Handle also the case of directories.
9464 (tramp-smb-do-file-attributes-with-stat)
9465 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9466 Use `tramp-get-connection-buffer').
9467 (tramp-smb-handle-rename-file): Use "rename", when source and
9468 target are on the same share.
9469 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9470 Use `tramp-smb-server-version'.
9471 (tramp-smb-wait-for-output): Remove prompt.
9472
9473 * net/tramp.el (top): Require 'cl.
9474 (tramp-methods, tramp-rsh-end-of-line):
9475 Remove `tramp-password-end-of-line' from docstring.
9476 (tramp-save-ad-hoc-proxies): New defcustom.
9477 (tramp-completion-function-alist): Adapt docstring.
9478 (tramp-default-password-end-of-line): Remove defcustom.
9479 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9480 (tramp-user-regexp, tramp-file-name-regexp-unified)
9481 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9482 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9483 (tramp-remote-file-name-spec-regexp): New defconst.
9484 (tramp-file-name-structure): Extend structure for hops.
9485 (tramp-get-method-parameter): Move up.
9486 (tramp-file-name-p, tramp-dissect-file-name)
9487 (with-parsed-tramp-file-name): Handle hops.
9488 (tramp-file-name-hop): New defun.
9489 (tramp-make-tramp-file-name): New optional arg HOP.
9490 (tramp-message-show-progress-reporter-message): New defvar.
9491 (tramp-with-progress-reporter): Use it. We cannot use
9492 `tramp-message-show-message' here, because this suppresses also
9493 error buffers.
9494 (tramp-error-with-buffer): Suppress buffer view, if
9495 `tramp-message-show-message' is nil.
9496 Use `tramp-get-connection-buffer'.
9497 (tramp-cleanup): New defun.
9498 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9499 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9500 an error unchanged.
9501 (tramp-completion-handle-file-name-all-completions): Handle hops.
9502 Fix an error when called from ido.
9503 (tramp-completion-dissect-file-name): Use better local variable
9504 name. Add hop to the vector.
9505 (tramp-handle-insert-file-contents): Use progress-reporter for the
9506 whole scenario.
9507 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9508 to `t'.
9509 (tramp-check-for-regexp): Simplify search.
9510 (tramp-enter-password): Remove it. Move implementation ...
9511 (tramp-action-password): ... here.
9512 (tramp-mode-string-to-int, tramp-local-host-p)
9513 (tramp-make-tramp-temp-file, tramp-read-passwd)
9514 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9515 Set tramp-autoload cookie.
9516
9517 * net/trampver.el: Update release number.
9518
9519 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9520 Michael Albinus <michael.albinus@gmx.de>
9521
9522 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9523 (tramp-parse-group, tramp-parse-file)
9524 (tramp-parse-shostkeys-sknownhosts): New defuns.
9525 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9526 (tramp-parse-shosts-group, tramp-parse-sconfig)
9527 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9528 (tramp-parse-sknownhosts, tramp-parse-hosts)
9529 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9530 Use them.
9531 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9532 (tramp-parse-putty-group): Don't narrow.
9533 (tramp-parse-putty): Make a loop.
9534 (tramp-file-name-handler): Catch the `suppress' signal.
9535
9536 2012-06-11 Chong Yidong <cyd@gnu.org>
9537
9538 * image.el (imagemagick-register-types): Put the ImageMagick entry
9539 at the end of image-type-file-name-regexps.
9540
9541 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9542
9543 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9544 (pcase, pcase-let*, pcase-dolist): Use them.
9545
9546 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9547
9548 * emacs-lisp/pcase.el (pcase--let*): New function.
9549 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9550 (pcase--expand): Use macroexp-let².
9551
9552 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9553
9554 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9555 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9556 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9557 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9558 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9559 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9560
9561 2012-06-10 Glenn Morris <rgm@gnu.org>
9562
9563 * mail/rmail.el (rmail-yank-current-message): Leave point at
9564 correct position. (Bug#11660)
9565
9566 2012-06-10 Chong Yidong <cyd@gnu.org>
9567
9568 * allout-widgets.el: Fix code header.
9569
9570 2012-06-10 Chong Yidong <cyd@gnu.org>
9571
9572 * cus-edit.el (customize-changed-options-previous-release):
9573 Bump to 24.1.
9574
9575 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9576
9577 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9578
9579 2012-06-09 Chong Yidong <cyd@gnu.org>
9580
9581 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9582
9583 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9584
9585 * window.el (special-display-popup-frame): Don't use
9586 window--display-buffer (Bug#11651).
9587
9588 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9589
9590 Fix parallel builds: make sure loaddefs.el is not being written
9591 while Lisp files are compiled.
9592 (compile): Don't depend on 'mh-autoloads'.
9593 (compile-CMD, compile-SH): Depend on 'autoloads'.
9594 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9595
9596 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9597
9598 2012-06-09 Chong Yidong <cyd@gnu.org>
9599
9600 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9601 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9602 Doc fixes (Bug#11225).
9603
9604 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9605
9606 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9607 a function if there's a clear indication that it has a compiler-macro.
9608 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9609 (macro-declarations-alist): Add arglist to declaration functions.
9610 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9611 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9612 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9613 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9614 Also add autoload to find the compiler macro.
9615 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9616 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9617 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9618 (cl--compiler-macro-get): New functions, replacing calls to
9619 cl-define-compiler-macro.
9620 (cl-typep) [compiler-macro]: Use macroexp-let².
9621
9622 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9623
9624 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9625 string properly, fixes Bug#11473.
9626
9627 2012-06-08 Chong Yidong <cyd@gnu.org>
9628
9629 * faces.el (set-face-attribute): Doc fix.
9630 (modify-face): Don't use :bold and :italic.
9631 (error, warning, success): Tweak definitions.
9632
9633 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9634 (custom-modified, custom-set, custom-changed, custom-themed)
9635 (custom-saved, custom-button, custom-button-mouse)
9636 (custom-button-pressed, custom-state, custom-comment-tag)
9637 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9638 (custom-group-subtitle): Use new-style face specs.
9639 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9640 (custom-set-face, custom-changed-face, custom-saved-face)
9641 (custom-button-face, custom-button-pressed-face)
9642 (custom-documentation-face, custom-state-face)
9643 (custom-comment-face, custom-comment-tag-face)
9644 (custom-variable-tag-face, custom-variable-button-face)
9645 (custom-face-tag-face, custom-group-tag-face-1)
9646 (custom-group-tag-face): Remove obsolete face alias.
9647
9648 * epa.el (epa-validity-high, epa-validity-medium)
9649 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9650 (epa-field-name, epa-field-body):
9651 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9652 (font-lock-keyword-face, font-lock-builtin-face)
9653 (font-lock-function-name-face, font-lock-variable-name-face)
9654 (font-lock-type-face, font-lock-constant-face):
9655 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9656 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9657 * speedbar.el (speedbar-button-face, speedbar-file-face)
9658 (speedbar-directory-face, speedbar-tag-face)
9659 (speedbar-selected-face, speedbar-highlight-face)
9660 (speedbar-separator-face):
9661 * whitespace.el (whitespace-newline, whitespace-space)
9662 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9663 (whitespace-line, whitespace-space-before-tab)
9664 (whitespace-space-after-tab, whitespace-indentation)
9665 (whitespace-empty):
9666 * emulation/cua-base.el (cua-global-mark):
9667 * eshell/em-prompt.el (eshell-prompt):
9668 * net/newst-plainview.el (newsticker-new-item-face)
9669 (newsticker-old-item-face, newsticker-immortal-item-face)
9670 (newsticker-obsolete-item-face, newsticker-date-face)
9671 (newsticker-statistics-face, newsticker-default-face):
9672 * net/newst-reader.el (newsticker-feed-face)
9673 (newsticker-extra-face, newsticker-enclosure-face):
9674 * net/newst-treeview.el (newsticker-treeview-face)
9675 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9676 (newsticker-treeview-immortal-face)
9677 (newsticker-treeview-obsolete-face)
9678 (newsticker-treeview-selection-face):
9679 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9680 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9681 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9682 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9683 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9684 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9685 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9686 (mpuz-text):
9687 * progmodes/vera-mode.el (vera-font-lock-number)
9688 (vera-font-lock-function, vera-font-lock-interface):
9689 * textmodes/table.el (table-cell): Use new-style face specs, and
9690 don't use the old :bold and :italic attributes.
9691
9692 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9693 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9694 (ebrowse-member-class, ebrowse-progress): Likewise.
9695 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9696 (ebrowse-file-name-face, ebrowse-default-face)
9697 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9698 (ebrowse-progress-face): Remove obsolete faces.
9699
9700 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9701 Inherit from error and warning faces respectively.
9702
9703 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9704 Likewise.
9705 (flyspell-incorrect-face, flyspell-duplicate-face):
9706 Remove obsolete aliases.
9707
9708 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9709
9710 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9711 Avoid infloop.
9712
9713 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9714
9715 * startup.el (argv, argi): Make lexically scoped.
9716 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9717 * emacs-lisp/cl-macs.el: Use lexical-binding.
9718 Rename cl-bind-* to cl--bind-*.
9719 * files.el: Don't require `cl' since it doesn't use it.
9720 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9721
9722 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9723
9724 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9725 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9726 instead of calling external sort utility.
9727 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9728
9729 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9730
9731 * descr-text.el (describe-char): Mention how to insert the
9732 character, if the current input method doesn't support it.
9733 See the discussion in this thread for the details:
9734 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9735
9736 2012-06-08 Sam Steingold <sds@gnu.org>
9737
9738 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9739 XF86Back to previous-buffer.
9740 (minibuffer-local-map): Bind them to next-history-element and
9741 previous-history-element respectively.
9742 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9743 help-go-back respectively.
9744 * info.el (Info-mode-map): Bind them to Info-history-forward and
9745 Info-history-back respectively.
9746 These are the keys next to Up on the ThinkPad keyboard.
9747
9748 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9749
9750 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9751 * emacs-lisp/cl-macs.el: Provide itself.
9752 (cl--labels-convert-cache): New var.
9753 (cl--labels-convert): New function.
9754 (cl-flet, cl-labels): New implementation with new semantics, relying on
9755 lexical-binding.
9756 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9757 (cl-closure-vars, cl--function-convert-cache)
9758 (cl--function-convert): Move from cl-macs.el.
9759 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9760 rename by removing the "cl-" prefix.
9761 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9762
9763 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9764
9765 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9766 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9767 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9768 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9769 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9770 (cl-hash-table-count): Add old compatibility aliases.
9771
9772 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9773 Use macroexpand-all-environment instead.
9774 (cl--old-macroexpand): New var.
9775 (cl--sm-macroexpand): New function.
9776 (cl-symbol-macrolet): Use it during macro expansion.
9777 (cl--function-convert-cache): New var.
9778 (cl--function-convert): New function, extracted from
9779 cl-macroexpand-all.
9780 (cl-lexical-let): Use it.
9781
9782 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9783 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9784 (cl-member): Remove old alias.
9785
9786 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9787 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9788 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9789 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9790 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9791 (cl-macroexpand-cmacs): Remove var.
9792 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9793 Use macroexpand-all instead.
9794
9795 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9796
9797 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9798 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9799 (macroexp-copyable-p): New functions and macros.
9800 * emacs-lisp/edebug.el (edebug-unwrap):
9801 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9802 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9803 (pcase--let*): Remove.
9804 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9805 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9806 macroexp-const-p instead.
9807 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9808
9809 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9810 instead of "cl-" for internal definitions. Use macroexp-const-p.
9811 (cl-old-bc-file-form): Remove var.
9812 (cl-const-exprs-p): Remove fun.
9813 (cl-labels, cl-macrolet): Use backquote.
9814 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9815 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9816 (cl-define-setf-expander): Rename from cl-define-setf-method.
9817 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9818
9819 * international/mule-cmds.el: Don't require CL.
9820 (view-hello-file): Don't use `letf'.
9821
9822 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9823
9824 * tmm.el (tmm-prompt): Use string-prefix-p.
9825 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9826 (tmm-add-prompt): Use minibuffer-completion-help.
9827 (tmm-delete-map): Remove.
9828
9829 * subr.el (kbd): Make it its own function.
9830
9831 2012-06-07 Stefan Merten <smerten@oekonux.de>
9832
9833 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9834 Silence compiler warnings. Fix versions.
9835 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9836 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9837 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9838 (rst-package-emacs-version-alist): Correct Emacs version to
9839 represent major merge with upstream.
9840 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9841
9842 2012-06-06 Glenn Morris <rgm@gnu.org>
9843
9844 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9845 Only print environment variables if set.
9846
9847 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9848
9849 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9850 (macroexp--cons): Rename from maybe-cons.
9851 (macroexp--accumulate): Rename from macroexp-accumulate.
9852 (macroexp--all-forms): Rename from macroexpand-all-forms.
9853 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9854 (macroexp--expand-all): Rename from macroexpand-all-1.
9855
9856 2012-06-06 Sam Steingold <sds@gnu.org>
9857
9858 * calendar/calendar.el (calendar-in-read-only-buffer):
9859 Call `special-mode' to enable the standard read-only keybindings.
9860
9861 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9862
9863 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9864 with "loading" messages (bug#11635).
9865
9866 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
9867
9868 * files.el (enable-remote-dir-locals): New option.
9869 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9870
9871 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9872 Ensure, that the temp directory is local.
9873
9874 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9875 `temporary-file-directory'.
9876
9877 * progmodes/python.el (python-send-region): Ensure, that the
9878 temporary file is created also in the remote case.
9879
9880 2012-06-06 Glenn Morris <rgm@gnu.org>
9881
9882 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9883 (vc-rcs-update-changelog): Use it.
9884
9885 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9886
9887 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9888 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9889 (vc-sccs-diff): Replace use of the external vcdiff script.
9890
9891 2012-06-05 Glenn Morris <rgm@gnu.org>
9892
9893 * ledit.el: Move to obsolete/.
9894
9895 2012-06-05 Sam Steingold <sds@gnu.org>
9896
9897 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9898 patch (Bug#11140).
9899
9900 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9901
9902 * emacs-lisp/cust-print.el: Move to obsolete.
9903
9904 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9905 compiler-macro expansion.
9906
9907 Add native compiler-macro support.
9908 * emacs-lisp/macroexp.el (macroexpand-all-1):
9909 Support compiler-macros directly. Properly follow aliases and apply
9910 the compiler macros more thoroughly.
9911 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9912 macroexpand now properly follows aliases.
9913 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9914 (cl-compiler-macroexpand): Use new prop.
9915 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9916
9917 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9918
9919 2012-06-05 Martin Rudalics <rudalics@gmx.at>
9920
9921 * window.el (get-lru-window, get-mru-window, get-largest-window):
9922 New argument NOT-SELECTED to avoid picking the selected window.
9923 (window--display-buffer-1, window--display-buffer-2): Replace by
9924 new function window--display-buffer
9925 (display-buffer-same-window, display-buffer-reuse-window)
9926 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9927 Use window--display-buffer.
9928 (display-buffer-use-some-window): Remove temporary dedication
9929 hack by calling get-lru-window and get-largest-window with
9930 NOT-SELECTED argument non-nil. Call window--display-buffer.
9931
9932 2012-06-05 Glenn Morris <rgm@gnu.org>
9933
9934 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9935 Replace external vcdiff script.
9936
9937 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9938
9939 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9940
9941 2012-06-04 Chong Yidong <cyd@gnu.org>
9942
9943 * image.el (imagemagick-types-inhibit): Revert last change.
9944 Add INFO and M.
9945 (imagemagick-enabled-types): Remove CIN and EPS*.
9946
9947 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9948
9949 * emacs-lisp/cl-lib.el: Rename from cl.el.
9950 * emacs-lisp/cl.el: New compatibility file.
9951 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9952 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9953 to obey the "cl-" prefix.
9954 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9955
9956 2012-06-03 Glenn Morris <rgm@gnu.org>
9957
9958 * emacs-lisp/authors.el (authors-aliases): Addition.
9959
9960 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9961 Fix :version.
9962
9963 2012-06-03 Stefan Merten <smerten@oekonux.de>
9964
9965 * textmodes/rst.el: Add comments.
9966 (rst-transition, rst-adornment): New faces.
9967 (rst-adornment-faces-alist): Make default safe to reevaluate.
9968 Fixes
9969 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9970 Improve customization tags.
9971 (rst-define-level-faces): Clarify meaning.
9972
9973 2012-06-03 Chong Yidong <cyd@gnu.org>
9974
9975 * progmodes/compile.el (compilation-mode-line-fail)
9976 (compilation-mode-line-run, compilation-mode-line-exit):
9977 New faces.
9978 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9979
9980 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9981
9982 * progmodes/which-func.el (which-func-update-ediff-windows):
9983 New function. Use it in ediff-select-hook (Bug#11478).
9984
9985 2012-06-03 Chong Yidong <cyd@gnu.org>
9986
9987 * bindings.el: Remove explicit help text from format-mode-line.
9988 It is now supplied by mode-line-default-help-echo.
9989 (mode-line-front-space, mode-line-end-spaces)
9990 (mode-line-misc-info): New variables.
9991 (mode-line-modes, mode-line-position): Move the default value to
9992 the variable definition.
9993 (mode-line-default-help-echo): New defcustom.
9994 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9995 (mode-line-modified-help-echo): New functions.
9996 (mode-line-mule-info, mode-line-modified): Use them.
9997 (mode-line-eol-desc, propertized-buffer-identification):
9998 Consistency fixes for help text.
9999 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10000 set-buffer-file-coding-system (Bug#289).
10001 (mode-line-mule-info-help-echo): Update help text.
10002
10003 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10004
10005 * simple.el (execute-extended-command): Set real-this-command
10006 (bug#11506).
10007
10008 2012-06-02 Chong Yidong <cyd@gnu.org>
10009
10010 Remove incorrect uses of "modeline" in comments, docstrings, and
10011 function/variable names (Bug#10329).
10012
10013 * cus-edit.el (mode-line):
10014 * dframe.el (dframe-mouse-hscroll):
10015 * emacs-lisp/re-builder.el:
10016 * emacs-lisp/easy-mmode.el (define-minor-mode):
10017 * frame.el (set-frame-name):
10018 * help.el (lookup-minor-mode-from-indicator):
10019 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10020 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10021 (c-toggle-hungry-state):
10022 * progmodes/antlr-mode.el (antlr-language-alist):
10023 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10024 * progmodes/vhdl-mode.el (vhdl-mode):
10025 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10026 * term/ns-win.el (ns-face-at-pos):
10027 * term/sup-mouse.el (sup-mouse-report):
10028 * textmodes/flyspell.el (flyspell-mode-line-string):
10029 * textmodes/ispell.el (ispell-highlight-face):
10030 * textmodes/reftex-global.el:
10031 * vc/vc-arch.el (vc-arch-mode-line-string):
10032 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10033 * vc/vc-git.el (vc-git-mode-line-string):
10034 * vc/vc-hooks.el (vc-display-status)
10035 (vc-default-mode-line-string):
10036 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10037
10038 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10039
10040 * dired.el (dired-sort-set-mode-line): Rename from
10041 dired-sort-set-modeline. All callers changed.
10042
10043 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10044 eshell-status-in-modeline.
10045
10046 * foldout.el (foldout-mode-line-string): Rename from
10047 foldout-modeline-string. All callers changed.
10048 (foldout-update-mode-line): Rename from foldout-update-modeline.
10049
10050 * subr.el (redraw-modeline): Make into obsolete alias.
10051
10052 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10053 timeclock-modeline-display. Make old name an alias.
10054 (timeclock-update-mode-line): Likewise. All callers changed.
10055 (timeclock-mode-line-display): No need to check before using
10056 add-hook.
10057 (timeclock-relative, timeclock-day-over-hook)
10058 (timeclock-use-elapsed, timeclock-mode-string)
10059 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10060
10061 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10062 crisp-mode-modeline-string.
10063
10064 * play/solitaire.el (solitaire-build-mode-line): Rename from
10065 solitaire-build-modeline. All callers changed.
10066
10067 * play/zone.el (zone-hiding-mode-line): Rename from
10068 zone-hiding-modeline. All callers changed.
10069 (zone): Remove unusued `modeline-hidden-level' property.
10070
10071 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10072 xscheme-modeline-initialize. All callers changed.
10073
10074 * strokes.el (strokes-lighter): Rename from
10075 strokes-modeline-string.
10076
10077 * textmodes/sgml-mode.el (html-face-tag-alist)
10078 (html-tag-face-alist): Use mode-line face instead of obsolete
10079 alias modeline.
10080
10081 2012-06-02 Stefan Merten <smerten@oekonux.de>
10082
10083 * textmodes/rst.el: Always require `cl'.
10084 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10085
10086 2012-06-02 Chong Yidong <cyd@gnu.org>
10087
10088 * image.el (imagemagick-enabled-types): Rename from
10089 imagemagick-types-enable. Add many more types.
10090 (imagemagick-types-inhibit): Change default to nil.
10091 (imagemagick-filter-types): Caller changed.
10092
10093 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10094
10095 * emacs-lisp/cl-macs.el: Use backquotes.
10096 (cl-transform-function-property): Use eval-and-compile rather than
10097 abusing `require'.
10098 (defstruct): Use declare-function instead of with-no-warnings.
10099
10100 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10101 (byte-compile-output-docform): Re-add the print-circle bindings.
10102 (byte-compile-fix-header): Use #$ just because it's shorter.
10103 (byte-compile-output-file-form): Remove defun/defmacro.
10104
10105 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10106
10107 * simple.el (choose-completion): Remove now obsolete binding for
10108 owindow.
10109
10110 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10111
10112 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10113 in order to avoid "Stack overflow in regexp matcher".
10114
10115 2012-05-31 Glenn Morris <rgm@gnu.org>
10116
10117 * image.el: For clarity, call imagemagick-register-types at
10118 top-level, rather than relying on a custom :initialize.
10119 (imagemagick-types-enable): New option. (Bug#11557)
10120 (imagemagick-filter-types): New function. (Bug#7406)
10121 (imagemagick-register-types): Use imagemagick-filter-types.
10122 If disabling support, remove elements altogether rather
10123 than using an impossible regexp.
10124 (imagemagick-types-inhibit): Give it the default init function.
10125
10126 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10127
10128 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10129 Handle arbitrary file name lengths (Bug#11585).
10130
10131 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10132
10133 * desktop.el (desktop-read): Clear previous and next buffers for
10134 all windows and bury *Messages* buffer (bug#11556).
10135
10136 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10137
10138 Add `declare' for `defun'. Align `defmacro's with it.
10139 * emacs-lisp/easy-mmode.el (define-minor-mode)
10140 (define-globalized-minor-mode): Don't autoload the var definitions.
10141 * emacs-lisp/byte-run.el: Use lexical-binding.
10142 (defun-declarations-alist, macro-declarations-alist): New vars.
10143 (defmacro, defun): Use them.
10144 (make-obsolete, define-obsolete-function-alias)
10145 (make-obsolete-variable, define-obsolete-variable-alias):
10146 Use `declare'.
10147 (macro-declaration-function): Mark obsolete.
10148 * emacs-lisp/autoload.el: Use lexical-binding.
10149 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10150
10151 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10152
10153 * textmodes/ispell.el (ispell-with-no-warnings):
10154 Define as a macro.
10155 (ispell-kill-ispell, ispell-change-dictionary):
10156 Use `called-interactively-p' for Emacs instead of obsolete
10157 `interactive-p'.
10158
10159 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10160
10161 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10162 (macro-declaration-function): Move var from C code.
10163 (macro-declaration-function): Define function with defalias.
10164 * emacs-lisp/macroexp.el (macroexpand-all-1):
10165 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10166 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10167 defun/defmacro any more.
10168 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10169 Provide fallback for unknown arglist.
10170 (byte-compile-arglist-warn): Change calling convention.
10171 (byte-compile-output-file-form): Move print-vars binding.
10172 (byte-compile-output-docform): Simplify accordingly.
10173 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10174 (byte-compile-defmacro-declaration): Remove.
10175 (byte-compile-file-form-defmumble): Generalize to defalias.
10176 (byte-compile-output-as-comment): Return byte-positions.
10177 Simplify callers accordingly.
10178 (byte-compile-lambda): Use `assert'.
10179 (byte-compile-defun, byte-compile-defmacro): Remove.
10180 (byte-compile-file-form-defalias):
10181 Use byte-compile-file-form-defmumble.
10182 (byte-compile-defalias-warn): Remove.
10183
10184 2012-05-29 Stefan Merten <smerten@oekonux.de>
10185
10186 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10187 possible. Fix authors. Improve comments. Improve loading of `cl'.
10188
10189 (rst-mode-abbrev-table): Merge definition.
10190 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10191 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10192
10193 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10194
10195 * calendar/icalendar.el
10196 (icalendar-export-region): Export UID properly.
10197
10198 2012-05-29 Leo Liu <sdl.web@gmail.com>
10199 * calendar/icalendar.el (icalendar-import-format):
10200 Add `icalendar-import-format-uid' (Bug#11525).
10201 (icalendar-import-format-uid): New.
10202 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10203 Export UID.
10204
10205 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10206
10207 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10208 different alternative patterns.
10209 (pcase-codegen): Be more careful to preserve identity.
10210 (pcase--u1): Don't forget to mark vars as used.
10211
10212 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10213 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10214 (byte-compile-from-buffer): ...rather than here.
10215
10216 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10217 functions from byte-compile-function-environment.
10218
10219 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10220
10221 * window.el (window-deletable-p): Avoid deleting the root window
10222 of a frame with an active minibuffer.
10223
10224 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10225
10226 * simple.el (choose-completion): Use quit-window (Bug#11567).
10227
10228 2012-05-29 Chong Yidong <cyd@gnu.org>
10229
10230 * whitespace.el (whitespace-cleanup): Fix usage of
10231 whitespace-empty-at-bob-regexp (Bug#11492).
10232
10233 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10234
10235 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10236 revert (Bug#11488).
10237
10238 2012-05-29 Juri Linkov <juri@jurta.org>
10239
10240 * isearch.el (isearch-mode-map): Bind `M-s _' to
10241 `isearch-toggle-symbol'. Bind `M-s c' to
10242 `isearch-toggle-case-fold'.
10243 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10244 (isearch-forward): Add `M-s _' to the docstring.
10245 (isearch-forward-symbol, isearch-toggle-case-fold)
10246 (isearch-symbol-regexp): New functions. (Bug#11381)
10247
10248 2012-05-29 Juri Linkov <juri@jurta.org>
10249
10250 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10251 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10252 a function, call it to get the regexp.
10253 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10254 property `isearch-message-prefix' instead of the string "word ".
10255 (isearch-search-fun-default): For the case of `isearch-word',
10256 return a lambda that calls re-search-forward/re-search-backward
10257 with a regexp returned by `word-search-regexp' or by the function
10258 in `isearch-word'.
10259
10260 2012-05-29 Juri Linkov <juri@jurta.org>
10261
10262 * isearch.el (isearch-search-fun-default): New function.
10263 (isearch-search-fun): Move default part to the new function
10264 `isearch-search-fun-default'.
10265 (isearch-search-fun-function): Set the default value to
10266 `isearch-search-fun-default'. (Bug#11381)
10267
10268 * comint.el (comint-history-isearch-end):
10269 Use `isearch-search-fun-default'.
10270 (comint-history-isearch-search): Use `isearch-search-fun-default'
10271 and remove spacial case for `isearch-word'.
10272 (comint-history-isearch-wrap): Remove spacial case for
10273 `isearch-word'.
10274
10275 * hexl.el (hexl-isearch-search-function):
10276 Use `isearch-search-fun-default'.
10277
10278 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10279 Use `word-search-regexp' for `isearch-word'.
10280
10281 * misearch.el (multi-isearch-search-fun):
10282 Use `isearch-search-fun-default'.
10283
10284 * simple.el (minibuffer-history-isearch-search):
10285 Use `isearch-search-fun-default' and remove spacial case for
10286 `isearch-word'.
10287 (minibuffer-history-isearch-wrap): Remove spacial case for
10288 `isearch-word'.
10289
10290 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10291 Remove spacial case for `isearch-word'.
10292 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10293
10294 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10295
10296 Decrease XEmacs incompatibilities.
10297 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10298 Use `string-match'.
10299 (flyspell-delete-region-overlays): Use alternative definition for
10300 XEmacs.
10301 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10302 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10303 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10304 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10305 `define-obsolete-face-alias' under XEmacs, but old method.
10306
10307 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10308 `with-no-warnings' definition or Emacs alias.
10309 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10310 (ispell-word): Do not use `region-p' if XEmacs.
10311
10312 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10313
10314 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10315 Check for `ispell-dictionary-base-alist' instead of full
10316 `ispell-dictionary-alist'.
10317 (ispell-init-process): Show spellchecker when starting new Ispell
10318 process.
10319
10320 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10321
10322 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10323 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10324
10325 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10326
10327 * version.el (motif-version-string, gtk-version-string)
10328 (ns-version-string): Declare.
10329
10330 2012-05-27 Juri Linkov <juri@jurta.org>
10331
10332 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10333 after the `eval-defun-1' specialcaseing
10334 like in `edebug-eval-defun' (bug#10181).
10335
10336 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10337 like in `eval-defun-1'.
10338
10339 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10340
10341 * mail/sendmail.el (mail-yank-region):
10342 Recognize rmail-yank-current-message in addition to insert-buffer.
10343 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10344 a *mail* buffer created through rmail-start-mail with sendmail as
10345 mail-user-agent.
10346
10347 2012-05-27 Chong Yidong <cyd@gnu.org>
10348
10349 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10350 Default to 256 (Bug#11267).
10351
10352 * help.el (describe-mode): Doc fix.
10353
10354 2012-05-26 Glenn Morris <rgm@gnu.org>
10355
10356 * w32-fns.el (w32-init-info): Remove.
10357 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10358
10359 * info.el (info-initialize): For self-contained NS builds, put the
10360 included info/ directory at the front. (Bug#2791)
10361
10362 * paths.el (Info-default-directory-list): Make it a defcustom,
10363 mainly so that we can use custom-initialize-delay.
10364
10365 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10366
10367 * subr.el (buffer-has-markers-at): Mark obsolete.
10368
10369 * subr.el (lambda): Use declare.
10370
10371 * emacs-lisp/lisp-mode.el (lambda):
10372 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10373
10374 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10375
10376 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10377
10378 2012-05-26 Glenn Morris <rgm@gnu.org>
10379
10380 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10381
10382 2012-05-25 Glenn Morris <rgm@gnu.org>
10383
10384 * paths.el: Remove no-byte-compile.
10385 * loadup.el: No need to load paths.el uncompiled.
10386
10387 * image.el (imagemagick-types-inhibit): Doc fix.
10388
10389 * version.el: Remove no-byte-compile and associated formatting.
10390 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10391 is ancient code from when there was an "inc-vers.el".
10392
10393 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10394
10395 * progmodes/gdb-mi.el: Minor style changes.
10396 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10397 Turn into minor modes.
10398 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10399 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10400 (gdb-shell): Remove unneeded let-binding.
10401 (gdb-get-many-fields): Eliminate O(n²) behavior.
10402
10403 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10404
10405 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10406 platforms that don't link in fontset.c.
10407
10408 2012-05-25 Juri Linkov <juri@jurta.org>
10409
10410 Use the same diff color scheme as in modern VCSes (bug#10181).
10411
10412 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10413 to avoid confusion with `diff-added' that now uses green colors.
10414 (diff-removed): Use shades of red.
10415 (diff-added): Use shades of green.
10416 (diff-changed): Leave just the yellow color.
10417 (diff-use-changed-face): New variable.
10418 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10419 how to highlight context diff changes.
10420 (diff-refine-change): Use shades of yellow.
10421 (diff-refine-removed): New face that uses shades of red.
10422 (diff-refine-added): New face that uses shades of green.
10423 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10424 `diff-refine-removed' in the call to `smerge-refine-subst'
10425 depending on the value of `diff-use-changed-face'.
10426
10427 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10428 (smerge-other): Use shades of green.
10429 (smerge-base): Use shades of yellow.
10430 (smerge-refined-change): Empty face.
10431 (smerge-refined-removed): New face that uses shades of red.
10432 (smerge-refined-added): New face that uses shades of green.
10433 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10434 args `props-r' and `props-a', and use them. Doc fix.
10435 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10436 on its value use different faces `smerge-refined-change',
10437 `smerge-refined-removed', `smerge-refined-added' in the call to
10438 `smerge-refine-subst'.
10439
10440 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10441 Add face condition `min-colors 88' with shades of red.
10442 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10443 `min-colors 88' with shades of green.
10444 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10445 `min-colors 88' with shades of yellow.
10446
10447 2012-05-24 Glenn Morris <rgm@gnu.org>
10448
10449 * paths.el (prune-directory-list, remote-shell-program): Move to...
10450 * files.el (prune-directory-list, remote-shell-program): ...here.
10451 For the latter, delay initialization, prefer ssh, just search PATH.
10452
10453 * paths.el (term-file-prefix): Move to faces.el (the only user).
10454 * faces.el (term-file-prefix): Move here, make it a defcustom.
10455
10456 * paths.el (news-directory, news-path, news-inews-program):
10457 Move to gnus/nnspool.el.
10458
10459 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10460
10461 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10462 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10463 Make the latter a defcustom, with a delayed initialization.
10464
10465 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10466 These were deleted from Gnus itself late 2010.
10467
10468 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10469
10470 * progmodes/which-func.el (which-func-ff-hook):
10471 Check against user-error, not error.
10472
10473 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10474 cl-specs.el, which no longer exists.
10475
10476 2012-05-22 Glenn Morris <rgm@gnu.org>
10477
10478 * info.el (info-emacs-bug): New command.
10479 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10480 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10481
10482 2012-05-21 Glenn Morris <rgm@gnu.org>
10483
10484 * makefile.w32-in (update-subdirs-SH):
10485 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10486
10487 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10488
10489 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10490
10491 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10492 Simplify Maven regexp, and make sure the file can't start with a space
10493 (bug#11517).
10494
10495 2012-05-21 Glenn Morris <rgm@gnu.org>
10496
10497 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10498 Scrap superfluous subshells.
10499
10500 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10501
10502 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10503 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10504
10505 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10506
10507 * calc/calc.el (calc-ensure-consistent-units): New variable.
10508
10509 * calc/calc-units.el (math-consistent-units-p)
10510 (math-check-unit-consistency): New functions.
10511 (calc-quick-units, calc-convert-units):
10512 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10513 is non-nil.
10514 (calc-extract-units): Fix typo.
10515
10516 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10517
10518 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10519
10520 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10521 (flyspell-default-deplacement-commands): Don't spell check after
10522 repeated window/frame switches (e.g. triggered by mouse-movement).
10523 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10524 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10525 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10526 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10527 Remove unused vars.
10528 (flyspell-get-casechars, flyspell-get-not-casechars):
10529 Simplify; Don't bother removing a ] just to add it back.
10530 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10531
10532 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10533
10534 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10535 New functions.
10536 (math-function-table): Add support for more C functions.
10537
10538 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10539
10540 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10541 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10542 Protect delay handling for otherchars against empty otherchars.
10543
10544 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10545
10546 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10547 their respective macro declarations.
10548 * skeleton.el (define-skeleton):
10549 * progmodes/compile.el (define-compilation-mode):
10550 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10551 (define-ibuffer-filter):
10552 * emacs-lisp/generic.el (define-generic-mode):
10553 * emacs-lisp/easy-mmode.el (define-minor-mode)
10554 (define-globalized-minor-mode):
10555 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10556 * emacs-lisp/byte-run.el (defsubst):
10557 * custom.el (deftheme): Add doc-string metadata.
10558
10559 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10560
10561 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10562
10563 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10564
10565 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10566
10567 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10568 * emacs-lisp/cl-macs.el: Idem.
10569 * emacs-lisp/cl-specs.el: Remove.
10570
10571 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10572
10573 Minor renaming of internal CL functions and variables.
10574 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10575 (cl--position): Rename from cl-position.
10576 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10577 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10578 (cl--random-state): Rename from *random-state*.
10579
10580 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10581
10582 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10583 parens around the arg list (bug#11499).
10584
10585 2012-05-17 Juri Linkov <juri@jurta.org>
10586
10587 * isearch.el (word-search-regexp, word-search-backward)
10588 (word-search-forward, word-search-backward-lax)
10589 (word-search-forward-lax): Move functions from search.c
10590 (bug#10145, bug#11381).
10591
10592 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10593
10594 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10595 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10596 Delay for otherchars as for normal word components.
10597
10598 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10599
10600 * minibuffer.el (completion--sifn-requote): Fix last change.
10601 (minibuffer-local-must-match-filename-map):
10602 Move define-obsolete-variable-alias before its var.
10603
10604 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10605
10606 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10607
10608 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10609 behavior.
10610 (completion--string-equal-p): New function.
10611 (completion--twq-all): Use it to get better assertion failure data.
10612
10613 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10614 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10615 (shell--requote-argument): New functions.
10616 (shell-completion-vars): Use them.
10617 (shell--parse-pcomplete-arguments): Rename from
10618 shell-parse-pcomplete-arguments.
10619 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10620 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10621 Obey comint-file-name-quote-list.
10622
10623 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10624 (smie-indent-keyword): Use it.
10625
10626 2012-05-14 Stefan Merten <smerten@oekonux.de>
10627
10628 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10629
10630 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10631
10632 * net/rlogin.el (rlogin-mode-map): Fix last change.
10633
10634 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10635
10636 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10637 the following \r\n using a single `process-send-string', since the
10638 Lotus SMTP server refuses to accept any commands if they are sent
10639 with two `process-send-string's (Bug#11444).
10640
10641 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10642
10643 * shell.el (shell-parse-pcomplete-arguments):
10644 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10645
10646 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10647
10648 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10649 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10650 (image-transform-width, image-transform-fit-width): New functions.
10651 (image-transform-properties): Use them.
10652 (image-transform-check-size): New function.
10653 (image-toggle-display-image): Use it (for testing).
10654 (image-transform-set-rotation): Reduce angle mod 360.
10655 Delete obsolete comment.
10656
10657 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10658
10659 * image-mode.el: Fix scaling (bug#11399).
10660 (image-transform-resize): Doc fix.
10661 (image-transform-properties): Default scale is 1 and height should
10662 be an integer.
10663
10664 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10665
10666 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10667 than hard-coding `car', to fix misbehavior when moving forward.
10668
10669 2012-05-13 Chong Yidong <cyd@gnu.org>
10670
10671 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10672 (tabulated-list-entries, tabulated-list-padding)
10673 (tabulated-list-sort-key): Make permanent-local.
10674
10675 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10676 (electric-buffer-list): Put electric buffer menu
10677 command descriptions in this docstring, instead of the docstring
10678 of electric-buffer-menu-mode. Code cleanups.
10679 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10680 Electric-buffer-menu-mode.
10681 (electric-buffer-update-highlight): Minor code cleanup.
10682
10683 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10684
10685 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10686 (Bug#11447)
10687
10688 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10689
10690 Move define-obsolete-variable-alias before the var's definition.
10691 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10692 * tooltip.el (tooltip-hook):
10693 * textmodes/reftex-toc.el (reftex-toc-map):
10694 * textmodes/reftex-sel.el (reftex-select-label-map)
10695 (reftex-select-bib-map):
10696 * textmodes/reftex-index.el (reftex-index-map)
10697 (reftex-index-phrases-map):
10698 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10699 * progmodes/meta-mode.el (meta-mode-map):
10700 * novice.el (disabled-command-hook):
10701 * loadhist.el (unload-hook-features-list):
10702 * frame.el (blink-cursor):
10703 * files.el (find-file-not-found-hooks, write-file-hooks)
10704 (write-contents-hooks):
10705 * emulation/tpu-edt.el (GOLD-map):
10706 * emacs-lock.el (emacs-lock-from-exiting):
10707 * emacs-lisp/generic.el (generic-font-lock-defaults):
10708 * emacs-lisp/chart.el (chart-map):
10709 * dos-fns.el (register-name-alist):
10710 * dired-x.el (dired-omit-files-p):
10711 * desktop.el (desktop-enable):
10712 * cus-edit.el (custom-mode-hook):
10713 * buff-menu.el (buffer-menu-mode-hook):
10714 * bookmark.el (bookmark-read-annotation-text-func)
10715 (bookmark-exit-hooks):
10716 * allout.el (allout-mode-deactivate-hook)
10717 (allout-exposure-change-hook, allout-structure-added-hook)
10718 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10719 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10720 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10721 comes before the corresponding variable's definition.
10722
10723 2012-05-12 Chong Yidong <cyd@gnu.org>
10724
10725 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10726 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10727 (Buffer-menu-mode-map): Bind it.
10728 (Buffer-menu--pretty-name): Add a mouse-face property.
10729
10730 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10731
10732 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10733 (prolog-upper-case-string, prolog-lower-case-string)
10734 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10735 (prolog-use-smie, prolog-smie-grammar): New vars.
10736 (prolog-smie-forward-token, prolog-smie-backward-token)
10737 (prolog-smie-rules): New funs.
10738 (prolog-comment-indent): Remove.
10739 (prolog-mode-variables): Use default comment indentation instead.
10740 Setup SMIE.
10741 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10742 (prolog-mode): Don't call them any more.
10743 (prolog-electric-colon, prolog-electric-dash)
10744 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10745
10746 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10747
10748 * minibuffer.el (completion--twq-all): Again, allow case differences.
10749
10750 * term.el: Move keymap initialization code to be more idiomatic.
10751 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10752 (term-terminal-menu): Move initialization into declaration.
10753 (term-escape-char): Let the user set it in her .emacs.
10754
10755 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10756 Provide SMIE-based indentation (not enabled by default yet).
10757 (sh-mode-map): Don't bind electric keys.
10758 Use electric-pair-mode instead of skeleton-pair.
10759 (sh-assignment-regexp): Fit within 80 columns.
10760 (sh-indent-supported): Specify actual shell name instead of boolean.
10761 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10762 (sh-maybe-here-document): Use it. Make obsolete.
10763 (sh-electric-here-document-mode) New minor mode.
10764 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10765 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10766 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10767 (sh-smie-rc-grammar, sh-use-smie): New vars.
10768 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10769 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10770 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10771 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10772 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10773 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10774 (sh-set-shell): Use smie-setup if requested.
10775
10776 * term.el (term-set-escape-char): Properly set term-escape-char.
10777 See http://stackoverflow.com/questions/10524656.
10778
10779 2012-05-10 Chong Yidong <cyd@gnu.org>
10780
10781 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10782 Use url-generic-parse-url, and handle host names and Windows
10783 filenames properly.
10784 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10785 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10786 URL schemes to work on.
10787 (ffap--toggle-read-only): New function.
10788 (ffap-read-only, ffap-read-only-other-window)
10789 (ffap-read-only-other-frame): Use it.
10790 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10791 necessary for ffap-url-unwrap-remote.
10792
10793 2012-05-10 Dave Abrahams <dave@boostpro.com>
10794
10795 * cus-start.el (create-lockfiles): Add it.
10796
10797 2012-05-09 Chong Yidong <cyd@gnu.org>
10798
10799 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10800 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10801
10802 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10803
10804 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10805
10806 2012-05-09 Chong Yidong <cyd@gnu.org>
10807
10808 * ansi-color.el (ansi-color-process-output): Check for validity of
10809 comint-last-output-start before using it. This avoids a bad
10810 interaction with gdb-mi's input/output buffer.
10811
10812 2012-05-09 Glenn Morris <rgm@gnu.org>
10813
10814 * files.el (dir-locals-read-from-file):
10815 Mention dir-locals in any error message.
10816
10817 2012-05-09 Chong Yidong <cyd@gnu.org>
10818
10819 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10820 package (Bug#11410).
10821
10822 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10823 variables into description.
10824
10825 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10826
10827 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10828 shell-delimiter-argument-list (bug#11348).
10829 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10830
10831 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
10832
10833 * textmodes/rst.el: Silence byte-compiler warnings.
10834 (rst-re-alist, rst-reset-section-caches): Move around.
10835 (rst-re): Use `characterp', not `char-valid-p'.
10836 (font-lock-beg, font-lock-end): Declare.
10837
10838 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10839 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10840
10841 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10842
10843 2012-05-08 Glenn Morris <rgm@gnu.org>
10844
10845 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10846
10847 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10848
10849 * vc/log-edit.el: Add GNU coding standards highlighting.
10850 (log-edit-font-lock-gnu-style)
10851 (log-edit-font-lock-gnu-keywords): New vars.
10852 (log-edit-font-lock-keywords): New fun.
10853 (log-edit-mode): Don't fold case in font-lock.
10854 (log-edit-font-lock-keywords): Do not assume case-folding.
10855
10856 * imenu.el: Misc cleanup. Make docstrings out of comments.
10857 Use lexical-binding.
10858 (imenu--index-alist, imenu--last-menubar-index-alist)
10859 (imenu-menubar-modified-tick): Use defvar-local.
10860 (imenu--split-menu): Remove unused var.
10861 (imenu--cleanup-seen): Declare as global.
10862 (imenu--cleanup): Use dolist.
10863
10864 * subr.el (defvar-local): Add debug spec and doc-string position.
10865
10866 2012-05-08 Glenn Morris <rgm@gnu.org>
10867
10868 * language/burmese.el, language/cham.el, language/czech.el:
10869 * language/english.el, language/georgian.el, language/greek.el:
10870 * language/japanese.el, language/khmer.el, language/korean.el:
10871 * language/lao.el, language/misc-lang.el, language/romanian.el:
10872 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10873 * language/thai.el, language/utf-8-lang.el:
10874 Remove no-byte-compile setting.
10875
10876 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10877
10878 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10879
10880 * progmodes/make-mode.el (makefile-browse):
10881 Remove unnecessary interactive. (Bug#11324)
10882
10883 2012-05-07 Glenn Morris <rgm@gnu.org>
10884
10885 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10886
10887 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10888
10889 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10890
10891 * loadup.el: Preload newcomment.el.
10892 * newcomment.el: Move autoload-only code to toplevel.
10893
10894 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10895 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10896 Handle new :right-align column property.
10897 (tabulated-list-print-col): Idem, plus use `display' text-property to
10898 try and preserve alignment for variable pitch fonts.
10899
10900 2012-05-07 Chong Yidong <cyd@gnu.org>
10901
10902 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10903 (tabulated-list-use-header-line): New var.
10904 (tabulated-list-init-header): Use it.
10905 (tabulated-list-print-fake-header): New function.
10906 (tabulated-list-print): Use it.
10907 (tabulated-list-sort-button-map): Add non-header-line commands.
10908 (tabulated-list-init-header): Add column name property to basic
10909 labels as well.
10910 (tabulated-list-col-sort): Handle non-header-line button case.
10911 (tabulated-list--sort-by-column-name): Fix a corner case.
10912
10913 * buff-menu.el (list-buffers--refresh):
10914 Handle Buffer-menu-use-header-line.
10915
10916 2012-05-06 Chong Yidong <cyd@gnu.org>
10917
10918 * buff-menu.el: Convert to Tabulated List mode.
10919 (Buffer-menu-buffer+size-width): Make obsolete.
10920 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10921 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10922 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10923 documentation into docstring of buffer-menu.
10924 (Buffer-menu-toggle-files-only): Add an informative message.
10925 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10926 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10927 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10928 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10929 (Buffer-menu-execute, Buffer-menu-select)
10930 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10931 (Buffer-menu-bury): Use Tabulated List machinery.
10932 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10933 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
10934 Delete.
10935 (list-buffers--refresh): New function.
10936 (list-buffers-noselect): Use it.
10937 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10938 (Buffer-menu--pretty-file-name): New helper functions.
10939
10940 * loadup.el: Preload tabulated-list.
10941
10942 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10943 tabulated-list-sort-column.
10944 (tabulated-list-init-header): Add the initial aligning space even
10945 if tabulated-list-padding is zero.
10946
10947 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10948
10949 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10950 whose cdr is not a cons cell correctly (bug#11038).
10951
10952 2012-05-06 Chong Yidong <cyd@gnu.org>
10953
10954 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10955 Accept additional plist in column descriptors.
10956 (tabulated-list-init-header): Obey it.
10957 (tabulated-list-get-entry): New function.
10958 (tabulated-list-put-tag): Use it. Use string-width instead of
10959 length.
10960 (tabulated-list--column-number): New function.
10961 (tabulated-list-print): Use it.
10962 (tabulated-list-print-col): New function.
10963 Set `tabulated-list-column-name' property on each column's text.
10964 (tabulated-list-print-entry): Use it.
10965 (tabulated-list-delete-entry, tabulated-list-set-col):
10966 New functions.
10967 (tabulated-list-sort-column): New command (Bug#11337).
10968
10969 * buff-menu.el (list-buffers): Move C-x C-b binding from
10970 buff-menu.el to bindings.el.
10971
10972 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10973 :advertised-binding feature.
10974
10975 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10976
10977 * progmodes/compile.el (compilation-internal-error-properties):
10978 Calculate start position correctly when end-col is set but
10979 end-line is not (Bug#11382).
10980
10981 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10982
10983 * man.el (Man-unindent): Use text-property-default-nonsticky to
10984 prevent untabify from inheriting face properties (Bug#11408).
10985
10986 2012-05-05 Stefan Merten <smerten@oekonux.de>
10987
10988 * textmodes/rst.el: Major merge with upstream development up to
10989 Docutils SVN r7399 / rst.el V1.2.1.
10990
10991 Clarify maintainership and authors.
10992
10993 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10994 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10995 (rst-official-version, rst-official-cvs-rev, rst-version)
10996 (rst-package-emacs-version-alist): New functions and variables
10997 for version information.
10998
10999 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11000 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11001 (rst-mode-syntax-table, rst-mode): New and corrected functions
11002 and variables representing reStructuredText features.
11003
11004 (rst-re): New function for reStructuredText regexes. Use in
11005 many places.
11006
11007 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11008 (rst-mode-map): Rebind keys.
11009
11010 (rst-mode-lazy, rst-font-lock-keywords)
11011 (rst-font-lock-extend-region)
11012 (rst-font-lock-extend-region-internal)
11013 (rst-font-lock-extend-region-extend)
11014 (rst-font-lock-find-unindented-line-limit)
11015 (rst-font-lock-find-unindented-line-match)
11016 (rst-adornment-level, rst-font-lock-adornment-level)
11017 (rst-font-lock-adornment-match)
11018 (rst-font-lock-handle-adornment-pre-match-form)
11019 (rst-font-lock-handle-adornment-matcher): Major revision of
11020 font-locking. Integrate with other code. Use `jit-lock-mode'.
11021
11022 (rst-preferred-adornments, rst-adjust-hook)
11023 (rst-new-adornment-down, rst-preferred-bullets)
11024 (rst-preferred-bullets, rst-indent, rst-indent-width)
11025 (rst-indent-field, rst-indent-literal-normal)
11026 (rst-indent-literal-minimized, rst-indent-comment): Change,
11027 extend and improve customization.
11028
11029 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11030 (rst-normalize-cursor-position, rst-get-decoration)
11031 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11032 (rst-rstrip, rst-toc-insert-find-delete-contents)
11033 (rst-shift-fill-region, rst-compute-bullet-tabs)
11034 (rst-debug-print-tabs, rst-debug-mark-found)
11035 (rst-shift-region-guts, rst-shift-region-right)
11036 (rst-shift-region-left, rst-use-char-classes)
11037 (rst-font-lock-keywords-function)
11038 (rst-font-lock-indentation-point)
11039 (rst-font-lock-find-unindented-line-begin)
11040 (rst-font-lock-find-unindented-line-end)
11041 (rst-font-lock-find-unindented-line)
11042 (rst-font-lock-adornment-point, rst-font-lock-level)
11043 (rst-adornment-level-alist): Remove functions and variables.
11044
11045 (rst-compare-adornments, rst-get-adornment-match)
11046 (rst-suggest-new-adornment, rst-get-adornments-around)
11047 (rst-adornment-complete-p, rst-get-next-adornment)
11048 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11049 (rst-straighten-adornments): Standardize function names to
11050 use "adornment" instead of "decoration". Correct callers.
11051 Similar standardizing in many places.
11052
11053 (rst-update-section, rst-adjust, rst-promote-region)
11054 (rst-enumerate-region, rst-bullet-list-region)
11055 (rst-repeat-last-character): Correct use of `interactive'.
11056
11057 (rst-classify-adornment, rst-find-all-adornments)
11058 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11059 (rst-find-leftmost-column, rst-repeat-last-character):
11060 Refactor functions.
11061
11062 (rst-find-title-line, rst-reset-section-caches)
11063 (rst-get-adornments-around, rst-adjust-adornment-work)
11064 (rst-arabic-to-roman, rst-roman-to-arabic)
11065 (rst-insert-list-pos, rst-insert-list-new-item)
11066 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11067 New functions.
11068
11069 (rst-all-sections, rst-section-hierarchy)
11070 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11071 New variables.
11072
11073 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11074 configuration instead of only buffer. Change where necessary.
11075
11076 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11077 (rst-shift-region, rst-adaptive-fill): New functions for
11078 indentation and filling.
11079
11080 (rst-comment-line-break, rst-comment-indent)
11081 (rst-comment-insert-comment, rst-comment-region)
11082 (rst-uncomment-region): New functions for handling comments.
11083
11084 (rst-compile): Quote shell arguments.
11085
11086 (rst-compile-pdf-preview, rst-compile-slides-preview):
11087 Delete temporary files after use.
11088
11089 2012-05-05 Glenn Morris <rgm@gnu.org>
11090
11091 * calendar/cal-html.el: Optionally include holidays in the output.
11092 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11093 (cal-html-holidays): New option.
11094 (cal-html-css-default): Add holiday entry.
11095 (holiday-in-range): Autoload it.
11096 (cal-html-htmlify-entry): Add optional class argument.
11097 (cal-html-htmlify-list): Add optional holidays argument.
11098 (cal-html-insert-agenda-days): Include holidays in the output.
11099 (cal-html-one-month): Maybe include holidays.
11100
11101 * calendar/holidays.el (holiday-in-range):
11102 Move here from cal-tex-list-holidays.
11103 * calendar/cal-tex.el (cal-tex-list-holidays):
11104 Make it an obsolete alias for holiday-in-range. Update all callers.
11105
11106 2012-05-05 Chong Yidong <cyd@gnu.org>
11107
11108 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11109 Nextstep.
11110
11111 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11112
11113 * files.el (file-auto-mode-skip): New var.
11114 (set-auto-mode-1): Use it.
11115
11116 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11117
11118 * repeat.el: Use lexical-binding.
11119 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11120 (repeat-undo-count): Remove.
11121 (repeat):
11122 * progmodes/octave-mod.el (octave-abbrev-start):
11123 * progmodes/f90.el (f90-abbrev-start):
11124 * face-remap.el (text-scale-adjust):
11125 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11126
11127 * emacs-lisp/pcase.el (pcase--let*): New function.
11128 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11129 a bit more.
11130 (pcase--split-pred): Be more clever about ruling out overlap between
11131 a predicate and some constant pattern.
11132 (pcase--q1): Use `null' instead of (eq foo nil).
11133
11134 * subr.el (setq-local, defvar-local): New macros.
11135 (kbd): Redefine as an alias.
11136 (with-selected-window): Leave unrelated frames alone.
11137 (set-temporary-overlay-map): New function.
11138
11139 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11140
11141 * subr.el (user-error): New function.
11142 * window.el (switch-to-buffer):
11143 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11144 (smerge-match-conflict):
11145 * simple.el (previous-matching-history-element)
11146 (next-matching-history-element, goto-history-element, undo-more)
11147 (undo-start):
11148 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11149 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11150 (next-file, tags-loop-scan, list-tags, complete-tag):
11151 * progmodes/compile.el (compilation-loop):
11152 * mouse.el (mouse-minibuffer-check):
11153 * man.el (Man-bgproc-sentinel, Man-goto-page):
11154 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11155 (Info-history-forward, Info-follow-reference, Info-menu)
11156 (Info-extract-menu-item, Info-extract-menu-counting)
11157 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11158 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11159 (Info-next-reference, Info-prev-reference, Info-index)
11160 (Info-index-next, Info-follow-nearest-node)
11161 (Info-copy-current-node-name):
11162 * imenu.el (imenu--make-index-alist)
11163 (imenu-default-create-index-function, imenu-add-to-menubar):
11164 * files.el (basic-save-buffer, recover-file):
11165 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11166 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11167 (checkdoc-message-text, checkdoc-defun):
11168 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11169 * cus-edit.el (customize-changed-options, customize-rogue)
11170 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11171 (custom-variable-mark-to-reset-standard)
11172 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11173 (custom-file):
11174 * completion.el (check-completion-length):
11175 * comint.el (comint-search-arg)
11176 (comint-previous-matching-input-string-position)
11177 (comint-previous-matching-input)
11178 (comint-replace-by-expanded-history-before-point, comint-send-input)
11179 (comint-copy-old-input, comint-backward-matching-input)
11180 (comint-goto-process-mark, comint-set-process-mark):
11181 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11182 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11183
11184 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11185
11186 * dabbrev.el (dabbrev--ignore-case-p): New function.
11187 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11188 Use it.
11189
11190 * files.el (automount-dir-prefix): Mark as obsolete.
11191
11192 2012-05-04 Glenn Morris <rgm@gnu.org>
11193
11194 * patcomp.el, play/bruce.el: Move to obsolete/.
11195
11196 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11197
11198 Fix minor Y10k bugs.
11199 * arc-mode.el (archive-unixdate):
11200 * autoinsert.el (auto-insert-alist):
11201 * calc/calc-forms.el (math-this-year):
11202 * emacs-lisp/copyright.el (copyright-current-year)
11203 (copyright-update-year, copyright):
11204 * tar-mode.el (tar-clip-time-string):
11205 * time.el (display-time-update):
11206 Don't assume years have 4 digits.
11207
11208 2012-05-04 Chong Yidong <cyd@gnu.org>
11209
11210 * dos-w32.el (file-name-buffer-file-type-alist)
11211 (direct-print-region-use-command-dot-com):
11212 * ffap.el (ffap-menu-regexp):
11213 * find-file.el (ff-special-constructs):
11214 * follow.el (follow-debug):
11215 * forms.el (forms--debug):
11216 * iswitchb.el (iswitchb-all-frames):
11217 * ido.el (ido-all-frames):
11218 * emacs-lisp/timer.el (timer-max-repeats):
11219 * mail/feedmail.el (feedmail-mail-send-hook)
11220 (feedmail-mail-send-hook-queued):
11221 * mail/footnote.el (footnote-signature-separator):
11222 * mail/mailabbrev.el (mail-alias-separator-string)
11223 (mail-abbrev-mode-regexp):
11224 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11225 * progmodes/idlwave.el (idlwave-libinfo-file)
11226 (idlwave-default-completion-case-is-down)
11227 (idlwave-library-routines): Convert defvars to defcustoms.
11228
11229 * mail/rmail.el (rmail-decode-mime-charset):
11230 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11231 (idlwave-shell-fix-inserted-breaks)
11232 (idlwave-shell-activate-alt-keybindings)
11233 (idlwave-shell-use-breakpoint-glyph):
11234 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11235
11236 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11237
11238 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11239
11240 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11241
11242 * progmodes/verilog-mode.el (font-lock-keywords):
11243 Fix mis-highligting auto. Reported by Craig Barner.
11244 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11245 defines from global name space. Reported by Dan Dever.
11246 (verilog-auto-reset, verilog-auto-reset-widths)
11247 (verilog-auto-tieoff): Support using unbased numbers for
11248 AUTORESET and AUTOTIEOFF.
11249 (verilog-submit-bug-report): Update variable list.
11250 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11251 parenthesis from not matching. Reported by Michael Rytting.
11252 (verilog-auto-template-lint): Fix hash error when linting modules
11253 with no used templates.
11254 (verilog-warn, verilog-warn-error)
11255 (verilog-warn-fatal): When non-interactive report multiple
11256 warnings before exiting. Suggested by Brad Dobbie.
11257 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11258 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11259 to report unused template errors. Reported by Brad Dobbie.
11260 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11261 nets, bug438. Reported by Vns Blore.
11262 (verilog-auto-inout-module, verilog-auto-reg)
11263 (verilog-read-decls, verilog-read-sub-decls-sig)
11264 (verilog-signals-edit-wire-reg, verilog-signals-with):
11265 Fix passing of Verilog data types in ANSI input/output ports
11266 such as "output logic" into the AUTOs. Special case "wire" and
11267 "reg" for backwards compatibility presuming Verilog 2001.
11268 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11269 (verilog-preprocess): Fix replication of preprocess output.
11270 Reported by Brad Dobbie.
11271 (verilog-auto-inst-interfaced-ports):
11272 Create verilog-auto-inst-interfaced-ports, bug429.
11273 Reported by Julian Gorfajn.
11274 (verilog-after-save-font-hook)
11275 (verilog-before-save-font-hook): New variable.
11276 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11277 (verilog-save-font-mods): Wrap disabling fontification, reported
11278 by David Rogoff.
11279 (verilog-do-indent, verilog-pretty-declarations-auto)
11280 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11281 Reported by Pierre-David Pfister.
11282 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11283 of class declarations, bug292. Reported by Kevin Heilman.
11284 (verilog-read-decls): Fix 'parameter type' not appearing in
11285 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11286 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11287 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11288 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11289 Reported by David Kravitz.
11290
11291 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11292
11293 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11294 assignment with tests in ifs and for loops.
11295 (verilog-extended-complete-re, verilog-complete-reg): Change so
11296 that DPI inport functions don't look like fuction declarations.
11297 (verilog-pretty-expr): Don't line up assignment
11298 operations to the test and increment in if and for loops
11299 (verilog-extended-complete-re, verilog-complete-reg): Change so
11300 that DPI inport functions don't look like fuction declarations.
11301
11302 2012-05-03 Kenichi Handa <handa@m17n.org>
11303
11304 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11305 decoding, and show a warning message without signaling an error
11306 (Bug#11282).
11307
11308 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11309
11310 * emacs-lisp/bytecomp.el
11311 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11312 since cconv.el might have introduced :fun-body, internal-make-closure,
11313 and friends for bytecomp to handle (bug#11391).
11314 * custom.el (defcustom): Avoid ((λ ..) ..).
11315
11316 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11317
11318 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11319
11320 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11321
11322 * notifications.el (dbus-debug):
11323 * term/linux.el (gpm-mouse-enable):
11324 * term/screen.el (xterm-register-default-colors): Declare.
11325
11326 2012-05-02 Chong Yidong <cyd@gnu.org>
11327
11328 * cus-start.el (gc-cons-percentage, exec-suffixes)
11329 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11330 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11331 (make-cursor-line-fully-visible, void-text-area-pointer)
11332 (font-list-limit): Add customization data.
11333
11334 * allout.el (allout-exposure-change-functions)
11335 (allout-structure-added-functions)
11336 (allout-structure-deleted-functions)
11337 (allout-structure-shifted-functions): Rename abnormal hooks from
11338 *-hook, and convert to defcustoms.
11339 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11340 Convert to defcustoms.
11341 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11342
11343 * allout-widgets.el: Hook callers changed.
11344
11345 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11346
11347 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11348 the yanked message in preference to the default value of
11349 buffer-file-coding-system.
11350
11351 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11352
11353 * window.el (display-buffer--action-function-custom-type):
11354 Fix entry.
11355
11356 2012-05-02 Alan Mackenzie <acm@muc.de>
11357
11358 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11359
11360 2012-05-01 Glenn Morris <rgm@gnu.org>
11361
11362 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11363
11364 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11365
11366 * cus-edit.el (custom-variable-documentation): Simplify with format.
11367
11368 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11369 Stefan Monnier <monnier@iro.umontreal.ca>
11370
11371 * simple.el (suggest-key-bindings, execute-extended-command):
11372 Move from keyboard.c.
11373
11374 2012-05-01 Chong Yidong <cyd@gnu.org>
11375
11376 * follow.el: Eliminate advice.
11377 (set-process-filter, process-filter, sit-for): Advice deleted.
11378 (follow-mode-off-hook): Obsolete hook removed.
11379 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11380 Vars deleted.
11381 (follow-auto): Use a :set function.
11382 (follow-mode): Rewritten. Don't advise process filters.
11383 (follow-switch-to-current-buffer-all, follow-scroll-up)
11384 (follow-scroll-down): Assume follow-mode is bound.
11385 (follow-comint-scroll-to-bottom)
11386 (follow-align-compilation-windows): New functions.
11387 (follow--window-sorter): New function.
11388 (follow-all-followers): Use it to explicitly sort windows by their
11389 positions; don't make assumptions about next-window order.
11390 (follow-windows-start-end, follow-delete-other-windows-and-split)
11391 (follow-calc-win-start): Doc fix.
11392 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11393 vertical-motion unnecessarily.
11394 (follow-adjust-window): New function.
11395 (follow-post-command-hook): Use it.
11396 (follow-call-set-process-filter, follow-call-process-filter)
11397 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11398 (follow-stop-intercept-process-output, follow-generic-filter):
11399 Functions deleted.
11400 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11401 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11402 New functions, replacing advice on scroll-bar-* commands.
11403 (follow-mwheel-scroll): New function (Bug#4112).
11404
11405 * comint.el (comint-adjust-point): New function.
11406 (comint-postoutput-scroll-to-bottom): Use it.
11407 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11408
11409 2012-05-01 Glenn Morris <rgm@gnu.org>
11410
11411 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11412 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11413 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11414 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11415 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11416 Remove no-byte-compile setting.
11417
11418 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11419
11420 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11421 all-completions code to not return a number in the last cdr.
11422
11423 2012-04-30 Leo Liu <sdl.web@gmail.com>
11424
11425 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11426 read-only error.
11427
11428 2012-04-29 Chong Yidong <cyd@gnu.org>
11429
11430 * follow.el (follow-calc-win-end): Rewrite to handle partial
11431 screen lines correctly (Bug#8390).
11432 (follow-avoid-tail-recenter): Minor cleanup.
11433
11434 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11435
11436 Avoid the obsolete `assoc' package.
11437 * speedbar.el (speedbar-refresh): Avoid adelete.
11438 (speedbar-file-lists): Simplify and avoid aput.
11439 * man.el (Man--sections, Man--refpages): New vars, replacing
11440 Man-sections-alist and Man-refpages-alist.
11441 (Man-build-section-alist, Man-build-references-alist):
11442 Use them; avoid aput.
11443 (Man--last-section, Man--last-refpage): New vars.
11444 (Man-follow-manual-reference): Use them.
11445 Use the `default' arg of completing-read.
11446 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11447
11448 2012-04-27 Chong Yidong <cyd@gnu.org>
11449
11450 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11451
11452 * startup.el (x-apply-session-resources): New function.
11453
11454 * term/ns-win.el (ns-initialize-window-system):
11455 * term/w32-win.el (w32-initialize-window-system):
11456 * term/x-win.el (x-initialize-window-system): Use it to properly
11457 set menu-bar-mode and other vars from X resources, even if the
11458 initial frame is not a window-system frame (Bug#2299).
11459
11460 * subr.el (read-key): Avoid running filter function when setting
11461 up temporary tool bar entries (Bug#9922).
11462
11463 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11464
11465 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11466 (Bug#11344)
11467
11468 2012-04-27 Chong Yidong <cyd@gnu.org>
11469
11470 * select.el (xselect--encode-string): New function, split from
11471 xselect-convert-to-string.
11472 (xselect-convert-to-string): Use it.
11473 (xselect-convert-to-filename, xselect-convert-to-os)
11474 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11475 returned strings are properly encoded (Bug#11315).
11476
11477 2012-04-27 Chong Yidong <cyd@gnu.org>
11478
11479 * simple.el (delete-active-region): Move to killing custom group.
11480
11481 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11482
11483 * progmodes/which-func.el (which-func-current): Quote %
11484 characters for mode-line processing.
11485
11486 2012-04-27 Chong Yidong <cyd@gnu.org>
11487
11488 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11489 reaching eob (Bug#11286).
11490
11491 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11492
11493 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11494 (gdb): Make it buffer-local and init to zero.
11495 (gdb-control-commands-regexp): New variable.
11496 (gdb-send): Don't wrap in "-interpreter-exec console" if
11497 gdb-control-level is positive. Increment gdb-control-level
11498 whenever the command matches gdb-control-commands-regexp, and
11499 decrement it each time the command is "end". (Bug#11279)
11500
11501 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11502
11503 * window.el (adjust-window-trailing-edge, enlarge-window)
11504 (shrink-window, window-resize):
11505 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11506 windows (Bug#11276).
11507
11508 2012-04-27 Chong Yidong <cyd@gnu.org>
11509
11510 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11511 fix "missing prefix" warning. All callers changed.
11512
11513 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11514
11515 * emacs-lisp/assoc.el: Move to obsolete/.
11516
11517 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11518
11519 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11520
11521 * term/ns-win.el (ns-define-service):
11522 * progmodes/pascal.el (pascal-goto-defun):
11523 * progmodes/js.el (js--read-tab):
11524 * progmodes/etags.el (tags-lazy-completion-table):
11525 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11526 * emacs-lisp/ewoc.el (ewoc--wrap):
11527 * emacs-lisp/assoc.el (aput, adelete, amake):
11528 * doc-view.el (doc-view-convert-current-doc):
11529 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11530
11531 2012-04-26 Chong Yidong <cyd@gnu.org>
11532
11533 * image.el (image-type-from-buffer): Only return supported image
11534 type (Bug#9045).
11535
11536 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11537 value, for symmetry with diff-end-of-hunk.
11538 (diff-split-hunk, diff-find-source-location)
11539 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11540 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11541 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11542 compute the relevant hunk or file properly (Bug#6005).
11543 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11544
11545 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11546
11547 * vc/vc-mtn.el:
11548 * vc/vc-hg.el:
11549 * vc/vc-git.el:
11550 * vc/vc-dir.el:
11551 * vc/vc-cvs.el:
11552 * vc/vc-bzr.el:
11553 * vc/vc-arch.el:
11554 * vc/vc.el: Replace lexical-let by lexical-binding.
11555 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11556 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11557 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11558
11559 2012-04-26 Chong Yidong <cyd@gnu.org>
11560
11561 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11562 (diff-mode-shared-map): Bind it to / and [remap undo].
11563
11564 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11565 (ediff-window-setup-function): Use it as the default, to set up
11566 windows based on whether the current frame is graphical (Bug#2138).
11567 (ediff-choose-window-setup-function-automatically): Make obsolete.
11568
11569 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11570
11571 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11572
11573 * ffap.el: Remove old code for obsolete package.
11574 (ffap-complete-as-file-p): Remove.
11575
11576 Use completion-table-with-quoting for comint and pcomplete.
11577 * comint.el (comint--unquote&requote-argument)
11578 (comint--unquote-argument, comint--requote-argument): New functions.
11579 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11580 (comint-quote-filename): Use regexp-opt-charset.
11581 (comint--common-suffix, comint--common-quoted-suffix)
11582 (comint--table-subvert): Remove.
11583 (comint-unquote-function, comint-requote-function): New vars.
11584 (comint--complete-file-name-data): Use them with
11585 completion-table-with-quoting.
11586 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11587 * pcomplete.el (pcomplete-arg-quote-list)
11588 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11589 (pcomplete-unquote-argument-function): Default to non-nil.
11590 (pcomplete-unquote-argument): Simplify.
11591 (pcomplete--common-quoted-suffix): Remove.
11592 (pcomplete-requote-argument-function): New var.
11593 (pcomplete--common-suffix): New function.
11594 (pcomplete-completions-at-point): Use completion-table-with-quoting
11595 and completion-table-subvert.
11596
11597 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11598 (minibuffer--double-dollars): Preserve properties.
11599 (completion--sifn-requote): New function.
11600 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11601
11602 * minibuffer.el: Add support for completion of quoted/escaped data.
11603 (completion-table-with-quoting, completion-table-subvert): New funs.
11604 (completion--twq-try, completion--twq-all): New functions.
11605 (completion--nth-completion): New function.
11606 (completion-try-completion, completion-all-completions): Use it.
11607
11608 2012-04-25 Leo Liu <sdl.web@gmail.com>
11609
11610 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11611 Use compilation-message if available to find real filename.
11612
11613 2012-04-25 Chong Yidong <cyd@gnu.org>
11614
11615 * vc/diff-mode.el (diff-setup-whitespace): New function.
11616 (diff-mode): Use it.
11617
11618 * vc/diff.el (diff-sentinel):
11619 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11620 Whitespace mode variables based on diff style (Bug#8612).
11621
11622 2012-04-25 Leo Liu <sdl.web@gmail.com>
11623
11624 * progmodes/python.el (python-send-region): Add suffix .py to the
11625 temp file.
11626
11627 * files.el (auto-mode-alist): Use javascript-mode instead.
11628
11629 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11630
11631 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11632
11633 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11634 (soap-resolve-references-for-array-type): Hack to prevent self
11635 references, see Bug#9.
11636 (soap-parse-envelope): Report the contents of the 'detail' node
11637 when receiving a fault reply.
11638 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11639
11640 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11641 (soap-inspect-simple-type): New function.
11642
11643 * net/soap-client.el (soap-simple-type): New struct.
11644 (soap-default-xsd-types, soap-default-soapenc-types)
11645 (soap-decode-basic-type, soap-encode-basic-type):
11646 support unsignedInt and double basic types.
11647 (soap-resolve-references-for-simple-type)
11648 (soap-parse-simple-type, soap-encode-simple-type): New function.
11649 (soap-parse-schema): Parse xsd:simpleType declarations.
11650
11651 * net/soap-client.el (soap-default-xsd-types)
11652 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11653 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11654 the local name of "soapenc:Array".
11655 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11656 decoding integer, byte and anyURI xsd types.
11657
11658 2012-04-25 Chong Yidong <cyd@gnu.org>
11659
11660 * cus-edit.el (custom-buffer-create-internal): Update header text.
11661
11662 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11663
11664 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11665 settings on 'system-type', not on 'window-system'. On MS-Windows,
11666 set interactive-mode on in GDB.
11667
11668 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11669
11670 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11671 (ruby-syntax-propertize-regexp): Remove.
11672 (ruby-syntax-propertize-function): Split regexp into chunks.
11673 Match following code directly.
11674
11675 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11676
11677 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11678 (ruby-syntax-propertize-regexp): New function.
11679 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11680 by a special keyword.
11681
11682 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11683 (ruby-syntax-general-delimiters-goto-beg)
11684 (ruby-syntax-propertize-general-delimiters): New functions.
11685 (ruby-syntax-propertize-function): Use them to handle GDL.
11686 (ruby-font-lock-keywords): Move old handling of GDL...
11687 (ruby-font-lock-syntactic-keywords): .. to here.
11688 (ruby-calculate-indent): Adjust indentation for GDL.
11689
11690 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11691
11692 * notifications.el (top): Remove unneeded declarations.
11693 (notifications-specification-version): Change to "1.2".
11694 (notifications-interface, notifications-notify-method)
11695 (notifications-close-notification-method): Fix docstring.
11696 (notifications-get-capabilities-method): New defconst.
11697 (notifications-notify): Add :action-items, :resident and
11698 :transient hints. Change "image_data" to "image-data" and
11699 "image_path" to "image-path".
11700 (notifications-get-capabilities): New defun.
11701
11702 2012-04-24 Leo Liu <sdl.web@gmail.com>
11703
11704 * progmodes/python.el: Move hideshow setup to the end.
11705
11706 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11707
11708 * window.el (handle-select-window): Clear echo area since this is
11709 no more done by read_char (Bug#11304).
11710
11711 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11712
11713 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11714 and `/ M' to filter-derived-mode.
11715 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11716 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11717 (ibuffer-mark-by-mode): Use default rather than initial-input.
11718 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11719
11720 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11721
11722 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11723 (ibuffer-filter-by-derived-mode): New filter.
11724 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11725
11726 2012-04-23 Andreas Politz <politza@fh-trier.de>
11727
11728 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11729
11730 2012-04-23 Chong Yidong <cyd@gnu.org>
11731
11732 * cus-edit.el (customize-apropos, customize-apropos-options):
11733 Disable matching of non-option variables (Bug#11176).
11734 (customize-option, customize-option-other-window)
11735 (customize-changed-options): Doc fix.
11736 (customize-apropos-options, customize-apropos-faces)
11737 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11738
11739 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11740 Fix word list splitting (Bug#11132).
11741 (apropos-symbol, apropos-keybinding, apropos-label)
11742 (apropos-property, apropos-function-button)
11743 (apropos-variable-button, apropos-misc-button): New faces.
11744 (apropos-symbol-face, apropos-keybinding-face)
11745 (apropos-label-face, apropos-property-face, apropos-match-face):
11746 Variables removed (Bug#8396).
11747 (apropos-library-button, apropos-format-plist, apropos-print)
11748 (apropos-print-doc, apropos-describe-plist): Callers changed.
11749
11750 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11751
11752 * net/xesam.el (xesam-mode-map): Use let-bound map in
11753 initialization. (Bug#11292)
11754
11755 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11756
11757 Preserve ispell session localwords when switching back to
11758 original buffer.
11759
11760 * textmodes/ispell.el (ispell-buffer-session-localwords):
11761 New buffer-local variable to hold buffer session localwords.
11762 (ispell-kill-ispell): Add option 'clear to delete session
11763 localwords.
11764 (ispell-command-loop, ispell-change-dictionary)
11765 (ispell-buffer-local-words): Preserve session localwords when
11766 needed.
11767
11768 * textmodes/flyspell.el (flyspell-process-localwords)
11769 (flyspell-do-correct): Preserve session localwords when needed.
11770
11771 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11772
11773 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11774 using obsolete `translation-table-for-input'.
11775 (ispell-word, ispell-process-line, ispell-complete-word):
11776 Use plain `insert' instead of removed `ispell-insert-word'.
11777
11778 2012-04-22 Chong Yidong <cyd@gnu.org>
11779
11780 * cus-edit.el (custom-variable-menu)
11781 (custom-variable-reset-saved, custom-face-menu)
11782 (custom-face-reset-saved): If there is no saved value, make the
11783 "reset-saved" operation bring back the default (Bug#9509).
11784 (custom-face-state): Properly detect themed faces.
11785
11786 * faces.el (face-spec-set): Stop supporting deprecated form of
11787 third arg.
11788
11789 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
11790
11791 Move functions from C to Lisp. Make non-blocking method calls
11792 the default. Implement further D-Bus standard interfaces.
11793
11794 * net/dbus.el (dbus-message-internal): Declare function.
11795 Remove unneeded function declarations.
11796 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11797 (dbus-message-type-method-return, dbus-message-type-error)
11798 (dbus-message-type-signal): Declare variables. Remove local
11799 definitions.
11800 (dbus-interface-dbus, dbus-interface-peer)
11801 (dbus-interface-introspectable, dbus-interface-properties)
11802 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11803 Adapt docstring.
11804 (dbus-interface-objectmanager): New defconst.
11805 (dbus-call-method, dbus-call-method-asynchronously)
11806 (dbus-send-signal, dbus-method-return-internal)
11807 (dbus-method-error-internal, dbus-register-service)
11808 (dbus-register-signal, dbus-register-method): New defuns, moved
11809 from dbusbind.c
11810 (dbus-call-method-handler, dbus-setenv)
11811 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11812 New defuns.
11813 (dbus-call-method-non-blocking): Make it an obsolete function.
11814 (dbus-unregister-object, dbus-unregister-service)
11815 (dbus-handle-event, dbus-register-property)
11816 (dbus-property-handler): Obey the new structure of
11817 `bus-registered-objects'.
11818 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11819 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11820 Use `dbus-call-method'.
11821
11822 2012-04-22 Chong Yidong <cyd@gnu.org>
11823
11824 * cus-edit.el (custom-commands, custom-reset-menu)
11825 (Custom-reset-standard): Tweak labels.
11826 (custom-reset-button-menu): Change default to t.
11827 (custom-buffer-create-internal): For the custom-reset-button-menu
11828 case, put the revert button first.
11829 (custom-group-subtitle): New face.
11830 (custom-group-value-create): Align docstring to a specific column.
11831
11832 * wid-edit.el (widget-documentation-link-add): Don't handle
11833 indentation in this function.
11834 (widget-documentation-string-indent-to): New function.
11835 (widget-documentation-string-value-create): Use it.
11836
11837 * autorevert.el (auto-revert):
11838 * epg-config.el (epg):
11839 * ibuffer.el (ibuffer):
11840 * mpc.el (mpc):
11841 * ses.el (ses):
11842 * eshell/eshell.el (eshell):
11843 * net/ange-ftp.el (ange-ftp):
11844 * progmodes/ebnf2ps.el (postscript):
11845 * progmodes/flymake.el (flymake):
11846 * progmodes/prolog.el (prolog):
11847 * progmodes/verilog-mode.el (verilog-mode):
11848 * progmodes/which-func.el (which-func):
11849 * term/xterm.el (xterm):
11850 * textmodes/picture.el (picture):
11851 * textmodes/tildify.el (tildify):
11852 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11853 customization buffers.
11854
11855 2012-04-22 Alan Mackenzie <acm@muc.de>
11856
11857 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11858 Adding a ) can hide the resulting (..) from searches. Fix it.
11859 Bound the backward search to the position of the existing (.
11860
11861 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
11862
11863 * progmodes/verilog-mode.el (verilog-mode): Check whether
11864 which-func-modes is t before adding verilog-mode.
11865 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11866
11867 2012-04-21 Leo Liu <sdl.web@gmail.com>
11868
11869 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11870
11871 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11872
11873 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11874 filling of the last column of a table (Bug#5635).
11875 (woman-find-next-control-line): New arg, specifying an additional
11876 regexp component for the control line.
11877 (woman2-roff-buffer): Use it.
11878 (woman-break-table): New function.
11879 (woman2-TS): Use it.
11880
11881 2012-04-21 Chong Yidong <cyd@gnu.org>
11882
11883 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11884 (woman-horizontal-escapes, woman-negative-vertical-space)
11885 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11886 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11887
11888 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11889
11890 * minibuffer.el (completion-file-name-table): Complete user names.
11891
11892 2012-04-20 Leo Liu <sdl.web@gmail.com>
11893
11894 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11895 and pcase-let*.
11896
11897 2012-04-20 Chong Yidong <cyd@gnu.org>
11898
11899 * server.el (server-execute): Respect initial-buffer-choice if it
11900 is a string and there are no files to open (Bug#2825).
11901 (server-create-window-system-frame, server-create-tty-frame):
11902 Don't switch buffers here.
11903 (server-process-filter): Only try to open a window system frame if
11904 compiled with graphical support (Bug#8314).
11905
11906 2012-04-20 Dan Nicolaescu <dann@gnu.org>
11907
11908 * battery.el (battery-echo-area-format): Display remaining time
11909 for sysfs backend too (Bug#11269).
11910 (battery-linux-sysfs): Fix conditional for the charge.
11911
11912 2012-04-20 Chong Yidong <cyd@gnu.org>
11913
11914 * progmodes/gdb-mi.el (gdb): Revert previous change.
11915 (gdb-inferior-io--init-proc): New function.
11916 (gdb-init-1): Use it.
11917 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11918 responsible for allocating a new pty and hooking it to gdb when
11919 the old pty gets an EIO due to process exit.
11920 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11921 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11922 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11923
11924 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11925
11926 * window.el (window-min-size, window-sizable, window-min-delta)
11927 (window-max-delta, window--resizable, window-resizable)
11928 (window-total-size, window-full-height-p, window-full-width-p)
11929 (window-in-direction, window--resize-mini-window, window-resize)
11930 (window--resize-child-windows-normal)
11931 (window--resize-child-windows, window--resize-siblings)
11932 (window--resize-this-window, adjust-window-trailing-edge)
11933 (enlarge-window, shrink-window): Doc fixes.
11934
11935 2012-04-20 Chong Yidong <cyd@gnu.org>
11936
11937 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11938 New function to call delete-process on the gdb-inferior buffer's pty.
11939 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11940 pty process (Bug#11273).
11941 (gdb-update): New arg to suppress talking to the gdb process.
11942 (gdb-done-or-error): Use it.
11943 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11944 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11945 sentinel not being called.
11946
11947 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11948
11949 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11950
11951 2012-04-20 Glenn Morris <rgm@gnu.org>
11952
11953 * net/network-stream.el (open-network-stream): Doc fix.
11954
11955 2012-04-20 Chong Yidong <cyd@gnu.org>
11956
11957 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11958
11959 2012-04-20 Alan Mackenzie <acm@muc.de>
11960
11961 Ensure searching for keywords is case sensitive.
11962
11963 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11964 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11965 (c-defun-name, c-mark-function, c-cpp-define-name)
11966 (c-comment-indent, c-scan-conditionals, c-indent-defun)
11967 (c-context-line-break): Bind case-fold-search to nil.
11968
11969 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11970 Bind case-fold-search to nil.
11971
11972 2012-04-20 Chong Yidong <cyd@gnu.org>
11973
11974 * mail/sendmail.el (mail-bury): Call return action with the right
11975 Rmail buffer (Bug#11242).
11976
11977 * server.el (server-process-filter): Handle corner case where both
11978 tty and nowait options are present (Bug#11102).
11979
11980 2012-04-20 Eli Zaretskii <eliz@gnu.org>
11981
11982 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
11983 (top level): Put into the executable the ident-style '$Id:' tag on
11984 windows-nt as well.
11985
11986 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11987
11988 * electric.el (electric-indent-post-self-insert-function): Check that
11989 electric-indent-mode is enabled in current buffer.
11990
11991 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11992
11993 * imenu.el (imenu-progress-message): Restore; it is "used" in
11994 erc/erc-imenu.el and net/snmp-mode.el.
11995
11996 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
11997
11998 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11999 (mouse-avoidance-nudge-mouse): Remove unused binding.
12000
12001 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12002
12003 * descr-text.el (describe-char):
12004 * progmodes/python.el (python-describe-symbol):
12005 Don't call `toggle-read-only', set `buffer-read-only'.
12006
12007 * imenu.el (imenu-default-goto-function): Mark unused args.
12008 (imenu-progress-message): Remove obsolete macro; all callers changed.
12009
12010 * subr.el (keymap-canonicalize): Remove unused binding.
12011 (read-passwd): Mark unused arg.
12012
12013 * tutorial.el (tutorial--display-changes): Remove unused binding.
12014 (tutorial--save-tutorial-to): Remove unused variable.
12015
12016 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12017 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12018 (package-generate-autoloads, package-menu--generate)
12019 (package-menu--find-upgrades): Remove unused bindings.
12020
12021 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12022 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12023 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12024 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12025 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12026 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12027 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12028 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12029 (cua-delete-char-rectangle): Mark unused args.
12030 (cua-align-rectangle): Remove unused binding.
12031
12032 * mail/rmail.el (compilation--message->loc)
12033 (epa--find-coding-system-for-mime-charset): Declare.
12034
12035 * net/dbus.el (dbus-register-service): Declare.
12036 (dbus-name-owner-changed-handler): Remove unused binding.
12037
12038 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12039 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12040 (nxml-scan-backward-within): Mark unused arg.
12041 (nxml-dynamic-markup-word): Remove unused binding.
12042
12043 * mouse.el (mouse-menu-major-mode-map):
12044 * emacs-lisp/authors.el (authors-scan-change-log)
12045 (authors-add-to-author-list):
12046 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12047 * emacs-lisp/smie.el (smie-auto-fill):
12048 * mail/sendmail.el (mail-bury):
12049 * mail/unrmail.el (unrmail):
12050 * net/tls.el (open-tls-stream):
12051 * textmodes/picture.el (picture-mouse-set-point):
12052 Remove unused bindings.
12053
12054 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12055
12056 * net/tramp.el (tramp-action-password): Let-bind
12057 `enable-recursive-minibuffers' to t.
12058
12059 2012-04-18 Sam Steingold <sds@gnu.org>
12060
12061 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12062 instead of 'string to accommodate values like [f11].
12063 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12064 * progmodes/gdb-mi.el: Likewise.
12065
12066 2012-04-18 Leo Liu <sdl.web@gmail.com>
12067
12068 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12069 current buffer.
12070 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12071 LOCAL is nil.
12072
12073 2012-04-18 Chong Yidong <cyd@gnu.org>
12074
12075 * simple.el (line-move): Use forward-line if in batch mode
12076 (Bug#11053).
12077
12078 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12079
12080 * files.el (after-find-file): Do not try to add a final newline if
12081 the buffer is read-only (Bug#11156).
12082
12083 2012-04-17 Richard Stallman <rms@gnu.org>
12084
12085 * mail/rmail.el (rmail-start-mail):
12086 Pass (rmail-mail-return...) for the return-action.
12087 Pass (rmail-yank-current-message...) for the yank-action.
12088 (rmail-yank-current-message): New function.
12089 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12090 (rmail-reply): Likewise.
12091 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12092
12093 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12094 buffer, not the last. Reject temp buffers. Use the rmail-mode
12095 buffer, not newbuf.
12096
12097 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12098
12099 * server.el (server-ensure-safe-dir): Simplify.
12100
12101 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12102
12103 * emacs-lisp/smie.el: Provide smarter auto-filling.
12104 (smie-auto-fill): New function.
12105 (smie-setup): Use it.
12106
12107 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12108
12109 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12110
12111 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12112 (comment-indent): Use it.
12113
12114 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12115
12116 * ses.el: The overall change is to add cell renaming, that is
12117 setting fancy names for cell symbols other than name matching
12118 "\\`[A-Z]+[0-9]+\\'" regexp .
12119 (ses-localvars): Add ses--renamed-cell-symb-list.
12120 (ses-create-cell-variable): New defun.
12121 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12122 (ses-relocate-formula): Relocate formulas only for cells the
12123 symbols of which are not renamed, i.e. symbols whose names do not
12124 match regexp "\\`[A-Z]+[0-9]+\\'".
12125 (ses-relocate-all): Relocate values only for cells the symbols of
12126 which are not renamed.
12127 (ses-load): Create cells variables as the (ses-cell ...) are read,
12128 in order to check row col consistency with cell symbol name only
12129 for cells that are not renamed.
12130 (ses-replace-name-in-formula): New defun.
12131 (ses-rename-cell): New defun.
12132
12133 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12134
12135 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12136 New option (bug#11118).
12137 (perl-calculate-indent): Respect it.
12138
12139 2012-04-17 Glenn Morris <rgm@gnu.org>
12140
12141 * dired-aux.el (dired-mark-read-string): Doc fix.
12142
12143 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12144
12145 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12146 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12147
12148 2012-04-17 Glenn Morris <rgm@gnu.org>
12149
12150 * mouse.el (mouse-drag-track):
12151 * speedbar.el (speedbar-frame-mode):
12152 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12153
12154 2012-04-16 Leo Liu <sdl.web@gmail.com>
12155
12156 * progmodes/python.el: Trivial cleanup.
12157
12158 2012-04-16 Glenn Morris <rgm@gnu.org>
12159
12160 * vc/vc.el (vc-string-prefix-p):
12161 * vc/pcvs-util.el (cvs-string-prefix-p):
12162 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12163 * mpc.el (mpc-string-prefix-p):
12164 Make all of these into obsolete aliases for string-prefix-p.
12165 Update callers.
12166 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12167
12168 * textmodes/two-column.el: Move custom options to the start.
12169 (frame-width): Remove compat definition.
12170 (2C-associate-buffer, 2C-dissociate):
12171 Use with-current-buffer rather than save-excursion.
12172 (2C-dissociate): Force a mode-line update.
12173 (2C-autoscroll): Use ignore-errors.
12174
12175 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12176 Autoload trivia.
12177
12178 * emacs-lisp/cl-extra.el (*random-state*):
12179 Remove unnecessary declaration.
12180
12181 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12182
12183 * play/cookie1.el (cookie-snarf):
12184 Give an explicit error if input file cannot be read.
12185
12186 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12187
12188 * progmodes/perl-mode.el (c-macro-expand):
12189 Remove unnecessary autoload (it is in loaddefs.el).
12190
12191 * textmodes/picture.el (picture-desired-column)
12192 (picture-update-desired-column): Convert comments to doc-strings.
12193 (picture-substitute): Remove function.
12194 (picture-mode-map): Initialize in the defvar.
12195
12196 * woman.el: Remove eval-after-load for tar-mode.
12197 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12198 (woman-tar-extract-file): Autoload it.
12199
12200 * frame.el (automatic-hscrolling): Make this alias obsolete.
12201
12202 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12203
12204 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12205 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12206 (ispell-dictionary-base-alist): Revert to original XEmacs
12207 friendly version for default. [:alpha:] will be added in
12208 `ispell-set-spellchecker-params' if needed.
12209
12210 2012-04-16 Chong Yidong <cyd@gnu.org>
12211
12212 * image.el (imagemagick--file-regexp): New variable.
12213 (imagemagick-register-types): Use it.
12214 (imagemagick-types-inhibit): Add :set function. Allow new value
12215 of t to inhibit all types.
12216
12217 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12218 so we can preload it.
12219
12220 * loadup.el (fboundp): Preload regexp-opt, needed by
12221 imagemagick-register-types.
12222
12223 2012-04-15 Chong Yidong <cyd@gnu.org>
12224
12225 * frame.el (scrolling): Remove nearly unused customization group.
12226
12227 * scroll-all.el (scroll-all-mode): Move to windows group.
12228
12229 2012-04-15 Chong Yidong <cyd@gnu.org>
12230
12231 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12232
12233 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12234
12235 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12236 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12237
12238 2012-04-15 Glenn Morris <rgm@gnu.org>
12239
12240 * simple.el (process-file-side-effects): Doc fix.
12241
12242 2012-04-15 Glenn Morris <rgm@gnu.org>
12243
12244 * international/mule-cmds.el (set-language-environment): Doc fix.
12245
12246 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12247
12248 * server.el (server-auth-key, server-generate-key): Doc fixes.
12249 (server-get-auth-key): Doc fix. Use `string-match-p'.
12250 (server-start): Reflow docstring.
12251
12252 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12253
12254 * server.el (server-generate-key): `called-interactively-p'
12255 requires a parameter.
12256
12257 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12258
12259 * server.el (server-auth-key): New variable.
12260 (server-generate-key, server-get-auth-key): New function.
12261 (server-start): Use the new variable and functions to allow
12262 setting a permanent server key (bug#9423).
12263
12264 2012-04-14 Leo Liu <sdl.web@gmail.com>
12265
12266 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12267
12268 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12269
12270 Spelling fixes.
12271 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12272 Emacs uses American spelling.
12273
12274 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12275
12276 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12277 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12278 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12279 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12280
12281 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12282
12283 * progmodes/which-func.el (which-func-modes): Change default.
12284
12285 2012-04-14 Kim F. Storm <storm@cua.dk>
12286
12287 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12288 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12289
12290 2012-04-14 Chong Yidong <cyd@gnu.org>
12291
12292 * custom.el (custom-theme-set-variables): Doc fix.
12293
12294 2012-04-14 Glenn Morris <rgm@gnu.org>
12295
12296 * international/mule.el (set-auto-coding-for-load): Doc fix.
12297
12298 2012-04-14 Alan Mackenzie <acm@muc.de>
12299
12300 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12301 imenu work again for Objective C Mode. Correct the *-index values,
12302 these having been disturbed by a previous change in 2011-08.
12303
12304 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12305 Correct two search limits.
12306
12307 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12308
12309 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12310
12311 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12312
12313 * international/characters.el: Fix sorting.
12314
12315 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12316
12317 * international/characters.el: Add more missing Latin case pairs.
12318
12319 2012-04-14 Glenn Morris <rgm@gnu.org>
12320
12321 * files.el (dir-locals-set-class-variables): Doc fix.
12322
12323 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12324
12325 * international/characters.el: Add set-case-syntax-pair call for
12326 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12327 counterpart. (Bug#11209)
12328
12329 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12330
12331 2012-04-14 Glenn Morris <rgm@gnu.org>
12332
12333 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12334
12335 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12336
12337 * textmodes/ispell.el (ispell-dictionary-base-alist):
12338 Add data for Hebrew.
12339
12340 2012-04-14 Chong Yidong <cyd@gnu.org>
12341
12342 * net/rcirc.el (rcirc-cmd-quit):
12343 Revert 2012-03-18 change (Bug#11192).
12344
12345 2012-04-14 Glenn Morris <rgm@gnu.org>
12346
12347 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12348
12349 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12350
12351 * minibuffer.el (completion-in-region-mode-map):
12352 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12353
12354 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12355
12356 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12357
12358 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12359
12360 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12361 to allow `C-M-f' and `C-M-b' to move to the nearest path
12362 separator (bug#9511).
12363
12364 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12365
12366 * avoid.el: Require cl when compiling. And also move the
12367 `provide' to the end.
12368
12369 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12370
12371 * avoid.el (mouse-avoidance-banish-position): New variable.
12372 (mouse-avoidance-banish-destination): Use it (bug#10165).
12373
12374 2012-04-13 Leo Liu <sdl.web@gmail.com>
12375
12376 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12377
12378 2012-04-13 Ken Brown <kbrown@cornell.edu>
12379
12380 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12381 this is no longer needed now that cygstart understands file:// URLs.
12382 (browse-url-filename-alist): For the same reason, don't modify
12383 file:// URLs on Cygwin.
12384
12385 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12386
12387 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12388 the region on shift if the binding is already shifted (bug#11221).
12389
12390 2012-04-12 Glenn Morris <rgm@gnu.org>
12391
12392 * mail/mailpost.el: Move to obsolete/.
12393
12394 2012-04-12 Drew Adams <drew.adams@oracle.com>
12395
12396 * imenu.el (imenu--generic-function): Ignore invisible definitions
12397 (bug#10123).
12398
12399 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12400
12401 * hexl.el (hexl-bits): New variable.
12402 (hexl-options): Mention the variable in the doc string.
12403 (hexl-rulerise, hexl-line-displen): New functions.
12404 (hexl-mode): Mention the new variable.
12405 (hexl-mode, hexl-current-address, hexl-current-address):
12406 Use the displen.
12407 (hexl-ascii-start-column): New function.
12408 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12409 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12410
12411 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12412
12413 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12414 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12415 the encoding, as expected by hunspell.
12416
12417 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12418
12419 * battery.el (battery--linux-sysfs-regexp): New const.
12420 (battery-status-function): Use it. Remove yeeloong special case.
12421 (battery-yeeloong-sysfs): Remove.
12422 (battery-echo-area-format): Remove yeeloong special case.
12423
12424 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12425
12426 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12427 Reported by Noah Friedman.
12428
12429 * subr.el (read-passwd): Use read-string.
12430
12431 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12432
12433 * vcursor.el (vcursor-move): Increase the priority of the overlay
12434 (bug#9663).
12435
12436 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12437
12438 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12439 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12440
12441 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12442
12443 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12444 define-minor-mode (bug#10760).
12445
12446 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12447
12448 * progmodes/grep.el (rgrep): Tweak the find command line so
12449 that directories matching `grep-find-ignored-files' won't be
12450 pruned (bug#10351).
12451
12452 2012-04-11 Chong Yidong <cyd@gnu.org>
12453
12454 * startup.el (command-line): Remove support for long-obsolete
12455 variable font-lock-face-attributes.
12456
12457 2012-04-11 Glenn Morris <rgm@gnu.org>
12458
12459 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12460
12461 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12462
12463 * window.el (window--state-get-1): Obey window-point-insertion-type.
12464
12465 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12466
12467 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12468 to previous function when point is on the first character of a
12469 function. Take care of that in `narrow-to-defun' (bug#6157).
12470
12471 2012-04-11 Glenn Morris <rgm@gnu.org>
12472
12473 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12474 not just file-errors.
12475
12476 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12477 (vc-bzr-sha1): Use internal sha1.
12478
12479 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12480
12481 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12482
12483 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12484
12485 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12486 that start in the middle of the line (bug#10496).
12487
12488 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12489
12490 * battery.el (battery-linux-proc-acpi): Only one battery is
12491 discharged at a time, but that seems to confuse battery.el when
12492 computing `rate-type' for the battery not being discharged
12493 (bug#10332).
12494
12495 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12496
12497 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12498
12499 * international/quail.el: Use dolist and simplify.
12500 (quail-define-package, quail-update-keyboard-layout)
12501 (quail-define-rules): Use dolist.
12502 (quail-insert-kbd-layout, quail-get-translation): CSE.
12503
12504 * tmm.el: Use dolist, remove left over hook.
12505 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12506 Use dolist.
12507 (calendar-load-hook): Don't mess with it.
12508
12509 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12510 Use derived-mode-p. Run the diff asynchronously.
12511
12512 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12513
12514 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12515
12516 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12517
12518 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12519 (list-dynamic-libraries--loaded): New function.
12520 (list-dynamic-libraries--refresh): Use it.
12521
12522 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12523
12524 * progmodes/python.el (python-fill-paragraph):
12525 Make python-fill-region in a multiline string work when font-lock is
12526 disabled (bug#7018).
12527
12528 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12529
12530 * language/european.el (cp775): Add oem/legacy (en)coding on
12531 DOS/MS Windows for the Baltic languages. There are still plenty
12532 of texts written in this encoding/codepage (bug#6519).
12533
12534 2012-04-10 Glenn Morris <rgm@gnu.org>
12535
12536 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12537 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12538
12539 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12540
12541 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12542 next-line "n" and previous-line "p" in order to make recentf more
12543 consistent with ibuffer, dired or org-mode (bug#9387).
12544
12545 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12546
12547 * image.el (put-image): Return the overlay created instead of the
12548 optional input string (bug#7834). Note that this may break code
12549 that is (for some reason or other) depending on `put-image'
12550 returning the string.
12551
12552 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12553
12554 * simple.el (zap-to-char): Allow zapping using input methods
12555 (bug#1580).
12556
12557 * textmodes/fill.el (fill-region): Leave point and mark where they
12558 were before filling (bug#5399).
12559
12560 2012-04-09 Glenn Morris <rgm@gnu.org>
12561
12562 * version.el (emacs-bzr-get-version):
12563 Handle lightweight checkouts of local branches.
12564
12565 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12566
12567 * international/characters.el: Recover lost case pairs. (Bug#11209)
12568
12569 2012-04-09 Chong Yidong <cyd@gnu.org>
12570
12571 * custom.el (custom-variable-p): Return nil for non-symbol
12572 arguments instead of signaling an error.
12573 (user-variable-p): Obsolete alias for custom-variable-p.
12574
12575 * apropos.el (apropos-variable):
12576 * files-x.el (read-file-local-variable):
12577 * simple.el (set-variable):
12578 * woman.el (woman-mini-help):
12579 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12580
12581 2012-04-09 Glenn Morris <rgm@gnu.org>
12582
12583 * startup.el (normal-top-level): Don't look for leim-list.el
12584 in places where it will not be found. (Bug#910)
12585
12586 * international/mule-cmds.el (set-default-coding-systems):
12587 * files.el (normal-mode):
12588 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12589 This function was removed with ucs-tables.el in 2008.
12590
12591 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12592
12593 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12594 ispell-encoding8-command to "-i", without a trailing space.
12595 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12596 separate command-line arguments, to specify the encoding, since
12597 that's how hunspell expects it.
12598
12599 2012-04-08 Glenn Morris <rgm@gnu.org>
12600
12601 * loadup.el: Load bindings before cus-start.
12602 This reduces somewhat the number of "rogue" settings in emacs -Q.
12603
12604 2012-04-07 Glenn Morris <rgm@gnu.org>
12605
12606 * version.el (emacs-bzr-get-version): New function.
12607 (emacs-bzr-version): New variable.
12608 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12609 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12610
12611 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12612
12613 * international/uni-bidi.el, international/uni-category.el:
12614 * international/uni-combining.el, international/uni-decimal.el:
12615 * international/uni-decomposition.el, international/uni-digit.el:
12616 * international/uni-lowercase.el, international/uni-mirrored.el:
12617 * international/uni-name.el, international/uni-numeric.el:
12618 * international/uni-titlecase.el, international/uni-uppercase.el:
12619 Update for Unicode 6.1.
12620
12621 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12622
12623 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12624
12625 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12626
12627 * window.el (shrink-window): Mention the `window-min-height'
12628 variable in the doc string.
12629
12630 2012-04-05 Bastien Guerry <bzg@altern.org>
12631
12632 * color.el (color-lighten-name): Fix typo.
12633
12634 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12635
12636 * server.el (server--on-display-p): New function.
12637 (server--on-display-p): Use it.
12638
12639 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12640
12641 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12642 (bug#11145).
12643
12644 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12645
12646 * comint.el (comint--common-quoted-suffix): Check string boundary
12647 before comparing (bug#11158).
12648 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12649
12650 2012-04-04 Chong Yidong <cyd@gnu.org>
12651
12652 * minibuffer.el (completion-extra-properties): Doc fix.
12653
12654 * subr.el (delayed-warnings-hook): Doc fix.
12655
12656 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12657
12658 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12659 selection (Bug#11159).
12660 (epa-insert-keys): Inform that the default public key will be
12661 exported if no key is selected.
12662
12663 2012-04-04 Richard Stallman <rms@gnu.org>
12664
12665 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12666
12667 2012-04-03 Chong Yidong <cyd@gnu.org>
12668
12669 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12670 mail-insert-file, not its obsolete alias mail-attach-file.
12671
12672 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12673
12674 * notifications.el (notifications-notify): Fix docstring.
12675
12676 2012-04-02 Glenn Morris <rgm@gnu.org>
12677
12678 * emacs-lisp/authors.el (authors-aliases): Another addition.
12679
12680 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12681
12682 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12683 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12684 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12685
12686 2012-04-01 Chong Yidong <cyd@gnu.org>
12687
12688 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12689 Handle root directory properly.
12690 (copy-directory): Caller changed.
12691
12692 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12693 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12694
12695 2012-03-31 Glenn Morris <rgm@gnu.org>
12696
12697 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12698
12699 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12700
12701 * calendar/calendar.el (calendar-window-list)
12702 (calendar-hide-window): Restore. (Bug#11140)
12703 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12704
12705 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12706
12707 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12708
12709 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12710 Check if file is a symlink (Bug#10489).
12711
12712 * files.el (copy-directory): Likewise.
12713
12714 2012-03-30 Chong Yidong <cyd@gnu.org>
12715
12716 * image.el (imagemagick-types-inhibit)
12717 (imagemagick-register-types): Doc fix.
12718
12719 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12720
12721 * textmodes/ispell.el (ispell-get-extended-character-mode):
12722 Disable extended-char-mode for hunspell. hunspell does not support it
12723 and treats ~word as ordinary words in pipe mode.
12724
12725 2012-03-30 Glenn Morris <rgm@gnu.org>
12726
12727 * tutorial.el (help-with-tutorial): Ensure local variables don't
12728 happen to make the buffer read-only. (Bug#11127)
12729
12730 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12731
12732 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12733 (perl-calculate-indent): Return `noindent' in strings.
12734
12735 2012-03-28 Sam Steingold <sds@gnu.org>
12736
12737 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12738 instead of the broken adhockery which does not prevent calendar
12739 buffers from being displayed at random after exit.
12740 (calendar-window-list, calendar-hide-window): Remove the broken
12741 adhockery.
12742
12743 2012-03-28 Glenn Morris <rgm@gnu.org>
12744
12745 * replace.el (query-replace-map): Doc fix.
12746
12747 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12748
12749 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12750 contents. (Bug#11109)
12751
12752 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12753
12754 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12755 (bug#11077).
12756 (avl-tree--check, avl-tree--check-node): New funs.
12757
12758 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12759
12760 * window.el (switch-to-visible-buffer): New option.
12761 (switch-to-prev-buffer, switch-to-next-buffer):
12762 Observe switch-to-visible-buffer. Make sure that checking for a window
12763 showing a buffer already is done on the same frame.
12764
12765 2012-03-27 Glenn Morris <rgm@gnu.org>
12766
12767 * startup.el (mail-host-address): Doc fix.
12768
12769 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12770
12771 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12772 than 197 variables.
12773
12774 2012-03-26 Ami Fischman <ami@fischman.org>
12775
12776 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12777
12778 2012-03-26 Glenn Morris <rgm@gnu.org>
12779
12780 * files.el (save-buffers-kill-emacs): Doc fix.
12781
12782 * startup.el (normal-top-level, command-line, command-line-1):
12783 Give them doc strings.
12784
12785 2012-03-25 Eli Zaretskii <eliz@gnu.org>
12786
12787 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12788 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12789
12790 2012-03-25 Chong Yidong <cyd@gnu.org>
12791
12792 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12793 theme if it was previously enabled before (Bug#11031).
12794
12795 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12796 spec with custom-face-get-current-spec if its :shown-value is not
12797 determined yet (Bug#9337).
12798 (customize-create-theme, custom-theme-revert): Doc fixes.
12799
12800 * button.el (button-at): Minor addition to docstring.
12801
12802 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
12803
12804 * vc/vc.el (vc-merge): Fix a prompt.
12805
12806 2012-03-24 Chong Yidong <cyd@gnu.org>
12807
12808 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12809 point (Bug#9623).
12810
12811 * button.el (button-at): Minor addition to docstring.
12812
12813 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12814
12815 * newcomment.el (comment-choose-indent): No space after BOL.
12816
12817 2012-03-22 Sam Steingold <sds@gnu.org>
12818
12819 * window.el (switch-to-prev-buffer): Revert last patch because the
12820 bug turned out to be an advertised feature (Elisp manual 28.14).
12821
12822 2012-03-22 Glenn Morris <rgm@gnu.org>
12823
12824 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12825 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12826
12827 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12828
12829 * net/network-stream.el (network-stream-open-starttls): Make error
12830 message under Windows be less misleading.
12831
12832 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12833
12834 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12835 understands (bug#9942).
12836
12837 2012-03-22 Chong Yidong <cyd@gnu.org>
12838
12839 * simple.el (end-of-visible-line): Handle return value of
12840 next-single-property-change properly (Bug#9371).
12841
12842 2012-03-22 Kenichi Handa <handa@m17n.org>
12843
12844 * international/quail.el (quail-insert-kbd-layout): Fix previous
12845 change. To avoid unwanted bidi reordering, use
12846 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12847
12848 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12849
12850 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12851 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12852 (ruby-beginning-of-indent): Be more careful with the difference
12853 between word-boundary and symbol boundary.
12854 (ruby-mode-syntax-table): Make : a symbol constituent.
12855
12856 2012-03-21 Andreas Politz <politza@fh-trier.de>
12857
12858 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12859
12860 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12861
12862 * progmodes/etags.el (tags-completion-at-point-function):
12863 Improve last fix.
12864
12865 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12866
12867 2012-03-21 Sam Steingold <sds@gnu.org>
12868
12869 * progmodes/etags.el (tags-completion-at-point-function):
12870 Avoid the error when point is inside the pattern.
12871
12872 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12873
12874 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12875 line (Bug#10855).
12876
12877 2012-03-21 Drew Adams <drew.adams@oracle.com>
12878
12879 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12880
12881 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12882
12883 * ido.el (ido-set-current-directory, ido-read-internal)
12884 (ido-choose-completion-string, ido-completion-help): Handle nil
12885 value of ido-completion-buffer (Bug#11008).
12886
12887 2012-03-21 Sam Steingold <sds@gnu.org>
12888
12889 * window.el (switch-to-prev-buffer): Do not switch to a visible
12890 window previous buffer, just like with the frame previous buffers.
12891
12892 2012-03-21 Chong Yidong <cyd@gnu.org>
12893
12894 * faces.el (make-face, make-empty-face, copy-face):
12895 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12896 Doc fixes.
12897
12898 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12899
12900 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12901 (widget-complete): Remove broken use of it.
12902
12903 2012-03-20 Chong Yidong <cyd@gnu.org>
12904
12905 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12906 Use string-width and truncate-string-width to handle arbitrary
12907 characters.
12908
12909 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12910
12911 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12912 to draw rectangles, not squares. (Regression introduced by revno
12913 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12914
12915 2012-03-18 Chong Yidong <cyd@gnu.org>
12916
12917 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12918 it is not yet defined (for temacs).
12919
12920 2012-03-18 Leo Liu <sdl.web@gmail.com>
12921
12922 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12923 prefix.
12924
12925 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12926
12927 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12928 (ispell-choices-win-default-height, ispell-silently-savep)
12929 (ispell-dictionary-alist, ispell-encoding8-command)
12930 (ispell-check-version, ispell-aspell-find-dictionary)
12931 (ispell-valid-dictionary-list, ispell-words-keyword)
12932 (ispell-get-word, ispell-internal-change-dictionary)
12933 (ispell-region, ispell-skip-region-list)
12934 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12935 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12936 (ispell-message-text-end, ispell-message)
12937 (ispell-buffer-local-parsing): Doc fix.
12938
12939 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
12940
12941 * htmlfontify.el: Add support for code block fontification for ODT
12942 export (Bug #9914).
12943 (hfy-optimisations): Define new option
12944 `body-text-only'
12945 (hfy-fontify-buffer): Honor above setting.
12946 (hfy-begin-span, hfy-end-span): New routines factored out form
12947 `hfy-fontify-buffer'.
12948 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12949 that permit insertion of custom tags.
12950 (hfy-fontify-buffer): Use above handlers.
12951 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12952 (hfy-face-to-css): Re-defined to be a variable.
12953 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
12954 over multiple runs. This is made possible by having the caller let
12955 bind a special variable `hfy-user-sheet-assoc'.
12956 (htmlfontify-string): New defun.
12957 (hfy-compile-face-map): Make sure that the last char in the
12958 buffer is correctly fontified.
12959 (hfy-face-resolve-face): Whitespace only change.
12960
12961 2012-03-17 Eli Zaretskii <eliz@gnu.org>
12962
12963 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12964 message more clear.
12965
12966 2012-03-16 Leo Liu <sdl.web@gmail.com>
12967
12968 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12969
12970 2012-03-16 Alan Mackenzie <acm@muc.de>
12971
12972 Further optimize the handling of large macros.
12973
12974 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12975 limit to a call of `c-literal-limits'.
12976 (c-determine-+ve-limit): New function.
12977 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12978 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
12979 In CASE 5B, restrict a search limit to 500.
12980 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12981
12982 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12983 Restrict macro bounds to +-500 from after-change's BEG END.
12984
12985 2012-03-16 Leo Liu <sdl.web@gmail.com>
12986
12987 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12988
12989 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12990
12991 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
12992 `special-mode' setting of `buffer-read-only'. (Bug#11010)
12993
12994 2012-03-16 Glenn Morris <rgm@gnu.org>
12995
12996 * view.el (view-buffer, view-buffer-other-window)
12997 (view-buffer-other-frame): Doc fixes re special mode-class.
12998
12999 * subr.el (eval-after-load): If named feature is provided not from
13000 a file, run after-load forms. (Bug#10946)
13001
13002 * calendar/calendar.el (calendar-insert-at-column):
13003 Handle non-unit-width characters a bit better. (Bug#10978)
13004
13005 2012-03-15 Chong Yidong <cyd@gnu.org>
13006
13007 * emacs-lisp/ring.el (ring-extend): New function.
13008 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13009
13010 * comint.el (comint-read-input-ring)
13011 (comint-add-to-input-history): Grow comint-input-ring lazily.
13012
13013 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13014
13015 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13016 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13017
13018 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13019 (imenu-add-to-menubar): Don't add a redundant index.
13020 (imenu-update-menubar): Handle a dynamically composed keymap.
13021
13022 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13023
13024 * mail/sendmail.el (mail-encode-header):
13025 Bind rfc2047-encode-encoded-words to nil.
13026
13027 2012-03-13 Glenn Morris <rgm@gnu.org>
13028
13029 * calendar/calendar.el (calendar-string-spread):
13030 Handle non-unit-width characters a bit better. (Bug#10978)
13031
13032 2012-03-13 Leo Liu <sdl.web@gmail.com>
13033
13034 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13035 directory and file as argument (Bug#10822).
13036
13037 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13038
13039 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13040 For dynamically generated code, follow $PC.
13041 (gdb-disassembly-handler-custom): Handle no function name case.
13042
13043 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13044
13045 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13046 * emulation/ws-mode.el (ws-query-replace):
13047 * sort.el (sort-regexp-fields):
13048 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13049
13050 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13051
13052 * dabbrev.el: Fix cycle completion order (bug#10963).
13053 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13054 (dabbrev-completion): Don't use an obarray; provide
13055 a cycle-sort-function.
13056
13057 2012-03-12 Leo Liu <sdl.web@gmail.com>
13058
13059 * simple.el (kill-new): Use equal-including-properties for comparison.
13060 (kill-do-not-save-duplicates): Doc fix.
13061
13062 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13063
13064 * dabbrev.el: Fix cycle completion (bug#10963).
13065 Use lexical binding and wrap to 80 columns.
13066 (dabbrev-completion): Delay computing the list of completions.
13067
13068 2012-03-12 Kenichi Handa <handa@m17n.org>
13069
13070 * international/quail.el (quail-insert-kbd-layout): Surround each
13071 row by LRO and PDF instead of inserting many LRMs. Pad the left
13072 and right of each non-spacing marks. Insert invisible space
13073 between lower and upper characters to prevent composition.
13074
13075 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13076
13077 * minibuffer.el (minibuffer-complete): Don't get confused when the
13078 function is run twice via different commands (bug#10958).
13079 (complete-with-action): Fix docstring.
13080
13081 2012-03-12 Chong Yidong <cyd@gnu.org>
13082
13083 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13084 (nxml-completion-at-point-function): New function.
13085 (nxml-mode): Use it.
13086 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13087
13088 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13089 Load generated autoloads file before byte compiling (Bug#10970).
13090 (package--make-autoloads-and-compile): New helper fun.
13091
13092 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13093
13094 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13095
13096 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13097
13098 * autorevert.el (auto-revert-handler): Ensure, that
13099 file-readable-p is applied only for local files or in
13100 auto-revert-tail-mode.
13101
13102 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13103
13104 * server.el (server-eval-at): Handle non-tcp connections.
13105 Decode result string.
13106
13107 * server.el (server-msg-size): New constant.
13108 (server-reply-print): New function.
13109 (server-eval-and-print): Use it.
13110 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13111 Handle -print-nonl.
13112
13113 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13114
13115 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13116 (Bug#10987).
13117
13118 2012-03-11 Chong Yidong <cyd@gnu.org>
13119
13120 * simple.el (goto-line): Doc fix (Bug#9938).
13121
13122 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13123
13124 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13125 when finished (Bug#10963).
13126
13127 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13128
13129 * window.el (split-window-below): Fix bug in case where
13130 split-window-keep-point is nil (Bug#10971).
13131
13132 2012-03-11 Juri Linkov <juri@jurta.org>
13133
13134 * replace.el (replace-highlight): Set isearch-word to nil
13135 unconditionally. (Bug#10887)
13136
13137 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13138
13139 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13140 mairix-replace-illegal-chars; all callers changed. Don't remove
13141 ^, ~, and = characters: they are meaningful in mairix search specs.
13142 (mairix-widget-create-query): Add usage information about mairix
13143 search forms: negating words, searching for substrings, etc.
13144
13145 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13146
13147 * international/fontset.el (font-encoding-alist): Add an entry for
13148 ksx1001 (Bug#5667).
13149
13150 2012-03-10 Richard Stallman <rms@gnu.org>
13151
13152 * mail/sendmail.el (mail-encode-header):
13153 Set rfc2047-encode-encoded-words.
13154
13155 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13156
13157 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13158 view buffer means not swapped.
13159 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13160 (rmail-write-region-annotate): Error if real text has disappeared.
13161
13162 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13163
13164 2012-03-10 Chong Yidong <cyd@gnu.org>
13165
13166 * emulation/cua-rect.el (cua--init-rectangles):
13167 * emulation/cua-base.el (cua--init-keymaps):
13168 Add delete-forward-char to remappings (Bug#9666).
13169
13170 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13171
13172 * speedbar.el (speedbar-unhighlight-one-tag-line):
13173 Avoid unhighlighting due to frame switching (Bug#10275).
13174
13175 2012-03-10 Chong Yidong <cyd@gnu.org>
13176
13177 * minibuffer.el (completion-in-region, completion-help-at-point):
13178 Give the completion field overlay a high priority (Bug#6830).
13179
13180 * dired.el (dired-goto-file): Recognize absolute file name
13181 listings (Bug#7126).
13182 (dired-goto-file-1): New helper function.
13183 (dired-toggle-read-only): Inhibit warnings.
13184
13185 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13186
13187 * net/dbus.el (dbus-property-handler): Return empty array if
13188 there are no properties.
13189
13190 2012-03-09 Leo Liu <sdl.web@gmail.com>
13191
13192 * savehist.el (savehist-printable): Stricter check for string
13193 value (Bug#10937).
13194
13195 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13196
13197 * mail/smtpmail.el (smtpmail-send-it):
13198 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13199 valid mbox format.
13200
13201 2012-03-09 Glenn Morris <rgm@gnu.org>
13202
13203 * files.el (dir-locals-find-file):
13204 Don't check result is regular, readable.
13205 (dir-locals-read-from-file): Demote errors.
13206
13207 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13208
13209 * international/quail.el (quail-insert-kbd-layout):
13210 Insert invisible LRM characters before each character in a keyboard
13211 layout cell, to prevent their reordering by bidi display engine.
13212 For details, see the discussion in
13213 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13214
13215 2012-03-08 Alan Mackenzie <acm@muc.de>
13216
13217 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13218 the starting position; make it extend the marked region when
13219 invoked repeatedly - all under appropriate circumstances.
13220 Fixes bugs #5525, #10906.
13221
13222 2012-03-08 Glenn Morris <rgm@gnu.org>
13223
13224 * files.el (locate-dominating-file, dir-locals-find-file):
13225 Undo 2012-03-06 change.
13226
13227 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13228
13229 * international/quail.el (quail-help):
13230 Force bidi-paragraph-direction be left-to-right. See discussion in
13231 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13232 for the reason.
13233
13234 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13235
13236 Avoid superfluous registering of signals. (Bug#10807)
13237
13238 * notifications.el (notifications-on-action-object)
13239 (notifications-on-close-object): New defvars.
13240 (notifications-on-action-signal, notifications-on-closed-signal):
13241 Unregister the signal if not needed any longer.
13242 (notifications-notify): Register `notifications-action-signal' or
13243 `notifications-closed-signal', if :on-action or :on-close has been
13244 passed as argument.
13245
13246 2012-03-07 Chong Yidong <cyd@gnu.org>
13247
13248 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13249 non-X platforms.
13250
13251 2012-03-06 Glenn Morris <rgm@gnu.org>
13252
13253 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13254 (x-disown-selection-internal, x-get-selection-internal):
13255 Doc fix (add arglist signatures). (Bug#10783)
13256
13257 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13258
13259 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13260 Handle breakpoints with no "type".
13261
13262 2012-03-06 Glenn Morris <rgm@gnu.org>
13263
13264 * files.el (locate-dominating-file): Add optional predicate argument.
13265 (dir-locals-find-file): Make use of above change.
13266
13267 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13268
13269 * info.el (Info-insert-dir): Also try "dir.gz".
13270
13271 2012-03-06 Glenn Morris <rgm@gnu.org>
13272
13273 * files.el (dir-locals-find-file):
13274 Ignore non-readable or non-regular files. (Bug#10928)
13275
13276 * files.el (locate-dominating-file): Doc fix.
13277
13278 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13279
13280 * calendar/calendar.el (calendar-set-mode-line):
13281 `getenv' returns a string. (Bug#10951)
13282
13283 2012-03-05 Leo Liu <sdl.web@gmail.com>
13284
13285 * simple.el (backward-delete-char-untabify): Constrain point to
13286 field (Bug#10939).
13287
13288 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13289
13290 2012-03-05 Chong Yidong <cyd@gnu.org>
13291
13292 * simple.el (count-words): If called from Lisp, return the word
13293 count, for symmetry with `count-lines'. Arglist changed.
13294 (count-words--message): Args changed. Consolidate counting code
13295 from count-words and count-words-region.
13296 (count-words-region): Caller changed.
13297 (count-lines-region): Make it an obsolete alias.
13298
13299 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13300
13301 * saveplace.el (save-place-to-alist)
13302 (save-place-ignore-files-regexp): Allow value nil to disable this
13303 feature.
13304
13305 2012-03-04 Chong Yidong <cyd@gnu.org>
13306
13307 * faces.el (face-spec-reset-face): For the default face, reset the
13308 attributes to default values (Bug#10748).
13309
13310 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13311
13312 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13313 previous patch: Check `message-send-mail-function', and not the
13314 default function (bug#10897).
13315
13316 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13317
13318 * notifications.el (notifications-on-action-signal)
13319 (notifications-on-closed-signal): Check for unique service name of
13320 incoming event. Fix error in removing entry.
13321 (top): Register for signals with wildcard service name.
13322 (notifications-notify): Use daemon unique service name for map entries.
13323
13324 2012-03-04 Chong Yidong <cyd@gnu.org>
13325
13326 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13327
13328 2012-03-04 Glenn Morris <rgm@gnu.org>
13329
13330 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13331 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13332 (expand-abbrev, define-abbrev-table): Doc fixes.
13333
13334 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13335
13336 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13337 `message-default-send-mail-function' and not `send-mail-function'
13338 when doing the prompting for `sendmail-query-once' before sending
13339 in Message buffers (bug#10897).
13340
13341 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13342 This is inconsistent with all the other stream functions, which leave
13343 the setting up to the higher levels (if so wanted) (bug#10931).
13344
13345 2012-03-02 Alan Mackenzie <acm@muc.de>
13346
13347 Depessimize the handling of very large macros.
13348
13349 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13350 (c-macro-cache-syntactic): New variables to implement a one
13351 element macro cache.
13352 (c-invalidate-macro-cache): New function.
13353 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13354 Adapt to use the new cache.
13355 (c-state-safe-place): Use better the cache of safe positions.
13356 (c-state-semi-nonlit-pos-cache)
13357 (c-state-semi-nonlit-pos-cache-limit):
13358 New variables for...
13359 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13360 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13361 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13362 Use c-state-semi-safe-place.
13363
13364 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13365 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13366
13367 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13368
13369 * jka-compr.el (jka-compr-call-process):
13370 Apply `file-accessible-directory-p' only when the default directory is
13371 not remote.
13372
13373 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13374
13375 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13376 access of FILE2, if FILE1 does not exist.
13377
13378 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13379 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13380
13381 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13382 Add "PAGER=" to `process-environment'.
13383
13384 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13385
13386 * progmodes/sql.el: Bug fix
13387 (sql-get-login-ext): Save login values in globals.
13388 (sql-get-login): Use new version of `sql-get-login-ext'.
13389 (sql-interactive-mode): Set global `sql-connection' to nil.
13390 (sql-connect): Set global values for connection.
13391 (sql-product-interactive): Save global values as buffer local.
13392
13393 2012-02-29 Leo Liu <sdl.web@gmail.com>
13394
13395 * abbrev.el (define-abbrevs): Reset sys to nil.
13396
13397 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13398
13399 * files.el (file-equal-p): Rename from `files-equal-p'.
13400 Return nil when one or both files don't exist.
13401 (file-subdir-of-p): Now only top directory must exists,
13402 return nil if it doesn't.
13403 (copy-directory): No need to test with `file-subdir-of-p' after
13404 creating dir.
13405 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13406 to `file-equal-p'.
13407
13408 2012-02-28 Glenn Morris <rgm@gnu.org>
13409
13410 * shell.el (shell-mode):
13411 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13412 * play/landmark.el (landmark-font-lock-face-O):
13413 * play/handwrite.el (handwrite):
13414 * play/gomoku.el (gomoku-O):
13415 * net/browse-url.el (browse-url-browser-display):
13416 * international/mule.el (define-charset):
13417 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13418 * filesets.el (filesets-find-file-delay):
13419 * eshell/em-xtra.el (eshell-xtra):
13420 * eshell/em-unix.el (eshell-grep):
13421 * emulation/viper.el (viper-mode):
13422 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13423 * emacs-lisp/easymenu.el (easy-menu-define):
13424 * calendar/timeclock.el (timeclock-use-display-time):
13425 * bs.el (bs-mode):
13426 * bookmark.el (bookmark-save-flag):
13427 Doc fix (standardize possessive apostrophe usage).
13428
13429 2012-02-27 Chong Yidong <cyd@gnu.org>
13430
13431 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13432 Fix key-binding lookup for ESC key (Bug#9146).
13433
13434 * font-lock.el (font-lock-specified-p): Rename from
13435 font-lock-spec-present. Callers changed.
13436
13437 2012-02-27 Daniel Hackney <dan@haxney.org>
13438
13439 * emacs-lisp/package.el (package-compute-transaction):
13440 Handle holding a package version to t in package-load-list.
13441
13442 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13443
13444 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13445 (tramp-get-inode, tramp-get-device): Use cached values.
13446
13447 2012-02-26 Alan Mackenzie <acm@muc.de>
13448
13449 Check there is a font-lock specification before doing initial
13450 fontification.
13451
13452 * font-core.el (font-lock-mode): Move the conditional from
13453 :after-hook to font-lock-initial-fontify.
13454 (font-lock-default-function): Move the check for a specification
13455 to font-lock-spec-present.
13456
13457 * font-lock.el (font-lock-initial-fontify): Call ...
13458 (font-lock-spec-present): New function.
13459
13460 2012-02-26 Jim Blandy <jimb@red-bean.com>
13461
13462 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13463 (gdb-send): Apply it to the operand of the '-interpreter-exec
13464 console' command, so that we can pass arguments with (say) quotes
13465 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13466
13467 2012-02-26 Chong Yidong <cyd@gnu.org>
13468
13469 * help-fns.el (describe-function-1): Clarify description of
13470 remapping (Bug#10844).
13471
13472 * files.el (files-equal-p): Doc fix.
13473 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13474 and quit the loop once a mismatch is found.
13475
13476 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13477
13478 * bs.el (bs--show-with-configuration): Don't throw an error
13479 if the window cannot be split; otherwise, subsequent calls to
13480 bs-show fail, restoring a stale window config. (Bug#10882)
13481
13482 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13483
13484 * term/ns-win.el (global-map): Bind ns-drag-file to
13485 ns-find-file (Bug#5855, Bug#10050).
13486
13487 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13488
13489 * calendar/parse-time.el (parse-time-string): Allow extractor to
13490 return nil.
13491
13492 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13493
13494 * net/tramp.el (tramp-file-name-for-operation):
13495 Add `files-equal-p' and `file-subdir-of-p'.
13496
13497 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13498 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13499 Add COPY-CONTENTS argument.
13500
13501 2012-02-25 Chong Yidong <cyd@gnu.org>
13502
13503 Add custom groups for VC backends, for consistency with vc-bzr.
13504
13505 * vc/vc-arch.el (vc-arch):
13506 * vc/vc-cvs.el (vc-cvs):
13507 * vc/vc-git.el (vc-git):
13508 * vc/vc-hg.el (vc-hg):
13509 * vc/vc-mtn.el (vc-mtn):
13510 * vc/vc-rcs.el (vc-rcs):
13511 * vc/vc-sccs.el (vc-sccs):
13512 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13513 All relevant defcustoms reassigned.
13514
13515 2012-02-25 Chong Yidong <cyd@gnu.org>
13516
13517 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13518
13519 * term/x-win.el (x-initialize-window-system): Reduce default for
13520 x-selection-timeout to 5 seconds (Bug#8869).
13521
13522 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13523
13524 * files.el (files-equal-p, file-subdir-of-p): New functions.
13525 (copy-directory): Error when trying to copy a directory on itself.
13526 Add missing copy-contents arg to tramp handler.
13527 * dired-aux.el (dired-copy-file-recursive): Same.
13528 (dired-create-files): Modify destination when source is equal to
13529 dest when copying files.
13530 Return also when dest is a subdir of source. (Bug#10489)
13531
13532 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13533
13534 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13535 (Bug#10874)
13536
13537 2012-02-23 Alan Mackenzie <acm@muc.de>
13538
13539 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13540 parameter "after-hook:" to allow the expansion to run code after
13541 the execution of the mode hooks.
13542
13543 * font-lock.el (font-lock-initial-fontify): New function extracted
13544 from font-lock-mode-internal.
13545
13546 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13547 :after-hook.
13548
13549 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13550
13551 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13552 (completion--cache-all-sorted-completions): New function.
13553 (completion-all-sorted-completions): Use it.
13554 (completion--do-completion, minibuffer-force-complete):
13555 Use it to re-instate the flush hook.
13556
13557 * icomplete.el (icomplete-completions): Replace last fix with a better
13558 one (bug#10850).
13559
13560 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13561
13562 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13563 when it might call us back infinitely (bug#10797).
13564
13565 2012-02-23 Glenn Morris <rgm@gnu.org>
13566
13567 * minibuffer.el (completion-category-overrides): Doc fix.
13568
13569 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13570
13571 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13572 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13573
13574 2012-02-23 Glenn Morris <rgm@gnu.org>
13575
13576 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13577 (authors-obsolete-files-regexps, authors-ignored-files)
13578 (authors-ambiguous-files, authors-renamed-files-alist):
13579 Add more entries.
13580
13581 2012-02-23 Juri Linkov <juri@jurta.org>
13582
13583 * isearch.el (isearch-occur): Sync interactive spec with occur's
13584 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13585
13586 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13587
13588 2012-02-22 Juri Linkov <juri@jurta.org>
13589
13590 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13591 (ucs-insert): Doc fix. Check for hex digits in the string.
13592 Don't display `nil' in the error message. (Bug#10857)
13593
13594 2012-02-22 Alan Mackenzie <acm@muc.de>
13595
13596 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13597
13598 2012-02-22 Glenn Morris <rgm@gnu.org>
13599
13600 * ffap.el (ffap-c-path):
13601 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13602
13603 2012-02-22 Chong Yidong <cyd@gnu.org>
13604
13605 * custom.el (load-theme): Doc fix.
13606
13607 2012-02-22 Glenn Morris <rgm@gnu.org>
13608
13609 * dired-x.el (dired-guess-shell-alist-default):
13610 Remove escape sequences from nroff output. (Bug#172)
13611
13612 2012-02-21 Glenn Morris <rgm@gnu.org>
13613
13614 * vc/emerge.el (emerge-defvar-local):
13615 Set `permanent-local' property rather than unused `preserved'.
13616
13617 * textmodes/picture.el (picture-delete-char): New alias.
13618 (picture-mode-map): Use it. (Bug#10860)
13619 (picture-mode): Doc fix.
13620
13621 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13622
13623 * newcomment.el (uncomment-region-default): Remove unused binding.
13624
13625 2012-02-21 Glenn Morris <rgm@gnu.org>
13626
13627 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13628 (picture-self-insert, picture-tab-chars): Doc fix.
13629 (picture-mode-map): Fix C-a, C-e.
13630
13631 2012-02-20 Glenn Morris <rgm@gnu.org>
13632
13633 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13634
13635 2012-02-20 Leo Liu <sdl.web@gmail.com>
13636
13637 * icomplete.el (icomplete-completions): Check FROM arg before
13638 passing to substring (Bug#10850).
13639
13640 2012-02-19 Chong Yidong <cyd@gnu.org>
13641
13642 * comint.el: Require ansi-color.
13643 (comint-output-filter-functions): Add ansi-color-process-output.
13644
13645 * ansi-color.el: Don't set comint-output-filter-functions; it is
13646 now in the initial value defined in comint.el.
13647 (ansi-color-apply-face-function): New variable.
13648 (ansi-color-apply-on-region): Use it.
13649 (ansi-color-apply-overlay-face): New function.
13650
13651 * shell.el (shell): No need to require ansi-color.
13652 (shell-mode): Use ansi-color-apply-face-function to highlight
13653 color escapes using font-lock-face property (Bug#10835).
13654
13655 2012-02-19 Chong Yidong <cyd@gnu.org>
13656
13657 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13658 mode-line formats (Bug#10839).
13659
13660 2012-02-18 Glenn Morris <rgm@gnu.org>
13661
13662 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13663
13664 * mail/undigest.el (unforward-rmail-message): Doc fix.
13665
13666 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13667
13668 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13669
13670 * international/characters.el (script-list): Sync with the latest
13671 Unicode Character Database.
13672
13673 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13674
13675 * international/titdic-cnv.el: Remove duplicate coding tag.
13676 * language/cham.el: Likewise.
13677 * language/tai-viet.el: Likewise.
13678
13679 2012-02-18 Glenn Morris <rgm@gnu.org>
13680
13681 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13682 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13683 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13684 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13685 * calendar/holidays.el (holiday-bahai-holidays)
13686 (calendar-holidays, list-holidays):
13687 Use utf-8 Bahá'í in doc-strings, menus, etc.
13688
13689 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13690
13691 * saveplace.el (save-place-ignore-files-regexp): New variable
13692 allowing for excluding files from saving their location of point.
13693 The default value matches the temporary commit message editing
13694 files from Git, SVN, Bazaar, and Mercurial.
13695 (save-place-to-alist): Use it.
13696
13697 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13698 Stefan Monnier <monnier@iro.umontreal.ca>
13699
13700 * newcomment.el (uncomment-region-default): Don't leave extra space
13701 when an arg is provided (bug#8150).
13702
13703 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13704
13705 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13706
13707 2012-02-17 Glenn Morris <rgm@gnu.org>
13708
13709 * net/socks.el: Require network-stream. (Bug#10599)
13710
13711 2012-02-17 Kenichi Handa <handa@m17n.org>
13712
13713 * international/charprop.el:
13714 * international/uni-name.el:
13715 * international/uni-old-name.el:
13716 * international/uni-comment.el: Regenerate.
13717
13718 2012-02-16 Glenn Morris <rgm@gnu.org>
13719
13720 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13721 Interactively in calendar buffer, give an error if not on a date.
13722
13723 2012-02-15 Glenn Morris <rgm@gnu.org>
13724
13725 * shell.el (shell-delimiter-argument-list):
13726 Revert 2011-02-17 change. (Bug#8027)
13727
13728 2012-02-15 Chong Yidong <cyd@gnu.org>
13729
13730 * minibuffer.el (completion-at-point-functions): Doc fix.
13731
13732 * custom.el (defcustom): Doc fix; note use of defvar.
13733
13734 2012-02-15 Glenn Morris <rgm@gnu.org>
13735
13736 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13737 Doc fixes.
13738
13739 2012-02-14 Glenn Morris <rgm@gnu.org>
13740
13741 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13742
13743 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13744
13745 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13746 way the ports list is computed.
13747 (smtpmail-query-smtp-server): Prompt the user for a port number if
13748 we can't connect to any of the standard ports (bug#10810).
13749
13750 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13751
13752 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13753
13754 2012-02-13 Glenn Morris <rgm@gnu.org>
13755
13756 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13757
13758 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13759
13760 * net/gnutls.el (gnutls-trustfiles): New variable.
13761 (gnutls-negotiate): Use it.
13762
13763 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13764
13765 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13766 does its stuff if Gnus is running.
13767
13768 2012-02-13 Alan Mackenzie <acm@muc.de>
13769
13770 Fix a loop in c-set-fl-decl-start.
13771
13772 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13773 c-backward-syntactic-ws actually moves backwards.
13774
13775 2012-02-13 Leo Liu <sdl.web@gmail.com>
13776
13777 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13778 beginning so that all \C-o chars are removed.
13779
13780 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13781
13782 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13783
13784 2012-02-12 Alan Mackenzie <acm@muc.de>
13785
13786 Fix infinite loop with long macros.
13787 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13788
13789 2012-02-12 Chong Yidong <cyd@gnu.org>
13790
13791 * window.el (display-buffer): Doc fix (Bug#10785).
13792
13793 2012-02-12 Glenn Morris <rgm@gnu.org>
13794
13795 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13796 (x-disown-selection-internal, x-get-selection-internal):
13797 Sync docs with the xselect.c versions.
13798
13799 * allout-widgets.el: Add missing license notice.
13800
13801 2012-02-11 Glenn Morris <rgm@gnu.org>
13802
13803 * select.el (x-get-selection-internal, x-own-selection-internal)
13804 (x-disown-selection-internal):
13805 * x-dnd.el (x-get-selection-internal): Update declarations.
13806
13807 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13808
13809 * window.el (window-sides-slots):
13810 * tool-bar.el (tool-bar-position):
13811 * term/xterm.el (xterm-extra-capabilities):
13812 * ses.el (ses-self-reference-early-detection):
13813 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13814 (verilog-auto-wire-type)
13815 (verilog-auto-delete-trailing-whitespace)
13816 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13817 (verilog-auto-tieoff-declaration):
13818 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13819 (sql-oracle-statement-starters, sql-oracle-scan-on):
13820 * progmodes/prolog.el (prolog-align-comments-flag)
13821 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13822 (prolog-left-indent-regexp, prolog-paren-indent-p)
13823 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13824 (prolog-types, prolog-mode-specificators)
13825 (prolog-determinism-specificators, prolog-directives)
13826 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13827 (prolog-electric-dot-flag)
13828 (prolog-electric-dot-full-predicate-template)
13829 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13830 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13831 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13832 (prolog-program-switches, prolog-prompt-regexp)
13833 (prolog-debug-on-string, prolog-debug-off-string)
13834 (prolog-trace-on-string, prolog-trace-off-string)
13835 (prolog-zip-on-string, prolog-zip-off-string)
13836 (prolog-use-standard-consult-compile-method-flag)
13837 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13838 (prolog-imenu-max-lines, prolog-info-predicate-index)
13839 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13840 (prolog-char-quote-workaround):
13841 * progmodes/cc-vars.el (c-defun-tactic):
13842 * net/tramp.el (tramp-encoding-command-interactive)
13843 (tramp-local-end-of-line):
13844 * net/soap-client.el (soap-client):
13845 * net/netrc.el (netrc-file):
13846 * net/gnutls.el (gnutls):
13847 * minibuffer.el (completion-category-overrides)
13848 (completion-cycle-threshold)
13849 (completion-pcm-complete-word-inserts-delimiters):
13850 * man.el (Man-name-local-regexp):
13851 * mail/feedmail.el (feedmail-display-full-frame):
13852 * international/characters.el (glyphless-char-display-control):
13853 * eshell/em-ls.el (eshell-ls-date-format):
13854 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13855 (lisp-lambda-list-keyword-parameter-indentation)
13856 (lisp-lambda-list-keyword-parameter-alignment):
13857 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13858 * dired-x.el (dired-omit-verbose):
13859 * cus-theme.el (custom-theme-allow-multiple-selections):
13860 * calc/calc.el (calc-highlight-selections-with-faces)
13861 (calc-lu-field-reference, calc-lu-power-reference)
13862 (calc-note-threshold):
13863 * battery.el (battery-mode-line-limit):
13864 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13865 (archive-7z-update):
13866 * allout.el (allout-prefixed-keybindings)
13867 (allout-unprefixed-keybindings)
13868 (allout-inhibit-auto-fill-on-headline)
13869 (allout-flattened-numbering-abbreviation):
13870 * allout-widgets.el (allout-widgets-auto-activation)
13871 (allout-widgets-icons-dark-subdir)
13872 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13873 (allout-widgets-theme-dark-background)
13874 (allout-widgets-theme-light-background)
13875 (allout-widgets-item-image-properties-emacs)
13876 (allout-widgets-item-image-properties-xemacs)
13877 (allout-widgets-run-unit-tests-on-load)
13878 (allout-widgets-time-decoration-activity)
13879 (allout-widgets-hook-error-post-time)
13880 (allout-widgets-track-decoration):
13881 Add missing :version tags to new defcustoms and defgroups.
13882
13883 * progmodes/sql.el (sql-ansi-statement-starters)
13884 (sql-oracle-statement-starters): Add custom type.
13885
13886 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13887 (prolog-system-version): Give it a type.
13888
13889 2012-02-11 Eli Zaretskii <eliz@gnu.org>
13890
13891 * term/pc-win.el (x-select-text, x-selection-owner-p)
13892 (x-own-selection-internal, x-disown-selection-internal)
13893 (x-get-selection-internal): Sync doc strings and argument lists
13894 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13895
13896 2012-02-11 Leo Liu <sdl.web@gmail.com>
13897
13898 * progmodes/python.el (python-end-of-statement): Fix infinite
13899 loop. (Bug#10788)
13900
13901 2012-02-10 Glenn Morris <rgm@gnu.org>
13902
13903 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13904 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13905
13906 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13907
13908 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13909 about SMTP before checking the From header.
13910
13911 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13912 into own function for reuse by emacsbug.el.
13913
13914 2012-02-10 Leo Liu <sdl.web@gmail.com>
13915
13916 * subr.el (condition-case-unless-debug): Rename from
13917 condition-case-no-debug. All callers changed.
13918 (with-demoted-errors): Fix caller.
13919
13920 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13921 * nxml/rng-valid.el (rng-do-some-validation):
13922 * emacs-lisp/package.el (package-refresh-contents)
13923 (package-menu-execute):
13924 * desktop.el (desktop-create-buffer):
13925 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
13926
13927 2012-02-10 Glenn Morris <rgm@gnu.org>
13928
13929 * textmodes/bibtex.el:
13930 Add missing :version tags for new/changed defcustoms.
13931
13932 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13933
13934 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
13935
13936 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13937 (smtpmail-via-smtp): Use it, or fall back on the From address.
13938 (smtpmail-send-it): Ditto.
13939
13940 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13941
13942 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13943 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13944 (byte-compile-tmp-var): New const.
13945 (byte-compile-defvar): Use it to minimize .elc size.
13946 Just use `defvar' rather than simulate it (bug#10761).
13947
13948 2012-02-09 Glenn Morris <rgm@gnu.org>
13949
13950 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13951
13952 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13953 Add :version tags.
13954
13955 * progmodes/compile.el (compilation-error-screen-columns)
13956 (compilation-first-column, compilation-filter-start): Doc fixes.
13957
13958 * vc/log-view.el (log-view-toggle-entry-display):
13959 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13960
13961 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13962 (report-emacs-bug-can-use-xdg-email):
13963 (report-emacs-bug-insert-to-mailer): Doc fixes.
13964 (report-emacs-bug): Message fix.
13965
13966 * net/browse-url.el (browse-url-can-use-xdg-open)
13967 (browse-url-xdg-open): Doc fixes.
13968
13969 * electric.el (electric-indent-mode, electric-pair-mode)
13970 (electric-layout-rules, electric-layout-mode): Doc fixes.
13971 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13972
13973 2012-02-08 Martin Rudalics <rudalics@gmx.at>
13974
13975 * server.el (server-unselect-display): Don't inadvertently kill
13976 the current buffer. (Bug#10729)
13977
13978 2012-02-08 Glenn Morris <rgm@gnu.org>
13979
13980 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13981 (sql-list-table): Doc fixes.
13982
13983 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13984 Comment out (does nothing).
13985
13986 * completion.el (dynamic-completion-mode):
13987 * dirtrack.el (dirtrack-debug-mode):
13988 * electric.el (electric-layout-mode):
13989 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13990 * face-remap.el (text-scale-mode, buffer-face-mode):
13991 * iimage.el (iimage-mode):
13992 * image-mode.el (image-transform-mode):
13993 * minibuffer.el (completion-in-region-mode):
13994 * scroll-lock.el (scroll-lock-mode):
13995 * simple.el (next-error-follow-minor-mode):
13996 * tar-mode.el (tar-subfile-mode):
13997 * tooltip.el (tooltip-mode):
13998 * vcursor.el (vcursor-use-vcursor-map):
13999 * wid-browse.el (widget-minor-mode):
14000 * emulation/tpu-edt.el (tpu-edt-mode):
14001 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14002 * international/iso-ascii.el (iso-ascii-mode):
14003 * language/thai-util.el (thai-word-mode):
14004 * mail/supercite.el (sc-minor-mode):
14005 * net/goto-addr.el (goto-address-mode):
14006 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14007 * progmodes/cwarn.el (cwarn-mode):
14008 * progmodes/flymake.el (flymake-mode):
14009 * progmodes/glasses.el (glasses-mode):
14010 * progmodes/hideshow.el (hs-minor-mode):
14011 * progmodes/pascal.el (pascal-outline-mode):
14012 * textmodes/enriched.el (enriched-mode):
14013 * vc/smerge-mode.el (smerge-mode):
14014 Doc fixes (minor mode argument).
14015
14016 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14017
14018 * ls-lisp.el (ls-lisp-sanitize): New function.
14019 (ls-lisp-insert-directory): Use it to fix or remove any elements
14020 in file-alist with missing attributes. (Bug#4673)
14021
14022 2012-02-07 Alan Mackenzie <acm@muc.de>
14023
14024 Fix spurious recognition of c-in-knr-argdecl.
14025
14026 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14027 putative K&R region.
14028
14029 2012-02-07 Alan Mackenzie <acm@muc.de>
14030
14031 * progmodes/cc-engine.el (c-forward-objc-directive):
14032 Prevent looping in "#pragma mark @implementation".
14033
14034 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14035
14036 * notifications.el (notifications-on-closed-signal): Make `reason'
14037 optional. (Bug#10744)
14038
14039 2012-02-07 Glenn Morris <rgm@gnu.org>
14040
14041 * emacs-lisp/easy-mmode.el (define-minor-mode):
14042 Doc fixes for the macro and the mode it defines.
14043
14044 * image.el (imagemagick-types-inhibit): Doc fix.
14045
14046 * cus-start.el (imagemagick-render-type): Add it.
14047
14048 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14049
14050 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14051 Set the default at load time, too, so that `font-lock-fontify-buffer'
14052 can be called without setting up the entire mode first. This fixes
14053 a bug in `mm-inline-text' with C MIME parts.
14054
14055 2012-02-06 Chong Yidong <cyd@gnu.org>
14056
14057 * simple.el (list-processes--refresh): Delete exited processes
14058 (Bug#8094).
14059
14060 * comint.el (comint-next-prompt): next-single-char-property-change
14061 and prev-single-char-property-change never return nil (Bug#8657).
14062
14063 * custom.el (defcustom): Doc fix (Bug#9711).
14064
14065 2012-02-05 Chong Yidong <cyd@gnu.org>
14066
14067 * cus-edit.el (custom-variable-reset-backup): Quote the value
14068 before storing it in the customized-value property (Bug#6712).
14069 (custom-display): Add a customization type tag.
14070 (custom-buffer-create-internal): Improve tooltip message.
14071
14072 * wid-edit.el (widget-field-value-get): New optional arg to
14073 suppress trailing whitespace truncation.
14074 (character): Use it (Bug#2689).
14075
14076 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14077
14078 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14079 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14080
14081 2012-02-05 Chong Yidong <cyd@gnu.org>
14082
14083 * cus-edit.el (custom-variable-value-create): For mismatched
14084 types, show the current value (Bug#7600).
14085
14086 * custom.el (defcustom): Doc fix.
14087
14088 2012-02-05 Glenn Morris <rgm@gnu.org>
14089
14090 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14091
14092 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14093
14094 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14095 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14096 (pp-last-sexp): Use `looking-at-p'.
14097
14098 2012-02-04 Glenn Morris <rgm@gnu.org>
14099
14100 * files.el (revert-buffer):
14101 Doc fix (mention revert-buffer-in-progress-p).
14102
14103 * emacs-lisp/ert-x.el (ert-simulate-command):
14104 Check deferred-action-list (which is obsolete) is bound.
14105
14106 * subr.el (with-wrapper-hook): Doc fixes.
14107
14108 * simple.el (filter-buffer-substring-functions)
14109 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14110
14111 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14112
14113 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14114 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14115
14116 2012-02-04 Leo Liu <sdl.web@gmail.com>
14117
14118 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14119
14120 2012-02-04 Glenn Morris <rgm@gnu.org>
14121
14122 * image.el (image-extension-data): Add obsolete alias.
14123
14124 * isearch.el (isearch-update): Doc fix.
14125
14126 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14127
14128 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14129
14130 2012-02-03 Glenn Morris <rgm@gnu.org>
14131
14132 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14133 (image-animate-timeout): Doc fix.
14134
14135 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14136
14137 2012-02-02 Glenn Morris <rgm@gnu.org>
14138
14139 * server.el (server-auth-dir): Doc fix.
14140 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14141
14142 * subr.el (run-mode-hooks): Doc fix.
14143
14144 2012-02-02 Juri Linkov <juri@jurta.org>
14145
14146 * image-mode.el (image-toggle-display-image): Remove tautological
14147 `major-mode' from the `derived-mode-p' test.
14148
14149 2012-02-02 Kenichi Handa <handa@m17n.org>
14150
14151 * composite.el (compose-region): Cancel previous change.
14152
14153 2012-02-02 Kenichi Handa <handa@m17n.org>
14154
14155 * composite.el (compose-region, compose-string): Signal error for
14156 a null string component (Bug#6988).
14157
14158 2012-02-01 Chong Yidong <cyd@gnu.org>
14159
14160 * view.el (view-buffer-other-window, view-buffer-other-frame):
14161 Handle special modes like view-buffer (Bug#10650).
14162 (view-buffer): Simplify.
14163
14164 * frame.el (set-frame-font): Tweak meaning of third argument.
14165
14166 * dynamic-setting.el (font-setting-change-default-font):
14167 Use set-frame-font (Bug#9982).
14168
14169 2012-02-01 Glenn Morris <rgm@gnu.org>
14170
14171 * progmodes/compile.el (compilation-internal-error-properties):
14172 Respect compilation-first-column in the "*compilation*" buffer.
14173
14174 * emacs-lisp/easy-mmode.el (define-minor-mode):
14175 Relax :variable's test for a named function.
14176
14177 2012-01-31 Alan Mackenzie <acm@muc.de>
14178
14179 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14180 off by one error.
14181
14182 2012-01-31 Chong Yidong <cyd@gnu.org>
14183
14184 * frame.el (set-frame-font): New arg ALL-FRAMES.
14185
14186 * menu-bar.el (menu-set-font): Use set-frame-font.
14187
14188 * faces.el (face-spec-reset-face): Don't apply unspecified
14189 attribute values to the default face.
14190
14191 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14192
14193 * progmodes/cwarn.el (cwarn): Remove dead link.
14194 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14195 Remove * from defcustom docstrings.
14196 (turn-on-cwarn-mode): Make obsolete.
14197 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14198 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14199
14200 2012-01-31 Glenn Morris <rgm@gnu.org>
14201
14202 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14203 Fix :variable handling of mode a symbol not equal to modefun.
14204 Allow named functions to be used as the cdr of :variable.
14205
14206 2012-01-30 Glenn Morris <rgm@gnu.org>
14207
14208 * emacs-lisp/authors.el (authors-fixed-entries):
14209 Remove reference to deleted file rnewspost.el.
14210
14211 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14212
14213 * window.el (window-with-parameter): Remove unused variable `windows'.
14214 (window--side-check): Remove unused variable `code'.
14215 (window--resize-siblings): Remove unused variable `first'.
14216 (adjust-window-trailing-edge): Remove unused variable `failed'.
14217 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14218 Use `let', not `let*'.
14219 (balance-windows-2): Remove unused variable `found'.
14220 (window--state-put-2): Remove unused variable `splits'.
14221 (window-state-put): Remove unused variable `selected'.
14222 (same-window-p): Use `string-match-p'.
14223 (display-buffer-assq-regexp): Remove unused variable `value'.
14224 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14225 Mark argument ALIST as ignored.
14226 (pop-to-buffer): Remove unused variable `old-window'.
14227
14228 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14229
14230 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14231 and .lzma compressed files.
14232
14233 2012-01-29 Chong Yidong <cyd@gnu.org>
14234
14235 * frame.el (window-system-default-frame-alist): Doc fix.
14236
14237 * dynamic-setting.el (font-setting-change-default-font): Don't
14238 change the default face if SET-FONT argument is non-nil (Bug#9982).
14239
14240 2012-01-29 Samuel Bronson <naesten@gmail.com>
14241
14242 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14243
14244 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14245
14246 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14247 breakpoints in files outside current directory (Bug#6098).
14248
14249 2012-01-29 Chong Yidong <cyd@gnu.org>
14250
14251 * progmodes/python.el: Require ansi-color at top-level.
14252
14253 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14254 Define and use in Emacs Lisp mode (Bug#9360).
14255 (lisp-mode-abbrev-table): Add doc.
14256 (lisp-mode-variables): Don't set local-abbrev-table.
14257 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14258
14259 2012-01-28 Roland Winkler <winkler@gnu.org>
14260
14261 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14262
14263 2012-01-28 Roland Winkler <winkler@gnu.org>
14264
14265 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14266 (bibtex-set-dialect): Use it. Either set global values of
14267 dialect-dependent variables or bind these variables buffer-locally
14268 (Bug#10254).
14269 (bibtex-mode): Call bibtex-set-dialect via
14270 hack-local-variables-hook.
14271 (bibtex-dialect): Update docstring.
14272 Add safe-local-variable predicate.
14273 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14274 bibtex-set-dialect.
14275 (bibtex-mode-map): Define menu for each dialect.
14276 (bibtex-entry): Fix docstring.
14277
14278 2012-01-28 Chong Yidong <cyd@gnu.org>
14279
14280 * eshell/esh-arg.el (eshell-quote-argument): New function.
14281
14282 * eshell/esh-ext.el (eshell-invoke-batch-file):
14283 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14284 first arg to eshell-parse-command (Bug#10523).
14285
14286 2012-01-28 Drew Adams <drew.adams@oracle.com>
14287
14288 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14289 `default-directory' is non-nil.
14290
14291 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14292
14293 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14294 line that displays system-configuration-options. (Bug#9924)
14295
14296 2012-01-28 Drew Adams <drew.adams@oracle.com>
14297
14298 * descr-text.el (describe-char): Show information about POS, in
14299 addition to information about the character at POS. Improve and
14300 update the doc string. Change "code point" to "code point in
14301 charset", to avoid confusion with the character's Unicode code
14302 point shown above that. (Bug#10129)
14303
14304 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14305
14306 * descr-text.el (describe-char): Show the raw character, not only
14307 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14308 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14309 for the reasons.
14310
14311 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14312
14313 * emacs-lisp/package.el (package-install):
14314 Run package-refresh-contents if there is no archive yet (Bug#9798).
14315
14316 2012-01-28 Chong Yidong <cyd@gnu.org>
14317
14318 * emacs-lisp/package.el (package-maybe-load-descriptor):
14319 New function, split from package-maybe-load-descriptor.
14320 (package-maybe-load-descriptor): Use it.
14321 (package-download-transaction): Fully load required packages
14322 inside the loop, so that `require' calls work (Bug#10593).
14323 (package-install): No need to call package-initialize now.
14324
14325 2012-01-28 Chong Yidong <cyd@gnu.org>
14326
14327 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14328
14329 * tooltip.el (tooltip-mode): Doc fix.
14330 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14331
14332 * frame.el (set-cursor-color): Doc fix (Bug#352).
14333
14334 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14335 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14336
14337 * cus-edit.el (custom-buffer-create-internal): Fix search button
14338 action (Bug#10542).
14339 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14340
14341 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14342
14343 * dired.el (dired-mark-files-regexp):
14344 Include any subdirectory components. (Bug#10445)
14345
14346 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14347
14348 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14349 Handle [host]:port syntax. (Bug#10533)
14350
14351 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14352
14353 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14354
14355 2012-01-26 Glenn Morris <rgm@gnu.org>
14356
14357 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14358 * term.el (term-raw-escape-map): Use Control-X-prefix.
14359 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14360
14361 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14362
14363 * window.el (window-state-get, window--state-get-1): Don't deal
14364 with fixed-sizeness of windows. Simplify code.
14365
14366 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14367
14368 * window.el (window--state-get-1, window--state-put-2):
14369 Don't save and restore the mark.
14370
14371 2012-01-25 Chong Yidong <cyd@gnu.org>
14372
14373 * custom.el (custom-variable-p): Doc fix.
14374
14375 2012-01-25 Glenn Morris <rgm@gnu.org>
14376
14377 * dired.el (dired-goto-file): Handle some of the more common
14378 characters that `ls -b' escapes. (Bug#10596)
14379
14380 * progmodes/compile.el (compilation-next-error-function):
14381 Respect compilation-first-column in the "*compilation*" buffer.
14382 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14383
14384 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14385
14386 2012-01-24 Glenn Morris <rgm@gnu.org>
14387
14388 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14389
14390 2012-01-24 Julien Danjou <julien@danjou.info>
14391
14392 * color.el (color-rgb-to-hsl): Fix value computing.
14393 (color-hue-to-rgb): New function.
14394 (color-hsl-to-rgb): New function.
14395 (color-clamp, color-saturate-hsl, color-saturate-name)
14396 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14397 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14398
14399 2012-01-24 Glenn Morris <rgm@gnu.org>
14400
14401 * vc/vc-rcs.el (vc-rcs-create-tag):
14402 * vc/vc-sccs.el (vc-sccs-create-tag):
14403 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14404
14405 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14406
14407 * eshell/esh-util.el (eshell-read-hosts-file):
14408 Skip comment lines. (Bug#10549)
14409
14410 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14411
14412 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14413
14414 * subr.el (display-delayed-warnings): Doc fix.
14415 (collapse-delayed-warnings): New function to collapse identical
14416 adjacent warnings.
14417 (delayed-warnings-hook): Add it.
14418
14419 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14420
14421 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14422
14423 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14424 (tramp-default-user-alist): Don't add "pscp".
14425 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14426 property "login-as", if set. (Bug#10530)
14427
14428 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14429
14430 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14431 "plink1" and "psftp". (Bug#10530)
14432
14433 2012-01-21 Kenichi Handa <handa@m17n.org>
14434
14435 * international/mule-cmds.el (prefer-coding-system): Show a
14436 warning message if the default value of file-name-coding-system
14437 was not changed.
14438
14439 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14440
14441 * windmove.el (windmove-reference-loc):
14442 Fix windmove-reference-loc miscalculation.
14443
14444 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14445
14446 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14447 default unit.
14448
14449 2012-01-21 Glenn Morris <rgm@gnu.org>
14450
14451 * international/mule.el (auto-coding-alist): Add .tbz.
14452
14453 * files.el (local-enable-local-variables): Doc fix.
14454 (inhibit-local-variables-regexps): Rename from
14455 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14456 Doc fix. Add some extensions from auto-coding-alist.
14457 (inhibit-local-variables-suffixes):
14458 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14459 (inhibit-local-variables-p):
14460 New function, extracted from set-auto-mode-1.
14461 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14462 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14463 (hack-local-variables): Doc fix. Make the mode-only case
14464 respect enable-local-variables and friends.
14465 Respect inhibit-local-variables-regexps for file-locals, but
14466 not for directory-locals.
14467 (set-visited-file-name):
14468 Take account of inhibit-local-variables-regexps.
14469 Whether it applies may change as the file name is changed.
14470 * jka-cmpr-hook.el (jka-compr-install):
14471 * jka-compr.el (jka-compr-uninstall):
14472 Update for inhibit-first-line-modes-suffixes name change.
14473
14474 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14475
14476 * help-macro.el (make-help-screen): Temporarily restore original
14477 binding for minor-mode-map-alist (Bug#10454).
14478
14479 2012-01-19 Julien Danjou <julien@danjou.info>
14480
14481 * color.el (color-name-to-rgb): Use the white color to find the max
14482 color component value and return correctly computed values.
14483 (color-name-to-rgb): Add missing float conversion for max value.
14484
14485 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14486
14487 * window.el (window--state-get-1, window-state-get): Do not use
14488 special state value for window-persistent-parameters.
14489 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14490 (window--state-put-2): Reset all window parameters to nil before
14491 assigning values of persistent parameters.
14492
14493 2012-01-18 Alan Mackenzie <acm@muc.de>
14494
14495 Eliminate sluggishness and hangs in fontification of "semicolon
14496 deserts".
14497
14498 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14499 Change value 10000 -> 3000.
14500 (c-state-safe-place): Reformulate so it doesn't stack up an
14501 infinite number of wrong entries in c-state-nonlit-pos-cache.
14502 (c-determine-limit-get-base, c-determine-limit): New functions to
14503 determine backward search limits disregarding literals.
14504 (c-find-decl-spots): Amend commenting.
14505 (c-cheap-inside-bracelist-p): New function which detects "={".
14506
14507 * progmodes/cc-fonts.el
14508 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14509 backward search.
14510 (c-font-lock-declarations): Fix an occurrence of point being
14511 undefined. Check additionally for point being in a bracelist or
14512 near a macro invocation without a semicolon so as to avoid a
14513 fruitless time consuming search for a declarator. Give a more
14514 precise search limit for declarators using the new
14515 c-determine-limit.
14516
14517 2012-01-18 Glenn Morris <rgm@gnu.org>
14518
14519 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14520 (set-auto-mode): Doc fixes.
14521
14522 2012-01-17 Glenn Morris <rgm@gnu.org>
14523
14524 * isearch.el (search-nonincremental-instead): Fix doc typo.
14525
14526 * dired.el (dired-insert-directory): Handle newlines in directory name.
14527 (dired-build-subdir-alist): Unescape newlines in directory name.
14528
14529 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14530
14531 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14532 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14533 (tramp-action-terminal): Use it. (Bug#10530)
14534
14535 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14536
14537 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14538
14539 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14540
14541 * window.el (window-state-ignored-parameters): Remove variable.
14542 (window--state-get-1): Rename argument MARKERS to IGNORE.
14543 Handle persistent window parameters. Make copy of clone-of
14544 parameter only if requested. (Bug#10348)
14545 (window--state-put-2): Install a window parameter only if it has
14546 a non-nil value or an existing parameter shall be overwritten.
14547
14548 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14549
14550 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14551
14552 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14553
14554 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14555 don't pass the (nil) value of `upnode' to string-match.
14556
14557 2012-01-14 Chong Yidong <cyd@gnu.org>
14558
14559 * startup.el (command-line): Fix X resource class for cursorColor.
14560 Fix values recognized by the cursorBlink resource.
14561
14562 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14563
14564 * epg.el (epg--make-temp-file): Avoid permission race condition
14565 when running on old Emacs versions (bug#10403).
14566
14567 2012-01-14 Glenn Morris <rgm@gnu.org>
14568
14569 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14570
14571 2012-01-13 Alan Mackenzie <acm@muc.de>
14572
14573 Fix filling for when filladapt mode is enabled.
14574
14575 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14576 c-mask-paragraph, pass in `fill-paragraph' rather than
14577 `fill-region-as-paragraph'. (This is a reversion of a previous
14578 change.)
14579 * progmodes/cc-mode.el (c-basic-common-init):
14580 Make fill-paragraph-handle-comment buffer local and set it to nil.
14581
14582 2012-01-13 Glenn Morris <rgm@gnu.org>
14583
14584 * dired.el (dired-switches-escape-p): New function.
14585 (dired-insert-directory): Use dired-switches-escape-p.
14586 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14587
14588 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14589
14590 2012-01-12 Glenn Morris <rgm@gnu.org>
14591
14592 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14593 changes in adaptive-fill-regexp. (Bug#10276)
14594
14595 2012-01-11 Alan Mackenzie <acm@muc.de>
14596
14597 Fix Emacs bug #10463 - put `widen's around the critical spots.
14598
14599 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14600 widen around each invocation of c-state-pp-to-literal. Remove an
14601 unused let variable.
14602
14603 2012-01-11 Glenn Morris <rgm@gnu.org>
14604
14605 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14606 Doc fix.
14607
14608 2012-01-10 Chong Yidong <cyd@gnu.org>
14609
14610 * net/network-stream.el (network-stream-open-starttls):
14611 Avoid emitting a confusing error message when the server gives a bad
14612 response to the capability command.
14613
14614 2012-01-10 Glenn Morris <rgm@gnu.org>
14615
14616 * mail/unrmail.el (unrmail): Tweak previous change.
14617
14618 2012-01-09 Chong Yidong <cyd@gnu.org>
14619
14620 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14621
14622 2012-01-08 Alan Mackenzie <acm@muc.de>
14623
14624 Optimize font locking in long enum definitions.
14625
14626 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14627 arm to a cond form to handle enums.
14628 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14629 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14630
14631 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14632
14633 * files.el (move-file-to-trash): Preserve default file modes on error.
14634 (Bug#10401)
14635
14636 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14637
14638 * faces.el (set-face-attribute): Clarify the meaning of the nil
14639 frame (bug#10294).
14640
14641 * subr.el (with-selected-frame): Mention that the selected frame
14642 is restored (bug#9980).
14643
14644 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14645 (bug#9759).
14646
14647 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14648 (password-read): Don't autoload unused function.
14649
14650 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14651
14652 * progmodes/which-func.el (which-func-mode): Turn into a
14653 non-interactive function and mark as obsolete (bug#10428).
14654
14655 2012-01-06 Chong Yidong <cyd@gnu.org>
14656
14657 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14658 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14659 functions, along with 1 and -1.
14660
14661 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14662
14663 * time.el (display-time-load-average)
14664 (display-time-default-load-average): Doc fixes. See the thread
14665 starting at
14666 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14667 for the details.
14668
14669 2012-01-06 Glenn Morris <rgm@gnu.org>
14670
14671 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14672 has no messages. (Bug#10377)
14673
14674 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14675 than Info-edit. (Bug#10385)
14676
14677 * time.el (display-time-load-average, display-time-next-load-average):
14678 Doc fixes.
14679
14680 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14681 local setting of buffer-read-only to the input buffer. (Bug#10419)
14682
14683 * calendar/calendar.el (calendar-mode):
14684 Locally set scroll-margin to 0. (Bug#10379)
14685
14686 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14687
14688 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14689
14690 2012-01-05 Glenn Morris <rgm@gnu.org>
14691
14692 * eshell/em-unix.el (diff-no-select): Autoload it.
14693 (eshell/diff): Use diff-no-select. (Bug#10420)
14694
14695 2012-01-05 Chong Yidong <cyd@gnu.org>
14696
14697 * shell.el (shell-dynamic-complete-functions): Revert last change.
14698 (shell-command-completion-function): New function.
14699 (shell-completion-vars): Use it to implement
14700 shell-completion-execonly (Bug#10417).
14701
14702 * custom.el (enable-theme): Don't set custom-safe-themes.
14703
14704 * cus-theme.el (custom-theme-merge-theme):
14705 Ignore custom-enabled-themes and custom-safe-themes.
14706
14707 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14708
14709 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14710 first prompt in `sql-interacive-mode'.
14711 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14712 keywords.
14713 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14714 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14715 context of original buffer. Invoke `sql-login-hook'.
14716
14717 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14718
14719 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14720 letters in cite-prefix.
14721
14722 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14723
14724 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14725
14726 2012-01-03 Chong Yidong <cyd@gnu.org>
14727
14728 * shell.el (shell-dynamic-complete-functions):
14729 Put pcomplete-completions-at-point, so as to try
14730 comint-filename-completion first (Bug#10417).
14731
14732 2012-01-02 Richard Stallman <rms@gnu.org>
14733
14734 * battery.el (battery-status-function):
14735 Detect when to use battery-yeeloong-sysfs.
14736 (battery-echo-area-format): Add string for Yeeloong.
14737 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14738 (battery-yeeloong-sysfs): New function.
14739
14740 2012-01-02 Chong Yidong <cyd@gnu.org>
14741
14742 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14743 (dirtrack): Merge code for handling relative filenames in prompt
14744 from shell-dir-cookie-watcher.
14745 (dirtrack-debug-message): New arg to avoid excess format calls.
14746
14747 * shell.el (shell-dir-cookie-re): Variable deleted.
14748 (shell-dir-cookie-watcher): Function deleted.
14749 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14750 with dirtrack-mode.
14751
14752 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14753
14754 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14755 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14756 libgnutls-26.dll.
14757
14758 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14759
14760 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14761
14762 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14763
14764 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14765 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14766
14767 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
14768
14769 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14770 also for alternative shells.
14771 (tramp-open-connection-setup-interactive-shell): Check, whether
14772 the shell is a busybox.
14773 (tramp-send-command): Don't suppress multiple prompts for
14774 busyboxes, it hurts.
14775
14776 2011-12-28 Chong Yidong <cyd@gnu.org>
14777
14778 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14779 (gdb-get-source-file): Move mode line update to
14780 gdb-get-source-file (Bug#10087).
14781
14782 2011-12-25 Chong Yidong <cyd@gnu.org>
14783
14784 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14785 gud-gdb-marker-filter without taking it as an argument.
14786 (gud-gdb-run-command-fetch-lines): Caller changed.
14787 (gud-gdb-completion-function): New variable.
14788 (gud-gdb-completion-at-point): Use it.
14789 (gud-gdb-completions-1): Split from gud-gdb-completions.
14790
14791 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14792 function as separate arguments.
14793 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14794 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14795 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14796 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14797 (gdb-stopped, def-gdb-auto-update-trigger)
14798 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14799 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14800 Callers changed.
14801 (gud-gdbmi-completions): New function.
14802 (gdb): Use it for generating the completion table.
14803
14804 2011-12-24 Alan Mackenzie <acm@muc.de>
14805
14806 Introduce a mechanism to widen the region used in context font
14807 locking. Use this to protect declarations from losing their contexts.
14808
14809 * progmodes/cc-langs.el (c-before-font-lock-functions):
14810 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14811 (c-before-context-fontification-functions): New defvar, a list of
14812 functions to be run just before context (etc.) font locking.
14813
14814 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14815 New, functionality extracted from
14816 c-neutralize-syntax-in-and-mark-CPP.
14817 (c-in-after-change-fontification): New variable.
14818 (c-after-change): Set c-in-after-change-fontification.
14819 (c-set-fl-decl-start): Rejig its interface, so it can be called
14820 from both after-change and context fontifying.
14821 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14822 New functions.
14823 (c-standard-font-lock-fontify-region-function): New variable.
14824 (c-font-lock-fontify-region): New function.
14825
14826 2011-12-24 Juri Linkov <juri@jurta.org>
14827
14828 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14829 (Bug#10348)
14830
14831 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
14832
14833 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14834 existence of source file. (Bug#10325)
14835
14836 2011-12-23 Alan Mackenzie <acm@muc.de>
14837
14838 Fix unstable fontification inside templates.
14839
14840 * progmodes/cc-langs.el (c-before-font-lock-functions):
14841 Newly created from the singular version. The (c c++ objc) entry now
14842 additionally has c-set-fl-decl-start. The other languages (apart
14843 from AWK) have that as a single entry.
14844
14845 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14846 The functionality for "local" declarations has been extracted to
14847 c-set-fl-decl-start.
14848
14849 * progmodes/cc-mode.el (c-common-init, c-after-change):
14850 Changes due to pluralisation of c-before-font-lock-functions.
14851 (c-set-fl-decl-start): New function, extracted from
14852 c-font-lock-enclosing-decls and enhanced.
14853
14854 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
14855
14856 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14857
14858 2011-12-22 Juri Linkov <juri@jurta.org>
14859
14860 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14861
14862 2011-12-22 Chong Yidong <cyd@gnu.org>
14863
14864 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14865
14866 2011-12-21 Drew Adams <drew.adams@oracle.com>
14867
14868 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14869
14870 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14871
14872 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14873
14874 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14875
14876 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14877 highlighting and support. Fix up comments for capitalization.
14878 (cfengine-mode-debug): New var.
14879 (cfengine3-mode): Change the modeline indicator to "CFE3".
14880 (cfengine3-font-lock-keywords): Improve defun highlighting.
14881 (cfengine2-actions): Rename from `cfengine-actions'.
14882 (cfengine2-font-lock-keywords): Rename from
14883 `cfengine-font-lock-keywords'.
14884 (cfengine2-imenu-expression): Rename from
14885 `cfengine-imenu-expression'.
14886 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14887 (cfengine2-beginning-of-defun): Rename from
14888 `cfengine-beginning-of-defun'.
14889 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14890 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14891 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14892 modeline indicator to "CFE2".
14893 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14894 (cfengine-mode-abbrevs): Mark obsolete.
14895
14896 2011-12-21 Chong Yidong <cyd@gnu.org>
14897
14898 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14899 filename argument.
14900
14901 2011-12-20 Martin Rudalics <rudalics@gmx.at>
14902
14903 * window.el (window-normalize-buffer-to-display): Remove.
14904 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14905
14906 2011-12-19 Chong Yidong <cyd@gnu.org>
14907
14908 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14909 Don't signal an error in a predicate function; return non-nil.
14910 (vc-dir-mark-file): Move the error here.
14911 (vc-dir-mark-unmark): If acting on the region, keep going if one
14912 of the entries cannot be marked/unmarked.
14913 (vc-dir-mark-all-files): If current entry is a directory, mark
14914 only child files, as documented.
14915
14916 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14917
14918 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14919 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14920 addition.
14921
14922 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14923
14924 * term/ns-win.el (ns-get-selection-internal)
14925 (ns-store-selection-internal): Declare.
14926 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14927 Declare as obsolete.
14928 (ns-get-pasteboard, ns-paste-secondary):
14929 Use ns-get-selection-internal.
14930 (ns-set-pasteboard, ns-copy-including-secondary):
14931 Use ns-store-selection-internal.
14932
14933 2011-12-17 Chong Yidong <cyd@gnu.org>
14934
14935 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
14936 (vc-deduce-fileset): Doc fix.
14937
14938 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14939
14940 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14941
14942 2011-12-13 Sam Steingold <sds@gnu.org>
14943
14944 * man.el (Man-getpage-in-background): When running under a
14945 window-system, ignore $MANWIDTH and $COLUMNS.
14946
14947 2011-12-15 Kenichi Handa <handa@m17n.org>
14948
14949 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14950 (setup-ethiopic-environment-internal): Comment out key-binding for
14951 ethio-toggle-punctuation.
14952
14953 2011-12-13 Alan Mackenzie <acm@muc.de>
14954
14955 Add the switch statement to AWK Mode.
14956
14957 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
14958 "default" to the keywords regexp.
14959
14960 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
14961 expression as the rest.
14962 (c-nonlabel-token-key): Allow string literals for AWK.
14963 Refactor for the other modes.
14964
14965 Large brace-block initialisation makes CC Mode slow: Fix.
14966 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
14967 routines. Limit backward searching in c-font-lock-enclosing.decl.
14968
14969 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14970 pp-state and literal type in addition to the limits.
14971 (c-state-safe-place): New defun, extracted from c-state-literal-at.
14972 (c-state-literal-at): Use the above new defun.
14973 (c-slow-in-literal, c-fast-in-literal): Remove.
14974 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
14975
14976 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14977 being in a literal. Add a limit for backward searching.
14978
14979 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14980 c-slow-in-literal.
14981
14982 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14983
14984 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14985
14986 2011-12-13 Martin Rudalics <rudalics@gmx.at>
14987
14988 * window.el (delete-other-windows): Use correct frame in call to
14989 window-with-parameter.
14990
14991 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14992
14993 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14994 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14995 (makefile-gmake-statements, makefile-makepp-statements):
14996 Use it and add new makepp keywords.
14997 (makefile-makepp-font-lock-keywords): Add new patterns.
14998 (makefile-match-function-end): Match new [...] and [[...]].
14999
15000 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15001
15002 * ses.el (ses-call-printer-return, ses-cell-property-get)
15003 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15004 (ses-create-cell-variable, ses-reset-header-string)
15005 (ses-cell-set-formula, ses-repair-cell-reference-all)
15006 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15007 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15008 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15009 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15010 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15011 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15012 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15013 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15014 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15015 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15016 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15017 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15018
15019 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15020
15021 * ses.el: The overall change is to add cell renaming, that is
15022 setting fancy names for cell symbols other than name matching
15023 "\\`[A-Z]+[0-9]+\\'" regexp .
15024 (ses-create-cell-variable): New defun.
15025 (ses-relocate-formula): Relocate formulas only for cells the
15026 symbols of which are not renamed, i.e. symbols whose names do not
15027 match regexp "\\`[A-Z]+[0-9]+\\'".
15028 (ses-relocate-all): Relocate values only for cells the symbols of
15029 which are not renamed.
15030 (ses-load): Create cells variables as the (ses-cell ...) are read,
15031 in order to check row col consistency with cell symbol name only
15032 for cells that are not renamed.
15033 (ses-replace-name-in-formula): New defun.
15034 (ses-rename-cell): New defun.
15035
15036 2011-12-11 Chong Yidong <cyd@gnu.org>
15037
15038 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15039 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15040
15041 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15042
15043 * window.el (other-window): Fix docstring.
15044
15045 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15046
15047 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15048 `from' or `to' address before taking its substring.
15049 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15050 encoded name is chopped in the middle of the encoded string, and
15051 thus displayed encoded.
15052
15053 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15054
15055 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15056
15057 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15058
15059 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15060 to use texinfo-update-node and commands that call it if the
15061 Texinfo file uses @node lines without next/prev/up pointers.
15062 Correct outdated description about texinfo-master-menu.
15063 (texinfo-all-menus-update, texinfo-master-menu)
15064 (texinfo-update-node, texinfo-every-node-update)
15065 (texinfo-multiple-files-update): Doc fix. Warn against updating
15066 all the @node lines.
15067 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15068 argument is numeric. Explain better in the doc string what the
15069 function really does.
15070 (texinfo-insert-master-menu-list): Improve the error message
15071 displayed if there's no menu in the Top node.
15072 (Bug#2975) See also this thread:
15073 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15074
15075 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15076
15077 * speedbar.el (speedbar-supported-extension-expressions):
15078 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15079
15080 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15081
15082 * printing.el (pr-mode-alist):
15083 * simple.el (filter-buffer-substring-functions)
15084 (completion-list-insert-choice-function):
15085 * window.el (window-with-parameter, window-atom-root)
15086 (window-sides-slots, window-size-fixed, window-min-delta)
15087 (window-max-delta, window--resize-mini-window)
15088 (window--resize-child-windows-normal, window-tree)
15089 (delete-other-windows, quit-window, split-window)
15090 (display-buffer-record-window, special-display-buffer-names)
15091 (special-display-regexps, special-display-popup-frame)
15092 (same-window-p, split-window-sensibly)
15093 (display-buffer-overriding-action, display-buffer-alist)
15094 (display-buffer-base-action, display-buffer, switch-to-buffer)
15095 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15096 (fit-window-to-buffer, recenter-positions)
15097 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15098 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15099 and remove unneeded backslashes in docstrings.
15100
15101 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15102
15103 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15104
15105 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15106 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15107 end in ".mk".
15108 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15109 when reading the makefile (bug#10116).
15110
15111 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15112
15113 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15114 (bug#10116).
15115
15116 2011-12-06 Glenn Morris <rgm@gnu.org>
15117
15118 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15119
15120 2011-12-06 Chong Yidong <cyd@gnu.org>
15121
15122 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15123
15124 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15125
15126 * textmodes/table.el (table-shorten-cell): Fix typo.
15127
15128 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15129
15130 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15131
15132 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15133
15134 * descr-text.el (describe-char): Fix display of strong
15135 right-to-left characters and directional embeddings and overrides.
15136
15137 * simple.el (what-cursor-position): Fix display of codepoints of
15138 strong right-to-left characters.
15139
15140 2011-12-05 Chong Yidong <cyd@gnu.org>
15141
15142 * faces.el (read-color): Doc fix.
15143
15144 2011-12-05 Glenn Morris <rgm@gnu.org>
15145
15146 * align.el (align--set-marker): Add doc-string.
15147 Don't try to move something that is not a marker. (Bug#10216)
15148
15149 2011-12-04 Glenn Morris <rgm@gnu.org>
15150
15151 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15152 overly zealous deletion of trailing whitespace.
15153
15154 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15155
15156 * server.el (server-delete-client): On Windows, do not try to delete
15157 the only terminal.
15158 (server-process-filter): On Windows, treat requests for a tty frame as
15159 if they were for a GUI frame if the running server is in GUI mode.
15160
15161 2011-12-03 Glenn Morris <rgm@gnu.org>
15162
15163 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15164
15165 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15166
15167 * electric.el: Streamline electric-indent's hook.
15168 (electric-indent-chars): Revert to simple list.
15169 (electric-indent-functions): New var.
15170 (electric-indent-post-self-insert-function): Use it.
15171
15172 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15173 there's no inferior buffer (bug#10196).
15174 (prolog-consult-compile): Don't use toggle-read-only.
15175
15176 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15177
15178 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15179 interrupt. (Bug#10187)
15180
15181 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15182
15183 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15184 (bug#9160).
15185
15186 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15187 (bug#10191).
15188
15189 2011-12-02 Juri Linkov <juri@jurta.org>
15190
15191 * info.el (Info-search): Display "end of manual" when Isearch
15192 reaches the end of single-file Info manual. (Bug#9918)
15193
15194 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15195
15196 * isearch.el (isearch-message-prefix): Run the input method part
15197 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15198
15199 2011-12-02 Juri Linkov <juri@jurta.org>
15200
15201 * isearch.el (isearch-occur): Use `word-search-regexp' for
15202 `isearch-word'.
15203 (isearch-search-and-update): Add condition for `isearch-word' and
15204 call `word-search-regexp'. (Bug#10145)
15205
15206 2011-12-01 Glenn Morris <rgm@gnu.org>
15207
15208 * eshell/em-hist.el (eshell-hist-initialize):
15209 Handle eshell-history-size nil and HISTSIZE set or unset.
15210 (eshell-history-file-name, eshell-history-size): Fix custom type.
15211
15212 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15213
15214 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15215
15216 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15217
15218 * progmodes/verilog-mode.el (verilog-pretty-expr):
15219 Rework verilog-pretty-expr to handle new assignment operators in system
15220 verilog, such as += *= and the like.
15221 (verilog-assignment-operator-re): Regular expression to find the
15222 assigment operator in a verilog assignment.
15223 (verilog-assignment-operation-re): Regular expression to find an
15224 assignment statement for pretty-expr.
15225 (verilog-in-attribute-p): Query returns true if point is in an
15226 attribute context; used to skip these for expression line up from
15227 pretty-expr.
15228 (verilog-in-parameter-p): Query returns true if point is in an
15229 parameter definition context; used to skip these for expression
15230 line up from pretty-expr.
15231 (verilog-in-parenthesis-p): Query returns true if point is in a
15232 parenthetical expression, specifically ( ) but not [ ] or { };
15233 used by pretty-expr.
15234 (verilog-just-one-space): If there is no space, don't add one.
15235 (verilog-get-lineup-indent-2): Specifically skip just attribute
15236 contexts for expression lineup, rather than skipping all
15237 parenthetical expressions.
15238 (verilog-calculate-indent): Fix comment, and fix indent.
15239 (verilog-do-indent): Indent declarations in lists (suggested by
15240 Joachim Lechner).
15241 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15242 skeleton items.
15243 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15244 by Alain Mellan).
15245
15246 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15247
15248 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15249 parameters with embedded comments. Reported by Ray Stevens.
15250 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15251 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15252 Reported by Tim Holt.
15253 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15254 instantiated by upper module causing wrong expansion until AUTOed a
15255 second time. Reported by K C Buckenmaier.
15256 (verilog-diff-auto): Fix showing .* as a difference when
15257 `verilog-auto-star-save' off. Reported by Dan Dever.
15258 (verilog-auto-reset, verilog-read-always-signals)
15259 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15260 temporary signals in reset list if
15261 verilog-auto-reset-blocking-in-non is nil, and match assignment
15262 style to each signal's assignment type, bug381.
15263 Reported by Thomas Esposito.
15264 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15265 (verilog-uvm-statement-re): Support UVM indentation and
15266 highlighting, with old OVM keywords only.
15267 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15268 Support AUTOTIEOFF creating non-wire data types.
15269 Suggested by Jonathan Greenlaw.
15270 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15271 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15272 (verilog-inject-sense, verilog-read-inst-pins)
15273 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15274 Fix mismatching parenthesis inside commented out code when deleting
15275 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15276 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15277 non-numeric vector width. Reported by Alex Reed.
15278 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15279 detecting signals with parameter widths. Reported by Alex Reed.
15280 (verilog-auto-delete-trailing-whitespace):
15281 With `verilog-auto-delete-trailing-whitespace' remove trailing
15282 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15283 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15284 Fix verilog-scan-cache corruption when running user AUTO expansion
15285 hooks that call indentation routines.
15286 (verilog-simplify-range-expression): Fix typo ignoring lower case
15287 identifiers.
15288 (verilog-delete-auto): Fix delete-autos to also remove user created
15289 automatics, as long as they start with AUTO.
15290 (verilog-batch-diff-auto, verilog-diff-auto)
15291 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15292 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15293 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15294 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15295 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15296 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15297 is disabled and its cache will get corrupt, causing AUTOS not to
15298 expand. Instead use only -quick functions.
15299 (verilog-scan-region): Fix scanning over escaped quotes.
15300 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15301 (verilog-re-search-backward-quick)
15302 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15303 related functions now ignore strings, to fix misparsing of strings
15304 with magic comments embedded in them.
15305 (verilog-read-auto-template):
15306 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15307 Reported by Brad Dobbie.
15308 (verilog-read-auto-template):
15309 Fix 'verilog-auto-inst-template-numbers' with comments.
15310 Reported by Brad Dobbie.
15311 (verilog-auto-inst, verilog-auto-inst-param)
15312 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15313 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15314 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15315 debugging templates without merge conflicts, bug357.
15316 Reported by Brad Dobbie.
15317 (verilog-read-auto-template):
15318 Fix verilog-auto-inst-template-numbers with multiple templates.
15319 Reported by Brad Dobbie.
15320 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15321 abbrevs so user won't be asked to save.
15322 (verilog-read-auto-lisp-present): Fix to start at beginning of
15323 buffer in case called outside of verilog-auto.
15324 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15325 to "X-2". Reported by Matthew Myers.
15326 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15327 all inputs from module templates. Reported by Leith Johnson.
15328 (verilog-module-inside-filename-p): Fix locating programs as with
15329 modules.
15330 (verilog-auto-inst-port): Fix vl-width expressions when using
15331 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15332 (verilog-decls-get-regs, verilog-decls-get-signals,
15333 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15334 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15335 verilog-read-decls): Combine reg and wire structures into one var
15336 structure to represent SystemVerilog concepts.
15337 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15338 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15339 (verilog-auto-wire-type, verilog-insert-definition):
15340 Add verilog-auto-wire-type and AUTOLOGIC to support using
15341 SystemVerilog "logic" keyword instead of "wire"/"reg".
15342 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15343 to declares outputs that also have assignments (presumably in an
15344 ifdef or generate if so there's not a driver conflict).
15345 Reported by Matthew Myers.
15346 (verilog-auto-declare-nettype, verilog-insert-definition):
15347 Add verilog-auto-declare-nettype to fix declarations using
15348 `default_nettype none. Reported by Julian Gorfajn.
15349 (verilog-read-always-signals-recurse, verilog-read-decls)
15350 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15351 malformed end statement, bug325. Reported by Joshua Wise and
15352 Andrew Drake.
15353 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15354 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15355 when expanding .* in interfaces, bug320.
15356 Reported by Pierre-David Pfister.
15357 (verilog-read-module-name): Fix import statements between module
15358 name and open parenthesis, bug317.
15359 Reported by Pierre-David Pfister.
15360 (verilog-simplify-range-expression): Fix simplification of
15361 multiplications inside AUTOWIRE connections, bug303.
15362 (verilog-auto-inst-port): Support parameter expansion in
15363 multidimensional arrays.
15364 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15365 after "assert property". Reported by Julian Gorfajn.
15366 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15367 with multiplication, bug303.
15368 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15369 Reported by Jan Frode Lonnum.
15370
15371 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15372
15373 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15374 (hfy-shell-file-name, hfy-shell):
15375 * international/fontset.el (x-decompose-font-name): Fix typos.
15376
15377 2011-11-29 Ken Brown <kbrown@cornell.edu>
15378
15379 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15380 (gdb-version): Remove defvar.
15381 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15382 (gdb-gud-context-command, gdb-non-stop-handler)
15383 (gdb-current-context-command, gdb-stopped): Use it.
15384 (gdb-init-1): Enable pretty printing here.
15385 (gdb-non-stop-handler): Don't enable pretty-printing here.
15386 Check to see if the target supports non-stop mode; if not, turn off
15387 non-stop mode. Use the following.
15388 (gdb-check-target-async): New defun.
15389 (gud-watch, gdb-stopped): Fix whitespace.
15390 (gdb-get-source-file): Don't try to display the source file if
15391 `gdb-main-file' is nil.
15392
15393 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15394
15395 * align.el: Try to generate fewer markers (bug#10047).
15396 (align--set-marker): New macro.
15397 (align-region): Use it.
15398
15399 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15400
15401 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15402
15403 2011-11-29 Chong Yidong <cyd@gnu.org>
15404
15405 * indent.el (indent-for-tab-command, indent-according-to-mode):
15406 Doc fix.
15407 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15408
15409 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15410
15411 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15412 aware of remote file names. (Bug#10124)
15413
15414 2011-11-29 Chong Yidong <cyd@gnu.org>
15415
15416 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15417
15418 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15419
15420 * files.el (find-file): Don't use force-same-window (bug#10144).
15421 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15422 use pop-to-buffer if the selected window can't be used.
15423 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15424
15425 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15426
15427 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15428 special-mode-map.
15429
15430 2011-11-28 Chong Yidong <cyd@gnu.org>
15431
15432 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15433
15434 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15435
15436 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15437 gdb-get-source-file-list on gdb-create-source-file-list.
15438
15439 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15440
15441 * whitespace.el (whitespace-newline): Use a different foreground
15442 color for 16-color light-background displays.
15443
15444 2011-11-24 Chong Yidong <cyd@gnu.org>
15445
15446 * window.el (display-buffer--special-action): Doc fix.
15447
15448 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15449
15450 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15451 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15452 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15453 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15454 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15455 (avl-tree-stack-first):
15456 * emacs-lisp/cconv.el (cconv--analyse-use):
15457 * net/gnutls.el (gnutls-negotiate): Fix typos.
15458
15459 2011-11-24 Glenn Morris <rgm@gnu.org>
15460
15461 * lpr.el (lpr-windows-system, lpr-lp-system):
15462 * mail/binhex.el (binhex-begin-line):
15463 * progmodes/grep.el (grep-history, grep-find-history):
15464 * textmodes/flyspell.el:
15465 * vc/pcvs-defs.el (cvs-global-menu):
15466 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15467 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15468 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15469
15470 * net/tls.el: Fix case of "GnuTLS".
15471
15472 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15473
15474 * version.el (emacs-build-system): Give it a doc-string.
15475
15476 2011-11-24 Juri Linkov <juri@jurta.org>
15477
15478 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15479
15480 2011-11-24 Glenn Morris <rgm@gnu.org>
15481
15482 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15483 if called on a non-mime message just toggle the headers. (Bug#8006)
15484
15485 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15486
15487 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15488 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15489 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15490 (allout-rebullet-heading, allout-open-sibtopic)
15491 (allout-toggle-current-subtree-encryption)
15492 (allout-toggle-subtree-encryption, allout-encrypt-string)
15493 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15494 (allout-distinctive-bullets-string, allout-auto-activation):
15495 * window.el (window-normalize-buffer-to-display):
15496 * progmodes/verilog-mode.el (verilog-batch-indent):
15497 * textmodes/bibtex.el (bibtex-field-braces-opt)
15498 (bibtex-field-strings-opt):
15499 * vc/cvs-status.el (cvs-tree-merge):
15500 Fix typos.
15501
15502 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15503
15504 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15505 `non-essential' to t, in order to avoid remote connections.
15506
15507 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15508
15509 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15510 On MS-DOS and MS-Windows, compare with loaddefs.el
15511 case-insensitively.
15512
15513 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15514
15515 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15516
15517 2011-11-23 Glenn Morris <rgm@gnu.org>
15518
15519 * paths.el (rmail-file-name): Reformat the doc-string so that it
15520 is picked up.
15521
15522 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15523 (rmail-auto-file): Ignore case in the "special" field names,
15524 as mail-fetch-field does for all others.
15525
15526 * mail/rmail.el (rmail-forward):
15527 * mail/rmailkwd.el (rmail-set-label):
15528 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15529 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15530
15531 * mail/rmail.el (rmail-current-message): Doc fix.
15532
15533 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15534
15535 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15536
15537 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15538
15539 2011-11-22 Glenn Morris <rgm@gnu.org>
15540
15541 * mail/rmailmm.el (test-rmail-mime-handler)
15542 (test-rmail-mime-bulk-handler)
15543 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15544
15545 2011-11-21 Juri Linkov <juri@jurta.org>
15546
15547 * calc/calc.el (calc-read-key-sequence):
15548 Let-bind `input-method-function' to nil. (Bug#10018)
15549
15550 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15551
15552 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15553 Tell the caller that the next line needs recomputation, even
15554 though it doesn't start a sexp (bug#10094).
15555
15556 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15557
15558 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15559
15560 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15561
15562 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15563 Use force-same-window.
15564
15565 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15566
15567 * descr-text.el (describe-char-unicode-data):
15568 * json.el (json-string-escape):
15569 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15570 (Footnote-unicode, Footnote-style-p):
15571 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15572
15573 2011-11-20 Chong Yidong <cyd@gnu.org>
15574
15575 * window.el (replace-buffer-in-windows): Restore interactive spec.
15576
15577 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15578
15579 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15580
15581 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15582 (byte-compile-global-not-obsolete-vars): New var.
15583 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15584 Use it.
15585 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15586
15587 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15588
15589 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15590 * progmodes/pascal.el (electric-pascal-equal):
15591 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15592 * xml.el (xml-substitute-special): Fix typos.
15593
15594 2011-11-20 Glenn Morris <rgm@gnu.org>
15595
15596 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15597 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15598 Doc fixes.
15599 (rmail-decode-mime-charset): Mark as obsolete.
15600
15601 * mail/rmailsum.el (rmail-message-regexp-p-1):
15602 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15603 Before using mime functions, check they are set. (Bug#10077)
15604
15605 2011-11-19 Juri Linkov <juri@jurta.org>
15606
15607 * info.el (Info-finder-find-node): Use `package--builtins' instead
15608 of `package-alist'. Use node names formed by the pattern "Keyword "
15609 and the keyword name.
15610
15611 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15612
15613 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15614
15615 2011-11-19 Juri Linkov <juri@jurta.org>
15616
15617 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15618 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15619 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15620 `old-history', `old-history-forward'. Add let-binding
15621 `window-selected'. Remove calls to `kill-buffer',
15622 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15623 before calling `Info-find-node', so `Info-find-node-2' will reread
15624 the Info file. Restore window positions only when `window-selected'
15625 is non-nil.
15626
15627 2011-11-19 Juri Linkov <juri@jurta.org>
15628
15629 * isearch.el (isearch-lazy-highlight-new-loop):
15630 Remove condition `(not isearch-error)'. (Bug#9918)
15631
15632 * misearch.el (multi-isearch-search-fun): Add condition
15633 `(not bound)' to ignore lazy-highlighting search.
15634 Add the search-failed message "end of multi" when the end of
15635 multi-sequence is reached. Uncapitalize the search-failed
15636 message "Repeat for next buffer".
15637
15638 * info.el (Info-search): Add the search-failed message
15639 "end of the manual" when the end of the manual is reached
15640 in Isearch mode.
15641
15642 2011-11-19 Juri Linkov <juri@jurta.org>
15643
15644 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15645 Use non-destructive `remove' instead of `delete' because
15646 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15647 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15648
15649 2011-11-19 Juri Linkov <juri@jurta.org>
15650
15651 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15652 to nil instead of binding `search-ring' and `regexp-search-ring'.
15653 (Bug#9185)
15654
15655 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15656
15657 * simple.el (line-move): Force movement by logical lines for any
15658 hscrolled window, not only when auto-hscroll-mode is on.
15659 (line-move-visual): Update doc string to that effect. (Bug#10076)
15660
15661 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15662
15663 * language/european.el (macintosh): Define as alias for mac-roman.
15664
15665 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15666
15667 * mail/rmailmm.el (rmail-mime-display-header)
15668 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15669 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15670 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15671 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15672 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15673 of a raw aref.
15674 (rmail-mime-entity-segment): To get past the tagline, move forward
15675 2 more lines, to account for the 2 empty lines that precede and
15676 follow the line with the buttons.
15677 (rmail-mime-update-tagline): Move one more line, to get past the
15678 empty line that follows the buttons in the tagline. (Bug#9520)
15679
15680 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15681
15682 * window.el (window-max-delta-1, window-min-delta-1)
15683 (window-min-size-1, window-state-get-1, window-state-put-1)
15684 (window-state-put-2): Use "window--" prefix.
15685
15686 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15687
15688 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15689 (smie-warning-count): New var.
15690 (smie-set-prec2tab): Use it.
15691 (smie-bnf->prec2): Improve warnings. Add docstring.
15692 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15693 (smie-bnf--set-class): New function.
15694 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15695 corner case.
15696
15697 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15698 (compilation-error-properties, compilation-move-to-column):
15699 Handle compilation-first-column while in the target buffer.
15700
15701 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15702 Don't hardcode point-min==1.
15703
15704 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15705 (eshell-rewrite-for-command): Remove workaround.
15706 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15707 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15708 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15709
15710 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15711
15712 2011-11-17 Glenn Morris <rgm@gnu.org>
15713
15714 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15715 Ignore buffer-local generated-autoload-file if it is the same
15716 as the global value. (Bug#10049)
15717
15718 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15719
15720 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15721 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15722 (reftex-toc-previous-heading, reftex-toc-max-level)
15723 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15724 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15725 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15726 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15727 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15728 (reftex-toc-rename-label, reftex-toc-visit-location)
15729 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15730 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15731 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15732 leaving "*toc*" only for references to the buffer.
15733
15734 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15735
15736 * window.el (window-resize, delete-window, split-window):
15737 Replace window-splits by window-combination-resize.
15738 * cus-start.el (window-splits): Replace by window-combination-resize.
15739
15740 2011-11-17 Glenn Morris <rgm@gnu.org>
15741
15742 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15743 Make bash entry derive from sh entry, not shell entry.
15744
15745 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15746
15747 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15748 local file name.
15749
15750 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15751
15752 * menu-bar.el (menu-bar-file-menu):
15753 * printing.el (pr-ps-utility):
15754 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15755 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15756 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15757 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15758 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15759 (icalendar--convert-cyclic-to-ical)
15760 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15761 (icalendar--convert-ical-to-diary)
15762 (icalendar--convert-recurring-to-diary)
15763 (icalendar--convert-non-recurring-all-day-to-diary)
15764 (icalendar-import-format-sample):
15765 * progmodes/idlw-shell.el (idlwave-shell-mode):
15766 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15767 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15768 (vhdl-ps-print-init): Fix typos.
15769
15770 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15771
15772 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15773 FSF and collapse date sequence, obscure author/maintainer email address
15774 better, remove extra version line, track relocation of author's webpage.
15775
15776 * progmodes/python.el (python-pdbtrack-input-prompt)
15777 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15778 regular python pdb prompts. Adjustments shamelessly taken exactly as
15779 suggested in EmacsWiki page (tiny change):
15780 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15781
15782 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15783
15784 * expand.el (expand-pos, expand-index, expand-point):
15785 Remove redundant info from docstring.
15786 (expand-add-abbrevs): Doc fix.
15787 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15788 (expand-sample-perl-mode-expand-list): Fix typos.
15789
15790 * net/dbus.el (dbus-event-member-name):
15791 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15792 * term/pc-win.el (msdos-create-frame-with-faces):
15793 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15794
15795 2011-11-16 Martin Rudalics <rudalics@gmx.at>
15796
15797 * window.el (split-window, window-state-get-1)
15798 (window-state-put-1, window-state-put-2): Rename occurrences of
15799 window-nest to window-combination-limit.
15800 * cus-start.el (window-nest): Rename to window-combination-limit.
15801
15802 2011-11-16 Chong Yidong <cyd@gnu.org>
15803
15804 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15805 regexp (Bug#10033).
15806
15807 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15808
15809 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15810 `completing-read' will remove *Completions* and will preserve
15811 current-buffer for us.
15812 (tmm-add-prompt): Users of *Completions* will always (re)set its
15813 major mode.
15814 (tmm-old-comp-map): Remove.
15815
15816 2011-11-16 Glenn Morris <rgm@gnu.org>
15817
15818 * mail/rmailedit.el: Require rmailmm when compiling.
15819 (rmail-old-mime-state): New declaration.
15820 (rmail-edit-current-message): If editing a mime message,
15821 edit the "raw" message from the mbox buffer.
15822 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15823
15824 2011-11-15 Glenn Morris <rgm@gnu.org>
15825
15826 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15827 which wasn't being used. Add optional arg to force given state.
15828 (rmail-mime): Add optional arg to force given state.
15829
15830 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15831
15832 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15833 * frame.el (display-mm-dimensions-alist):
15834 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15835 (outline-move-subtree-down):
15836 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15837 (newsticker--treeview-do-get-node):
15838 * net/quickurl.el (quickurl-list-buffer-name):
15839 * progmodes/dcl-mode.el (dcl-mode):
15840 * progmodes/gdb-mi.el (gdb-mapcar*):
15841 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15842
15843 2011-11-15 Glenn Morris <rgm@gnu.org>
15844
15845 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15846 in a boolean sense, so just make it a boolean, and fix the doc.
15847 (rmail-show-mime-function, rmail-mime-feature)
15848 (rmail-require-mime-maybe): Doc fixes.
15849 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15850
15851 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15852
15853 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15854
15855 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15856 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15857 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15858 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15859
15860 2011-11-15 Glenn Morris <rgm@gnu.org>
15861
15862 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15863 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15864 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15865 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15866 (rmail-mime, rmail-show-mime): Doc fixes.
15867
15868 * term/ns-win.el (mode-line-frame-identification):
15869 Leave it alone. (Bug#10051)
15870
15871 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15872
15873 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15874 Handle empty buffers. (Bug#9978)
15875
15876 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
15877
15878 * international/mule.el (define-charset):
15879 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15880 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15881 * progmodes/verilog-mode.el (verilog-backward-token):
15882 * textmodes/ispell.el (lookup-words):
15883 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15884
15885 2011-11-14 Glenn Morris <rgm@gnu.org>
15886
15887 * progmodes/executable.el
15888 (executable-make-buffer-file-executable-if-script-p):
15889 Handle file-modes returning nil.
15890
15891 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15892 message - not necessary, and causes problems. (Bug#9831)
15893
15894 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15895
15896 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15897
15898 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15899 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15900 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15901
15902 2011-11-12 Martin Rudalics <rudalics@gmx.at>
15903
15904 * window.el (window-resize, delete-window): Use window-splits
15905 variable instead of function.
15906 (window-state-get-1, window-state-put-2, window-state-put):
15907 Don't deal with windows' splits status.
15908
15909 2011-11-12 Glenn Morris <rgm@gnu.org>
15910
15911 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15912 (apropos-documentation): Doc fixes.
15913
15914 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
15915
15916 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15917 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15918
15919 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15920
15921 * electric.el (electric-indent-post-self-insert-function): Make it
15922 possible for a char to only indent in some circumstances.
15923 (electric-indent-mode): Simplify.
15924
15925 2011-11-11 Martin Rudalics <rudalics@gmx.at>
15926
15927 * window.el (windows-with-parameter): Remove unused function.
15928 (windows-at-side): Rename to window-at-side-list.
15929 (window-check, window-atom-check, window-atom-check-1)
15930 (window-side-check, window-size-ignore, window-size-fixed-1)
15931 (window-in-direction-2): Prefix with "window--".
15932 (window-tree-1): Rename to window--subtree, fix doc-string.
15933
15934 2011-11-11 Glenn Morris <rgm@gnu.org>
15935
15936 * subr.el (eval-after-load): If FILE is already loaded,
15937 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15938
15939 2011-11-10 Glenn Morris <rgm@gnu.org>
15940
15941 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15942 Call svn via vc-svn-command rather than vc-do-command.
15943 (vc-svn-command): Add --non-interactive. (Bug#9993)
15944 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15945
15946 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15947 Add toggle-read-only. (Bug#7292)
15948 * files.el (toggle-read-only): Mention that it should only
15949 be used interactively. (Bug#10006)
15950
15951 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15952
15953 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15954 Adjust regexp for OCaml warnings.
15955
15956 * electric.el (electric-pair-post-self-insert-function): Let user
15957 turn it off buffer-locally (bug#9932).
15958
15959 * progmodes/python.el (python-beginning-of-statement):
15960 Rewrite (bug#2703).
15961
15962 * progmodes/compile.el: Better handle TABs (bug#9749).
15963 (compilation-internal-error-properties)
15964 (compilation-next-error-function): Obey the target buffer's
15965 compilation-error-screen-columns.
15966
15967 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
15968
15969 * progmodes/meta-mode.el: Remove obsolete comments.
15970 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15971 Fix typos in docstrings.
15972
15973 2011-11-09 Martin Rudalics <rudalics@gmx.at>
15974
15975 * window.el (window-size-fixed-p): Rewrite doc-string.
15976 (window-resizable-p): Rename to window--resizable-p. Update callers.
15977 (window--resizable): New function. Make all callers of
15978 window-resizable call window--resizable instead.
15979 (window-resizable): Rewrite in terms of window--resizable.
15980
15981 2011-11-08 Glenn Morris <rgm@gnu.org>
15982
15983 * progmodes/delphi.el (delphi-mode-syntax-table):
15984 Let define-derived-mode define a proper syntax table. (Bug#9994)
15985
15986 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15987
15988 * window.el: Stay away from defsubst.
15989 (window-list-no-nils): Remove.
15990 (window-state-get-1, window-state-get): Use backquote instead.
15991
15992 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15993
15994 * emacs-lisp/find-func.el (find-function-read):
15995 Fix incorrect use of default argument in `completing-read'.
15996
15997 2011-11-08 Martin Rudalics <rudalics@gmx.at>
15998
15999 * window.el (display-buffer-function, special-display-function):
16000 Mention display-buffer-record-window but do not mention
16001 help-setup parameter in doc-strings.
16002 (window-min-delta): Fix doc-string typo.
16003
16004 2011-11-08 Chong Yidong <cyd@gnu.org>
16005
16006 * window.el (window-total-height, window-total-width): Doc fix.
16007 (window-body-size): Move from C.
16008 (window-body-height, window-body-width): Move to C.
16009
16010 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16011
16012 * window.el: Make special-display like display-buffer-alist (bug#9532).
16013 (display-buffer--special-action): New function, morphed
16014 from display-buffer--special.
16015 (display-buffer): Use it to handle special-display-buffers at higher
16016 priority (just after display-buffer-alist).
16017 (display-buffer-fallback-action, display-buffer--other-frame-action)
16018 (pop-to-buffer-same-window): Remove display-buffer--special.
16019
16020 2011-11-07 Glenn Morris <rgm@gnu.org>
16021
16022 * calendar/cal-menu.el (cal-menu-set-date-title):
16023 Do nothing if not in a calendar. (Bug#9976)
16024
16025 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16026
16027 * files.el (find-file): Always use selected-window.
16028
16029 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16030
16031 * window.el (window-combinations): Make WINDOW argument
16032 mandatory. Rewrite doc-string.
16033 (walk-window-subtree, window-atom-check, window-min-delta)
16034 (window-max-delta, window--resize-this-window)
16035 (window--resize-root-window-vertically, window-tree)
16036 (balance-windows, window-state-put): Rewrite doc-strings as to
16037 not mention the term "subwindow".
16038 (window--resize-subwindows-skip-p): Rename to
16039 window--resize-child-windows-skip-p.
16040 (window--resize-subwindows-normal): Rename to
16041 window--resize-child-windows-normal.
16042 (window--resize-subwindows): Rename to
16043 window--resize-child-windows.
16044 (window-or-subwindow-p): Rename to window--in-subtree-p.
16045
16046 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16047
16048 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16049 Ensure that mbox format messages end in two newlines (Bug#9974).
16050
16051 2011-11-06 Chong Yidong <cyd@gnu.org>
16052
16053 * window.el (window-combination-p): Function deleted; its
16054 side-effect is not used in any existing code.
16055 (window-combinations, window-combined-p): Call window-*-child
16056 directly.
16057
16058 2011-11-05 Chong Yidong <cyd@gnu.org>
16059
16060 * window.el (window-valid-p): Rename from window-any-p.
16061 (window-size-ignore, window-state-get): Callers changed.
16062 (window-normalize-window): Rename from window-normalize-any-window.
16063 New arg LIVE-ONLY, replacing window-normalize-live-window.
16064 (window-normalize-live-window): Delete.
16065 (window-combination-p, window-combined-p, window-combinations)
16066 (walk-window-subtree, window-atom-root, window-min-size)
16067 (window-sizable, window-sizable-p, window-size-fixed-p)
16068 (window-min-delta, window-max-delta, window-resizable)
16069 (window-resizable-p, window-full-height-p, window-full-width-p)
16070 (window-current-scroll-bars, window-point-1, set-window-point-1)
16071 (window-at-side-p, window-in-direction, window-resize)
16072 (adjust-window-trailing-edge, maximize-window, minimize-window)
16073 (window-deletable-p, delete-window, delete-other-windows)
16074 (record-window-buffer, unrecord-window-buffer)
16075 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16076 (quit-window, split-window, window-state-put)
16077 (set-window-text-height, fit-window-to-buffer)
16078 (shrink-window-if-larger-than-buffer): Callers changed.
16079
16080 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16081
16082 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16083 rfc2047-decode-string.
16084 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16085 warnings.
16086
16087 * window.el (window-body-height, window-body-width): Mention in
16088 the doc string that the return values are in frame's canonical
16089 units. (Bug#9949)
16090
16091 2011-11-03 Alan Mackenzie <acm@muc.de>
16092
16093 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16094 change in cc-engine.el.
16095
16096 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16097
16098 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16099
16100 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16101
16102 * window.el (quit-window): Call unrecord-window-buffer after
16103 showing another buffer in the window. (Bug#9937)
16104 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16105
16106 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16107
16108 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16109 Accept status with more than 9 shelves. (Bug#9935)
16110 Reported by Colin D Bennett <colin@gibibit.com>.
16111
16112 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16113
16114 * help.el (with-help-window): Don't reference
16115 temp-buffer-show-specifiers in doc-string.
16116
16117 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16118
16119 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16120 menu-item.
16121
16122 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16123
16124 * whitespace.el: New version 13.2.2.
16125 (whitespace-newline-mode): Disable properly. Reported by Sarah
16126 <EmacsWiki>.
16127
16128 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16129
16130 * net/newst-treeview.el: Remove "Time-stamp".
16131 (newsticker--group-manage-orphan-feeds): Do not call
16132 newsticker--treeview-tree-update.
16133 (newsticker-treeview-update, newsticker-treeview):
16134 Call newsticker--treeview-tree-update if necessary.
16135
16136 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16137
16138 * window.el (window-iso-combination-p, window-iso-combined-p)
16139 (window-iso-combinations): Remove "iso-" infix.
16140 Suggested by Chong Yidong.
16141 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16142 (window-max-delta-1, window-resize, window--resize-siblings)
16143 (window--resize-this-window, adjust-window-trailing-edge)
16144 (split-window, balance-windows-1)
16145 (shrink-window-if-larger-than-buffer):
16146 * calendar/calendar.el (calendar-generate-window):
16147 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16148
16149 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16150
16151 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16152 in place (bug#9907).
16153 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16154 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16155 (eshell-structure-basic-command, eshell-rewrite-while-command)
16156 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16157 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16158 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16159 (eshell-do-pipelines-synchronously, eshell-eval-command):
16160 Use backquotes and prefer setq to set.
16161 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16162 (eshell-macrop): Use functionp.
16163 (eshell-do-eval): Handle multiple expressions in `while' body.
16164
16165 2011-10-30 Chong Yidong <cyd@gnu.org>
16166
16167 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16168 instead of set-mark (Bug#9810).
16169
16170 2011-10-30 Chong Yidong <cyd@gnu.org>
16171
16172 * window.el (split-window-below, split-window-right): Rename from
16173 split-window-above-each-other and split-window-side-by-side
16174 respectively. All callers changed.
16175 (split-window-sensibly, split-window-sensibly): Use them.
16176 (split-window-keep-point): Doc fix.
16177
16178 * isearch.el: Add isearch-scroll property to split-window-below
16179 and split-window-right.
16180
16181 * follow.el (follow-mode):
16182 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16183 * progmodes/ada-xref.el (ada-gdb-application):
16184 * emulation/vip.el (vip-buffer-in-two-windows):
16185 * image-dired.el (image-dired-dired-with-window-configuration):
16186 * dired-x.el (dired-do-find-marked-files):
16187 * dired.el (dired-pop-to-buffer):
16188 * bs.el (bs--show-with-configuration):
16189 * vc/emerge.el (emerge-setup-windows):
16190 * textmodes/two-column.el (2C-two-columns):
16191 * textmodes/reftex-toc.el (reftex-toc):
16192 * progmodes/gdb-mi.el (gdb-setup-windows):
16193 * progmodes/fortran.el (fortran-window-create):
16194 * net/newst-treeview.el (newsticker--treeview-window-init):
16195 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16196 * emulation/tpu-edt.el (tpu-gold-map):
16197 * emulation/crisp.el (crisp-mode-map):
16198 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16199
16200 2011-10-29 Chong Yidong <cyd@gnu.org>
16201
16202 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16203
16204 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16205
16206 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16207 forged Ispell output (Bug#7904).
16208
16209 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16210
16211 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16212
16213 * doc-view.el: Avoid ugly errors about not finding nil.
16214 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16215 (doc-view-dvipdf-program, doc-view-unoconv-program)
16216 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16217 Avoid nil or absolute file name as default value.
16218 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16219
16220 2011-10-28 Alan Mackenzie <acm@muc.de>
16221
16222 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16223
16224 2011-10-28 Alan Mackenzie <acm@muc.de>
16225
16226 Amend the handling of c-beginning/end-of-defun in nested declaration
16227 scopes.
16228
16229 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16230 cc-langs.el. Change it to a defcustom.
16231
16232 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16233 cc-vars.el.
16234
16235 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16236 Prevent "class foo : bar" being spuriously recognized as a label.
16237
16238 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16239 Add parameter `inclusive' (to include enclosing braces in the region).
16240 (c-widen-to-enclosing-decl-scope): New function.
16241 (c-while-widening-to-decl-block): New macro.
16242 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16243 outward for defun boundaries, and correspondingly change symbol
16244 `respect-enclosure' to `go-outward'.
16245 (c-declaration-limits): Change algorithm to report only the "innermost"
16246 defun's boundaries.
16247
16248 2011-10-28 Deniz Dogan <deniz@dogan.se>
16249
16250 * net/rcirc.el (rcirc-mode): Use hard newlines.
16251
16252 2011-10-28 Alan Mackenzie <acm@muc.de>
16253
16254 Amend to indent and fontify macros "which include their own semicolon"
16255 correctly, using the "virtual semicolon" mechanism.
16256
16257 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16258
16259 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16260 Recode to scan one line at a time rather than having \n and \r
16261 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16262 (c-forward-label): Amend for virtual semicolons.
16263 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16264
16265 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16266 of the new C macros.
16267
16268 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16269 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16270 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16271 (c-opt-cpp-macro-define): Make into a full language variable.
16272 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16273 AWK Mode (including \n, \r) removed, no longer needed.
16274
16275 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16276 Invoke c-make-macro-with-semi-re.
16277
16278 * progmodes/cc-vars.el (c-macro-with-semi-re):
16279 (c-macro-names-with-semicolon): New variables.
16280 (c-make-macro-with-semi-re): New function.
16281
16282 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16283
16284 * vc/log-edit.el: Fill empty field rather than adding new one.
16285 (log-edit-add-field): New function.
16286 (log-edit-insert-changelog): Use it.
16287
16288 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16289
16290 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16291
16292 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16293
16294 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16295 (gdb--check-interpreter): New function.
16296 (gdb): Use it.
16297
16298 2011-10-27 Glenn Morris <rgm@gnu.org>
16299
16300 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16301 (least-positive-float, least-negative-float)
16302 (least-positive-normalized-float, least-negative-normalized-float)
16303 (float-epsilon, float-negative-epsilon):
16304 Remove unnecessary declarations.
16305
16306 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16307 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16308 (least-positive-float, least-negative-float)
16309 (least-positive-normalized-float, least-negative-normalized-float)
16310 (float-epsilon, float-negative-epsilon): Add doc-strings,
16311 based on those in cl.texi.
16312
16313 * files.el (set-visited-file-name): If the major-mode changed,
16314 reload the local variables. (Bug#9796)
16315
16316 2011-10-27 Chong Yidong <cyd@gnu.org>
16317
16318 * subr.el (change-major-mode-after-body-hook): New hook.
16319 (run-mode-hooks): Run it.
16320
16321 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16322 Use change-major-mode-before-body-hook.
16323
16324 * simple.el (fundamental-mode):
16325 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16326 change introducing fundamental-mode-hook.
16327
16328 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16329
16330 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16331
16332 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16333
16334 * ido.el (ido-file-name-all-completions-1): Do not require
16335 tramp.el explicitly. (Bug#7583)
16336
16337 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16338
16339 * progmodes/octave-mod.el:
16340 * progmodes/octave-inf.el: Update maintainer.
16341
16342 2011-10-26 Chong Yidong <cyd@gnu.org>
16343
16344 * subr.el (with-wrapper-hook): Rewrite doc.
16345
16346 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16347
16348 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16349 filenames "/method:foo:". (Bug#9793)
16350
16351 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16352
16353 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16354 (bug#9865).
16355
16356 2011-10-24 Glenn Morris <rgm@gnu.org>
16357
16358 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16359
16360 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16361
16362 * notifications.el: Add the requirement of a running D-Bus session
16363 bus to the Commentary.
16364
16365 2011-10-24 Juri Linkov <juri@jurta.org>
16366
16367 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16368 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16369 (Bug#9364)
16370
16371 2011-10-24 Juri Linkov <juri@jurta.org>
16372
16373 * info.el (Info-following-node-name-re): Add newline to the list
16374 of allowed characters for leading space. (Bug#9824)
16375
16376 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16377
16378 * progmodes/octave-inf.el (inferior-octave-mode-map):
16379 Fix C-c C-h binding.
16380 * progmodes/octave-mod.el (octave-help): Remove.
16381
16382 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16383
16384 Sync with Tramp 2.2.3.
16385
16386 * net/tramp-cache.el (top): Pacify byte-compiler using
16387 `init-file-user' and `site-run-file'.
16388
16389 * net/trampver.el: Update release number.
16390
16391 2011-10-23 Chong Yidong <cyd@gnu.org>
16392
16393 * files.el (toggle-read-only): Remove obsolete comment about
16394 version control.
16395
16396 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16397 for toggle-read-only. Note that this hasn't called vc-next-action
16398 since 2008-05-02, though it wasn't documented at the time.
16399
16400 * vc/ediff-init.el (ediff-toggle-read-only-function):
16401 Use toggle-read-only.
16402
16403 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16404
16405 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16406 of c-parse-state.
16407
16408 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16409 correct faulty logical expression.
16410 (c-parse-state-state, c-record-parse-state-state):
16411 (c-replay-parse-state-state): New defvar/defuns.
16412 (c-debug-parse-state): Use new functions.
16413
16414 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16415
16416 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16417 last fix. Use window-in-direction correctly.
16418
16419 2011-10-21 Chong Yidong <cyd@gnu.org>
16420
16421 * progmodes/idlwave.el (idlwave-mode):
16422 * progmodes/vera-mode.el (vera-mode): No need to set
16423 require-final-newline; that's done in prog-mode.
16424 Suggested by Stefan Monnier.
16425
16426 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16427
16428 * mouse.el (mouse-drag-window-above)
16429 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16430 (mouse-drag-mode-line-1, mouse-drag-header-line)
16431 (mouse-drag-vertical-line-rightward-window): Remove.
16432 (mouse-drag-line): New function.
16433 (mouse-drag-mode-line, mouse-drag-header-line)
16434 (mouse-drag-vertical-line): Call mouse-drag-line.
16435 * window.el (window-at-side-p, windows-at-side): New functions.
16436
16437 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16438
16439 * tar-mode.el (tar-grind-file-mode):
16440 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16441
16442 2011-10-21 Chong Yidong <cyd@gnu.org>
16443
16444 * progmodes/idlwave.el (idlwave-mode):
16445 * progmodes/vera-mode.el (vera-mode):
16446 Use mode-require-final-newline.
16447
16448 2011-10-20 Glenn Morris <rgm@gnu.org>
16449
16450 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16451
16452 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16453
16454 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16455
16456 2011-10-20 Chong Yidong <cyd@gnu.org>
16457
16458 * emulation/cua-base.el (cua-mode):
16459 * mail/footnote.el (footnote-mode):
16460 * mail/mailabbrev.el (mail-abbrevs-mode):
16461 * net/xesam.el (xesam-minor-mode):
16462 * progmodes/bug-reference.el (bug-reference-mode):
16463 * progmodes/cap-words.el (capitalized-words-mode):
16464 * progmodes/compile.el (compilation-minor-mode)
16465 (compilation-shell-minor-mode):
16466 * progmodes/gud.el (gud-tooltip-mode):
16467 * progmodes/hideif.el (hide-ifdef-mode):
16468 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16469 * progmodes/subword.el (subword-mode):
16470 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16471 * progmodes/which-func.el (which-function-mode):
16472 * term/tvi970.el (tvi970-set-keypad-mode):
16473 * term/vt100.el (vt100-wide-mode):
16474 * textmodes/flyspell.el (flyspell-mode):
16475 * textmodes/ispell.el (ispell-minor-mode):
16476 * textmodes/nroff-mode.el (nroff-electric-mode):
16477 * textmodes/paragraphs.el (use-hard-newlines):
16478 * textmodes/refill.el (refill-mode):
16479 * textmodes/reftex.el (reftex-mode):
16480 * textmodes/rst.el (rst-minor-mode):
16481 * textmodes/sgml-mode.el (html-autoview-mode)
16482 (sgml-electric-tag-pair-mode):
16483 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16484 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16485 * emulation/crisp.el (crisp-mode):
16486 * emacs-lisp/eldoc.el (eldoc-mode):
16487 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16488 minor mode behavior.
16489
16490 2011-10-19 Juri Linkov <juri@jurta.org>
16491
16492 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16493 the list of hard-coded chars with escape-glyph face.
16494
16495 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16496
16497 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16498
16499 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16500
16501 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16502 running process.
16503
16504 2011-10-19 Glenn Morris <rgm@gnu.org>
16505
16506 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16507 Ignore ignored files. (Bug#9726)
16508
16509 2011-10-19 Chong Yidong <cyd@gnu.org>
16510
16511 Doc fix for minor modes, stating that an omitted argument enables
16512 the mode unconditionally when called from Lisp.
16513
16514 * abbrev.el (abbrev-mode):
16515 * allout.el (allout-mode):
16516 * autoinsert.el (auto-insert-mode):
16517 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16518 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16519 (global-auto-revert-mode):
16520 * battery.el (display-battery-mode):
16521 * composite.el (global-auto-composition-mode)
16522 (auto-composition-mode):
16523 * delsel.el (delete-selection-mode):
16524 * desktop.el (desktop-save-mode):
16525 * dired-x.el (dired-omit-mode):
16526 * dirtrack.el (dirtrack-mode):
16527 * doc-view.el (doc-view-minor-mode):
16528 * double.el (double-mode):
16529 * electric.el (electric-indent-mode, electric-pair-mode):
16530 * emacs-lock.el (emacs-lock-mode):
16531 * epa-hook.el (auto-encryption-mode):
16532 * follow.el (follow-mode):
16533 * font-core.el (font-lock-mode):
16534 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16535 * help.el (temp-buffer-resize-mode):
16536 * hilit-chg.el (highlight-changes-mode)
16537 (highlight-changes-visible-mode):
16538 * hi-lock.el (hi-lock-mode):
16539 * hl-line.el (hl-line-mode, global-hl-line-mode):
16540 * icomplete.el (icomplete-mode):
16541 * ido.el (ido-everywhere):
16542 * image-file.el (auto-image-file-mode):
16543 * image-mode.el (image-minor-mode):
16544 * iswitchb.el (iswitchb-mode):
16545 * jka-cmpr-hook.el (auto-compression-mode):
16546 * linum.el (linum-mode):
16547 * longlines.el (longlines-mode):
16548 * master.el (master-mode):
16549 * mb-depth.el (minibuffer-depth-indicate-mode):
16550 * menu-bar.el (menu-bar-mode):
16551 * minibuf-eldef.el (minibuffer-electric-default-mode):
16552 * mouse-sel.el (mouse-sel-mode):
16553 * msb.el (msb-mode):
16554 * mwheel.el (mouse-wheel-mode):
16555 * outline.el (outline-minor-mode):
16556 * paren.el (show-paren-mode):
16557 * recentf.el (recentf-mode):
16558 * reveal.el (reveal-mode, global-reveal-mode):
16559 * rfn-eshadow.el (file-name-shadow-mode):
16560 * ruler-mode.el (ruler-mode):
16561 * savehist.el (savehist-mode):
16562 * scroll-all.el (scroll-all-mode):
16563 * scroll-bar.el (scroll-bar-mode):
16564 * server.el (server-mode):
16565 * shell.el (shell-dirtrack-mode):
16566 * simple.el (auto-fill-mode, transient-mark-mode)
16567 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16568 (line-number-mode, column-number-mode, size-indication-mode)
16569 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16570 * strokes.el (strokes-mode):
16571 * time.el (display-time-mode):
16572 * t-mouse.el (gpm-mouse-mode):
16573 * tool-bar.el (tool-bar-mode):
16574 * tooltip.el (tooltip-mode):
16575 * type-break.el (type-break-mode-line-message-mode)
16576 (type-break-query-mode):
16577 * view.el (view-mode):
16578 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16579 (global-whitespace-mode, global-whitespace-newline-mode):
16580 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16581
16582 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16583 Fix autogenerated docstring.
16584
16585 2011-10-19 Juri Linkov <juri@jurta.org>
16586
16587 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16588 by checking environment variables "DESKTOP_SESSION" and
16589 "XDG_CURRENT_DESKTOP". (Bug#9779)
16590
16591 2011-10-19 Juri Linkov <juri@jurta.org>
16592
16593 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16594 (browse-url-chromium-program, browse-url-chromium-arguments):
16595 New defcustoms.
16596 (browse-url-default-browser): Check for `browse-url-chromium' and
16597 call `browse-url-chromium-program'.
16598 (browse-url-chromium): New command. (Bug#9779)
16599
16600 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16601
16602 * facemenu.el (list-colors-duplicates): On Windows, detect more
16603 duplicates by assuming that only colors matching "^System" are
16604 special "system colors". (Bug#9722)
16605
16606 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16607
16608 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16609 to distinguish the author from the committer.
16610
16611 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16612
16613 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16614
16615 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16616
16617 * international/mule.el (sgml-html-meta-auto-coding-function):
16618 Add support for detecting encoding in HTML5 specified only as
16619 <meta charset="UTF-8">. Implementation just makes http-equiv and
16620 content-type parts from HTML4 encoding string optional. (Bug#9716)
16621
16622 2011-10-18 Glenn Morris <rgm@gnu.org>
16623
16624 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16625
16626 2011-10-18 Chong Yidong <cyd@gnu.org>
16627
16628 * faces.el (cursor): Doc fix.
16629
16630 2011-10-17 Chong Yidong <cyd@gnu.org>
16631
16632 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16633
16634 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16635
16636 * dirtrack.el (dirtrack): Support shell buffers with path
16637 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16638
16639 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16640
16641 * json.el: Bump version to 1.3 and note change in History.
16642 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16643
16644 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16645
16646 * comint.el (comint-insert-input, comint-send-input)
16647 (comint-get-old-input-default, comint-backward-matching-input)
16648 (comint-next-prompt): Use nil instead of `input' for field property of
16649 past user input (bug#114).
16650
16651 * minibuffer.el (completion--replace): Inherit surrounding properties
16652 (bug#114).
16653 (minibuffer-complete-and-exit): Use it.
16654
16655 * comint.el (comint--table-subvert): Quote the all-completions output
16656 (bug#9160).
16657
16658 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16659
16660 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16661
16662 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16663 window on right of selected. (Bug#9350) Reword other window
16664 entries and separate them from frame entries.
16665
16666 2011-10-15 Glenn Morris <rgm@gnu.org>
16667
16668 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16669 Doc fixes.
16670
16671 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16672
16673 * net/network-stream.el (network-stream-open-starttls):
16674 Improve detection of failure due to lack of TLS support.
16675
16676 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16677 putting the input text in front and in bold.
16678
16679 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16680
16681 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16682
16683 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16684 empty buffer.
16685
16686 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16687 unread-command-events rather than pushing yet-another event.
16688
16689 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16690
16691 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16692 the explanation of the possible choices. Make the options passed
16693 to completing-read shorter.
16694
16695 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16696
16697 * textmodes/flyspell.el (flyspell-large-region): Make sure
16698 extended character mode is used if defined (Bug#1339).
16699
16700 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16701
16702 * simple.el (what-cursor-position): Fix the display of the
16703 character info for LRE, LRO, RLE, and RLO characters by appending
16704 an invisible PDF.
16705
16706 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16707
16708 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16709 even in case of error; add debug spec; simplify data flow.
16710 (with-timeout-handler): Remove.
16711
16712 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16713
16714 Fix Bug#6019, Bug#9315.
16715
16716 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16717 complete `buffer-file-name', the local file name part could look
16718 remotely (for example on VMS).
16719
16720 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16721 `tramp-run-real-handler'.
16722 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16723 already quoted by '"'.
16724
16725 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16726 Let `file-name-handler-alist' be nil, the local file name part
16727 could look remotely (for example on VMS).
16728
16729 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16730
16731 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16732 from here...
16733 (flyspell-post-command-hook): ...to here.
16734
16735 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16736
16737 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16738 if not needed.
16739 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16740 using completion. Protect against "slow" callers.
16741 Remove the "message hack".
16742
16743 2011-10-11 Juri Linkov <juri@jurta.org>
16744
16745 * isearch.el (isearch-lazy-highlight-word): New variable.
16746 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16747 Use it. (Bug#9727)
16748
16749 2011-10-11 Glenn Morris <rgm@gnu.org>
16750
16751 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16752 like f90-previous-statement does.
16753
16754 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16755
16756 * eshell/eshell.el (eshell-command): History should be saved
16757 only in interactive use, to avoid error.
16758
16759 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16760
16761 * minibuffer.el (completion-file-name-table): Fix last change,
16762 i.e. ignore normal errors but not the other ones.
16763
16764 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16765
16766 * window.el (special-display-buffer-names)
16767 (special-display-regexps): Remove some remnants of earlier
16768 changes from doc-strings.
16769 (quit-windows-on): New function.
16770
16771 * vc/vc.el (vc-revert, vc-rollback):
16772 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16773 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
16774 (Bug#6183) (Bug#7074) (Bug#7447)
16775
16776 2011-10-09 Martin Rudalics <rudalics@gmx.at>
16777
16778 * window.el (frame-auto-hide-function): Add version tag.
16779 (Bug#9699)
16780
16781 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
16782
16783 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16784 condition.
16785
16786 2011-10-09 Leo Liu <sdl.web@gmail.com>
16787
16788 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16789 (Bug#9701)
16790
16791 2011-10-08 Glenn Morris <rgm@gnu.org>
16792
16793 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16794 before the first code statement zero indent. (Bug#9690)
16795
16796 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
16797
16798 * simple.el (count-words-region): Always count in the region.
16799 Report the number of lines and characters too.
16800 (count-words): New command, which counts in the buffer if the
16801 region is inactive, as count-words-region used to.
16802 (count-words--message): New function. Handle plurals.
16803 (count-lines-region): Make it an alias for count-words-region.
16804
16805 * bindings.el (esc-map): Replace count-lines-region with
16806 count-words-region.
16807
16808 2011-10-08 Martin Rudalics <rudalics@gmx.at>
16809
16810 * window.el (window--delete): Delete dedicated frame
16811 unconditionally when argument KILL is non-nil. (Bug#9699)
16812 (switch-to-buffer): Fix doc-string typo.
16813
16814 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16815
16816 * eshell/eshell.el (eshell-command): Avoid using hooks.
16817
16818 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
16819
16820 * bindings.el ([M-left],[M-right]): Bind to left-word and
16821 right-word respectively.
16822
16823 2011-10-07 Glenn Morris <rgm@gnu.org>
16824
16825 * cus-start.el (debug-on-quit): Fix custom type.
16826
16827 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16828
16829 * subr.el (define-key-after): Clarify that the function is not
16830 useful for non-menu keymaps.
16831
16832 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16833
16834 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16835
16836 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16837 in current minibuffer (Fix bug with recursive minibuffers).
16838
16839 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
16840
16841 * progmodes/gdb-mi.el (gdb): Doc fix.
16842
16843 2011-10-05 Martin Rudalics <rudalics@gmx.at>
16844
16845 * window.el (frame-auto-hide-function): New option replacing
16846 frame-auto-delete. Suggested by Stefan Monnier.
16847 (window--delete): Call frame-auto-hide-function instead of
16848 investigating frame-auto-delete.
16849 (window-point-1, set-window-point-1): New functions.
16850 (window-in-direction, record-window-buffer, window-state-get-1)
16851 (display-buffer-record-window): Use window-point-1 instead of
16852 window-point.
16853 (set-window-buffer-start-and-point): Use set-window-point-1.
16854
16855 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16856
16857 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16858
16859 2011-10-05 Glenn Morris <rgm@gnu.org>
16860
16861 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16862 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16863
16864 2011-10-05 Leo Liu <sdl.web@gmail.com>
16865
16866 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16867 works with buffer object.
16868
16869 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16870
16871 * mpc.el (mpc-tool-bar-map): Add labels.
16872
16873 2011-10-04 Glenn Morris <rgm@gnu.org>
16874
16875 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16876
16877 2011-10-04 Martin Rudalics <rudalics@gmx.at>
16878
16879 * window.el (window--delete): New function.
16880 (frame-auto-delete): Resuscitate option.
16881 (bury-buffer, replace-buffer-in-windows)
16882 (quit-window): Rewrite using window--delete.
16883 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16884 Pass display-buffer-mark-dedicated to window--display-buffer-2
16885 (Bug#9639).
16886
16887 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16888
16889 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16890 returns a list (bug#9554). Add remote file name completion.
16891 * comint.el (comint--table-subvert): Curry and get quote&unquote
16892 functions as arguments.
16893 (comint--complete-file-name-data): Adjust call accordingly.
16894 * pcomplete.el (pcomplete--table-subvert): Remove.
16895 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16896
16897 * minibuffer.el (completion-table-case-fold): Use currying.
16898 (completion--styles-type, completion--cycling-threshold-type):
16899 New constants.
16900 (completion-styles, completion-category-overrides)
16901 (completion-cycle-threshold): Use them.
16902 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16903 completion-table-case-fold.
16904
16905 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
16906
16907 * minibuffer.el (completion-category-overrides): Fix type of styles
16908 and add more user friendly tags (bug#9660).
16909
16910 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16911
16912 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16913 (mule-input-method-string): New widget.
16914 (default-input-method, language-info-custom-alist): Use it.
16915
16916 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16917
16918 * pcomplete.el: Require comint.
16919 (pcomplete--common-suffix): Remove.
16920 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16921 (pcomplete--table-subvert): Sync with comint--table-subvert.
16922 (pcomplete--entries): Use comint-completion-file-name-table.
16923 * comint.el (comint-unquote-filename): Simplify.
16924 (comint-completion-file-name-table): New function (bug#9616).
16925 (comint--complete-file-name-data): Use it.
16926
16927 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16928 (pcmpl-gnu-tar-buffer): Remove.
16929 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
16930 around. Make sure pcomplete-suffix-list is only changed temporarily.
16931 Don't look inside the tar's file if it's too large.
16932
16933 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
16934
16935 * cus-edit.el (custom-mode-map):
16936 * epa.el (epa-key-list-mode-map):
16937 * man.el (Man-mode-map):
16938 * startup.el (splash-screen-keymap):
16939 * simple.el (special-mode-map): Use scroll-up-command and
16940 scroll-down-command.
16941
16942 * progmodes/idlw-help.el (idlwave-help-mode-map):
16943 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16944 * net/newst-plainview.el (newsticker-mode-map):
16945 * emulation/ws-mode.el (wordstar-mode-map):
16946 * emulation/vi.el (vi-com-map):
16947 * calc/calc-graph.el (calc-graph-show-dumb):
16948 * term/sun.el (terminal-init-sun):
16949 * term/ns-win.el (global-map):
16950 * progmodes/grep.el (grep-mode-map):
16951 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16952 * mail/rmail.el (rmail-mode-map):
16953 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16954
16955 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16956 custom-safe-themes as special.
16957
16958 2011-10-01 Julien Danjou <julien@danjou.info>
16959
16960 * notifications.el (notifications-notify): Fix docstring.
16961
16962 2011-10-01 Per Starbäck <per@starback.se>
16963
16964 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16965
16966 2011-09-30 Martin Rudalics <rudalics@gmx.at>
16967
16968 * startup.el (command-line-1): Fix last fix by inserting
16969 initial-scratch-message into *scratch* before displaying it.
16970 (Bug#9605) and (Bug#9636)
16971
16972 2011-09-29 Eli Zaretskii <eliz@gnu.org>
16973
16974 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16975 window is hscrolled, move by logical lines. (Bug#9607)
16976 (line-move-visual): Update the doc string to the above effect.
16977
16978 2011-09-29 Martin Rudalics <rudalics@gmx.at>
16979
16980 * window.el (display-buffer-record-window): When WINDOW is the
16981 selected window use `point' instead of `window-point'. (Bug#9626)
16982
16983 * startup.el (command-line-1): Use insert-before-markers when
16984 inserting initial-scratch-message. (Bug#9605)
16985
16986 * help.el (help-window): Remove variable.
16987
16988 2011-09-29 Glenn Morris <rgm@gnu.org>
16989
16990 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16991
16992 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
16993
16994 * descr-text.el (describe-char-categories): Accept category
16995 descriptions more than one line long.
16996
16997 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16998
16999 * simple.el (delete-trailing-whitespace): Fix last change.
17000
17001 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17002 Don't confuse "y => 3" as the beginning of a `y' operation.
17003
17004 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17005 object has more than 4 slots (bug#9613).
17006
17007 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17008
17009 * subr.el (with-output-to-temp-buffer):
17010 * net/quickurl.el (quickurl, quickurl-browse-url):
17011 Fix typos in docstrings.
17012
17013 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17014
17015 * minibuffer.el (completion-styles)
17016 (completion-category-overrides): Cross reference each other in doc
17017 strings.
17018
17019 2011-09-27 Glenn Morris <rgm@gnu.org>
17020
17021 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17022 to split-string. (Bug#9606)
17023
17024 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17025
17026 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17027 (bug#9615).
17028
17029 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17030
17031 * emacs-lisp/package.el (list-packages): Fix echo area message.
17032
17033 2011-09-27 Leo Liu <sdl.web@gmail.com>
17034
17035 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17036
17037 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17038
17039 * net/dbus.el (dbus-unregister-object): Don't release services for
17040 registered signals. (Bug#9581)
17041
17042 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17043
17044 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17045 function that picks between cfengine 2 and 3 support
17046 automatically. Update docs accordingly.
17047
17048 2011-09-22 Kenichi Handa <handa@m17n.org>
17049
17050 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17051 ZERO.
17052 (indian-itrans-v5-table-for-tamil): New variable.
17053 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17054
17055 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17056
17057 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17058 that's true if the current command involved collapsing of text.
17059 It's reset to false at the beginning of the next command.
17060 (allout-post-command-business): Move the cursor to the beginning
17061 of entry if the cursor is hidden and collapsing activity just
17062 happened.
17063
17064 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17065
17066 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17067 tracking (Bug#9541).
17068
17069 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17070
17071 * net/newst-reader.el (newsticker-html-renderer)
17072 (newsticker-show-news): Automatically load html rendering package
17073 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17074 because w3m-fill-column is let-bound" and the error "Symbol's value
17075 as variable is void: w3m-fill-column".
17076
17077 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17078
17079 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17080 Release services only if they are defined. (Bug#9581)
17081
17082 2011-09-23 Richard Stallman <rms@gnu.org>
17083
17084 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17085 distinguish start of paragraph from start of its text.
17086
17087 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17088
17089 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17090 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17091 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17092
17093 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17094
17095 * international/mule-diag.el (mule-diag): Insert a newline after
17096 each fontset description.
17097
17098 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17099
17100 * simple.el (delete-trailing-whitespace):
17101 Document last change; simplify.
17102
17103 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17104
17105 * simple.el (delete-trailing-whitespace): Also delete
17106 extra newlines at the end of the buffer.
17107
17108 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17109 (picture-newline): Use forward-line so as to ignore fields.
17110
17111 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17112
17113 * subr.el (with-wrapper-hook): Fix edebug spec.
17114
17115 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17116
17117 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17118 (bug#4538).
17119
17120 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17121
17122 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17123 Fix nasty bug using wrong cached values.
17124
17125 2011-09-23 Alan Mackenzie <acm@muc.de>
17126
17127 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17128
17129 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17130
17131 * window.el (pop-to-buffer): Ensure right window is selected if we
17132 chose another frame.
17133
17134 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17135
17136 * simple.el (what-cursor-position): Use get-char-property-change
17137 and next-single-char-property-change, to be able to show display
17138 properties that come from overlays as well as text properties.
17139
17140 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17141
17142 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17143
17144 * cmuscheme.el (run-scheme, switch-to-scheme):
17145 * cus-edit.el (customize-group, custom-buffer-create)
17146 (customize-browse):
17147 * info.el (info):
17148 * shell.el (shell):
17149 * mail/sendmail.el (mail):
17150 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17151
17152 2011-09-22 Richard Stallman <rms@gnu.org>
17153
17154 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17155 move back only to line beg, don't move back over blank lines.
17156
17157 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17158
17159 * files.el (copy-directory): Set directory attributes only in case
17160 they could be retrieved from the source directory. (Bug#9565)
17161
17162 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17163
17164 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17165 (hs-find-block-beginning, hs-hide-level-recursive):
17166 Ignore strings as well as comments. (Bug#9502)
17167
17168 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17169
17170 * progmodes/sql.el (sql-comint-postgres):
17171 Convert port number to a string. (Bug#9566)
17172
17173 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17174
17175 * window.el (quit-window): Undedicate window when switching to
17176 previous buffer. Reported by Thierry Volpiatto
17177 <thierry.volpiatto@gmail.com>.
17178 (special-display-popup-frame): When popping up a new frame reset
17179 its previous buffers to nil. Simplify code.
17180
17181 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17182
17183 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17184 and process filter, as done also in `shell-command'.
17185
17186 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17187
17188 * window.el (set-window-buffer-start-and-point):
17189 Call set-window-start with NOFORCE argument t.
17190 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17191 (quit-window): Reword doc-string. Handle new format of
17192 quit-restore parameter. Don't delete window if it has a
17193 previous buffer we can show instead of the present one.
17194 (display-buffer-record-window): Rewrite using a new format for
17195 the quit-restore window parameter
17196 (special-display-popup-frame, display-buffer-same-window)
17197 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17198 (display-buffer-pop-up-window, display-buffer-use-some-window):
17199 Adapt symbol passed to display-buffer-record-window.
17200 * help.el (help-window-setup): Handle new format of quit-restore
17201 parameter.
17202
17203 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17204
17205 * faces.el (face-list): Fix docstring (bug#9564).
17206
17207 * window.el (display-buffer--action-function-custom-type):
17208 Don't include internal functions in the Custom interface.
17209
17210 2011-09-20 Juri Linkov <juri@jurta.org>
17211
17212 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17213 (Info-forward-node, Info-backward-node, Info-next-preorder)
17214 (Info-last-preorder): Use it. (Bug#9528)
17215
17216 2011-09-20 Juri Linkov <juri@jurta.org>
17217
17218 * info.el (Info-last-preorder): Visit last menu item only when
17219 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17220
17221 2011-09-20 Julien Danjou <julien@danjou.info>
17222
17223 * password-cache.el (password-cache-remove): Remove entries even if the
17224 value is nil, so that password with a nil value (negative caching) is
17225 possible to invalidate.
17226
17227 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17228
17229 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17230 all whitespace around breakpoint. (Bug#9553)
17231 (f90-find-breakpoint): Only break at whitespace inside a comment.
17232
17233 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17234
17235 * minibuffer.el (completion-file-name-table): Keep track of errors.
17236 (completion-table-with-predicate): Handle the case where pred1 is nil.
17237 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17238
17239 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17240
17241 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17242 (debugger-return-value): Signal an error if the debugging context does
17243 not await any return value.
17244
17245 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17246 * image-mode.el (image-toggle-display-text)
17247 (image-toggle-display-image): Stay away from evil `intangible'.
17248
17249 2011-09-19 Leo Liu <sdl.web@gmail.com>
17250
17251 * replace.el (occur-revert-arguments): Make it permanent-local.
17252 (occur-mode): Don't call font-lock-defontify.
17253
17254 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17255
17256 * net/ldap.el (ldap-search-internal): Don't push empty search
17257 result (Bug#9508).
17258
17259 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17260
17261 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17262
17263 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17264
17265 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17266 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17267
17268 2011-09-18 Juri Linkov <juri@jurta.org>
17269
17270 * buff-menu.el (Buffer-menu-mode-map):
17271 * dired.el (dired-mode-map):
17272 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17273 (lisp-interaction-mode-map):
17274 * emacs-lisp/package.el (package-menu-mode-map):
17275 * epa.el (epa-key-list-mode-map):
17276 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17277 (menu-bar-options-menu):
17278 * outline.el (outline-mode-menu-bar-map):
17279 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17280 * vc/vc-dir.el (vc-dir-menu-map):
17281 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17282 Capitalize non-function content words in menu item strings.
17283
17284 * dired.el (dired-mode-map): Add menu item for
17285 `image-dired-dired-toggle-marked-thumbs'.
17286
17287 2011-09-18 Juri Linkov <juri@jurta.org>
17288
17289 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17290 to `isearch-case-fold-search' and restore its original value
17291 after the `isearch-mode' call.
17292
17293 2011-09-18 Juri Linkov <juri@jurta.org>
17294
17295 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17296 because `zgrep' returns 1 for successful matches (bug#9226).
17297
17298 2011-09-18 Juri Linkov <juri@jurta.org>
17299
17300 * info.el (Info-extract-menu-node-name): Check the second match
17301 for empty string (second test-case of bug#9528).
17302 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17303 intermediate nodes to the history (first test-case of bug#9528).
17304
17305 2011-09-18 Juri Linkov <juri@jurta.org>
17306
17307 * info.el (Info-mode-syntax-table): New variable.
17308 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17309
17310 2011-09-18 Juri Linkov <juri@jurta.org>
17311
17312 * info.el (Info-file-supports-index-cookies):
17313 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17314 outputs one more line for long file names (bug#4142).
17315
17316 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17317
17318 * newcomment.el (comment-normalize-vars): If prompting for
17319 comment-start, set comment-start-skip too (Bug#8424).
17320
17321 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17322
17323 * icomplete.el: Fix previous fix of Bug#5849.
17324 (icomplete-mode): Don't set completion-show-inline-help.
17325 (icomplete-minibuffer-setup): Set completion-show-inline-help
17326 locally during icompletion.
17327
17328 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17329
17330 * woman.el (woman2-process-escapes): Don't delete unrecognized
17331 escapes (Bug#7843).
17332
17333 * files.el (inhibit-first-line-modes-regexps): Add image files.
17334 (hack-local-variables-prop-line): Return nil for malformed
17335 prop-lines (Bug#9044).
17336
17337 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17338
17339 * net/tramp.el (top): Don't require 'shell.
17340 (tramp-methods): Fix docstring.
17341 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17342 Return complete remote file name. Handle "smb" case.
17343 Use `tramp-tmpdir', if defined for the respective method.
17344 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17345
17346 * net/tramp-compat.el (top): Require 'shell.
17347
17348 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17349 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17350 `tramp-current-host'.
17351 (tramp-get-remote-tmpdir): Remove.
17352
17353 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17354 `tramp-tmpdir' entries.
17355 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17356 (tramp-smb-handle-file-attributes): Ignore errors.
17357 (tramp-smb-wait-for-output): Check also for process end.
17358
17359 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17360
17361 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17362 when sending QUIT (bug#9312).
17363
17364 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17365
17366 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17367 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17368 occur-mode-display-occurrence.
17369 (occur-edit-mode): Add usage message.
17370 (occur-cease-edit): New command.
17371 (occur-after-change-function): Use text properties to find the
17372 position of the prefix text.
17373 (occur-engine): Set stickiness of prefix text properties.
17374
17375 2011-09-17 Glenn Morris <rgm@gnu.org>
17376
17377 * progmodes/etags.el (complete-tag):
17378 Fix call to completion-in-region. (Bug#9526)
17379
17380 2011-09-17 Juri Linkov <juri@jurta.org>
17381
17382 * textmodes/ispell.el (ispell-word): Add to the error message
17383 the word, ispell program name and current dictionary (bug#9121).
17384 (ispell-tex-arg-end): Capitalize "error" in the error message.
17385
17386 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17387
17388 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17389 check. (Bug#4251)
17390
17391 2011-09-17 Juri Linkov <juri@jurta.org>
17392
17393 * window.el (window-safe-min-height, window-safe-min-width):
17394 Fix typos (followup to bug#9522).
17395
17396 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17397
17398 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17399
17400 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17401
17402 * simple.el (line-move): If goal-column is set, move by logical
17403 lines, not by display lines. (Bug#971)
17404 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17405 to reflect the above change.
17406
17407 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17408
17409 * image.el (imagemagick-register-types): Use regexp-opt.
17410
17411 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17412
17413 * window.el (display-buffer-base-action): Rename from
17414 display-buffer-default-action. Make default value empty.
17415 (display-buffer-overriding-action): Convert to defvar.
17416 (display-buffer-fallback-action): New var.
17417
17418 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17419
17420 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17421 declaration.
17422 (package--add-to-archive-contents): If there is a duplicate entry
17423 with an older version, remove it.
17424 (package-menu-mark-delete, package-menu-mark-install)
17425 (package-menu-mark-unmark): Make unused args optional.
17426 (package-menu-mark-obsolete-for-deletion):
17427 Use package-menu-get-status instead of a regexp search.
17428 (package-menu-get-status): Use tabulated-list-entry.
17429 (package-menu-mark-upgrades): New command.
17430 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17431 (package-menu-execute): Do installation before deletion.
17432 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17433 instead of checking major-mode.
17434 (package-menu--find-upgrades): New function.
17435
17436 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17437
17438 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17439 passwords in the log buffer.
17440 (smtpmail-process-filter): Update the process marker so that the
17441 "broken by peer" status message is inserted in the right place.
17442
17443 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17444
17445 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17446 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17447 bibtex-completion-at-point-function.
17448 (bibtex-completion-at-point-function): Use them.
17449
17450 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17451
17452 * mpc.el (mpc-constraints-tag-lookup): New function.
17453 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17454 also to browser "album|playlist".
17455
17456 2011-09-14 Juri Linkov <juri@jurta.org>
17457
17458 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17459 (isearch-edit-string): Use length of `isearch-string' when
17460 `isearch-fail-pos' returns nil.
17461 (isearch-message): Remove duplicate code and call
17462 `isearch-fail-pos' with arg `t'.
17463
17464 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17465
17466 * replace.el (occur-mode-goto-occurrence): Don't force using other
17467 window (Bug#9499).
17468
17469 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17470
17471 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17472
17473 * window.el (display-buffer-window): Remove.
17474 (display-buffer-record-window): Use help-setup window parameter
17475 instead of variable display-buffer-window.
17476 (display-buffer-function, special-display-buffer-names)
17477 (special-display-function): Mention help-setup parameter instead
17478 of display-buffer-window in doc-string.
17479 * help.el (help-window-setup): New argument help-window.
17480 Use help-window-setup parameter instead of display-buffer-window.
17481 Reword some messages.
17482 (with-help-window): Pass window used for displaying the buffer
17483 to help-window-setup. Don't set display-buffer-window.
17484
17485 2011-09-13 Glenn Morris <rgm@gnu.org>
17486
17487 * emacs-lisp/debug.el (debugger-make-xrefs):
17488 Preserve point. (Bug#9462)
17489
17490 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17491
17492 * window.el (window-deletable-p): Use next-frame.
17493
17494 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17495
17496 * window.el (window-auto-delete): Remove.
17497 (window-deletable-p): Remove argument FORCE. Don't deal with
17498 dedication and previous buffers.
17499 (switch-to-prev-buffer): Don't delete window.
17500 (delete-windows-on): Delete a window's frame if and only if the
17501 window is dedicated.
17502 (replace-buffer-in-windows): Delete buffer's window or frame if
17503 and only if window is dedicated.
17504 (quit-window): Handle quit-restore as before last change.
17505 (bury-buffer): Delete window only if window-deletable-p returns t.
17506
17507 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17508
17509 * window.el (window-deletable-p): Never delete the last frame on a
17510 given terminal.
17511
17512 2011-09-13 Glenn Morris <rgm@gnu.org>
17513
17514 * help.el (describe-key-briefly): Copy previous standard-output change.
17515
17516 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17517
17518 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17519
17520 2011-09-13 Glenn Morris <rgm@gnu.org>
17521
17522 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17523 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17524
17525 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17526
17527 * dired-aux.el (dired-mark-read-string): Don't return default
17528 value on empty input (Bug#9361).
17529 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17530 Omit initial minibuffer contents.
17531 (dired-do-chmod): Signal an error on empty input.
17532 (dired-mark-read-string): Don't return default on empty input.
17533
17534 * files.el (file-modes-symbolic-to-number): Doc fix.
17535
17536 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17537
17538 * international/mule-cmds.el (ucs-completions): Remove.
17539 (read-char-by-name): Use complete-with-action instead; add metadata.
17540
17541 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17542
17543 * window.el (display-buffer--action-function-custom-type)
17544 (display-buffer--action-custom-type): New vars.
17545 (display-buffer-alist, display-buffer-default-action)
17546 (display-buffer-overriding-action): Add defcustom types.
17547
17548 * frame.el (delete-other-frames): Doc fix (Bug#276).
17549
17550 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17551
17552 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17553
17554 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17555
17556 Change modes that used same-window-* vars to use switch-to-buffer.
17557
17558 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17559 Use switch-to-buffer.
17560
17561 * cus-edit.el (customize-group, custom-buffer-create)
17562 (customize-browse, custom-buffer-create-other-window):
17563 Use switch-to-buffer or switch-to-buffer-other-window.
17564
17565 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17566 (Info-prev, Info-up, Info-speedbar-goto-node)
17567 (info-display-manual): Use switch-to-buffer.
17568 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17569
17570 * mail/sendmail.el (mail): Use switch-to-buffer.
17571 (mail-recover): Use switch-to-buffer-other-window.
17572
17573 * cmuscheme.el (run-scheme, switch-to-scheme):
17574 * ielm.el (ielm):
17575 * shell.el (shell):
17576 * net/rlogin.el (rlogin):
17577 * net/telnet.el (telnet, rsh):
17578 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17579
17580 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17581
17582 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17583
17584 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17585
17586 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17587 so don't mention it (bug#9301).
17588 (dired-sort-toggle-or-edit): Clarify string further.
17589
17590 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17591 match `x', `w32' and `ns', like the manual says (bug#9029).
17592
17593 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17594 (process-kill-buffer-query-function): Mention the buffer name in
17595 the query.
17596
17597 * image-mode.el (image-next-line): The line parameter is mandatory
17598 (bug#9258).
17599
17600 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17601 which can be useful (bug#9301).
17602
17603 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17604
17605 * subr.el (match-string): Mention that the current buffer should
17606 be the same as the search was done in (bug#9282).
17607
17608 * facemenu.el: Disable the remove-* commands if the mark isn't
17609 active (bug#9162).
17610
17611 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17612
17613 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17614 of display-buffer.
17615 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17616
17617 * replace.el (occur-mode-goto-occurrence)
17618 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17619 and display-buffer.
17620
17621 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17622 display-buffer.
17623
17624 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17625 special-display and same-window variables.
17626 (mail-other-window): Use switch-to-buffer-other-window.
17627 (mail-other-frame): USe switch-to-buffer-other-frame.
17628
17629 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17630 Use display-buffer-other-frame.
17631 (gdb-display-gdb-buffer): Use pop-to-buffer.
17632
17633 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17634
17635 * progmodes/python.el: Don't set same-window-buffer-names.
17636
17637 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17638
17639 * window.el (display-buffer-alist): Add *Python*.
17640
17641 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17642
17643 * window.el (display-buffer-alist): Add entry for buffers
17644 previously handled same-window-*.
17645 (display-buffer-alist, display-buffer-default-action)
17646 (display-buffer-overriding-action): Mark as risky.
17647 (display-buffer-alist): Document action function changes.
17648 (display-buffer--same-window-action)
17649 (display-buffer--other-frame-action): New variables.
17650 (switch-to-buffer, display-buffer-other-frame): Use them.
17651 (display-buffer): Rename reuse-frame entry to reusable-frames.
17652 (display-buffer-reuse-selected-window): Function deleted.
17653 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17654 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17655 (display-buffer-special): New function.
17656 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17657 display-buffer-reuse-or-pop-window. Split off special-display
17658 part into display-buffer-special.
17659 (display-buffer-use-some-window): Don't perform any special
17660 pop-up-frames handling.
17661 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17662 (display-buffer--maybe-same-window): Rename from
17663 display-buffer-maybe-same-window.
17664
17665 * info.el: Don't set same-window-regexps.
17666 (info-setup): New function.
17667 (info-other-window, info): Call it.
17668
17669 * cus-edit.el: Don't set same-window-regexps.
17670 (customize-group): New argument.
17671 (customize-group-other-window): Use it.
17672 (customize-face, customize-face-other-window): Likewise.
17673 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17674
17675 * net/rlogin.el:
17676 * net/telnet.el:
17677 * progmodes/gud.el: Don't set same-window-regexps.
17678
17679 * cmuscheme.el:
17680 * ielm.el:
17681 * shell.el:
17682 * mail/sendmail.el:
17683 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17684
17685 2011-09-10 Juri Linkov <juri@jurta.org>
17686
17687 * isearch.el (isearch-edit-string): Remove obsolete mention of
17688 `C-w' (`isearch-yank-word-or-char') from docstring.
17689 (isearch-query-replace): Fix typo in docstring (bug#9466).
17690
17691 2011-09-10 Juri Linkov <juri@jurta.org>
17692
17693 * paren.el (show-paren-function): Don't show escaped parens.
17694 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17695
17696 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17697
17698 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17699 (mm-default-file-encoding): Remove autoload forms, they are
17700 replaced with autoload cookies in mml.el and mm-encode.el.
17701 (mail-add-attachment): New command.
17702 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17703 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17704 the doc string.
17705 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17706
17707 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17708
17709 * simple.el (count-words-region): Use buffer if there's no region
17710 (bug#9429).
17711
17712 2011-09-09 Juri Linkov <juri@jurta.org>
17713
17714 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17715 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17716 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17717
17718 2011-09-09 Alan Mackenzie <acm@muc.de>
17719
17720 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17721 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17722
17723 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17724
17725 Fix for Savannah bug#9392.
17726 * simple.el (mail-encode-mml): New defvar.
17727
17728 * mail/rmail.el (mail-encode-mml): Add a defvar.
17729 (rmail-enable-mime-composing): Default to t.
17730 (rmail-forward): Use MIME method of forwarding only if both
17731 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17732 Set mail-encode-mml non-nil if the MIME method was used.
17733
17734 * mail/sendmail.el (mml-to-mime): Add autoload form.
17735 (mail-encode-mml): Add a defvar.
17736 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17737 to nil.
17738 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17739 message through mml-to-mime, and reset mail-encode-mml to nil.
17740
17741 2011-09-09 Glenn Morris <rgm@gnu.org>
17742
17743 * woman.el (woman-if-body): When processing an .el block,
17744 do not delete the next .el block as well. (Bug#9447)
17745 (woman-special-characters): Add oq, cq, and hy characters.
17746
17747 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17748
17749 * window.el (window-deletable-p): Make sure window is live before
17750 invoking window-prev-buffers.
17751
17752 2011-09-08 Leo Liu <sdl.web@gmail.com>
17753
17754 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17755
17756 2011-09-08 Juri Linkov <juri@jurta.org>
17757
17758 * progmodes/compile.el (compilation-environment): Make it
17759 a defcustom (bug#8340).
17760
17761 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17762
17763 * window.el (frame-auto-delete): Rename to window-auto-delete.
17764 Make it control auto-deletion of windows and/or frames.
17765 (window-deletable-p): New argument FORCE. Rewrite conditions
17766 for deleting window/frame. (Bug#9419)
17767 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17768 Rewrite handling of case when window/frame can be deleted.
17769 (delete-windows-on): Call window-deletable-p with new FORCE
17770 argument t. (Bug#9456)
17771
17772 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
17773
17774 * help-mode.el (help-mode): Restore autoload.
17775
17776 2011-09-07 Juri Linkov <juri@jurta.org>
17777
17778 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17779 `compilation-environment'. Set buffer-local
17780 `compilation-environment' to `thisenv' later after (funcall mode).
17781 (Bug#8340)
17782
17783 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17784 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17785 instead of replacing its value. (Bug#8340)
17786
17787 2011-09-07 Juri Linkov <juri@jurta.org>
17788
17789 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17790 based on text properties put by `grep-filter' instead of matching
17791 escape sequences.
17792 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17793 to the value of `grep-error-screen-columns' (bug#9438).
17794
17795 2011-09-07 Juri Linkov <juri@jurta.org>
17796
17797 * simple.el (next-error-highlight, next-error-highlight-no-select):
17798 Doc fix (bug#9432).
17799
17800 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17801
17802 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17803 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17804
17805 2011-09-07 Leo Liu <sdl.web@gmail.com>
17806
17807 * net/rcirc.el (rcirc-mode): Conditionally initialize
17808 rcirc-input-ring.
17809
17810 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17811
17812 * emacs-lisp/find-func.el (find-function-C-source): Only set
17813 find-function-C-source-directory after checking that we found a source
17814 file there (bug#9440).
17815
17816 2011-09-06 Alan Mackenzie <acm@muc.de>
17817
17818 * isearch.el (isearch-other-meta-char): Wherever a key list is
17819 unread, "unread" the prefix arg, too. This fixes bug #8901.
17820
17821 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17822
17823 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17824
17825 2011-09-05 Juri Linkov <juri@jurta.org>
17826
17827 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17828
17829 2011-09-05 Juri Linkov <juri@jurta.org>
17830
17831 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17832 keeping point where processing of grep matches begins, and
17833 continue to delete remaining escape sequences from the same point.
17834 (grep-filter): Make leading zero optional in "0?1;31m" because
17835 git-grep emits "\033[1;31m" escape sequences unlike expected
17836 "\033[01;31m" as GNU Grep does (bug#9408).
17837 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17838
17839 2011-09-05 Juri Linkov <juri@jurta.org>
17840
17841 * subr.el (y-or-n-p): Capitalize "yes".
17842
17843 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
17844
17845 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17846 `tramp-cache-unload-hook' where appropriate.
17847 (tramp-methods): Rename `tramp-remote-sh' to
17848 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17849 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17850
17851 * net/tramp-sh.el (top): Don't require 'shell.
17852 (tramp-methods): Add `tramp-remote-shell' and
17853 `tramp-remote-shell-args' entries.
17854 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17855 (tramp-sh-handle-shell-command): Remove.
17856 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17857 Use `tramp-remote-shell'.
17858
17859 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
17860
17861 * mail/sendmail.el (sendmail-query-once-function): Delete.
17862 (sendmail-query-once): Save directly to send-mail-function.
17863 Update message-send-mail-function too.
17864
17865 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17866
17867 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17868
17869 * progmodes/python.el (python-mode-map): Use correct function to
17870 start python interpreter from menu-bar (as reported by Geert
17871 Kloosterman).
17872 (inferior-python-mode-map): Fix typo.
17873 (python-shell-map): Remove.
17874
17875 2011-09-03 Deniz Dogan <deniz@dogan.se>
17876
17877 * net/rcirc.el (rcirc-print): Simplify code for
17878 rcirc-scroll-show-maximum-output. There is no need to walk
17879 through all windows to find the right one.
17880
17881 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17882
17883 * help.el (help-return-method): Doc fix.
17884
17885 2011-09-03 Martin Rudalics <rudalics@gmx.at>
17886
17887 * window.el (window-deletable-p): Don't return a non-nil value
17888 when there's a buffer that was shown in the window before.
17889 (Bug#9419)
17890 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17891 Set window's previous buffers to nil.
17892
17893 2011-09-03 Eli Zaretskii <eliz@gnu.org>
17894
17895 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17896 newline before and after the tag line, so it doesn't interfere
17897 with determining the paragraph direction of bidirectional text.
17898
17899 2011-09-03 Leo Liu <sdl.web@gmail.com>
17900
17901 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17902
17903 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17904
17905 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17906 (pop-to-buffer): Change interactive spec. Pass second argument
17907 directly to display-buffer.
17908 (display-buffer): Fix interactive spec. Use functionp to
17909 distinguish between a function and a list of functions.
17910
17911 * abbrev.el (edit-abbrevs):
17912 * arc-mode.el (archive-extract):
17913 * autoinsert.el (auto-insert):
17914 * bookmark.el (bookmark-bmenu-list):
17915 * files.el (find-file):
17916 * view.el (view-buffer):
17917 * progmodes/compile.el (compilation-goto-locus):
17918 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17919
17920 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17921
17922 * window.el (display-buffer-alist): Doc fix.
17923 (display-buffer): Add docstring. Don't treat
17924 display-buffer-default specially.
17925 (display-buffer-reuse-selected-window)
17926 (display-buffer-same-window, display-buffer-maybe-same-window)
17927 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17928 (display-buffer-pop-up-window)
17929 (display-buffer-reuse-or-pop-window)
17930 (display-buffer-use-some-window): New functions.
17931 (display-buffer-default-action): Use them.
17932 (display-buffer-default): Delete.
17933 (pop-to-buffer-1): Fix choice of actions.
17934
17935 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17936
17937 * minibuffer.el (completion--insert-strings): Don't get confused by
17938 completion entries that end with an LF char.
17939
17940 2011-09-01 Eli Zaretskii <eliz@gnu.org>
17941
17942 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17943
17944 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
17945
17946 * window.el (display-buffer): Restore interactive spec.
17947 (display-buffer-same-window, display-buffer-other-window):
17948 New functions.
17949 (pop-to-buffer-1): New function. Use the above.
17950 (pop-to-buffer, pop-to-buffer-same-window): Use it.
17951 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
17952
17953 * view.el (view-buffer-other-window, view-buffer-other-frame):
17954 Just use pop-to-buffer.
17955
17956 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17957
17958 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17959
17960 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17961
17962 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17963
17964 2011-08-31 Richard Stallman <rms@gnu.org>
17965
17966 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17967 of the separation of rmail-view-buffer from rmail-buffer.
17968 If you say no to "replace original", the decrypt is in the
17969 view buffer. If you say yes, the decrypt goes into the
17970 rmail buffer also.
17971
17972 2011-08-31 Martin Rudalics <rudalics@gmx.at>
17973
17974 * window.el (display-buffer-window): Rewrite doc-string.
17975 (display-buffer-record-window): New function.
17976 (display-buffer-macro-specifiers)
17977 (display-buffer-even-window-sizes, display-buffer-set-height)
17978 (display-buffer-set-width, display-buffer-in-window)
17979 (display-buffer-reuse-window, display-buffer-split-specifiers)
17980 (display-buffer-side-specifiers, display-buffer-split-window-1)
17981 (display-buffer-split-window, display-buffer-split-atom-window)
17982 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17983 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17984 (display-buffer-other-window-means-other-frame)
17985 (display-buffer-normalize-special)
17986 (display-buffer-normalize-default)
17987 (display-buffer-normalize-argument)
17988 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17989 (display-buffer-normalize-specifiers, display-buffer-frame)
17990 (display-buffer-same-window, display-buffer-same-frame)
17991 (display-buffer-other-window)
17992 (display-buffer-same-frame-other-window)
17993 (display-buffer-other-frame, pop-to-buffer-same-window)
17994 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17995 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17996 (switch-to-buffer-same-frame)
17997 (switch-to-buffer-other-window-same-frame)
17998 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17999 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18000 (display-buffer-alist-set): Remove.
18001 (display-buffer-function, special-display-buffer-names)
18002 (special-display-regexps, special-display-function):
18003 In doc-string refer to display-buffer-window and quit-restore
18004 parameter.
18005 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18006 (special-display-frame-alist, special-display-popup-frame)
18007 (same-window-buffer-names, same-window-regexps, same-window-p)
18008 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18009 (split-window-preferred-function, split-height-threshold)
18010 (split-width-threshold, window-splittable-p)
18011 (split-window-sensibly, window--try-to-split-window)
18012 (window--frame-usable-p, even-window-heights)
18013 (window--even-window-heights, window--display-buffer-1)
18014 (window--display-buffer-2, display-buffer-other-frame):
18015 Restore old Emacs 23 code, order and doc-strings where applicable.
18016 (display-buffer-default, display-buffer-assq-regexp): New functions.
18017 (display-buffer-alist): Rewrite doc-string.
18018 (display-buffer-default-action)
18019 (display-buffer-overriding-action): New variables.
18020 (display-buffer, switch-to-buffer): Rewrite.
18021 (pop-to-buffer): Restore Emacs 23 behavior but use
18022 window-normalize-buffer-to-display.
18023 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18024 Restore Emacs 23 behavior but use
18025 window-normalize-buffer-to-switch-to.
18026 (pop-to-buffer-same-window): Rewrite.
18027 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18028 Rewrite using Emacs 23 options.
18029
18030 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18031
18032 * net/tramp.el (tramp-root-regexp): Remove.
18033 (tramp-completion-file-name-regexp-unified)
18034 (tramp-completion-file-name-regexp-separate)
18035 (tramp-completion-file-name-regexp-url): Don't use leading volume
18036 letter on w32 systems. (Bug#5303, Bug#9311)
18037 (tramp-drop-volume-letter): Simplify definition.
18038 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18039
18040 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18041
18042 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18043 (bug#9356).
18044
18045 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18046
18047 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18048
18049 2011-08-29 Juri Linkov <juri@jurta.org>
18050
18051 * isearch.el (isearch-done): Don't display message "Mark saved"
18052 when arg `edit' is non-nil to prevent its flicker in the echo area.
18053
18054 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18055
18056 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18057 obsolete packages for deletion.
18058
18059 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18060
18061 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18062 (help-mode): Derive help-mode from special-mode. Don't invoke
18063 view-mode from help-mode.
18064 (help-xref-override-view-map): Remove.
18065 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18066 view-mode is not used anymore.
18067
18068 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18069
18070 * server.el (server-port): Doc fix.
18071
18072 * cus-theme.el (custom-theme-choose-mode): Inherit from
18073 special-mode (Bug#9124).
18074 (custom-theme-choose-mode-map): Add special-mode to parent.
18075
18076 2011-08-28 Alan Mackenzie <acm@muc.de>
18077
18078 * progmodes/cc-fonts.el
18079 (c-make-font-lock-BO-decl-search-function): New function.
18080 (c-basic-matchers-after - "Fontify the clauses after various
18081 keywords"): Extract the three keyword lists for the 3 erroneous
18082 constructs from the list of four, and use the new function above
18083 in place of an old one.
18084
18085 2011-08-28 Deniz Dogan <deniz@dogan.se>
18086
18087 * net/rcirc.el (rcirc-insert-prev-input)
18088 (rcirc-insert-next-input): Remove unused argument.
18089
18090 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18091
18092 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18093
18094 2011-08-27 Alan Mackenzie <acm@muc.de>
18095
18096 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18097 handle function pointer parameters properly.
18098
18099 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18100
18101 * window.el (display-buffer-reuse-window): Fix case where
18102 selected window was reused with non-nil OTHER-WINDOW argument.
18103 (Bug#9381)
18104
18105 2011-08-27 Deniz Dogan <deniz@dogan.se>
18106
18107 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18108 oftc's NickServ messages.
18109
18110 2011-08-27 Glenn Morris <rgm@gnu.org>
18111
18112 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18113
18114 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18115
18116 * emacs-lisp/package.el (package-install): Call package-initialize
18117 if called interactively.
18118
18119 2011-08-26 Leo Liu <sdl.web@gmail.com>
18120
18121 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18122
18123 2011-08-25 Juri Linkov <juri@jurta.org>
18124
18125 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18126 `search-whitespace-regexp' (bug#9364).
18127
18128 2011-08-25 Juri Linkov <juri@jurta.org>
18129
18130 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18131 `regexp-search-ring' to their global values to protect from
18132 updating by `read-from-minibuffer' (bug#9185).
18133
18134 2011-08-25 Juri Linkov <juri@jurta.org>
18135
18136 * textmodes/ispell.el (ispell-command-loop): Add newline
18137 at the end of the "Use option `i'..." line.
18138
18139 2011-08-25 Juri Linkov <juri@jurta.org>
18140
18141 * battery.el (display-battery-mode): If `battery-status-function'
18142 or `battery-mode-line-format' is nil, display the message and set
18143 `display-battery-mode' to nil (bug#9363).
18144
18145 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18146
18147 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18148 bidi-string-mark-left-to-right; they are unnecessary now.
18149
18150 2011-08-25 Deniz Dogan <deniz@dogan.se>
18151
18152 * net/quickurl.el: Documentation typo fixes.
18153
18154 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18155
18156 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18157
18158 2011-08-25 Glenn Morris <rgm@gnu.org>
18159
18160 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18161
18162 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18163 (smtpmail-via-smtp): Handle nil response from smtp.
18164
18165 2011-08-24 Juri Linkov <juri@jurta.org>
18166
18167 * proced.el (proced-marked): Inherit from `error' instead of
18168 `font-lock-warning-face'.
18169
18170 * ibuffer.el (ibuffer-marked-face): Change default face from
18171 `font-lock-warning-face' to `warning'.
18172 (ibuffer-deletion-face): Change default face from
18173 `font-lock-type-face' to `error'.
18174
18175 * battery.el (battery-update): Use the face `error' instead of
18176 `font-lock-warning-face' (bug#6117).
18177
18178 2011-08-24 Juri Linkov <juri@jurta.org>
18179
18180 * faces.el (success): Change face color from "Green3" to
18181 "ForestGreen" on light background (bug#9353).
18182
18183 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18184
18185 * window.el (quit-window): Rename from quit-restore-window.
18186 Use same arglist as old quit-window.
18187 (frame-auto-delete): Doc fix.
18188
18189 * view.el (view-mode-exit): Use quit-window.
18190
18191 2011-08-24 Juri Linkov <juri@jurta.org>
18192
18193 * isearch.el (isearch-ring-adjust1): Start visiting previous
18194 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18195 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18196 for empty search string (when the last search string is reused
18197 automatically) to adjust the isearch ring to the last element and
18198 prepare the correct index for further M-p commands (bug#9185).
18199
18200 2011-08-24 Kenichi Handa <handa@m17n.org>
18201
18202 * international/ucs-normalize.el: If decomposition property of
18203 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18204 nil.
18205 (nfd, nfkd): Likewise.
18206
18207 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18208
18209 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18210 from process filters aren't reliably transmitted to the surrounding
18211 accept-process-output.
18212 (mpc-proc-check): New function.
18213 (mpc-proc-sync): Use it (bug#8293)
18214
18215 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18216
18217 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18218 Add compatibility functions (bug#9313).
18219
18220 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18221
18222 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18223
18224 * international/uni-bidi.el: Regenerate.
18225
18226 2011-08-23 Kenichi Handa <handa@m17n.org>
18227
18228 * international/charprop.el:
18229 * international/uni-bidi.el:
18230 * international/uni-category.el:
18231 * international/uni-combining.el:
18232 * international/uni-comment.el:
18233 * international/uni-decimal.el:
18234 * international/uni-decomposition.el:
18235 * international/uni-digit.el:
18236 * international/uni-lowercase.el:
18237 * international/uni-mirrored.el:
18238 * international/uni-name.el:
18239 * international/uni-numeric.el:
18240 * international/uni-old-name.el:
18241 * international/uni-titlecase.el:
18242 * international/uni-uppercase.el: Regenerate.
18243
18244 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18245
18246 * help.el (help-window-setup): Fix message displayed when other
18247 window is reused. (Bug#9341)
18248
18249 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18250
18251 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18252 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18253
18254 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18255 Mark obsolete.
18256 * shell.el (shell-parse-pcomplete-arguments): New function.
18257 (shell-completion-vars): Use it instead (bug#9160).
18258
18259 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18260
18261 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18262 strings and comments (bug#9333).
18263
18264 * emacs-lisp/debug.el (debug-arglist): New function.
18265 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18266 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18267
18268 2011-08-22 Juri Linkov <juri@jurta.org>
18269
18270 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18271 Revert regexp that highlights output switches to its old
18272 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18273
18274 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18275 to check for empty output (bug#9226).
18276
18277 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18278
18279 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18280 symbol-constituent as the default, as that stops font-lock from
18281 working properly (Bug#8843).
18282
18283 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18284
18285 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18286 `coding-system-for-*' around the process open call to avoid
18287 auth-source side effects.
18288 (smtpmail-try-auth-methods): Expand the secret password.
18289 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18290 probe hangs.
18291
18292 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18293
18294 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18295
18296 * emacs-lisp/find-func.el (find-function-noselect): New arg
18297 lisp-only.
18298
18299 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18300 signal an error for built-in functions (Bug#6664).
18301
18302 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18303
18304 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18305 (smtpmail-try-auth-methods): Use it.
18306
18307 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18308
18309 * font-lock.el (font-lock-fontify-region)
18310 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18311 (font-lock-default-unfontify-buffer)
18312 (font-lock-default-fontify-region)
18313 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18314
18315 * progmodes/compile.el (compilation-error-properties):
18316 Fix confusion between file struct and message struct (Bug#9319).
18317 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18318 `ant' regexp.
18319
18320 * net/browse-url.el (browse-url-firefox): Don't call
18321 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18322
18323 2011-08-20 Glenn Morris <rgm@gnu.org>
18324
18325 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18326
18327 * tutorial.el (tutorial--default-keys): Update some default bindings.
18328
18329 * files.el (hack-local-variables): Fully ignore case for "mode:".
18330
18331 2011-08-20 Alan Mackenzie <acm@muc.de>
18332
18333 Resolve invalid use of a regexp in regexp-opt.
18334
18335 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18336 detection for a java annotation.
18337
18338 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18339 detection for a java annotation.
18340
18341 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18342 handling for java.
18343 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18344
18345 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18346
18347 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18348 (Bug#9274).
18349
18350 2011-08-20 Alan Mackenzie <acm@muc.de>
18351
18352 Fontify CPP expressions correctly when starting in the middle of
18353 such a construct. Mainly for when jit-lock etc. starts a chunk
18354 here.
18355
18356 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18357 variable.
18358 (c-make-font-lock-search-form): New function, extracted from
18359 c-make-font-lock-search-function.
18360 (c-make-font-lock-search-function): Use the above function.
18361 (c-make-font-lock-context-search-function): New function.
18362 (c-cpp-matchers): Enhance the preprocessor expression case with
18363 the above function
18364 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18365 which takes an expression.
18366
18367 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18368
18369 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18370
18371 * window.el (display-buffer-reuse-window)
18372 (display-buffer-pop-up-window): Don't reuse or split a side
18373 window.
18374
18375 2011-08-19 Glenn Morris <rgm@gnu.org>
18376
18377 * files.el (hack-local-variables-prop-line, hack-local-variables):
18378 Downcase "Mode:". (Bug#9331)
18379
18380 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18381
18382 * international/characters.el: Add L and R categories.
18383
18384 * subr.el (bidi-string-mark-left-to-right): Rename from
18385 string-mark-left-to-right. Use category search.
18386
18387 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18388
18389 2011-08-18 Juri Linkov <juri@jurta.org>
18390
18391 * faces.el (error, warning, success): New faces with definitions
18392 copied from old default values of `font-lock-warning-face',
18393 `compilation-warning', `compilation-info' (bug#6117).
18394
18395 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18396
18397 * progmodes/compile.el (compilation-error): Inherit from `error'.
18398 (compilation-warning): Inherit from `warning'.
18399 (compilation-info): Inherit from `success'.
18400
18401 * dired.el (dired-marked): Inherit from `warning'.
18402 (dired-flagged): Inherit from `error'.
18403
18404 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18405
18406 * mail/smtpmail.el (auth-source): Require to avoid problems with
18407 binding variables (bug#9298). Also clean up some unused
18408 autoloads.
18409
18410 * net/network-stream.el (network-stream-open-starttls):
18411 Support using starttls.el without using gnutls-cli.
18412
18413 2011-08-17 Juri Linkov <juri@jurta.org>
18414
18415 * progmodes/grep.el (rgrep): Handle the case when
18416 `grep-find-command' is a cons cell (bug#9278).
18417
18418 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18419
18420 * window.el (display-buffer-pop-up-frame): Run frame creation
18421 function with BUFFER current (as special-display-popup-frame
18422 does). Reported by Drew Adams.
18423
18424 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18425
18426 * epa-mail.el: Simplify GnuPG group expansion using
18427 epg-expand-group.
18428 (epa-mail-group-alist, epa-mail-group-modtime)
18429 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18430 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18431 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18432 Remove.
18433
18434 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18435
18436 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18437
18438 2011-08-16 Alan Mackenzie <acm@muc.de>
18439
18440 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18441 Correct, to avoid the inside of macros.
18442
18443 2011-08-16 Richard Stallman <rms@gnu.org>
18444
18445 * epa-mail.el: Handle GnuPG group definitions.
18446 (epa-mail-group-alist, epa-mail-group-modtime)
18447 (epa-mail-gnupg-conf-file): New variables.
18448 (epa-mail-parse-groups, epa-mail-sync-groups)
18449 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18450 (epa-mail-expand-recipients): New functions.
18451 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18452
18453 * mail/rmail.el (rmail-epa-decrypt): New command.
18454
18455 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18456 Don't bind buffer-read-only, just inhibit-read-only.
18457 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18458 (epa-decrypt-armor-in-region): Make error message clearer.
18459
18460 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18461
18462 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18463 and "a2b" to "ab" for `prefix'.
18464
18465 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18466
18467 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18468 filter groups.
18469 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18470 Fourquet (Bug#8804).
18471
18472 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18473
18474 * startup.el (argi): Declare as global variable (bug#9275).
18475
18476 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18477
18478 * subr.el (string-mark-left-to-right): Search the entire string
18479 for RTL script, not just the terminating character. Doc fix.
18480
18481 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18482
18483 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18484 New function.
18485 (js--regexp-literal, js-syntax-propertize-function): Remove.
18486 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18487 (js-mode-map): Don't rebind electric keys.
18488 (js-insert-and-indent): Remove.
18489 (js-mode): Setup electric-layout and electric-indent instead.
18490
18491 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18492
18493 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18494
18495 * epa.el (epa-progress-callback-function): Fix the logic of
18496 displaying progress.
18497 * epa-file.el (epa-file-insert-file-contents): Make progress
18498 display more user-friendly.
18499 (epa-file-write-region): Ditto.
18500
18501 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18502
18503 * subr.el (string-mark-left-to-right): New function.
18504
18505 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18506 Use string-mark-left-to-right.
18507 (list-buffers-noselect): Caller changed.
18508
18509 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18510 Use string-mark-left-to-right.
18511 (tabulated-list-print): Recenter after moving point.
18512
18513 2011-08-10 Juri Linkov <juri@jurta.org>
18514
18515 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18516 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18517 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18518
18519 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18520
18521 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18522 (Bug#7554).
18523
18524 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18525
18526 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18527 character. (Bug#6594)
18528
18529 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18530
18531 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18532 (image-dired--with-db-file): New macro.
18533 (image-dired-write-tags, image-dired-remove-tag)
18534 (image-dired-create-gallery-lists, image-dired-write-comments)
18535 (image-dired-get-comment, image-dired-mark-tagged-files)
18536 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18537 (image-dired-gallery-generate): Use insert-file-contents.
18538
18539 * time.el (display-time-world-list, display-time-world-display):
18540 * time-stamp.el (time-stamp-string):
18541 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18542 set-time-zone-rule (Bug#7337).
18543
18544 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18545
18546 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18547 (epg-error-to-string, epg-errors-to-string): New function.
18548 (epg-wait-for-completion): Reverse errors list.
18549 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18550 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18551 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18552 (epg-sign-keys, epg-generate-key-from-file)
18553 (epg-generate-key-from-string): Format errors by using
18554 epg-errors-to-string (bug#9255).
18555 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18556
18557 2011-08-07 Juri Linkov <juri@jurta.org>
18558
18559 * faces.el (list-faces-display): Remove extra angle bracket
18560 from `help-mode-map'.
18561
18562 * info.el (Info-history-toc-nodes): Doc fix.
18563
18564 * longlines.el (longlines-mode): Doc fix.
18565
18566 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18567
18568 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18569 of statements and in a few more cases (bug#9183).
18570
18571 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18572 New functions.
18573 (cl-transform-lambda): Use them (bug#9239).
18574
18575 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18576
18577 * window.el (display-buffer-same-window)
18578 (display-buffer-same-frame, display-buffer-other-window)
18579 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18580 (pop-to-buffer-other-window)
18581 (pop-to-buffer-same-frame-other-window)
18582 (pop-to-buffer-other-frame): Make them defuns.
18583 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18584
18585 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18586
18587 * subr.el (make-composed-keymap): Move from C. Change calling
18588 convention, and improve docstring to bring attention to a subtle point.
18589 * minibuffer.el (completing-read-default): Adjust accordingly.
18590
18591 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18592
18593 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18594 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18595
18596 * net/trampver.el: Update release number.
18597
18598 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18599
18600 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18601 "in" (bug#9190).
18602
18603 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18604
18605 * mail/sendmail.el (sendmail-query-once): Restore the current
18606 buffer after querying (bug#9074).
18607
18608 * dired.el (dired-flagged): Use different faces for marked and
18609 flagged files (bug#6117).
18610
18611 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18612 (bug#4433).
18613
18614 * ido.el (ido-mode): Switch off the message if called
18615 non-interactively.
18616
18617 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18618 before 587, since it appears that that's more likely to work for
18619 more people.
18620
18621 * cus-edit.el (custom-file): When running under emacs -q, always
18622 refuse to save the customizations, even if the .emacs file doesn't
18623 exist.
18624
18625 * info.el: Remove the `Info-beginning-of-buffer' function
18626 (bug#8325).
18627
18628 * net/network-stream.el (network-stream-open-starttls):
18629 Use `starttls-available-p' to see whether starttls.el can be used.
18630
18631 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18632
18633 * window.el (display-buffer-in-window): Don't set dedicated status
18634 of window here (Bug#9215).
18635 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18636 (display-buffer-pop-up-side-window)
18637 (display-buffer-in-side-window): Set dedicated status of window here.
18638
18639 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18640
18641 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18642 before binding generated-autoload-file.
18643
18644 2011-08-01 Deniz Dogan <deniz@dogan.se>
18645
18646 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18647
18648 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18649
18650 Sync with Tramp 2.2.2.
18651
18652 * net/trampver.el: Update release number.
18653
18654 2011-07-30 Juri Linkov <juri@jurta.org>
18655
18656 * dired-aux.el (dired-touch-initial): Remove function.
18657 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18658 current time, and `default' to the last modification time of the
18659 current marked file (bug#6887).
18660
18661 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18662
18663 * simple.el (goto-line): Use string-to-number to provide a
18664 numeric argument to read-number (bug#9163).
18665
18666 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18667
18668 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18669 connection process, it could be nil.
18670
18671 2011-07-27 Leo Liu <sdl.web@gmail.com>
18672
18673 Simplify url handling in rcirc-mode.
18674
18675 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18676 (rcirc-browse-url-at-mouse): Remove.
18677 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18678
18679 2011-07-26 Alan Mackenzie <acm@muc.de>
18680
18681 Fontify bitfield declarations properly.
18682
18683 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18684 (c-symbol-chars): Now exported as a lang variable.
18685 (c-not-primitive-type-keywords): New lang variable.
18686
18687 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18688 QT keyword "more" to prevent "more slots: ...." being spuriously
18689 parsed as a bitfield declaration.
18690
18691 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18692 Refactor and enhance to handle bitfield declarations.
18693 (c-punctuation-in): New function.
18694 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18695 declarations properly.
18696
18697 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18698
18699 * calendar/icalendar.el (icalendar--all-events): Take care of
18700 multiple vcalendars in a single file.
18701 (icalendar--convert-float-to-ical): Checkdoc fixes.
18702
18703 2011-07-25 Deniz Dogan <deniz@dogan.se>
18704
18705 * image.el (insert-image): Clarifying docstring.
18706
18707 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18708
18709 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18710 `tramp-send-command-and-check' if there is no error.
18711 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18712
18713 2011-07-22 Alan Mackenzie <acm@muc.de>
18714
18715 Prevent cc-langs.elc being loaded at run time.
18716
18717 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18718 cc-langs.
18719
18720 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18721 "(require 'cc-langs)". Quote a form so it will evaluate at
18722 (cc-mode's) compilation time.
18723
18724 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18725
18726 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18727 loading. (Bug#9114)
18728
18729 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18730
18731 * window.el (display-buffer-pop-up-window)
18732 (display-buffer-pop-up-side-window)
18733 (display-buffer-in-side-window): Call display-buffer-set-height
18734 and display-buffer-set-width after setting the new window's
18735 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18736
18737 2011-07-20 Sam Steingold <sds@gnu.org>
18738
18739 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18740 (etags-tags-included-tables): Call `convert-standard-filename' on
18741 the file names contained in TAGS so that windows Emacs can handle
18742 TAGS files created by cygwin ctags.
18743
18744 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18745
18746 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18747 which apparently didn't work.
18748
18749 2011-07-19 Roland Winkler <winkler@gnu.org>
18750
18751 * proced.el (proced-send-signal): For *Marked Processes* buffer
18752 put point at beginning of buffer.
18753
18754 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18755
18756 * proced.el (proced-format): Make header lines align with the text
18757 (bug#1779).
18758
18759 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18760
18761 * view.el (view-buffer): Allow running in `special' modes if we're
18762 visiting a file (bug#8615).
18763
18764 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18765
18766 * window.el (display-buffer-alist-of-strings-p)
18767 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18768 New functions.
18769 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18770 more accurately.
18771
18772 2011-07-18 Alan Mackenzie <acm@muc.de>
18773
18774 Fontify declarators properly when, e.g., a jit-lock chunk begins
18775 inside a declaration.
18776
18777 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18778
18779 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18780 New function.
18781 (c-complex-decl-matchers): Insert reference to
18782 c-font-lock-enclosing-decls.
18783
18784 * progmodes/cc-engine.el (c-backward-single-comment):
18785 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18786 to nil around calls to (forward-comment -1).
18787
18788 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18789
18790 * image.el (put-image): Doc typo fix.
18791
18792 * progmodes/etags.el (tags-search): Doc typo fix.
18793
18794 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18795 password if we get errors 550 to 554.
18796
18797 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18798
18799 * net/gnutls.el (gnutls-log-level): Remove.
18800
18801 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18802 indentation character (bug#6380).
18803
18804 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18805
18806 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18807 to clarify what the problem is (bug#4291).
18808
18809 * simple.el (current-kill): Clarify what
18810 `interprogram-paste-function' does (bug#7500).
18811 (auto-fill-mode): Document `auto-fill-function' in relation to
18812 `auto-fill-mode' (bug#2470).
18813
18814 2011-07-16 Lawrence Mitchell <wence@gmx.li>
18815
18816 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18817 method if slot is read-only (bug#9035).
18818
18819 2011-07-16 Martin Rudalics <rudalics@gmx.at>
18820
18821 * frame.el (select-frame-set-input-focus): New argument NORECORD.
18822 * window.el (pop-to-buffer): Select window used even if it was
18823 selected before, see discussion of (Bug#8615), (Bug#6954).
18824 Pass argument NORECORD on to select-frame-set-input-focus.
18825
18826 2011-07-15 Glenn Morris <rgm@gnu.org>
18827
18828 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
18829 Respect help-form.
18830
18831 2011-07-09 Lawrence Mitchell <wence@gmx.li>
18832
18833 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18834 (gnutls-negotiate): Use it.
18835
18836 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18837
18838 * net/gnutls.el (gnutls-negotiate):
18839 Upcase `gnutls-algorithm-priority'.
18840
18841 2011-07-15 Glenn Morris <rgm@gnu.org>
18842
18843 * jka-compr.el (jka-compr-verbose): Move from here...
18844 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18845 Add missing :version tag.
18846 * info.el: No need to require jka-compr when compiling.
18847
18848 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18849
18850 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18851 (gnutls-negotiate): Use it.
18852
18853 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18854
18855 * info.el (Info-beginning-of-buffer): New command.
18856 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18857 announcing `b' as the key (bug#8325).
18858 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18859
18860 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18861
18862 * international/mule-cmds.el
18863 (describe-specified-language-support): Make the error message
18864 clearer (bug#8905).
18865
18866 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18867
18868 * isearch.el (isearch-barrier): Add a doc string, since it's
18869 mentioned in a function doc string (bug#8678).
18870
18871 2011-07-15 Martin Rudalics <rudalics@gmx.at>
18872
18873 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18874 buffer argument (Bug#9083) and self-identifying label argument.
18875
18876 2011-07-15 Glenn Morris <rgm@gnu.org>
18877
18878 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18879
18880 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18881
18882 * man.el (Man-fontify-manpage): Fix message when formatting the
18883 man page (bug#7929).
18884
18885 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18886
18887 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18888 argument LRM; if non-nil, append an invisible LRM character to the
18889 buffer name.
18890 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18891 last argument non-nil, when formatting buffer names.
18892 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18893 paragraph direction.
18894
18895 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18896
18897 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18898 the man page name (bug#7929).
18899
18900 * image.el (put-image): Mention the `put-image' overlay property
18901 (bug#7834).
18902
18903 * scroll-bar.el (set-scroll-bar-mode): Mention that
18904 `scroll-bar-mode' lists the values (bug#7772).
18905
18906 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18907 command (bug#7729).
18908
18909 * rect.el (apply-on-rectangle): Return the point after the last
18910 operation.
18911 (string-rectangle): Go to the point after the last operation
18912 (bug#7522).
18913
18914 * printing.el (pr-toggle-region): Clarify the documentation
18915 slightly (bug#7493).
18916
18917 * time.el (display-time-update):
18918 Allow `display-time-mail-function' to return nil (bug#7158).
18919 Fix suggested by Detlev Zundel.
18920
18921 * vc/diff.el (diff): Clarify the order the file names are read
18922 (bug#7111).
18923
18924 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18925 the doc string (bug#7015).
18926
18927 * font-lock.el (font-lock-maximum-decoration): Mention what
18928 numeric levels mean (bug#6935).
18929
18930 * startup.el (initial-buffer-choice): Don't mention the `none'
18931 selection, which is against policy.
18932
18933 2011-07-14 Martin Rudalics <rudalics@gmx.at>
18934
18935 * window.el (display-buffer-normalize-special):
18936 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
18937
18938 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18939
18940 * subr.el (version<, version<=, version=): Mention "-CVS" and
18941 "-12345" alpha version numbers.
18942
18943 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18944
18945 * bindings.el: Add advertised binding for set-mark-command
18946 (Bug#5772).
18947
18948 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
18949
18950 * bindings.el (mode-line-other-buffer):
18951 * bookmark.el (bookmark-bmenu-2-window):
18952 * bs.el (bs-cycle-next, bs-cycle-previous):
18953 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18954 switch-to-buffer.
18955
18956 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18957 Delete.
18958
18959 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
18960
18961 * follow.el (follow-debug-message, follow-redisplay):
18962 * jka-cmpr-hook.el (with-auto-compression-mode):
18963 Fix typos in docstrings.
18964
18965 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18966
18967 * subr.el (with-silent-modifications): Clarify somewhat what the
18968 macro inhibits (bug#6525).
18969
18970 * simple.el (eval-expression): Note what it does if called
18971 interactively (bug#6495).
18972
18973 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
18974
18975 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18976 Use pop-to-buffer buffer-or-name if it is nil.
18977
18978 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18979 Remove switch-to-buffer.
18980
18981 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18982
18983 * files.el (make-directory): Clarify that an error will be raised
18984 if there's an error (bug#6397).
18985
18986 * startup.el (initial-buffer-choice): Add `none' as a choice
18987 (bug#6234).
18988
18989 * subr.el (add-hook): Clarify section about buffer-local hooks
18990 (bug#6218).
18991
18992 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18993
18994 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
18995
18996 * tabify.el (untabify): Preserve the current column so that point
18997 doesn't move (bug#6032).
18998
18999 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19000
19001 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19002 Rewrite to avoid awkward possessive "s" (bug#5986).
19003
19004 2011-07-13 Glenn Morris <rgm@gnu.org>
19005
19006 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19007 (dired-insert-directory): Give a message the first time
19008 if ls is found not to support --dired.
19009
19010 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19011
19012 * simple.el (toggle-truncate-lines): Clarify what is toggled
19013 (bug#5580). Text by Drew Adams.
19014
19015 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19016
19017 * simple.el (blink-matching-open): Make the error message from the
19018 last change less verbose.
19019
19020 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19021
19022 * font-lock.el (font-lock-comment-face): Use the high contrast
19023 "yellow" color for font-lock-comment-face on low color terminals
19024 using a dark background color (bug#4221).
19025
19026 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19027
19028 * dired.el (dired-insert-set-properties): Make the doc string
19029 reflect what it does now (bug#5325).
19030
19031 * simple.el (blink-matching-open): Say that we were unable to find
19032 the match within the limit, if we're limited (bug#5122).
19033
19034 * international/mule-cmds.el (prefer-coding-system): Add an
19035 example (bug#4869).
19036
19037 * progmodes/etags.el (tags-search): Document `file-list-form'
19038 (bug#4731).
19039
19040 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19041
19042 * net/browse-url.el (browse-url-default-browser)
19043 (browse-url-browser-function): Make the default browser choice a
19044 bit more logical (bug#4300). Also clean up the doc string.
19045
19046 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19047
19048 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19049 binary endings (bug#4440).
19050
19051 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19052
19053 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19054 which can be pretty annoying (bug#8971).
19055
19056 * jka-compr.el (jka-compr-verbose): New variable, and use
19057 throughout (bug#8971).
19058
19059 * info.el (Info-find-file): Fall back on the installation
19060 directory if we can't find the info node anywhere else.
19061
19062 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19063
19064 * vc/vc.el (vc-revert-file):
19065 Don't set file time-stamp in the past. (Bug#5181)
19066
19067 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19068
19069 * files.el (after-find-file): Give a better error message when
19070 trying to find a symlink that points to a file that doesn't exist
19071 (bug#4398).
19072
19073 * progmodes/cc-vars.el: Remove (probably) misleading comment
19074 (bug#4396).
19075
19076 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19077
19078 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19079
19080 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19081
19082 * mouse-sel.el: Hack restoring functionality, while keeping
19083 compatibility with 2010-07-03 changes to mouse selection.
19084 (mouse-sel-primary-overlay): New var.
19085 (mouse-sel-selection-alist): Use it.
19086 (mouse-sel-mode): Doc fix; remove points that are default features
19087 of mouse.el.
19088
19089 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19090
19091 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19092 Fix previous fix (bug#2490).
19093
19094 2011-07-12 Roland Winkler <winkler@gnu.org>
19095
19096 * textmodes/bibtex.el (bibtex-initialize):
19097 Use pop-to-buffer-same-window.
19098 (bibtex-search-entries): Fix interactive call.
19099
19100 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19101
19102 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19103 Fontise bytecomp Error lines more correctly (bug#2490).
19104 Fix suggested by Johan Bockgård.
19105
19106 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19107
19108 * dired-x.el (dired-guess-default): Use `delete-dups'.
19109
19110 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19111
19112 * dired.el (dired-mark-prompt):
19113 * dired-aux.el (dired-read-shell-command): Doc fix.
19114
19115 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19116
19117 * mail/sendmail.el (sendmail-query-once):
19118 Use `customize-save-variable' unconditionally, now that it works under
19119 emacs -Q.
19120
19121 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19122
19123 * cus-edit.el (custom-file): Take an optional no-error variable.
19124 (customize-save-variable): Set the variable, and give a warning if
19125 running under "emacs -q".
19126
19127 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19128
19129 * loadhist.el (unload-feature-special-hooks):
19130 Add `auto-coding-functions', `fill-nobreak-predicate' and
19131 `find-directory-functions' (bug#5327).
19132
19133 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19134
19135 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19136
19137 * cus-edit.el (custom-guess-name-alist): -alist variables should
19138 use the `alist' type (bug#3120). Suggested by Drew Adams.
19139
19140 * printing.el: Add documentation to all the `pr-toggle-' commands.
19141
19142 2011-07-11 Leo Liu <sdl.web@gmail.com>
19143
19144 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19145 backends where it makes sense (bug#2623).
19146
19147 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19148
19149 * dired-x.el (dired-guess-default): Remove duplicate shell command
19150 entries (bug#2028).
19151 (dired-guess-default): Fix grammar in doc string (bug#2028).
19152 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19153
19154 * subr.el (remove-duplicates): New conveniency function.
19155
19156 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19157
19158 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19159 (bug#1526).
19160
19161 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19162
19163 * window.el (display-buffer-normalize-default): Don't invert
19164 meaning of even-window-heights. Reported by Eli Zaretskii
19165 <eliz@gnu.org>.
19166
19167 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19168
19169 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19170
19171 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19172
19173 * window.el (display-buffer): Fix arguments to
19174 display-buffer-reuse-window in last change.
19175
19176 * faces.el (link): Use a less saturated blue on light backgrounds.
19177
19178 * startup.el (fancy-startup-text, fancy-about-text)
19179 (fancy-startup-tail): Use font-lock faces, for background safety.
19180
19181 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19182
19183 * emulation/viper-cmd.el (viper-change-state-to-vi):
19184 Limit triggering of abbrev expansion (Bug#9038).
19185
19186 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19187
19188 * window.el (display-buffer-default-specifiers): Remove.
19189 (display-buffer-macro-specifiers): Remove default specifiers.
19190 (display-buffer-alist): Default to nil.
19191 (display-buffer-reuse-window): New optional argument other-window.
19192 (display-buffer-pop-up-window): Allow splitting internal
19193 windows. Check whether a live window was created.
19194 (display-buffer-other-window-means-other-frame)
19195 (display-buffer-normalize-arguments): Rename to
19196 display-buffer-normalize-argument and rewrite. Set the
19197 other-window specifier.
19198 (display-buffer-normalize-special): New function.
19199 (display-buffer-normalize-options): Rename to
19200 display-buffer-normalize-default and rewrite.
19201 (display-buffer-normalize-options-inhibit): Remove.
19202 (display-buffer-normalize-specifiers): Rewrite.
19203 (display-buffer): Process other-window specifier and call
19204 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19205 more faithfully.
19206 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19207 (display-buffer-alist-set): Don't handle 'unset default values.
19208 (display-buffer-in-window, display-buffer-alist-set):
19209 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19210 <tassilo@member.fsf.org>.
19211
19212 2011-07-09 Leo Liu <sdl.web@gmail.com>
19213
19214 * register.el (insert-register): Restore accidental change on
19215 2011-06-26. (Bug#9028)
19216
19217 2011-07-09 Glenn Morris <rgm@gnu.org>
19218
19219 * subr.el (remq): Handle the empty list. (Bug#9024)
19220
19221 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19222
19223 * mail/sendmail.el (send-mail-function): No longer delay custom
19224 initialization.
19225 * custom.el (custom-initialize-delay): Doc fix.
19226
19227 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19228
19229 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19230
19231 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19232
19233 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19234 human-friendly prompt.
19235
19236 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19237
19238 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19239 provided by a particular plugin.
19240
19241 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19242
19243 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19244 save customizations (with "emacs -Q"), just set the variable
19245 instead of erroring out.
19246
19247 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19248
19249 2011-07-08 Juri Linkov <juri@jurta.org>
19250
19251 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19252 (archive-zip-update-case): Use 7z if found by `executable-find'.
19253 The order of searching the available programs is the same as in
19254 `archive-zip-extract' (bug#8968).
19255
19256 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19257
19258 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19259 (menu-bar-options-menu): Tweak descriptions.
19260
19261 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19262
19263 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19264 menu items into verb phrases (bug#1421). Also refill to fit under
19265 80 columns.
19266
19267 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19268
19269 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19270 (Info-read-node-name): Doc fix (Bug#1084).
19271
19272 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19273 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19274 (end-of-sexp, beginning-of-sexp)
19275 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19276 (forward-symbol, forward-same-syntax, word-at-point)
19277 (sentence-at-point): Doc fix (Bug#1144).
19278
19279 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19280
19281 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19282 should cover it (bug#1281).
19283
19284 * cus-edit.el (custom-show): Mark as obsolete.
19285
19286 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19287 negotiation fails, then possibly try again with a non-encrypted
19288 connection (bug#9017).
19289
19290 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19291 be used.
19292
19293 2011-07-07 Richard Stallman <rms@gnu.org>
19294
19295 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19296 property, and handle its changed format.
19297 Look for the correct line number.
19298 Use file's line contents (but not past first =) to find
19299 correct line in message.
19300
19301 2011-07-07 Kenichi Handa <handa@m17n.org>
19302
19303 * international/characters.el (build-unicode-category-table):
19304 Delete it.
19305 (unicode-category-table): Set it by unicode-property-table-internal.
19306
19307 * international/mule-cmds.el (char-code-property-alist): Move to
19308 to src/chartab.c.
19309 (get-char-code-property): Call unicode-property-table-internal to
19310 load a file. Call get-unicode-property-internal where necessary.
19311 (put-char-code-property): Call unicode-property-table-internal to
19312 load a file. Call put-unicode-property-internal where necessary.
19313 put-unicode-property-internal where necessary.
19314 (char-code-property-description):
19315 Call unicode-property-table-internal to load a file.
19316
19317 * international/charprop.el:
19318 * international/uni-bidi.el:
19319 * international/uni-category.el:
19320 * international/uni-combining.el:
19321 * international/uni-comment.el:
19322 * international/uni-decimal.el:
19323 * international/uni-decomposition.el:
19324 * international/uni-digit.el:
19325 * international/uni-lowercase.el:
19326 * international/uni-mirrored.el:
19327 * international/uni-name.el:
19328 * international/uni-numeric.el:
19329 * international/uni-old-name.el:
19330 * international/uni-titlecase.el:
19331 * international/uni-uppercase.el: Regenerate.
19332
19333 * loadup.el: Load international/charprop.el before
19334 international/characters.
19335
19336 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19337
19338 * window.el (next-buffer, previous-buffer): Signal an error if
19339 called from a minibuffer window.
19340
19341 * bindings.el: Revert 2011-07-04 change.
19342
19343 2011-07-06 Richard Stallman <rms@gnu.org>
19344
19345 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19346 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19347 Treat markers like ints.
19348 (rmail-mime-entity): Doc fix.
19349
19350 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19351
19352 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19353 defcustom again for backwards compatibility.
19354
19355 * simple.el (shell-command-on-region): Fill.
19356
19357 * dired-aux.el (dired-kill-line): Add a doc string.
19358
19359 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19360 to "\\sw\\|\\s_" (bug#358).
19361
19362 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19363 (dired-unmark-backward): Ditto.
19364 (dired-flag-backup-files): Ditto.
19365
19366 * dired-x.el (dired-mark-sexp): Ditto.
19367
19368 2011-07-06 Richard Stallman <rms@gnu.org>
19369
19370 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19371 (rmail-mime-entity): New arg TRUNCATED.
19372 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19373 New functions.
19374 (rmail-mime-save): Warn if entity is truncated.
19375 (rmail-mime-toggle-hidden): Likewise, for showing.
19376 (rmail-mime-process-multipart): Record when an entity is truncated.
19377
19378 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19379 if ENTITY is a string.
19380
19381 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19382
19383 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19384 of faces when `M-C-x'-ing their definitions (bug#8378).
19385 Also clean up the code slightly.
19386
19387 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19388 because that makes the colors go away.
19389
19390 * mail/sendmail.el (send-mail-function): Change the default to
19391 `sendmail-query-once'.
19392 (sendmail-query-once): Add an autoload cookie.
19393
19394 * net/network-stream.el (network-stream-open-starttls): Try using
19395 a plain connection even if the server offered STARTTLS, and we
19396 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19397 capability. This should make smtpmail.el work in slightly more
19398 configurations.
19399
19400 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19401
19402 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19403 New defun.
19404 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19405
19406 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19407
19408 * progmodes/sql.el: Version 3.0
19409 (sql-product-alist): Add product :completion-object,
19410 :completion-column, and :statement attributes.
19411 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19412 (sql-mode-syntax-table): Mark all punctuation.
19413 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19414 ansi keywords.
19415 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19416 (sql-mode-oracle-font-lock-keywords): Improve.
19417 (sql-oracle-show-reserved-words): New function for development.
19418 (sql-product-font-lock): Simplify for source code buffers.
19419 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19420 New functions.
19421 (sql-highlight-product): Set product specific syntax table.
19422 (sql-mode-map): Add statement movement functions.
19423 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19424 New variable.
19425 (sql-statement-regexp, sql-beginning-of-statement)
19426 (sql-end-of-statement, sql-signum): New functions.
19427 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19428 (sql-show-sqli-buffer): Bug fix.
19429 (sql-interactive-mode): Store connection data as buffer local.
19430 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19431 with sql-interactive-mode.
19432 (sql-save-connection): Save buffer local settings.
19433 (sql-connection-menu-filter): Change menu entry name.
19434 (sql-product-interactive): Bug fix.
19435 (sql-preoutput-hold): New variable.
19436 (sql-interactive-remove-continuation-prompt): Bug fixes.
19437 (sql-debug-redirect): New variable.
19438 (sql-str-literal): New function.
19439 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19440 Redesign.
19441 (sql-oracle-save-settings, sql-oracle-restore-settings)
19442 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19443 (sql-completion-object, sql-completion-column)
19444 (sql-completion-sqlbuf): New variables.
19445 (sql-build-completions-1, sql-build-completions)
19446 (sql-try-completion): New functions.
19447 (sql-read-table-name): Use them.
19448 (sql-contains-names): New buffer local variable.
19449 (sql-list-all, sql-list-table): Use it.
19450 (sql-oracle-completion-types): New variable.
19451 (sql-oracle-completion-object, sql-sqlite-completion-object)
19452 (sql-postgres-completion-object): New functions.
19453
19454 2011-07-06 Glenn Morris <rgm@gnu.org>
19455
19456 * window.el (pop-to-buffer): Doc fix.
19457
19458 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19459
19460 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19461
19462 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19463
19464 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19465
19466 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19467
19468 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19469
19470 * button.el (button): Inherit from link face. Suggested by Dan
19471 Nicolaescu.
19472
19473 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19474
19475 * progmodes/gdb-mi.el: Fit in 80 columns.
19476 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19477 switch-to-buffer.
19478
19479 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19480 if imenu is simply not configured (bug#8941).
19481
19482 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19483
19484 * allout.el (allout-post-undo-hook): New allout outline-change
19485 event hook to signal undo activity.
19486 (allout-post-command-business): Run allout-post-undo-hook if an
19487 undo just occurred.
19488 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19489 * allout-widgets.el (allout-widgets-after-undo-function):
19490 Ensure the integrity of the current item's decoration after it has been
19491 in the vicinity of an undo.
19492 (allout-widgets-mode): Include allout-widgets-after-undo-function
19493 on the new allout-post-undo-hook.
19494
19495 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19496
19497 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19498 Let define-derived-mode define it.
19499 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19500 cycles of abbrev-table inheritance (bug#8998).
19501
19502 2011-07-05 Roland Winkler <winkler@gnu.org>
19503
19504 * textmodes/bibtex.el: Add support for biblatex.
19505 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19506 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19507 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19508 (bibtex-entry-alist, bibtex-field-alist): New variables.
19509 (bibtex-entry-field-alist): Obsolete alias for
19510 bibtex-BibTeX-entry-alist.
19511 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19512 (bibtex-set-dialect): New command.
19513 (bibtex-entry-type, bibtex-entry-head)
19514 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19515 Bind via bibtex-set-dialect.
19516 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19517 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19518 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19519 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19520 Define via bibtex-set-dialect.
19521 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19522 Obey bibtex-no-opt-remove-re.
19523 (bibtex-vec-push, bibtex-vec-incr): New functions.
19524 (bibtex-format-entry, bibtex-field-list)
19525 (bibtex-print-help-message, bibtex-validate)
19526 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19527
19528 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19529
19530 * progmodes/compile.el (compilation-goto-locus):
19531 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19532 * bs.el (bs-cycle-next, bs-cycle-previous):
19533 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19534 * bindings.el (mode-line-other-buffer):
19535 * autoinsert.el (auto-insert):
19536 * arc-mode.el (archive-extract):
19537 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19538
19539 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19540
19541 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19542 Fix check of `emacs-lock-unlockable-modes'.
19543 Coerce true values of `emacs-lock--try-unlocking' to t.
19544
19545 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19546
19547 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19548 * emacs-lock.el: New file.
19549
19550 2011-07-05 Julien Danjou <julien@danjou.info>
19551
19552 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19553 than `boundp' to check if face is set.
19554
19555 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19556
19557 * register.el (registerv-make):
19558 * window.el (window-min-height): Fix typos in docstrings.
19559
19560 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19561
19562 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19563 Update doc string.
19564
19565 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19566
19567 * server.el (server-execute): Catch quit and call
19568 `server-return-error' to pass the error back to emacsclient and
19569 close the connection (bug#8942).
19570
19571 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19572
19573 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19574 insecure exception for current topic. Also note that auto-saves
19575 are handled differently.
19576
19577 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19578 State variables for tracking auto-save inhibition situation.
19579
19580 (allout-write-contents-hook-handler): Rename from
19581 'allout-write-file-hook-handler', and describe how it depends on
19582 write-contents-functions sensitivity to non-nil value to prevent
19583 file write.
19584
19585 (allout-auto-save-hook-handler): Remove. auto-save does not check
19586 this in individual buffers, only in the starting buffer, so this
19587 is not the right way for us to inhibit auto-save in a buffer
19588 according to its condition.
19589
19590 (allout-mode): Use new allout-write-contents-hook-handler, and
19591 only with write-contents-functions. Remove auto-save provisions -
19592 they're implemented elsewhere.
19593
19594 (allout-before-change-handler): If undo is in progress, note that
19595 for attention of allout-post-command-business.
19596
19597 (allout-post-command-business): If the command we're following was
19598 an undo, check for change in the status of encrypted items and
19599 adjust auto-save inhibitions accordingly.
19600
19601 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19602 according to whether there are or aren't any plain-text topics
19603 pending encryption.
19604
19605 (allout-inhibit-auto-save-info-for-decryption):
19606 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19607 if there are plain-text topics pending encryption.
19608
19609 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19610 buffer-saved-size and some allout state to not inhibit auto-saves
19611 if there are no longer any plain-text topics pending encryption.
19612
19613 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19614 No longer provide for exemption of the current topic.
19615
19616 2011-07-04 Juri Linkov <juri@jurta.org>
19617
19618 Add 7z operations to delete and save changed members (bug#8968).
19619 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19620 New defcustoms.
19621 (archive-7z-write-file-member): New function.
19622 (archive-7z-summarize): Fix the number of dashes in the
19623 listing output.
19624
19625 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19626
19627 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19628 (bug#8958).
19629
19630 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19631
19632 * bindings.el: Ignore next-buffer and previous-buffer in
19633 minibuffer-local-map.
19634
19635 * font-lock.el (font-lock-builtin-face): Change light background
19636 color to dark slate blue (Bug#6693).
19637
19638 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19639
19640 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19641
19642 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19643
19644 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19645 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19646 Add switch-to-buffer.
19647
19648 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19649
19650 * isearch.el (isearch-search-fun-function): Clarify further the
19651 meaning of the function returned.
19652
19653 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19654
19655 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19656
19657 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19658 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19659 Use it.
19660 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19661 `tramp-default-remote-path' does not exist.
19662 (tramp-send-command-and-read): New optional argument NOERROR.
19663 (tramp-open-connection-setup-interactive-shell)
19664 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19665 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19666 (tramp-process-sentinel): Flush also process' connection property.
19667 (tramp-sh-handle-start-file-process): Do not set process
19668 sentinel. It is done now ...
19669 (tramp-maybe-open-connection): ... here. (Bug#8929)
19670
19671 2011-07-04 MON KEY <monkey@sandpframing.com>
19672
19673 * play/animate.el (animate-string): Doc fixes and allow changing
19674 the buffer name (bug#5417).
19675
19676 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19677
19678 * play/animate.el (animation-buffer-name): Rename from *animate*.
19679
19680 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19681
19682 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19683 This is simpler and helps future-proof the code.
19684 (timer-until): Use time-subtract and float-time.
19685 (timer--time-less-p): Use time-less-p.
19686
19687 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19688
19689 * type-break.el (timep): Use the value of `float-time' to avoid a
19690 byte-compiler warning.
19691
19692 * server.el (server-eval-and-print): Return any result, even nil.
19693
19694 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19695
19696 * type-break.el: Accept time formats that the builtins accept.
19697 (timep, type-break-time-difference): Accept any format that
19698 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19699 This is simpler and helps future-proof the code.
19700 (type-break-time-difference): Round rather than ignoring
19701 subseconds components.
19702
19703 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19704
19705 * info.el (Info-apropos-matches): Make non-interactive, since it
19706 doesn't seem to do anything useful as a command (bug#8829).
19707
19708 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19709
19710 * frame.el (frame-background-mode, frame-set-background-mode):
19711 Move from faces.el.
19712 (frame-default-terminal-background): New function.
19713
19714 * custom.el (custom-push-theme): Don't record faces in `changed'
19715 theme; this doesn't work correctly for per-frame face settings.
19716 (disable-theme): Use face-set-after-frame-default to reset faces.
19717 (custom--frame-color-default): New function.
19718
19719 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19720
19721 * dired.el (dired-flagging-regexp): Remove unused variable
19722 (bug#8769).
19723
19724 2011-03-29 Kevin Ryde <user42@zip.com.au>
19725
19726 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19727 `perl-Test2' extend to match possible "fail #N" rep count
19728 (bug#8377).
19729
19730 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19731
19732 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19733 `smtpmail-via-smtp' now returns the error instead of nil.
19734
19735 * isearch.el (isearch-search-fun-function): Clarify the doc string
19736 (bug#8101).
19737
19738 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19739
19740 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19741 unnecessary spaces (bug#8987).
19742
19743 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19744
19745 * net/network-stream.el (open-network-stream): Use the
19746 :end-of-capability command thoughout.
19747
19748 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19749
19750 * net/network-stream.el (open-network-stream): Add the
19751 :end-of-capability command parameter, used by pop3.el.
19752
19753 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19754
19755 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19756
19757 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19758 for list)" (bug#6475).
19759
19760 * files.el (file-expand-wildcards): Ignore non-readable
19761 sub-directories while trying to find matches instead of signaling
19762 an error (bug#6297).
19763
19764 * man.el (Man-reference-regexp): Allow matching possible
19765 word-wrapped references (bug#6289).
19766
19767 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19768 for consistency with the other vc buffers (bug#6197).
19769 (vc-checkin): Ditto.
19770
19771 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19772
19773 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19774
19775 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19776
19777 * custom.el (defcustom): Clarify that :set is only used in the
19778 Customize user interface (bug#6089).
19779
19780 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19781 associated with a file, refuse to run instead of erroring out
19782 (bug#6084).
19783
19784 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19785 the doc string, since it appears that using `fill-column' always
19786 controls the width (bug#7845).
19787
19788 * simple.el (shell-command-on-region): Say where the error output
19789 went if `shell-command-default-error-buffer' is set (bug#6857).
19790
19791 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19792
19793 * allout.el (allout-yank-processing): Adjust cursor position for
19794 backwards-deleted space.
19795
19796 (allout-rebullet-heading): Register changes with
19797 allout-exposure-changed-hook, so the modified topic is properly
19798 decorated.
19799
19800 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19801
19802 * minibuffer.el (completion-in-region): Document PREDICATE
19803 (bug#7136).
19804
19805 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19806 of keyword/argument pairs (bug#6904).
19807
19808 * replace.el (multi-occur):
19809 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19810
19811 2011-07-02 Drew Adams <drew.adams@oracle.com>
19812
19813 * dired.el (dired-mark-if): Make the message about whether it's
19814 marking or unmarking clearer (bug#8523).
19815
19816 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19817
19818 * disp-table.el (display-table-print-array): New function.
19819 (describe-display-table): Use it to print the vectors more pretty
19820 (Bug#8859).
19821
19822 2011-07-02 Martin Rudalics <rudalics@gmx.at>
19823
19824 * window.el (window-state-get-1): Don't assign clone numbers.
19825 Add clone-of item to list of window parameters.
19826 (window-state-put-2): Don't process clone numbers.
19827 (display-buffer-alist): Fix doc-string.
19828
19829 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19830
19831 * subr.el (remq): Don't allocate if it's not needed.
19832 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19833 (keymap--merge-bindings): New functions.
19834 (keymap-canonicalize): Use them to refine the canonicalization.
19835 * minibuffer.el (minibuffer-local-completion-map)
19836 (minibuffer-local-must-match-map): Move initialization from C.
19837 (minibuffer-local-filename-completion-map): Move initialization from C;
19838 don't inherit from anything here.
19839 (minibuffer-local-filename-must-match-map): Make obsolete.
19840 (completing-read-default): Use make-composed-keymap to combine
19841 minibuffer-local-filename-completion-map with either
19842 minibuffer-local-must-match-map or
19843 minibuffer-local-filename-completion-map.
19844
19845 2011-07-01 Glenn Morris <rgm@gnu.org>
19846
19847 * type-break.el (type-break-time-sum): Use dolist.
19848
19849 * textmodes/flyspell.el (flyspell-word-search-backward):
19850 Replace CL function.
19851
19852 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19853
19854 * mouse.el (mouse--strip-first-event): New function.
19855 (function-key-map): Use it to map fringe clicks to normal clicks
19856 by default.
19857
19858 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19859 (vc-bzr-revision-completion-table): Add support for annotate and date.
19860
19861 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19862 inherit from parent.
19863
19864 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19865
19866 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19867 (dired-show-file-type): Doc fixup (bug#8818).
19868
19869 * dired.el (dired-mode): Fix up the doc string as suggested by
19870 Drew Adams (bug#8817).
19871
19872 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19873 cookie, since the manual says that it should be possible to add
19874 this function to `find-file-hook' (bug#8709).
19875
19876 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19877
19878 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19879 here. Noted Ted Zlatanov as the maintainer.
19880 (cfengine-common-settings, cfengine-common-syntax): New functions
19881 to set up common things between `cfengine-mode' and
19882 `cfengine3-mode'.
19883 (cfengine3-mode): New mode.
19884 (cfengine3-defuns cfengine3-defuns-regex
19885 (cfengine3-class-selector-regex cfengine3-category-regex)
19886 (cfengine3-vartypes cfengine3-font-lock-keywords)
19887 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19888 (cfengine3-indent-line): Add from cfengine3.el.
19889
19890 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
19891
19892 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19893
19894 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19895
19896 2011-07-01 Martin Rudalics <rudalics@gmx.at>
19897
19898 * window.el (same-window-buffer-names, same-window-regexps)
19899 (same-window-p, special-display-frame-alist)
19900 (special-display-popup-frame, special-display-function)
19901 (special-display-buffer-names, special-display-regexps)
19902 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19903 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19904 (split-window-preferred-function, split-height-threshold)
19905 (split-width-threshold, even-window-heights)
19906 (display-buffer-mark-dedicated, window-splittable-p)
19907 (split-window-sensibly, window-safely-shrinkable-p):
19908 Un-obsolete.
19909 (display-buffer): Don't spread args with function specifier
19910 because special-display-popup-frame won't like it.
19911
19912 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19913
19914 Time-stamp simplifications and fixes.
19915 These improve accuracy slightly, and future-proof the code
19916 against some potential changes to current-time format.
19917
19918 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19919 by using time-since and float-time.
19920
19921 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19922 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19923 + NNN microseconds".
19924
19925 * type-break.el (type-break-time-sum): Rewrite using time-add.
19926
19927 * play/hanoi.el (hanoi-current-time-float): Remove.
19928 All uses replaced by float-time.
19929
19930 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19931 This yields a more-accurate answer.
19932 (rng-time-to-float): Remove; no longer needed.
19933
19934 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19935
19936 * calendar/timeclock.el (timeclock-seconds-to-time):
19937 Defalias to seconds-to-time, since they're the same thing.
19938
19939 * emacs-lisp/elp.el (elp-elapsed-time):
19940 * emacs-lisp/benchmark.el (benchmark-elapse):
19941 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19942
19943 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19944
19945 * window.el (bury-buffer): Don't iconify the only frame.
19946 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19947 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19948
19949 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
19950
19951 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19952 Add mouse-yank-primary.
19953
19954 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19955
19956 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19957
19958 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19959
19960 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19961 (find-library-name): Use it to find relative load names when provided
19962 absolute file name (bug#8803).
19963
19964 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19965
19966 * textmodes/flyspell.el (flyspell-word): Consider words that
19967 differ only in case as potential doublons (bug#5687).
19968
19969 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19970 Remove two rather uninteresting debugging-like messages to make
19971 debbugs.el more silent.
19972
19973 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19974 a password-like phrase.
19975
19976 2011-06-30 Masatake YAMATO <yamato@redhat.com>
19977
19978 * progmodes/cc-guess.el: New file.
19979
19980 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
19981
19982 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19983 derived from `c-basic-common-init'.
19984
19985 * progmodes/cc-mode.el (top-level): Require cc-guess.
19986 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19987
19988 2011-06-30 Lawrence Mitchell <wence@gmx.li>
19989
19990 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19991
19992 2011-06-30 Alan Mackenzie <acm@muc.de>
19993
19994 * progmodes/cc-engine.el (c-guess-continued-construct):
19995 Correct the handling of template-args-cont, particularly for when font
19996 lock is disabled. Name this case as "CASE G".
19997
19998 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19999
20000 * allout.el (allout-yank-processing): Fix injection of extra space
20001 between bullet and non-whitespace character in first topic when
20002 pasting, ensuring that the actual spacing in the pasted topic
20003 following the bullet char is preserved. This extra space was
20004 causing pasted encrypted topics to get a decrypted status even
20005 when the content was actually still encrypted. Now the decryption
20006 status from before the paste is preserved.
20007
20008 (allout-flag-region): Set all allout overlays so they evaporate
20009 when reduced to zero length (evanescent), to prevent overlay
20010 leakage.
20011
20012 2011-06-30 Glenn Morris <rgm@gnu.org>
20013
20014 * w32-fns.el (w32-charset-info-alist): Declare.
20015
20016 * find-dired.el (find-grep-options): Simplify.
20017
20018 * term/ns-win.el (ns-set-resource): Declare.
20019
20020 * ses.el (row, col): Declare dynamic variables honestly.
20021
20022 * textmodes/reftex-parse.el (index-tags): Declare.
20023
20024 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20025
20026 * cus-edit.el (customize-push-and-save): New function.
20027
20028 * files.el (hack-local-variables-confirm): Use it.
20029
20030 * custom.el (load-theme): New arg NO-CONFIRM.
20031 Use customize-push-and-save (Bug#8720).
20032 (custom-enabled-themes): Doc fix.
20033
20034 * cus-theme.el (customize-create-theme)
20035 (custom-theme-merge-theme): Callers to load-theme changed.
20036
20037 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20038
20039 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20040 short URLs have at least one dot in them (bug #7614).
20041
20042 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20043 nil, because using a pty is apparently too slow (bug #895).
20044
20045 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20046
20047 * mail/sendmail.el (sendmail-query-once): New function.
20048 (sendmail-query-once-function): New variable.
20049
20050 2011-06-29 Glenn Morris <rgm@gnu.org>
20051
20052 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20053
20054 * ses.el (top-level): Require cl when compiling.
20055 (ses-set-localvars): Fix error statement.
20056 Call it at compile time to silence a storm of warnings.
20057
20058 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20059
20060 * window.el (normalize-live-buffer): Rename to
20061 window-normalize-buffer.
20062 (normalize-live-frame): Rename to window-normalize-frame.
20063 (normalize-any-window): Rename to window-normalize-any-window.
20064 (normalize-live-window): Rename to window-normalize-live-window.
20065 (make-window-atom): Rename to window-make-atom.
20066 (window-resize-reset): Rename to window--resize-reset.
20067 (window-resize-reset-1): Rename to window--resize-reset-1.
20068 (resize-mini-window): Rename to window--resize-mini-window.
20069 (resize-subwindows-skip-p): Rename to
20070 window--resize-subwindows-skip-p.
20071 (resize-subwindows-normal): Rename to
20072 window--resize-subwindows-normal.
20073 (resize-subwindows): Rename to window--resize-subwindows.
20074 (resize-other-windows): Rename to window--resize-siblings.
20075 (resize-this-window): Rename to window--resize-this-window.
20076 (resize-root-window): Rename to window--resize-root-window.
20077 (resize-root-window-vertically): Rename to
20078 window--resize-root-window-vertically.
20079 (normalize-buffer-to-display): Rename to
20080 window-normalize-buffer-to-display.
20081 (normalize-buffer-to-switch-to): Rename to
20082 window-normalize-buffer-to-switch-to.
20083 Correspondingly update all callers of the functions listed
20084 above.
20085 (display-buffer-alist, display-buffer-normalize-arguments)
20086 (display-buffer-normalize-options, display-buffer)
20087 (display-buffer-alist-set): Use "function" instead of
20088 "fun-with-args".
20089
20090 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20091
20092 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20093 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20094 debbugs.gnu.org. Mention acknowledgment email.
20095
20096 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20097
20098 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20099 buffer multibyteness, since it shouldn't matter.
20100
20101 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20102
20103 * window.el (display-buffer-in-side-window): Handle dedicated
20104 windows as in display-buffer-reuse-window.
20105 (display-buffer-normalize-alist): Use value of override
20106 specifier.
20107 (display-buffer-normalize-specifiers): Use value of
20108 other-window-means-other-frame specifier.
20109 (display-buffer-alist): Rewrite some texts in widgets.
20110 (display-buffer): Spread arguments when calling function
20111 specified by fun-with-args.
20112
20113 2011-06-28 Deniz Dogan <deniz@dogan.se>
20114
20115 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20116 Unnest `let'.
20117
20118 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20119 selectors (Bug#5732).
20120 (css-proprietary-nmstart-re): Use `regexp-opt'.
20121
20122 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20123
20124 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20125 (eshell-ls-date-format): New defcustom.
20126 (eshell-ls-file): Use it.
20127
20128 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20129
20130 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20131
20132 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20133
20134 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20135 (ange-ftp-make-tmp-name): New arg.
20136 (ange-ftp-file-local-copy): Use it.
20137
20138 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20139
20140 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20141 no-conversion (Bug#8870).
20142
20143 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20144
20145 * window.el (window-right, window-left, window-child)
20146 (window-child-count, window-last-child)
20147 (window-iso-combination-p, walk-window-tree-1)
20148 (window-atom-check-1, window-tree-1, delete-window)
20149 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20150 new naming conventions - window-vchild, window-hchild,
20151 window-next and window-prev are now called window-top-child,
20152 window-left-child, window-next-sibling and window-prev-sibling
20153 respectively.
20154 (resize-window-reset): Rename to window-resize-reset.
20155 (resize-window-reset-1): Rename to window-resize-reset-1.
20156 (resize-window): Rename to window-resize.
20157 (window-min-height, window-min-width)
20158 (resize-mini-window, resize-this-window, resize-root-window)
20159 (resize-root-window-vertically, adjust-window-trailing-edge)
20160 (enlarge-window, shrink-window, maximize-window)
20161 (minimize-window, delete-window, quit-restore-window)
20162 (split-window, balance-windows, balance-windows-area-adjust)
20163 (balance-windows-area, window-state-put-2)
20164 (display-buffer-even-window-sizes, display-buffer-set-height)
20165 (display-buffer-set-width, set-window-text-height)
20166 (fit-window-to-buffer): Rename all "resize-window" prefixed
20167 calls to use the "window-resize" prefix convention.
20168 (display-buffer-alist): Fix symbol for label specifier.
20169 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20170 corresponding specifier.
20171 Reported by Juanma Barranquero <lekktu@gmail.com>.
20172
20173 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20174
20175 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20176 convention.
20177 (ses-call-printer): Does not pass an empty string to formatter when the
20178 cell is empty to keep from barking printer Calc math-format-value.
20179
20180 2011-06-27 Richard Stallman <rms@gnu.org>
20181
20182 * battery.el (battery-mode-line-limit): New variable.
20183 (battery-update): Handle it.
20184
20185 * mail/rmailmm.el (rmail-mime-process-multipart):
20186 Handle truncated messages.
20187
20188 2011-06-27 Glenn Morris <rgm@gnu.org>
20189
20190 * progmodes/flymake.el (flymake-err-line-patterns):
20191 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20192
20193 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20194
20195 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20196 (ses--clean-!, ses--clean-_): New functions.
20197 (ses-range): Add configurability of readout order, and conversion
20198 to Calc vector.
20199
20200 * ses.el (ses-repair-cell-reference-all): New function.
20201 (ses-cell-symbol): Set macro as safe, so that it can be used in
20202 formulas.
20203
20204 * ses.el: Update cycle detection algorithm.
20205 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20206 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20207 (ses-set-localvars): New function.
20208 (ses-make-cell): Add property-list as a cell element.
20209 (ses-cell-property-get-fun, ses-cell-property-get)
20210 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20211 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20212 New functions.
20213 (ses-cell-property-set, ses-cell-property-pop)
20214 (ses-cell-property-get-handle): New macro.
20215 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20216 New aliases, used for code readability.
20217 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20218 cycle detection.
20219 (ses-self-reference-early-detection): New defcustom.
20220 (ses-formula-references): Robustify against self-referring cells.
20221 (ses-mode): Use ses-set-localvars.
20222 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20223 before lauching the update processing.
20224 (ses-initialize-Dijkstra-attempt): New function.
20225 (ses-recalculate-cell): Update for cycle detection based on
20226 Dijkstra algorithm.
20227
20228 * ses.el: Fix commenting and indenting convention.
20229
20230 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20231
20232 * bs.el (bs-cycle-next): Complete last change.
20233
20234 2011-06-27 Drew Adams <drew.adams@oracle.com>
20235
20236 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20237
20238 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20239
20240 * net/network-stream.el (network-stream-open-starttls):
20241 Don't re-get capabilities unless we've reestablished connection.
20242 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20243
20244 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20245 to binary to possibly avoid line encoding issues on Windows (among
20246 other things).
20247
20248 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20249
20250 * net/network-stream.el (open-network-stream): Return an :error
20251 saying what the problem was, if possible.
20252
20253 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20254 server.
20255
20256 * net/network-stream.el (network-stream-open-starttls): If we
20257 wanted to use STARTTLS, and the server offered it, but we weren't
20258 able to because we had no STARTTLS support, then close the connection.
20259 (open-network-stream): Return an :error element, if present.
20260
20261 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20262
20263 * hl-line.el (hl-line-sticky-flag): Doc fix.
20264 (global-hl-line-sticky-flag): New option (Bug#8323).
20265 (global-hl-line-highlight): Obey it.
20266
20267 * vc/vc.el (vc-revert-show-diff): Default to t.
20268
20269 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20270
20271 * allout-widgets.el (allout-widgets-post-command-business):
20272 Stop decorating intermediate isearch matches. They're not being
20273 undecorated when an isearch is continued past, and isearch
20274 automatically collapses them. This leads to "widget leaks", where
20275 decorated items accumulate in collapsed areas. Lines with lots of
20276 hidden widgets can slow down cursor travel, substantially.
20277 Too much complicated machinery would be needed to ensure undecoration,
20278 so we're doing without this nicety.
20279
20280 (allout-widgets-tally-string): Don't try to do a hash-table-count
20281 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20282 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20283 *Messages* when allout-widgets-maintain-tally is t.
20284
20285 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20286
20287 * window.el (display-buffer-normalize-argument): Rename to
20288 display-buffer-normalize-arguments. Handle special meaning of
20289 LABEL argument. Respect special-display-function when popping up
20290 a new frame. Fix code searching for a window showing the buffer
20291 on another frame.
20292 (display-buffer-normalize-specifiers):
20293 Call display-buffer-normalize-arguments.
20294 (display-buffer-in-window): Don't undedicate the window if its
20295 buffer remains the same.
20296 Reported by Drew Adams <drew.adams@oracle.com>.
20297 (display-buffer-alist): Add choice for same-window macro
20298 specfier.
20299 (display-buffer): Mention special meaning of LABEL argument in
20300 doc-string. Fix quoting. Don't pop up a new frame even as
20301 fallback.
20302
20303 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20304
20305 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20306 avoid deleting the current window in some cases (bug#8911).
20307
20308 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20309
20310 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20311 (Bug#8934)
20312
20313 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20314
20315 * net/network-stream.el (network-stream-open-starttls):
20316 Use built-in TLS support if `gnutls-available-p' is true.
20317 (network-stream-open-tls): Ditto.
20318
20319 2011-06-26 Leo Liu <sdl.web@gmail.com>
20320
20321 * register.el (registerv): New struct.
20322 (registerv-make): New function.
20323 (jump-to-register, describe-register-1, insert-register):
20324 Support the jump-func, print-func and insert-func slot of a registerv
20325 struct. (Bug#8415)
20326
20327 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20328
20329 * vc/vc.el (vc-revert-show-diff): New defcustom.
20330 (vc-diff-internal): New arg specifying diff buffer.
20331 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20332 reuse an existing *vc-diff* buffer (Bug#8927).
20333
20334 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20335
20336 2011-06-26 Glenn Morris <rgm@gnu.org>
20337
20338 * progmodes/f90.el (f90-critical-indent): New option.
20339 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20340 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20341 (f90-mode): Doc fix.
20342 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20343 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20344 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20345 (f90-match-end): Handle block, critical.
20346
20347 2011-06-25 Glenn Morris <rgm@gnu.org>
20348
20349 * calendar/diary-lib.el (diary-included-files): Doc fix.
20350 (diary-include-files): New function, extracted from
20351 diary-include-other-diary-files and diary-mark-included-diary-files.
20352 (diary-include-other-diary-files, diary-mark-included-diary-files):
20353 Just call diary-include-files.
20354 (diary-mark-entries): Reset diary-included-files on first call.
20355
20356 * calendar/diary-lib.el (diary-mark-entries)
20357 (diary-mark-included-diary-files):
20358 Visit included diary-files in temp buffers.
20359
20360 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20361 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20362 (f90-start-block-re, f90-imenu-generic-expression)
20363 (f90-looking-at-program-block-start, f90-no-block-limit):
20364 Add support for submodules.
20365
20366 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20367 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20368
20369 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20370
20371 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20372 buffer-file-type before setting its value, to avoid disastrous
20373 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20374
20375 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20376
20377 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20378
20379 * ses.el (ses-unload-function):
20380 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20381
20382 * proced.el (proced-unload-function):
20383 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20384
20385 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20386
20387 * server.el (server-create-window-system-frame): Add parameters arg.
20388 (server-process-filter): Doc fix. Handle frame-parameters.
20389
20390 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20391
20392 Fix bug#8730, bug#8781.
20393
20394 * loadhist.el (unload--set-major-mode): New function.
20395 (unload-feature): Use it.
20396
20397 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20398 (python-unload-function): New function.
20399
20400 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20401
20402 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20403
20404 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20405
20406 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20407 the candidates list.
20408
20409 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20410
20411 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20412
20413 2011-06-23 Richard Stallman <rms@gnu.org>
20414
20415 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20416 (rmail-variables): Set next-error-move-function.
20417 (rmail-what-message): Take argument POS.
20418 (rmail-next-error-move): New function.
20419
20420 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20421
20422 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20423 messages for adjacent non-terminals.
20424
20425 2011-06-23 Richard Stallman <rms@gnu.org>
20426
20427 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20428 (rmail-show-message-1): Preserve buffer modified flag.
20429 (rmail-start-mail): Don't specify use of rmail-mail-return;
20430 that's done by mail-bury now.
20431 (rmail-mail-return): Handle arg NEWBUF.
20432
20433 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20434
20435 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20436 SIZE is a number.
20437
20438 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20439
20440 * window.el (get-lru-window, get-mru-window)
20441 (get-largest-window): Never return a minibuffer window.
20442 (display-buffer-pop-up-window): Fix a bug that could lead to
20443 reusing the minibuffer window.
20444 (display-buffer): Pass original specifier argument to
20445 display-buffer-function instead of the normalized one.
20446 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20447
20448 2011-06-22 Leo Liu <sdl.web@gmail.com>
20449
20450 * minibuffer.el (completing-read-function)
20451 (completing-read-default): Move from minibuf.c.
20452
20453 2011-06-22 Richard Stallman <rms@gnu.org>
20454
20455 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20456 to Rmail even if not started by a special Rmail command.
20457
20458 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20459 Copy the buffer currently showing just one message.
20460
20461 2011-06-22 Roland Winkler <winkler@gnu.org>
20462
20463 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20464 (bibtex-clean-entry): First delete the old key so that a
20465 customized algorithm for generating the new key does not get
20466 confused by the old key.
20467 (bibtex-url): Obey regexp of first step.
20468 (bibtex-search-entries): Do not use add-to-list with local
20469 list-var.
20470
20471 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20472
20473 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20474 stored a user name, then query for the password first, instead of
20475 waiting for SMTP to give an error message and the trying again.
20476
20477 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20478
20479 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20480 BUFFER in call-process.
20481
20482 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20483
20484 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20485 QUIT twice.
20486 (smtpmail-try-auth-methods): Require user name and password from
20487 auth-source.
20488
20489 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20490
20491 * window.el (display-buffer-default-specifiers)
20492 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20493 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20494 (split-window): Normalize SIDE argument (Bug#8916).
20495
20496 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20497 (special-display-frame-alist, special-display-popup-frame):
20498 Remove duplicate declarations. These are now in window.el.
20499
20500 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20501
20502 * mail/smtpmail.el (smtpmail-via-smtp):
20503 Set :use-starttls-if-possible so that we always use STARTTLS if the
20504 server supports it. SMTP servers that support STARTTLS commonly
20505 require it.
20506
20507 * net/network-stream.el (network-stream-open-starttls): Support
20508 upgrading to STARTTLS always, even if we don't have built-in support.
20509 (open-network-stream): Add the :always-query-capabilities keyword.
20510
20511 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20512 upgrades with `open-network-stream', and rely solely on
20513 auth-source for all credentials. Big changes throughout the file,
20514 but in particular:
20515 (smtpmail-auth-credentials): Remove.
20516 (smtpmail-starttls-credentials): Remove.
20517 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20518 MAIL FROM, too.
20519
20520 * net/network-stream.el (network-stream-open-starttls):
20521 Provide support for client certificates both for external and built-in
20522 STARTTLS.
20523 (auth-source): Require.
20524 (open-network-stream): Document the :client-certificate keyword.
20525 (network-stream-certificate): Change cert-cert to cert and
20526 cert-key to key.
20527
20528 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20529
20530 * net/tramp-cache.el (top): Don't load the persistency file when
20531 "emacs -Q" has been called.
20532
20533 2011-06-21 Tim Harper <timcharper@gmail.com>
20534
20535 * term/ns-win.el (ns-initialize-window-system):
20536 Set application-specific `ApplePressAndHoldEnabled' system
20537 resource to NO as it is not yet supported by the NS port.
20538
20539 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20540
20541 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20542 (list-dynamic-libraries): ...not here.
20543
20544 2011-06-21 Leo Liu <sdl.web@gmail.com>
20545
20546 * subr.el (sha1): Implement sha1 using secure-hash.
20547
20548 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20549
20550 * window.el (display-buffer-alist): In default value do not
20551 enforce searching a window on any but the selected frame.
20552 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20553 (display-buffer-select-window): Remove function.
20554 (display-buffer-in-window): When a window on another frame gets
20555 reused, do not select it any more but just raise its frame if
20556 necessary (Bug#8851) and (Bug#8856).
20557 (display-buffer-normalize-options): Handle pop-up-frames related
20558 options more faithfully.
20559 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20560 window if it is on another frame.
20561 (display-buffer-alist, display-buffer-default-specifiers):
20562 Don't make new frame unsplittable by default.
20563 (display-buffer-normalize-argument): Fix doc-string typo and use
20564 'same-frame-other-window instead of 'other-window when associating
20565 with display-buffer-macro-specifiers.
20566
20567 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20568
20569 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20570 New functions.
20571 (5x5-mode-map, 5x5-mode-menu): Bind them.
20572 (5x5-draw-grid): Tweak the solver's rendering.
20573
20574 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20575
20576 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20577 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20578
20579 2011-06-21 Drew Adams <drew.adams@oracle.com>
20580
20581 * menu-bar.el: Use function variable instead of switch-to-buffer.
20582 (menu-bar-select-buffer-function): New variable.
20583 (menu-bar-update-buffers): Use it (bug#8876).
20584
20585 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20586
20587 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20588 variable's status.
20589
20590 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20591
20592 * x-dnd.el (x-dnd-version-from-flags)
20593 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20594 and long as number (Bug#8899).
20595 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20596
20597 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20598
20599 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20600 (completion-try-completion, completion-all-completions): Compute the
20601 metadata argument if it's missing; make it optional (bug#8795).
20602
20603 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20604 (widget-complete): Use new :completion-function property.
20605 (widget-completions-at-point): New function.
20606 (default): Use :completion-function instead of :complete.
20607 (widget-default-completions): Rename from widget-default-complete;
20608 Rewrite.
20609 (widget-string-complete, widget-file-complete, widget-color-complete):
20610 Remove functions.
20611 (file, symbol, function, variable, coding-system, color):
20612 * international/mule-cmds.el (default-input-method, charset)
20613 (language-info-custom-alist):
20614 * cus-edit.el (face): Use new property :completions.
20615
20616 * progmodes/pascal.el (pascal-completions-at-point): New function.
20617 (pascal-mode): Use it.
20618 (pascal-mode-map): Use completion-at-point.
20619 (pascal-toggle-completions): Make obsolete.
20620 (pascal-complete-word, pascal-show-completions):
20621 * progmodes/octave-mod.el (octave-complete-symbol):
20622 Redefine as obsolete alias.
20623 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20624 Signal absence of completion info for old Octave,
20625 (inferior-octave-complete): Redefine as obsolete alias.
20626 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20627 (meta-completions-at-point): Rename from meta-complete-symbol and
20628 adapt it for use on completion-at-point-functions.
20629 (meta-common-mode): Use it.
20630 (meta-looking-at-backward, meta-match-buffer): Remove.
20631 (meta-complete-symbol): Redefine as obsolete alias.
20632 (meta-common-mode-map): Use completion-at-point.
20633 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20634 (makefile-mode-map): Use completion-at-point.
20635 (makefile-completions-at-point): Rename from makefile-complete and
20636 adapt it for use on completion-at-point-functions.
20637 (makefile-mode): Use it.
20638 (makefile-complete): Redefine as obsolete alias.
20639
20640 2011-06-20 Deniz Dogan <deniz@dogan.se>
20641
20642 * net/rcirc.el: Delete trailing whitespaces once and for all.
20643
20644 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20645
20646 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20647
20648 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20649
20650 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20651
20652 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20653
20654 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20655
20656 * window.el (display-buffer-other-window-means-other-frame):
20657 Call display-buffer-normalize-alist.
20658 (display-buffer-normalize-specifiers-1): Rename to
20659 display-buffer-normalize-argument. New argument other-frame.
20660 Rewrite.
20661 (display-buffer-normalize-specifiers-2): Rename to
20662 display-buffer-normalize-options.
20663 (display-buffer-normalize-alist-1): New function.
20664 (display-buffer-normalize-specifiers-3): Rename to
20665 display-buffer-normalize-alist.
20666 Call display-buffer-normalize-alist-1.
20667 (display-buffer-normalize-options-inhibit): New variable.
20668 (display-buffer-normalize-specifiers): Rewrite calling
20669 display-buffer-normalize-alist,
20670 display-buffer-normalize-argument, and
20671 display-buffer-normalize-options. Don't call the latter if
20672 display-buffer-normalize-options-inhibit is non-nil.
20673 (frame-auto-delete): New option.
20674 (window-deletable-p): Use frame-auto-delete.
20675 (window-list-no-nils, window-state-ignored-parameters)
20676 (window-state-get-1, window-state-get, window-state-put-list)
20677 (window-state-put-1, window-state-put-2, window-state-put):
20678 New functions.
20679 (display-buffer-normalize-options): Move special-display-p group
20680 after pop-up-frame group (Bug#8851) and (Bug#8856).
20681
20682 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20683
20684 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20685 groups (Bug#8776).
20686 (rx-submatch-n): New function.
20687 (rx): Document it.
20688
20689 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20690 (Bug#8768).
20691
20692 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20693
20694 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20695
20696 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20697 anytime existing face settings are present (Bug#8889).
20698
20699 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20700 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20701 Remove unused argument.
20702
20703 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20704
20705 * window.el (display-buffer-default-specifiers):
20706 Remove pop-up-frame. Add pop-up-window-min-height,
20707 pop-up-window-min-width, and another reuse-window specifier
20708 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20709 (display-buffer-normalize-specifiers-2):
20710 Handle split-height-threshold and split-width-threshold also when
20711 pop-up-windows is unset. Add a reuse-window specifier for the
20712 case popping up a new window fails.
20713 (special-display-popup-frame): Remove double quoting.
20714 (display-buffer-normalize-specifiers-1): Fix thinko.
20715
20716 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20717
20718 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20719 according to comint-completion-addsuffix.
20720
20721 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20722 (pcomplete-suffix-list): Mark as obsolete.
20723 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20724 pcomplete-seen in the closure.
20725 (pcomplete-comint-setup): Setup completion-at-point as well.
20726 (pcomplete--entries): New function.
20727 (pcomplete--env-regexp): New var.
20728 (pcomplete-entries): Rewrite to work with partial-completion and
20729 without relying on pcomplete-suffix-list.
20730 (pcomplete-pare-list): Remove, unused.
20731
20732 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20733
20734 * window.el (display-buffer-alist): Set pop-up-window-min-height
20735 and pop-up-window-min-width in default value. Reported by
20736 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20737 other-window-means-other-frame.
20738 (display-buffer-macro-specifiers): Comment out entry for
20739 other-window specifier.
20740 (display-buffer-other-window-means-other-frame): New function.
20741 (display-buffer-normalize-specifiers-1): New arguments
20742 buffer-name and label. Treat other-window case specially.
20743 (display-buffer-normalize-specifiers-2): Treat other-window case
20744 specially.
20745 (display-buffer-normalize-specifiers-3): New function.
20746 (display-buffer-normalize-specifiers):
20747 Call display-buffer-normalize-specifiers-3.
20748
20749 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20750
20751 * window.el (same-window-p): Fix two typos introduced when
20752 adding with-no-warnings.
20753 (display-buffer-normalize-specifiers-1): Don't check
20754 pop-up-frames for 'unset initialization.
20755 (display-buffer-normalize-specifiers-2): Major rewrite using
20756 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20757 (pop-up-frames, display-buffer-reuse-frames)
20758 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20759 Suggested by David Engster <deng@randomsample.de>.
20760 (even-window-heights): Initialize to 'unset.
20761 (display-buffer-alist-set): Handle new 'unset initializations.
20762 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20763 other window case.
20764
20765 2011-06-16 Martin Rudalics <rudalics@gmx.at>
20766
20767 * window.el (display-buffer-normalize-specifiers-1):
20768 Respect current value of pop-up-frames for most reasonable values of
20769 second argument of display-buffer (Bug#8865).
20770 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20771 (switch-to-buffer-other-window-same-frame)
20772 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20773 Adams (Bug#8875).
20774 (display-buffer): Don't check noninteractive when calling
20775 display-buffer-pop-up-frame.
20776 (display-buffer-pop-up-frame): Never pop up a frame in
20777 noninteractive mode (Bug#8857).
20778 (enlarge-window, shrink-window): Don't report an error when the
20779 window can't be resized as requested (Bug#8862).
20780
20781 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20782
20783 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20784
20785 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20786
20787 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20788
20789 2011-06-15 Alan Mackenzie <acm@muc.de>
20790
20791 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20792 for declarators, disable knr checking to speed up for normal files.
20793 2: Refactor, replacing a sequence of nested if forms by a cond form.
20794
20795 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20796
20797 * net/network-stream.el (open-network-stream): Add the keyword
20798 :always-query-capabilities for the case where you want to force a
20799 `plain' network connection, but the protocol still requires the
20800 capabilitiy command (i.e., SMTP and EHLO).
20801
20802 * subr.el (process-live-p): Rename from `process-alive-p' for
20803 consistency with other `-live-p' functions.
20804
20805 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20806
20807 * window.el (same-window-buffer-names, same-window-regexps)
20808 (special-display-frame-alist, special-display-popup-frame)
20809 (special-display-function, special-display-buffer-names)
20810 (special-display-regexps, pop-up-frame-alist)
20811 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20812 (pop-up-windows, split-window-preferred-function)
20813 (split-height-threshold, split-width-threshold, even-window-heights)
20814 (display-buffer-mark-dedicated): Don't encourage the use of
20815 display-buffer-alist from Elisp code.
20816
20817 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20818
20819 * progmodes/python.el (python-mode): Derive from prog-mode.
20820 * progmodes/ps-mode.el (ps-mode):
20821 * progmodes/mixal-mode.el (mixal-mode):
20822 * progmodes/cfengine.el (cfengine-mode):
20823 * progmodes/ld-script.el (ld-script-mode): Likewise.
20824
20825 2011-06-15 Martin Rudalics <rudalics@gmx.at>
20826
20827 * window.el (display-buffer-alist): Trim default value to avoid
20828 popping up a new frame (Bug#8857) or reusing an arbitrary window
20829 on another frame.
20830 (display-buffer): Do not fall back on popping up a new frame in
20831 batch mode (Bug#8857).
20832
20833 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
20834
20835 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20836 (custom-theme-summary): New function.
20837 (customize-themes): Use it.
20838
20839 2011-06-13 Glenn Morris <rgm@gnu.org>
20840
20841 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20842
20843 2011-06-13 Martin Rudalics <rudalics@gmx.at>
20844
20845 * help.el (help-window): Remove variable.
20846 (help-window-point-marker, temp-buffer-max-height)
20847 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20848 (help-print-return-message): Don't set help-window.
20849 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20850 (help-window-setup-finish): Remove.
20851 (help-window-display-message, help-window-setup)
20852 (with-help-window): Major rewrite based on new
20853 display-buffer-window variable.
20854
20855 * help-mode.el (help-mode-finish): Remove help-window related
20856 code.
20857
20858 * view.el (view-exits-all-viewing-windows): Remove reference to
20859 view-return-to-alist in doc-string.
20860 (view-return-to-alist): Make obsolete.
20861 (view-buffer): Call pop-to-buffer-same-window and remove
20862 undo-window code.
20863 (view-buffer-other-window): Call pop-to-buffer-other-window and
20864 simplify code. Ignore second argument.
20865 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20866 simplify code. Ignore second argument.
20867 (view-return-to-alist-update): Make obsolete.
20868 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20869 Rewrite using quit-restore window parameters.
20870 (view-mode-exit): Rename second argument to EXIT-ONLY.
20871 Rewrite using quit-restore-window.
20872 (View-exit, View-exit-and-edit, View-leave, View-quit)
20873 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20874 appropriate arguments.
20875 (view-end-message): Use quit-restore window parameter.
20876
20877 * window.el (display-buffer-function): Rewrite doc-string.
20878 (display-buffer-window, display-buffer-alist): New variables.
20879 (display-buffer-split-specifiers)
20880 (display-buffer-side-specifiers)
20881 (display-buffer-macro-specifiers): New constants.
20882 (display-buffer-even-window-sizes, display-buffer-set-height)
20883 (display-buffer-set-width, display-buffer-select-window)
20884 (display-buffer-in-window, display-buffer-reuse-window)
20885 (display-buffer-split-window-1, display-buffer-split-window)
20886 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20887 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20888 (display-buffer-in-side-window, normalize-buffer-to-display)
20889 (display-buffer-normalize-specifiers-1)
20890 (display-buffer-normalize-specifiers-2)
20891 (display-buffer-normalize-specifiers, display-buffer-frame):
20892 New functions.
20893 (display-buffer): Major rewrite.
20894 (display-buffer-other-window, display-buffer-other-frame)
20895 (pop-to-buffer, switch-to-buffer-other-window)
20896 (switch-to-buffer-other-frame): Rewrite.
20897 (display-buffer-same-window, display-buffer-same-frame)
20898 (display-buffer-same-frame-other-window)
20899 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20900 (pop-to-buffer-other-window)
20901 (pop-to-buffer-same-frame-other-window)
20902 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20903 (switch-to-buffer-other-window-same-frame): New functions.
20904 (same-window-p, special-display-p): Rewrite disabling warnings.
20905 Make obsolete.
20906 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20907 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20908 Make obsolete
20909 (same-window-buffer-names, same-window-regexps)
20910 (special-display-frame-alist, special-display-popup-frame)
20911 (special-display-function, special-display-buffer-names)
20912 (special-display-regexps, pop-up-frame-alist)
20913 (pop-up-frame-function, split-window-preferred-function)
20914 (split-height-threshold, split-width-threshold)
20915 (even-window-heights): Make obsolete.
20916
20917 2011-06-12 Glenn Morris <rgm@gnu.org>
20918
20919 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
20920 Misc simplifications.
20921
20922 2011-06-12 Martin Rudalics <rudalics@gmx.at>
20923
20924 * window.el (window-safely-shrinkable-p): Restore function which
20925 was inadvertently removed in change from 2011-06-11. Declare as
20926 obsolete.
20927
20928 * calendar/calendar.el (calendar-generate-window):
20929 Use window-iso-combined-p instead of combination of one-window-p and
20930 window-safely-shrinkable-p.
20931
20932 2011-06-12 Glenn Morris <rgm@gnu.org>
20933
20934 * progmodes/fortran.el (fortran-mode-syntax-table):
20935 * progmodes/f90.el (f90-mode-syntax-table):
20936 Set % to punctuation. (Bug#8820)
20937 (f90-find-tag-default): Remove, no longer needed.
20938
20939 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20940
20941 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20942
20943 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
20944
20945 * image.el (image-animated-p): Return animation delay in seconds.
20946 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20947 (image-animate-timeout): Remove DELAY argument. Don't assume
20948 every subimage has the same delay; get it from image-animated-p.
20949 (image-animate): Caller changed.
20950
20951 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
20952
20953 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20954 to ignored backtrace functions.
20955
20956 2011-06-11 Glenn Morris <rgm@gnu.org>
20957
20958 * calendar/appt.el (appt-disp-window-function): Doc fix.
20959 (appt-check): Handle overlapping appointments. (Bug#8337)
20960
20961 2011-06-11 Martin Rudalics <rudalics@gmx.at>
20962
20963 * window.el (window-tree-1, window-tree): New functions, moving
20964 the latter to window.el.
20965 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20966 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20967 (bw-refresh-edges): Remove.
20968 (balance-windows-1, balance-windows-2): New functions.
20969 (balance-windows): Rewrite in terms of window tree functions,
20970 balance-windows-1 and balance-windows-2.
20971 (bw-adjust-window): Remove.
20972 (balance-windows-area-adjust): New function with functionality of
20973 bw-adjust-window but using resize-window.
20974 (set-window-text-height): Rewrite doc-string.
20975 Use normalize-live-window and resize-window.
20976 (enlarge-window-horizontally, shrink-window-horizontally):
20977 Rename argument to DELTA.
20978 (window-buffer-height): New function.
20979 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20980 Rewrite using new window resize routines.
20981 (kill-buffer-and-window, mouse-autoselect-window-select):
20982 Use ignore-errors instead of condition-case.
20983 (quit-window): Call delete-frame instead of delete-windows-on
20984 for the only buffer on frame.
20985
20986 2011-06-10 Martin Rudalics <rudalics@gmx.at>
20987
20988 * loadup.el (top-level): Load window before files for the sake
20989 of replace-buffer-in-windows.
20990
20991 * files.el (read-buffer-to-switch)
20992 (switch-to-buffer-other-window)
20993 (switch-to-buffer-other-frame, display-buffer-other-frame):
20994 Move to window.el.
20995
20996 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20997 (previous-buffer): Move to window.el.
20998
20999 * bindings.el (unbury-buffer): Move to window.el.
21000
21001 * window.el (delete-other-windows-vertically): Move after
21002 definition of delete-other-windows.
21003 (other-window, delete-windows-on, replace-buffer-in-windows):
21004 Move here from window.c.
21005 (record-window-buffer, unrecord-window-buffer)
21006 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21007 (switch-to-next-buffer): New functions.
21008 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21009 from simple.el. Call switch-to-next-buffer.
21010 (previous-buffer): Move here from simple.el.
21011 Call switch-to-prev-buffer.
21012 (bury-buffer): Move here from buffer.c. Switch to previous
21013 buffer when window cannot be deleted.
21014 (unbury-buffer): Move here from bindings.el.
21015 (ctl-x-map): Move binding for other-window from window.c to
21016 here.
21017 (read-buffer-to-switch, switch-to-buffer-other-window)
21018 (switch-to-buffer-other-frame): Move here from files.el.
21019 (normalize-buffer-to-switch-to): New functions.
21020 (switch-to-buffer): Move here from buffer.c.
21021 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21022
21023 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21024
21025 * window.el (window-min-height, window-min-width): Move here
21026 from window.c. Add defcustoms and rewrite doc-strings.
21027 (resize-mini-window, resize-window): New functions.
21028 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21029 Move here from window.c.
21030 (maximize-window, minimize-window): New functions.
21031 (delete-window, delete-other-windows, split-window): Move here
21032 from window.c.
21033 (window-split-min-size): New function.
21034 (split-window-keep-point): Mention split-window-above-each-other
21035 instead of split-window-vertically.
21036 (split-window-above-each-other, split-window-vertically):
21037 Rename split-window-vertically to split-window-above-each-other
21038 and provide defalias for old definition.
21039 (split-window-side-by-side, split-window-horizontally):
21040 Rename split-window-horizontally to split-window-side-by-side
21041 and provide defalias for the old definition.
21042 (ctl-x-map): Move bindings for delete-window,
21043 delete-other-windows and enlarge-window here from window.c.
21044 Replace bindings for split-window-vertically and
21045 split-window-horizontally by bindings for
21046 split-window-above-each-other and split-window-side-by-side.
21047
21048 * cus-start.el (all): Remove entries for window-min-height and
21049 window-min-width. Add entries for window-splits and
21050 window-nest.
21051
21052 2011-06-09 Glenn Morris <rgm@gnu.org>
21053
21054 * calendar/appt.el (appt-mode-line): New function.
21055 (appt-check, appt-disp-window): Use it.
21056
21057 * files.el (hack-one-local-variable-eval-safep):
21058 Allow minor-modes with explicit +/-1 arguments.
21059
21060 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21061
21062 * term/xterm.el (xterm): Add defgroup.
21063 (xterm-extra-capabilities): Add defcustom to supply known xterm
21064 capabilities, skip querying them, or query them (default).
21065 (terminal-init-xterm): Use it.
21066 (terminal-init-xterm-modify-other-keys): New function to set up
21067 modifyOtherKeys support to simplify `terminal-init-xterm'.
21068
21069 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21070
21071 * window.el (resize-window-reset, resize-window-reset-1)
21072 (resize-subwindows-skip-p, resize-subwindows-normal)
21073 (resize-subwindows, resize-other-windows, resize-this-window)
21074 (resize-root-window, resize-root-window-vertically)
21075 (window-deletable-p, window-or-subwindow-p)
21076 (frame-root-window-p): New functions.
21077
21078 2011-06-09 Glenn Morris <rgm@gnu.org>
21079
21080 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21081 (ange-ftp-get-files): Use it.
21082
21083 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21084
21085 * mail/sendmail.el (mail-recover-1, mail-recover):
21086 * files.el (recover-file, recover-session):
21087 Handle dired-listing-switches not being just a single short option.
21088
21089 2011-06-09 Glenn Morris <rgm@gnu.org>
21090
21091 * calendar/appt.el (appt-display-message, appt-disp-window):
21092 Handle lists of appointments.
21093
21094 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21095
21096 * window.el (one-window-p): Move down in code.
21097 Rewrite doc-string.
21098 (window-current-scroll-bars): Rewrite doc-string.
21099 Normalize live window argument.
21100 (walk-windows, get-window-with-predicate, count-windows):
21101 Rewrite doc-string. Use window-list-1.
21102 (window-in-direction-2, window-in-direction, get-mru-window):
21103 New functions.
21104
21105 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21106
21107 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21108 Doc fix (Bug#8713).
21109
21110 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21111
21112 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21113
21114 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21115
21116 * loadhist.el (unload-feature-special-hooks):
21117 Add `comint-output-filter-functions'.
21118
21119 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21120
21121 * calendar/appt.el (appt-check): Move some initializations into the let.
21122
21123 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21124
21125 * window.el (window-height): Defalias to window-total-height.
21126 (window-width): Defalias to window-body-width.
21127
21128 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21129
21130 * image-mode.el (image-toggle-animation): New command.
21131 (image-mode-map): Bind it to RET.
21132 (image-mode): Update message.
21133 (image-toggle-display-image): Avoid a spurious cache flush.
21134 (image-transform-rotation): Doc fix.
21135 (image-transform-properties): Return quickly in the normal case.
21136 (image-animate-loop): Rename from image-animate-max-time.
21137
21138 * image.el (image-animate-max-time): Move to image-mode.el.
21139 (create-animated-image): Remove unnecessary function.
21140 (image-animate): Rename from image-animate-start. New arg.
21141 (image-animate-stop): Remove; just use image-animate-timer.
21142 (image-animate-timer): Use car-safe.
21143 (image-animate-timeout): Rename argument.
21144
21145 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21146
21147 * window.el (get-lru-window, get-largest-window): Move here from
21148 window.c. Rename first argument to ALL-FRAMES.
21149 Rephrase doc-strings.
21150 (get-buffer-window-list): Rewrite using window-list-1.
21151 Rephrase doc-string.
21152 (window-safe-min-height, window-safe-min-width): New constants.
21153 (window-size-ignore, window-min-size, window-min-size-1)
21154 (window-sizable, window-sizable-p, window-size-fixed-1)
21155 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21156 (window-max-delta-1, window-max-delta, window-resizable)
21157 (window-resizable-p, window-total-height, window-total-width)
21158 (window-body-width): New functions.
21159 (window-full-height-p, window-full-width-p): Rewrite using
21160 window-total-size.
21161 (window-body-height): Rewrite using window-body-size.
21162
21163 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21164
21165 * window.el (window-right, window-left, window-child)
21166 (window-child-count, window-last-child, window-any-p)
21167 (normalize-live-buffer, normalize-live-frame)
21168 (normalize-any-window, normalize-live-window)
21169 (window-iso-combination-p, window-iso-combined-p)
21170 (window-iso-combinations)
21171 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21172 (windows-with-parameter, window-with-parameter)
21173 (window-atom-root, make-window-atom, window-atom-check-1)
21174 (window-atom-check, window-side-check, window-check):
21175 New functions.
21176 (ignore-window-parameters, window-sides, window-sides-vertical)
21177 (window-sides-slots): New variables.
21178 (window-size-fixed): Move down in code. Minor doc-string fix.
21179
21180 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21181
21182 * comint.el (comint-dynamic-complete-as-filename)
21183 (comint-dynamic-complete-filename): Correctly call
21184 completion-in-region.
21185
21186 2011-06-05 Deniz Dogan <deniz@dogan.se>
21187
21188 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21189 in last change.
21190
21191 2011-06-05 Deniz Dogan <deniz@dogan.se>
21192
21193 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21194 (rcirc): Use it to prompt for encryption.
21195
21196 2011-06-05 Roland Winkler <winkler@gnu.org>
21197
21198 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21199 (bibtex-search-entries): New command bound to C-c C-a.
21200 (bibtex-display-entries): New function.
21201
21202 2011-06-05 Roland Winkler <winkler@gnu.org>
21203
21204 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21205 (bibtex-insert-kill): After yanking insert newline if necessary.
21206 (bibtex-initialize): Call bibtex-string-files-init only once.
21207 (bibtex-mode): Do not call easy-menu-add.
21208 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21209 (bibtex-yank): Set arg properly if nil.
21210
21211 2011-06-05 Roland Winkler <winkler@gnu.org>
21212
21213 * textmodes/bibtex.el (bibtex-search-entry-globally):
21214 New variable.
21215 (bibtex-search-entry): Use it.
21216
21217 2011-06-05 Roland Winkler <winkler@gnu.org>
21218
21219 * textmodes/bibtex.el (bibtex-entry-format): New option
21220 sort-fields.
21221 (bibtex-format-entry, bibtex-reformat): Honor this option.
21222 (bibtex-parse-entry): Return fields in proper order.
21223
21224 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21225
21226 * doc-view.el (doc-view-remove-if): Move computation of result out
21227 of `dolist' to silence misleading lexical-binding warning.
21228
21229 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21230
21231 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21232 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21233
21234 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21235
21236 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21237 "SunOS 5.10".
21238
21239 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21240
21241 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21242 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21243 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21244 (tramp-parse-putty):
21245 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21246 (tramp-completion-function-alist-ssh)
21247 (tramp-completion-function-alist-telnet)
21248 (tramp-completion-function-alist-su)
21249 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21250 cookie.
21251
21252 * net/tramp-ftp.el:
21253 * net/tramp-sh.el:
21254 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21255 load "tramp.el" `tramp-set-completion-function'.
21256
21257 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21258
21259 * shell.el: Require and use pcomplete.
21260 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21261 (shell-completion-vars): Set pcomplete-default-completion-function.
21262
21263 2011-06-04 Deniz Dogan <deniz@dogan.se>
21264
21265 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21266 `memq' (Bug#8799).
21267
21268 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21269
21270 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21271
21272 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21273
21274 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21275 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21276 * vc/log-view.el (log-view-beginning-of-defun):
21277 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21278 (smerge-refine-forward, smerge-refine-chopup-region):
21279 Silence warning for unused `dotimes' counter variables.
21280
21281 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21282
21283 * net/tramp.el (tramp-with-progress-reporter): Rename from
21284 with-progress-reporter. Use `declare'.
21285 * net/tramp-smb.el:
21286 * net/tramp-sh.el:
21287 * net/tramp-gvfs.el: Update all uses.
21288
21289 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21290
21291 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21292 buffer isn't killed before making it current.
21293
21294 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21295
21296 Silence various byte-compiler warnings.
21297 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21298 `access-type' and new obsolescence format.
21299 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21300 new format.
21301 (byte-compile-check-variable): New `access-type' argument.
21302 Only warn if the access-type is obsolete.
21303 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21304 (byte-compile-variable-set): Adjust callers.
21305 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21306 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21307 setting it as obsolete.
21308 * simple.el (minibuffer-completing-symbol):
21309 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21310 access as obsolete.
21311 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21312 obsolete yet.
21313 * international/quail.el (quail-mouse-choose-completion): Remove unused
21314 code referring to obsolete var.
21315 (quail-choose-completion-string): Remove.
21316 * server.el (server-clients-with, server-kill-buffer-query-function)
21317 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21318 * proced.el (proced-send-signal):
21319 * emacs-lisp/lisp.el (lisp-complete-symbol):
21320 Replace completion-annotate-function with completion-extra-properties.
21321
21322 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21323
21324 * simple.el (goto-line): Use read-number.
21325 (overriding-map-is-bound): Remove.
21326 (saved-overriding-map): Change default.
21327 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21328 Take the map as argument.
21329 (universal-argument, negative-argument, digit-argument): Use it.
21330 (restore-overriding-map): Adjust.
21331 (do-auto-fill): Use fill-forward-paragraph.
21332 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21333
21334 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21335 (minibuffer-inactive-mode): New major mode.
21336 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21337 the *Messages* buffer" hack.
21338 (mouse-popup-menubar): Don't burp if the event is a normal key.
21339
21340 Miscellaneous tweaks.
21341 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21342 lexical scoping as in subr.el's dolist and dotimes.
21343 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21344 Silence compiler warning.
21345 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21346 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21347 * international/ccl.el (ccl-compile): Trivial simplification.
21348 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21349 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21350 `printflag' argument.
21351 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21352 Purecopy the whole obsolescence data.
21353
21354 2011-06-01 Leo Liu <sdl.web@gmail.com>
21355
21356 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21357 improve doc-string as suggested by Marco Pessotto
21358 <melmothx@gmail.com>.
21359 (rcirc-print): Fix last change.
21360
21361 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21362
21363 * minibuffer.el (complete-with-action): Return nil for the metadata and
21364 boundaries of non-functional tables.
21365 (completion-table-dynamic): Return nil for the metadata.
21366 (completion-table-with-terminator): Add default case, using
21367 complete-with-action.
21368 (completion--metadata): New function.
21369 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21370 to try and avoid pathological performance problems.
21371 (completion--embedded-envvar-table): Return `category' metadata.
21372
21373 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21374
21375 * subr.el (process-alive-p): New tiny convenience function.
21376
21377 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21378
21379 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21380 content but also its previous major mode.
21381
21382 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21383
21384 * emacs-lisp/debug.el (debug): Restore the previous content of the
21385 *Backtrace* buffer when we exit with C-M-c.
21386
21387 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21388
21389 * minibuffer.el: Add metadata method to completion tables.
21390 (completion-category-overrides): New defcustom.
21391 (completion-metadata, completion--field-metadata)
21392 (completion-metadata-get, completion--styles)
21393 (completion--cycle-threshold): New functions.
21394 (completion-try-completion, completion-all-completions):
21395 Add `metadata' argument to choose completion-styles.
21396 (completion--do-completion): Use metadata to choose cycling.
21397 (completion-all-sorted-completions): Use metadata for sorting.
21398 Remove :completion-cycle-penalty which is not needed any more.
21399 (completion--try-word-completion): Add `metadata' argument.
21400 (minibuffer-completion-help): Check metadata for annotation function
21401 and sorting.
21402 (completion-file-name-table): Return `category' metadata.
21403 (minibuffer-completing-file-name): Make obsolete.
21404 * simple.el (minibuffer-completing-symbol): Make obsolete.
21405 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21406 completion-try-completion.
21407
21408 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21409
21410 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21411
21412 2011-05-30 Leo Liu <sdl.web@gmail.com>
21413
21414 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21415 (rcirc-print): Decode all incoming messages (bug#8744).
21416 (rcirc-decode-coding-system): Allow value nil for automatic coding
21417 system detection.
21418
21419 2011-06-01 Glenn Morris <rgm@gnu.org>
21420
21421 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21422
21423 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21424
21425 * image.el (image-animate-max-time): Allow nil and t values.
21426 Default to nil.
21427 (create-animated-image): Doc fix.
21428 (image-animate-start): Remove second arg; just use
21429 image-animate-max-time.
21430 (image-animate-timeout): Doc fix. Args changed.
21431
21432 * image-mode.el (image-toggle-display-image): Ensure that the
21433 image spec passed to the animate timer is the same object as in
21434 the buffer's display property (Bug#6981).
21435 (image-transform-properties): Doc fix.
21436
21437 * image.el (image-animate-max-time): Default to nil.
21438
21439 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21440
21441 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21442 entire buffer list (Bug#8184).
21443
21444 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21445
21446 * image.el (imagemagick-types-inhibit)
21447 (imagemagick-register-types): Doc fix.
21448
21449 2011-05-29 Deniz Dogan <deniz@dogan.se>
21450
21451 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21452 default.
21453
21454 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21455
21456 * select.el: Don't perform clipboard-manager saving in hooks;
21457 leave the hooks empty.
21458
21459 2011-05-28 Leo Liu <sdl.web@gmail.com>
21460
21461 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21462 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21463 (occur-edit-mode): New major mode (Bug#8463).
21464 (occur-after-change-function): New function.
21465 (occur-engine): Give Occur tags a read-only property.
21466
21467 2011-05-28 Kevin Ryde <user42@zip.com.au>
21468
21469 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21470
21471 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21472
21473 * bindings.el (help-echo): Make the initial non-indicator dash
21474 empty on graphical terminals (Bug#7295).
21475
21476 * files.el (auto-mode-alist): Move config rule after the
21477 in-stripping one (Bug#8547).
21478
21479 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21480
21481 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21482 setting (Bug#8740).
21483
21484 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21485
21486 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21487 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21488 (Bug#8539).
21489
21490 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21491
21492 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21493
21494 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21495
21496 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21497 (hs-hide-block-at-point, hs-find-block-beginning)
21498 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21499 (Bug#8279).
21500
21501 2011-05-28 Glenn Morris <rgm@gnu.org>
21502
21503 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21504
21505 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21506
21507 * help-fns.el (describe-function-1): If the function is a derived
21508 major mode, print the parent mode.
21509
21510 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21511 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21512
21513 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21514
21515 * minibuffer.el (completion--capf-wrapper): Check applicability before
21516 returning non-nil for non-exclusive completion data.
21517 * progmodes/etags.el (tags-completion-at-point-function):
21518 * info-look.el (info-lookup-completions-at-point): Mark as
21519 non-exclusive.
21520 (info-complete): Adjust accordingly.
21521
21522 * info-look.el: Convert to lexical-binding and completion-at-point.
21523 (info-lookup-completions-at-point): New function.
21524 (info-complete): Use it and completion-in-region.
21525
21526 2011-05-28 Drew Adams <drew.adams@oracle.com>
21527
21528 * isearch.el: Let M-e start with point at the first mismatched char.
21529 (isearch-fail-pos): New function.
21530 (isearch-edit-string): Use it.
21531
21532 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21533
21534 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21535
21536 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21537
21538 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21539 traversal functions for avl-trees.
21540 (avl-tree--stack): New struct.
21541 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21542 (avl-tree-enter): Add optional `updatefun' arg.
21543 (avl-tree--do-enter): Add optional `updatefun' arg.
21544 Change return value.
21545 (avl-tree-delete): Add optional `test' and `nilflag' args.
21546 (avl-tree--do-delete): Add `test' and `nilflag' args.
21547 Change return value.
21548 (avl-tree-member): Add optional `nilflag'
21549 (avl-tree-member-p): New function.
21550 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21551 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21552 (avl-tree-stack-empty-p): New functions.
21553
21554 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21555 avl-tree--del-balance1 and make it work both ways.
21556 (avl-tree--del-balance2): Remove.
21557 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21558 make it work both ways.
21559 (avl-tree--enter-balance2): Remove.
21560 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21561 New macros.
21562 (avl-tree--mapc, avl-tree-map): Add direction argument.
21563
21564 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21565
21566 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21567
21568 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21569
21570 * select.el: Support clipboard managers with built-in function
21571 x-clipboard-manager-save, via delete-frame-functions and
21572 kill-emacs-hook.
21573 (xselect-convert-to-targets): Add MULTIPLE target to list.
21574 (xselect-convert-to-save-targets): New function.
21575
21576 2011-05-27 Kenichi Handa <handa@m17n.org>
21577
21578 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21579 let-binding rfc2047-encode-encoded-words to nil.
21580
21581 2011-05-27 Glenn Morris <rgm@gnu.org>
21582
21583 * mail/emacsbug.el: Don't require url-util.
21584
21585 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21586
21587 * files.el (set-auto-mode):
21588 Also respect mode: entries at the end of the file. (Bug#8586)
21589
21590 2011-05-26 Glenn Morris <rgm@gnu.org>
21591
21592 * files.el (hack-local-variables-prop-line, hack-local-variables):
21593 Downcase mode names, as seems to be traditional.
21594 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21595
21596 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21597 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21598
21599 2011-05-25 Julien Danjou <julien@danjou.info>
21600
21601 * textmodes/rst.el (rst-define-level-faces): Do not define face
21602 symbol if it is already defined.
21603
21604 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21605
21606 * play/5x5.el (5x5-new-game, 5x5-randomize):
21607 Reset 5x5-solver-output to nil when a new grid is cast.
21608 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21609 these debugging traces, as defmacro breaks the compiled code.
21610
21611 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21612
21613 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21614
21615 2011-05-24 Leo Liu <sdl.web@gmail.com>
21616
21617 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21618 (vc-bzr-sha1): Adapt.
21619
21620 * sha1.el: Remove. Function `sha1' is now builtin.
21621
21622 * bindings.el: Provide sha1 feature.
21623
21624 2011-05-24 Kenichi Handa <handa@m17n.org>
21625
21626 * mail/sendmail.el: Require `rfc2047'.
21627 (mail-insert-from-field): Do not perform RFC2047 encoding.
21628 (mail-encode-header): New function.
21629 (sendmail-send-it): Set buffer-file-coding-system of the work
21630 buffer to the return value of select-message-coding-system.
21631 Call mail-encode-header.
21632
21633 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21634
21635 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21636
21637 * mail/supercite.el (sc-default-cite-frame):
21638 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21639
21640 2011-05-24 Glenn Morris <rgm@gnu.org>
21641
21642 * progmodes/python.el (brm-menu): Declare.
21643
21644 * emulation/viper.el (viper-set-hooks): Declare.
21645
21646 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21647 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21648 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21649 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21650 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21651 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21652
21653 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21654
21655 Add an :exit-function for completion-at-point.
21656
21657 * minibuffer.el (completion--done): New fun.
21658 (completion--do-completion): Use it. New arg `expect-exact'.
21659 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21660 since completion--do-completion does it for us now.
21661 (minibuffer-force-complete): Use completion--done and
21662 completion--replace. Handle sole-completion case with more care.
21663 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21664 (completion-extra-properties): New var.
21665 (completion-annotate-function): Make obsolete.
21666 (minibuffer-completion-help): Adjust accordingly.
21667 Use completion-list-insert-choice-function.
21668 (completion-at-point, completion-help-at-point):
21669 Bind completion-extra-properties.
21670 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21671 * simple.el (completion-list-insert-choice-function): New var.
21672 (completion-setup-function): Preserve it.
21673 (choose-completion): Pay attention to it, shuffle the code a bit.
21674 (choose-completion-string): New arg `insert-function'.
21675
21676 * textmodes/bibtex.el: Convert to lexical binding.
21677 (bibtex-mode-map): Use completion-at-point.
21678 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21679 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21680 (bibtex-complete): Define as obsolete alias.
21681 (bibtex-complete-internal): Remove.
21682 (bibtex-format-entry): Remove unused sub-group in regexp.
21683 * shell.el (shell--command-completion-data)
21684 (shell-environment-variable-completion):
21685 * pcomplete.el (pcomplete-completions-at-point):
21686 * comint.el (comint--complete-file-name-data): Use :exit-function
21687 instead of completion-table-with-terminator so it also works for
21688 choose-completion.
21689
21690 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21691
21692 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21693
21694 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21695 (bug#8710).
21696
21697 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21698
21699 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21700
21701 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21702 customization variable and implement: If non-nil, auto-fill will
21703 be inhibited while on topic's header line.
21704
21705 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21706
21707 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21708 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21709 always have a solution in grid size = 5 cases.
21710 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21711 (5x5-solver-output, 5x5-log-buffer): New vars.
21712 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21713 Make these variables buffer local to achieve 5x5 multi-session-ness.
21714 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21715 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21716 (5x5-solve-suggest): New funs.
21717 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21718 randomize a grid so that we ensure that there is always a solution.
21719 (5x5-make-random-grid): Allow other movement than flipping.
21720
21721 2011-05-23 Kevin Ryde <user42@zip.com.au>
21722
21723 * emacs-lisp/advice.el (ad-read-advised-function):
21724 Use `function-called-at-point' as the default, if it has
21725 advice and passes PREDICATE.
21726
21727 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21728
21729 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21730 byte-compile-lambda if it's actually a lambda.
21731
21732 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21733 Fix function quoting. Use backquote better.
21734
21735 2011-05-22 Yuanle Song <sylecn@gmail.com>
21736
21737 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21738 matching (Bug#8516).
21739
21740 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21741
21742 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21743 different face (Bug#8178).
21744
21745 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21746
21747 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21748 defface (Bug#8144).
21749
21750 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21751
21752 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21753 funcall as well (bug#8712). Warn when performing those conversions.
21754 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21755
21756 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21757
21758 2011-05-22 Glenn Morris <rgm@gnu.org>
21759
21760 * files.el (hack-local-variables-prop-line): Small simplifications.
21761 (hack-local-variables, hack-local-variables-prop-line):
21762 If MODE-ONLY, return the mode, rather than just `t'.
21763
21764 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21765
21766 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21767
21768 2011-05-21 Glenn Morris <rgm@gnu.org>
21769
21770 * files.el (hack-local-variables-prop-line, hack-local-variables):
21771 If only interested in the mode, don't bother doing the other stuff.
21772
21773 * image-mode.el (image-after-revert-hook):
21774 Redraw all frames on which the image is visible. (Bug#8567)
21775
21776 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21777
21778 * wid-edit.el (widget-checklist-match-inline):
21779 Fix 2011-04-19 change. (Bug#8649)
21780
21781 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21782
21783 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21784 Also allow singlespace after single-letter capitals followed by a dot.
21785
21786 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21787 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21788
21789 2011-05-20 Nix <nix@esperi.org.uk>
21790
21791 * files.el (basic-save-buffer-2):
21792 Fix handling of break-hardlink-on-save with non-existent files.
21793
21794 2011-05-19 Deniz Dogan <deniz@dogan.se>
21795
21796 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21797 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21798
21799 2011-05-19 Glenn Morris <rgm@gnu.org>
21800
21801 * progmodes/f90.el (f90-type-def-re):
21802 Handle "type, bind(c)". (Bug#8691)
21803
21804 * emacs-lisp/autoload.el (batch-update-autoloads):
21805 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21806
21807 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
21808
21809 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21810 property for the correct connection in case of multihops.
21811
21812 2011-05-18 Glenn Morris <rgm@gnu.org>
21813
21814 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21815 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21816
21817 Rationalize calendar handling of day and month abbrev-arrays.
21818 * calendar/calendar.el (calendar-customized-p): New function.
21819 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21820 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21821 Add :set function.
21822 (calendar-abbrev-length, calendar-day-abbrev-array)
21823 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21824 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21825 Elements may no longer be nil.
21826 (calendar-day-name, calendar-month-name):
21827 Update for changed nature of abbrev arrays.
21828 * calendar/diary-lib.el (diary-name-pattern):
21829 Update for changed nature of abbrev arrays.
21830 (diary-mark-entries-1): Update calendar-make-alist calls.
21831 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21832 * calendar/cal-html.el (cal-html-day-abbrev-array):
21833 Simply inherit from calendar-day-abbrev-array.
21834
21835 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21836
21837 * progmodes/grep.el (grep-mode): Disable default
21838 compilation-directory-matcher setting (bug#8684).
21839
21840 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
21841
21842 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21843 instead of "head" and "tail". There were problems with SunOS 5.9,
21844 and it performs better.
21845
21846 2011-05-17 Glenn Morris <rgm@gnu.org>
21847
21848 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21849
21850 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21851 Replace obsolete function.
21852
21853 * shell.el (pcomplete-parse-arguments-function): Declare.
21854
21855 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21856 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21857 (appt-check): Doc fixes.
21858 (appt-disp-window-function, appt-delete-window-function):
21859 Remove needless special case in custom :type.
21860 (appt-display-count): Default to 0, not nil.
21861 (appt-check): Reset appt-display-count to 0, not nil.
21862
21863 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
21864
21865 * progmodes/python.el (python-font-lock-keywords):
21866 Add the Python 3.X keyword "nonlocal" (bug#8639).
21867
21868 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21869
21870 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21871
21872 2011-05-16 Kevin Ryde <user42@zip.com.au>
21873
21874 * info-look.el (makefile-automake-mode): New setups, looking in
21875 automake manual, then makefile-mode.
21876 (makefile-mode): Remove automake manual, have it just in
21877 makefile-automake-mode since there's various things different or
21878 not relevant to plain make.
21879 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21880 believe a hypothetical automake-mode would go to makefile-mode,
21881 not the other way around.
21882
21883 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
21884
21885 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21886 hunk-end tags (Bug#8672).
21887
21888 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21889 vc-annotate-show-diff-revision-at-line (Bug#8671).
21890
21891 2011-05-14 Glenn Morris <rgm@gnu.org>
21892
21893 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21894 in the middle of an existing one with multiple authors. (Bug#8645)
21895 (change-log-font-lock-keywords): Also handle multiple author lines
21896 with leading tabs. (Bug#8644)
21897
21898 * calendar/appt.el (appt-check): Rename some local variables.
21899 Some simplification/reordering.
21900
21901 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21902 (feedmail-sendmail-f-doesnt-sell-me-out)
21903 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21904 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21905 (feedmail-queue-runner-message-sender): Set :version.
21906 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21907 (bbdb-dwim-net-address, vm-mail): Declare.
21908 (feedmail-binmail-gnulinuxish-template):
21909 Rename from feedmail-binmail-linuxish-template.
21910 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21911 Use insert-buffer-substring.
21912
21913 2011-05-14 Bill Carpenter <bill@carpenter.org>
21914
21915 * mail/feedmail.el (feedmail-patch-level): Increase.
21916 (feedmail-debug): New custom group.
21917 (feedmail-confirm-outgoing-timeout)
21918 (feedmail-sendmail-f-doesnt-sell-me-out)
21919 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21920 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21921 (feedmail-sender-line, feedmail-from-line)
21922 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
21923 (feedmail-spray-this-address)
21924 (feedmail-spray-address-fiddle-plex-list)
21925 (feedmail-queue-use-send-time-for-date)
21926 (feedmail-queue-use-send-time-for-message-id)
21927 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21928 (feedmail-buffer-eating-function):
21929 Doc fixes.
21930 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21931 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21932 (feedmail-message-action-scroll-down): New functions.
21933 (feedmail-queue-directory, feedmail-queue-draft-directory):
21934 Use expand-file-name.
21935 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21936 Remove C-v help entry.
21937 (feedmail-queue-buffer-file-name): New variable.
21938 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21939 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21940 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21941 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21942 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21943 (feedmail-message-action-toggle-spray)
21944 (feedmail-run-the-queue-no-prompts)
21945 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21946 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21947 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21948 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21949 (feedmail-envelope-deducer, feedmail-fiddle-from)
21950 (feedmail-fiddle-sender, feedmail-default-date-generator)
21951 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21952 (feedmail-fiddle-spray-address)
21953 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21954 (feedmail-fiddle-list-of-fiddle-plexes)
21955 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21956 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21957 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21958 Change default. Doc fix.
21959 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21960 (feedmail-binmail-linuxish-template): New constant.
21961 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21962 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21963 (feedmail-send-it): Add debug call.
21964 Use feedmail-queue-buffer-file-name, and
21965 feedmail-send-it-immediately-wrapper.
21966 (feedmail-message-action-send): Add debug call.
21967 Use feedmail-send-it-immediately-wrapper.
21968 (feedmail-queue-express-to-queue): Add debug call.
21969 Run feedmail-queue-express-hook.
21970 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21971 (feedmail-message-action-help-blat):
21972 Rename from feedmail-queue-send-edit-prompt-help-first.
21973 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21974 Check line-endings. Handle errors better.
21975 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21976 Doc fix. Add debug call.
21977 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21978 Use feedmail-queue-send-edit-prompt-inner.
21979 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21980 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21981 from feedmail-queue-send-edit-prompt.
21982 (feedmail-queue-send-edit-prompt-help)
21983 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21984 (feedmail-tidy-up-slug): Add debug call.
21985 Respect feedmail-queue-slug-suspect-regexp.
21986 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21987 (feedmail-dump-message-to-queue): Add debug call.
21988 Expand queue-directory.
21989 (feedmail-dump-message-to-queue): Change message slightly.
21990 Use feedmail-say-chatter.
21991 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21992 (feedmail-send-it-immediately-wrapper): New function.
21993 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21994 Insert empty string rather than newline. Handle full-frame case.
21995 Use catch/throw. Use feedmail-say-chatter.
21996 (feedmail-fiddle-from): Try mail-host-address.
21997 (feedmail-default-message-id-generator): Doc fix.
21998 Bind system-time-locale. Handle missing end.
21999 (feedmail-fiddle-x-mailer): Add debug call.
22000 Handle feedmail-x-mailer-line being nil.
22001 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22002 Add debug call. Use buffer-substring-no-properties.
22003 (feedmail-say-debug, feedmail-say-chatter): New functions.
22004 (feedmail-find-eoh): Give an explicit error.
22005
22006 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22007
22008 * net/newst-treeview.el (newsticker-treeview-face): Change default
22009 family from helvetica to sans.
22010 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22011 etc/images/newsticker.
22012
22013 * net/newst-reader.el (newsticker-feed-face): Change default
22014 family from helvetica to sans.
22015
22016 * net/newst-plainview.el (newsticker-new-item-face)
22017 (newsticker-old-item-face, newsticker-immortal-item-face)
22018 (newsticker-obsolete-item-face, newsticker-date-face)
22019 (newsticker-statistics-face): Change default family from
22020 helvetica to sans.
22021 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22022 etc/images/newsticker.
22023
22024 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22025 (newsticker--process-auto-mark-filter-match): Tell user about
22026 auto-marking.
22027
22028 2011-05-13 Didier Verna <didier@xemacs.org>
22029
22030 Common Lisp indentation improvements on defmethod and lambda-lists.
22031 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22032 TODO entries.
22033 (lisp-lambda-list-keyword-parameter-indentation)
22034 (lisp-lambda-list-keyword-parameter-alignment)
22035 (lisp-lambda-list-keyword-alignment): New customizable user options.
22036 (lisp-indent-defun-method): Improve docstring.
22037 (extended-loop-p): Fix comment.
22038 (lisp-indent-lambda-list-keywords-regexp): New variable.
22039 (lisp-indent-lambda-list): New function.
22040 (lisp-indent-259): Use it.
22041 (lisp-indent-defmethod): Support for more than one
22042 method qualifier and properly indent methods lambda-lists.
22043 (defgeneric): Provide a missing common-lisp-indent-function property.
22044
22045 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22046
22047 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22048 bounds for the empty string (bug#8667).
22049
22050 2011-05-13 Glenn Morris <rgm@gnu.org>
22051
22052 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22053
22054 * mail/sendmail.el (sendmail-program): Try executable-find first.
22055 (sendmail-send-it): `sendmail-program' cannot be unbound.
22056
22057 * calendar/appt.el (appt-make-list): Simplify.
22058 (appt-time-msg-list): Doc fix.
22059 (appt-check): Change mode-line message at the time of the appointment.
22060
22061 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22062
22063 * progmodes/ld-script.el (ld-script-keywords)
22064 (ld-script-builtins): Update keywords list.
22065
22066 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22067
22068 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22069
22070 * shell.el (shell-completion-vars): New function.
22071 (shell-mode):
22072 * simple.el (read-shell-command): Use it.
22073 (blink-matching-open): No need for " [...]" in minibuffer-message.
22074
22075 2011-05-12 Glenn Morris <rgm@gnu.org>
22076
22077 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22078 (appt-check): Simplify.
22079
22080 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22081
22082 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22083 literal "/dev/null".
22084
22085 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22086
22087 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22088 Fix typo.
22089
22090 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22091
22092 * progmodes/which-func.el (which-function):
22093 Use add-log-current-defun instead of add-log-current-defun-function,
22094 which might not be defined (Bug#8260).
22095
22096 2011-05-12 Glenn Morris <rgm@gnu.org>
22097
22098 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22099 Let byte-compile-initial-macro-environment always take precedence.
22100
22101 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22102
22103 * net/rcirc.el: Add support for SSL/TLS connections.
22104 (rcirc-server-alist): New field `encryption'.
22105 (rcirc): Check `encryption' settings.
22106 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22107 Merge make-local-variable into `set'.
22108 (rcirc--connection-open-p): New function.
22109 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22110 the process is not a network process (e.g. running gnutls-cli).
22111 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22112 Make rcirc-(en|de)code-coding-system local here.
22113 (rcirc-mode): Merge make-local-variable into `set'.
22114 (rcirc-parent-buffer): Make permanent buffer-local.
22115 (rcirc-multiline-minor-mode): Don't do it here.
22116 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22117 there's no server buffer.
22118
22119 2011-05-11 Glenn Morris <rgm@gnu.org>
22120
22121 * newcomment.el (comment-kill): Prefix "unused" local.
22122
22123 * term/w32console.el (get-screen-color): Declare.
22124
22125 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22126 Handle symbol elements of byte-compile-initial-macro-environment.
22127
22128 2011-05-10 Leo Liu <sdl.web@gmail.com>
22129
22130 * bookmark.el (bookmark-bmenu-mode-map):
22131 Bind bookmark-bmenu-search to `/'.
22132
22133 * mail/footnote.el: Convert to utf-8 encoding.
22134 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22135 (Footnote-unicode): New function.
22136 (footnote-style-alist): Add unicode style to the list.
22137 (footnote-style): Doc fix.
22138
22139 2011-05-10 Jim Meyering <meyering@redhat.com>
22140
22141 Fix doubled-word typos.
22142 * international/quail.el (quail-insert-kbd-layout): and and -> and
22143 * kermit.el: and and -> and
22144 * net/ldap.el (ldap-search-internal): to to -> to
22145 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22146 * progmodes/js.el (js-mode): and and -> and
22147 * textmodes/artist.el (artist-move-to-xy): at at -> at
22148 (artist-draw-region-trim-line-endings): if if -> if
22149 And Safetyc -> Safety.
22150 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22151
22152 2011-05-10 Glenn Morris <rgm@gnu.org>
22153 Stefan Monnier <monnier@iro.umontreal.ca>
22154
22155 * files.el (hack-one-local-variable-eval-safep):
22156 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22157
22158 2011-05-10 Glenn Morris <rgm@gnu.org>
22159
22160 * calendar/diary-lib.el (diary-list-entries-hook)
22161 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22162 (diary-nongregorian-marking-hook, diary-list-entries)
22163 (diary-include-other-diary-files, diary-mark-entries)
22164 (diary-mark-included-diary-files): Doc fixes.
22165
22166 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22167
22168 * misc.el: Require tabulated-list.el during compilation.
22169
22170 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22171
22172 * progmodes/compile.el (compilation-start):
22173 Run compilation-filter-hook for the async case too.
22174 (compilation-filter-hook): Doc fix.
22175
22176 2011-05-09 Deniz Dogan <deniz@dogan.se>
22177
22178 * wdired.el: Remove outdated installation comment. Fix usage
22179 comment.
22180
22181 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22182
22183 * misc.el: Implement new command `list-dynamic-libraries'.
22184 (list-dynamic-libraries--loaded-only-p): New variable.
22185 (list-dynamic-libraries--refresh): New function.
22186 (list-dynamic-libraries): New command.
22187
22188 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22189
22190 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22191 Fix the ant regexp to handle end-line and end-column info from jikes.
22192 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22193 higher priority to avoid clobbering by gnu.
22194
22195 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22196
22197 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22198 if the face has existing theme settings (Bug#8454).
22199
22200 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22201
22202 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22203 Only match variables declared via `my' or `our' (Bug#8261).
22204
22205 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22206 special file names `.' and `..' (Bug#8259).
22207
22208 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22209
22210 * progmodes/grep.el (grep-mode-font-lock-keywords):
22211 Remove buffer-changing entries.
22212 (grep-filter): New function.
22213 (grep-mode): Add it to compilation-filter-hook.
22214
22215 * progmodes/compile.el (compilation-filter-hook)
22216 (compilation-filter-start): New defvars.
22217 (compilation-filter): Call compilation-filter-hook prior to
22218 updating the process mark.
22219
22220 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22221
22222 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22223
22224 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22225
22226 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22227 mailclient-send-it even if window-system is nil. (Bug#8595)
22228
22229 * term/w32console.el (terminal-init-w32console):
22230 Call get-screen-color and use its output to set the frame
22231 background-mode. (Bug#8597)
22232
22233 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22234
22235 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22236 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22237 New functions.
22238 (defgeneric, eieio--defmethod): Use them.
22239 (eieio-defgeneric): Remove.
22240 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22241
22242 2011-05-07 Glenn Morris <rgm@gnu.org>
22243
22244 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22245 Use let rather than let*.
22246 (timeclock-find-discrep): Remove unused local.
22247
22248 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22249
22250 * calendar/appt.el (appt-time-msg-list): Doc fix.
22251
22252 2011-05-06 Noah Friedman <friedman@splode.com>
22253
22254 * apropos.el (apropos-print-doc): Only use
22255 emacs-lisp-docstring-fill-column when it is bound to an integer,
22256 per that variable's documentation.
22257
22258 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22259
22260 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22261 and warnings are not silently discarded (e.g. use -d instead of -P).
22262
22263 2011-05-06 Glenn Morris <rgm@gnu.org>
22264
22265 * calendar/appt.el (appt-message-warning-time): Doc fix.
22266 (appt-warning-time-regexp): New option.
22267 (appt-make-list): Respect appt-message-warning-time.
22268
22269 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22270 New options.
22271 (diary-add-to-list): Strip comments from the displayed string.
22272 (diary-mode): Set comment-start and comment-end.
22273
22274 * vc/diff-mode.el (smerge-refine-subst): Declare.
22275 (diff-refine-hunk): Don't require smerge-mode when compiling.
22276
22277 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22278
22279 * simple.el (list-processes): Return nil as the docstring says.
22280
22281 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22282
22283 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22284 to "".
22285 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22286 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22287 determining of binary transfer. (Bug#7383)
22288
22289 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22290
22291 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22292 Fix port computation bug. (Bug#8618)
22293
22294 2011-05-05 Glenn Morris <rgm@gnu.org>
22295
22296 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22297
22298 * simple.el (shell-dynamic-complete-functions)
22299 (comint-dynamic-complete-functions): Declare.
22300
22301 * net/network-stream.el (gnutls-negotiate):
22302 * simple.el (tabulated-list-print): Fix declarations.
22303
22304 * progmodes/gud.el (syntax-symbol, syntax-point):
22305 Remove unnecessary and incorrect declarations.
22306
22307 * emacs-lisp/check-declare.el (check-declare-scan):
22308 Handle byte-compile-initial-macro-environment in bytecomp.el.
22309
22310 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22311
22312 Fix earlier half-done eieio-defmethod change (bug#8338).
22313 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22314 Streamline and change calling convention.
22315 (defmethod): Adjust accordingly and simplify.
22316 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22317 new eieio--defmethod.
22318 (slot-boundp): Minor CSE simplification.
22319
22320 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22321
22322 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22323 (glasses-make-readable): Use glasses-separate-capital-groups.
22324
22325 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22326
22327 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22328 (warning-series): Doc fix.
22329 (display-warning): Don't try to create the buffer if we just found it.
22330
22331 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22332
22333 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22334 (autoload-find-generated-file): New function.
22335 (generate-file-autoloads): Bind generated-autoload-file to
22336 buffer-file-name.
22337 (update-file-autoloads, update-directory-autoloads):
22338 Use autoload-find-generated-file. If called interactively, prompt for
22339 output file (Bug#7989).
22340 (batch-update-autoloads): Doc fix.
22341
22342 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22343
22344 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22345
22346 2011-05-04 Glenn Morris <rgm@gnu.org>
22347
22348 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22349 function, so it follows changes in calendar-date-style.
22350 (diary-fancy-date-matcher): New function.
22351 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22352 (diary-fancy-font-lock-fontify-region-function):
22353 Use diary-fancy-date-pattern as a function.
22354
22355 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22356 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22357
22358 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22359
22360 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22361 instead of positional arguments. Allow :keylist and :crlfiles
22362 arguments.
22363 (open-gnutls-stream): Call it.
22364
22365 * net/network-stream.el (network-stream-open-starttls): Adjust to
22366 call `gnutls-negotiate' with :process and :hostname arguments.
22367
22368 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22369
22370 * minibuffer.el (completion--message): New function.
22371 (completion--do-completion, minibuffer-complete)
22372 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22373 (completion--do-completion): Don't ignore completion-auto-help when in
22374 icomplete-mode.
22375
22376 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22377 internal encoding (e.g. tibetan zero is not whitespace).
22378 (global-whitespace-mode): Prefer save-current-buffer.
22379 (whitespace-trailing-regexp): Remove useless save-match-data.
22380 (whitespace-empty-at-bob-regexp): Minor simplification.
22381
22382 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22383
22384 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22385
22386 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22387
22388 * textmodes/ispell.el (ispell-add-per-file-word-list):
22389 Use `concat' to create string for insertion.
22390
22391 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22392
22393 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22394 Avoid open-line which runs post-self-insert-hook.
22395 (bibtex-fill-entry): Remove unused `end' var.
22396
22397 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22398
22399 * textmodes/ispell.el (ispell-add-per-file-word-list):
22400 Protect against `nil' value of `comment-start' (Bug#8579).
22401
22402 2011-05-03 Leo Liu <sdl.web@gmail.com>
22403
22404 * isearch.el (isearch-yank-pop): New command.
22405 (isearch-mode-map): Bind it to `M-y'.
22406 (isearch-forward): Mention it.
22407
22408 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22409
22410 * simple.el (minibuffer-complete-shell-command): Remove.
22411 (minibuffer-local-shell-command-map): Use completion-at-point.
22412 (read-shell-command): Setup completion vars here instead.
22413 (read-expression-map): Bind TAB to symbol completion.
22414
22415 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22416 error directly rather via storing it into `results'.
22417
22418 2011-05-02 Leo Liu <sdl.web@gmail.com>
22419
22420 * vc/diff.el: Fix description.
22421
22422 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22423
22424 * server.el (server-eval-at): New function.
22425
22426 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22427
22428 * net/network-stream.el (open-network-stream): Take a :nowait
22429 parameter and pass it on to `make-network-process'.
22430 (network-stream-open-plain): Ditto.
22431
22432 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22433
22434 * faces.el (face-spec-set-match-display): Don't match toolkit
22435 options on terminal frames.
22436
22437 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22438
22439 * progmodes/pascal.el: Use lexical binding.
22440 (pascal-mode-map): Remove author preferences.
22441
22442 * pcomplete.el (pcomplete-std-complete): Don't abuse
22443 completion-at-point.
22444
22445 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22446
22447 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22448 removing code that has been dead since 1991 or so.
22449
22450 * startup.el (command-line): When warning about "_emacs", use a
22451 delayed warning to allow the user to filter it out.
22452
22453 2011-04-28 Deniz Dogan <deniz@dogan.se>
22454
22455 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22456 user has not joined.
22457
22458 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22459
22460 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22461 aren't any completions at point.
22462
22463 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22464
22465 * subr.el (display-delayed-warnings): New function.
22466 (delayed-warnings-hook): New variable.
22467
22468 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22469
22470 * minibuffer.el (completion-at-point, completion-help-at-point):
22471 Don't presume that a given completion-at-point-function will always
22472 use the same calling convention.
22473
22474 * pcomplete.el (pcomplete-completions-at-point):
22475 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22476 pcomplete-seen is non-nil.
22477 (pcomplete-comint-setup): Also recognize the new comint/shell
22478 completion functions.
22479 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22480 pcomplete-seen is non-nil.
22481
22482 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22483
22484 * calendar/icalendar.el (diary-lib): Add require statement.
22485 (icalendar--create-uid): Read out a uid from a text-property on
22486 the first character in the entry. This allows for code to add its
22487 own uid to the entry.
22488 (icalendar--convert-float-to-ical): Add export of
22489 `diary-float'-entries save for those with the optional DAY
22490 argument.
22491
22492 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22493
22494 * subr.el (shell-quote-argument): Use alternate escaping strategy
22495 when we spot a variable reference in a string.
22496
22497 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22498
22499 * cus-start.el (all): Define customization for debug-on-event.
22500
22501 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22502
22503 * subr.el (shell-quote-argument): Escape correctly under Windows.
22504
22505 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22506
22507 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22508
22509 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22510
22511 * net/tramp.el (tramp-process-actions): Add POS argument.
22512 Delete region between POS and (pos).
22513
22514 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22515 Use `nil' position in `tramp-process-actions' call.
22516 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22517
22518 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22519 position in `tramp-process-actions' call.
22520
22521 * net/trampver.el: Update release number.
22522
22523 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22524
22525 * custom.el (defcustom): Obey lexical-binding.
22526
22527 Fix octave-inf completion problems reported by Alexander Klimov.
22528 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22529 Inherit from octave-mode-syntax-table.
22530 (inferior-octave-mode): Set info-lookup-mode.
22531 (inferior-octave-completion-at-point): New function.
22532 (inferior-octave-complete): Use it and completion-in-region.
22533 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22534 comint-filename-completion.
22535 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22536 symbol elements which shouldn't be word elements.
22537 (octave-font-lock-keywords, octave-beginning-of-defun)
22538 (octave-function-header-regexp): Adjust regexps accordingly.
22539 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22540
22541 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22542
22543 * net/gnutls.el (gnutls-errorp): Declare before first use.
22544
22545 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22546
22547 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22548 verify-error, and verify-hostname-error parameters. Check whether
22549 default trustfile exists before going to use it. Add missing
22550 argument to gnutls-message-maybe call. Return value.
22551 Reported by Claudio Bley <claudio.bley@gmail.com>.
22552 (open-gnutls-stream): Add usage example.
22553
22554 * net/network-stream.el (network-stream-open-starttls): Give host
22555 parameter to `gnutls-negotiate'.
22556 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22557 * subr.el (shell-quote-argument): Escape correctly under Windows.
22558
22559 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22560
22561 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22562 Use correct match group (bug#8438).
22563
22564 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22565
22566 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22567 (package-menu--generate): New arg specifying packages to show.
22568 (package-menu-refresh, package-menu-execute, list-packages):
22569 Callers changed.
22570 (package-show-package-list): New function, replacing deleted
22571 package--list-packages (renamed because it is non-internal).
22572
22573 * finder.el (finder-list-matches): Use package-show-package-list
22574 instead of deleted package--list-packages.
22575
22576 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22577 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22578 (vc-annotate-mode-map): Bind it to RET.
22579
22580 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22581
22582 * progmodes/etags.el (next-file): Don't use set-buffer to change
22583 buffers (Bug#8478).
22584
22585 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22586
22587 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22588
22589 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22590 (apropos-accumulator): Doc fix.
22591 (apropos-function, apropos-macro, apropos-command)
22592 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22593 (apropos-plist): Add face property.
22594 (apropos-symbols-internal): Fix indentation.
22595 (apropos-print): Simplify help, and recognize apropos-multi-type.
22596 (apropos-print-doc): Use button-type-get to extract the button's
22597 face property. Fill docstring (Bug#8352).
22598
22599 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22600
22601 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22602
22603 * play/mpuz.el (mpuz-silent): Doc fix.
22604 (mpuz-mode-map): Use mapc.
22605 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22606 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22607 Fix typos in docstrings.
22608
22609 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22610 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22611
22612 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22613
22614 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22615
22616 * minibuffer.el (completion--do-completion): Avoid the "Next char
22617 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22618
22619 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22620 mouse-2 into unread-command-events, it is interpreted correctly.
22621
22622 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22623 (image-toggle-display): Doc fix.
22624
22625 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22626
22627 * textmodes/page.el (what-page): Use line-number-at-pos to
22628 calculate line number (Bug#6825).
22629
22630 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22631
22632 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22633 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22634 Pass argument NO-DEFAULT to `find-tag-interactive'.
22635
22636 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22637
22638 Lexical-binding cleanup.
22639
22640 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22641 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22642 * progmodes/ada-prj.el (ada-prj-initialize-values)
22643 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22644 (ada-prj-show-value):
22645 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22646 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22647 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22648 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22649 * progmodes/bug-reference.el (bug-reference-push-button):
22650 * progmodes/fortran.el (fortran-line-length):
22651 * progmodes/glasses.el (glasses-change):
22652 * progmodes/octave-mod.el (octave-fill-paragraph):
22653 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22654 (python-pdbtrack-grub-for-buffer, python-sentinel):
22655 * progmodes/sql.el (sql-save-connection):
22656 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22657 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22658 Mark unused parameters.
22659
22660 * progmodes/compile.el (compilation--flush-directory-cache)
22661 (compilation--flush-parse, compile-internal): Mark unused parameters.
22662 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22663 (compilation-next-error-function): Remove unused variable `timestamp'.
22664
22665 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22666 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22667
22668 * progmodes/dcl-mode.el (dcl-end-of-command):
22669 Remove unused variable `start'.
22670 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22671 (dcl-option-value-basic, dcl-option-value-offset)
22672 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22673 Mark unused parameters.
22674 (dcl-save-local-variable): Remove unused variable `val'.
22675 (mode): Declare.
22676
22677 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22678 Mark unused parameters.
22679 (delphi-ignore-changes): Move before first use.
22680 (delphi-charset-token-at): Remove unused variable `start'.
22681 (delphi-else-start): Remove unused variable `if-count'.
22682 (delphi-comment-block-start, delphi-comment-block-end):
22683 Remove unused variable `kind'.
22684 (delphi-indent-line): Remove unused variable `new-point'.
22685
22686 * progmodes/ebrowse.el (ebrowse-files-list)
22687 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22688 Mark unused parameters. Don't quote `lambda'.
22689 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22690 Don't quote `lambda'.
22691 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22692 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22693 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22694 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22695 Use `ignore-errors'.
22696 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22697 (ebrowse-view/find-file-and-search-pattern)
22698 (ebrowse-view/find-member-declaration/definition):
22699 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22700 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22701 Rename parameter PREFIX-ARG to PREFIX.
22702 (ebrowse-tags-read-name): Remove unused variables `start' and
22703 `member-info'.
22704 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22705 to `tags-file'.
22706
22707 * progmodes/etags.el (local-find-tag-hook): Declare.
22708 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22709 Mark unused parameters.
22710
22711 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22712 (executable-interpret): Mark unused parameter.
22713
22714 * progmodes/flymake.el (flymake-process-sentinel)
22715 (flymake-after-change-function)
22716 (flymake-create-temp-with-folder-structure)
22717 (flymake-get-include-dirs-dot): Mark unused parameters.
22718 (flymake-safe-delete-directory): Remove unused variable `err'.
22719
22720 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22721 (speedbar-timer-fn, speedbar-line-text)
22722 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22723 (speedbar-center-buffer-smartly): Declare functions.
22724 (gdb-find-watch-expression): Remove unused variable `array'.
22725 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22726 (gdb-starting): Mark unused parameters.
22727 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22728 (gdb-table-string): Remove unused variable `res'.
22729 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22730 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22731 (gdb-display-buffer): Remove unused variable `cur-size'.
22732
22733 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22734 allow lexical-binding compilation.
22735 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22736 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22737 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22738 Mark unused parameters.
22739 (gud-gdb-marker-filter): Remove unused variable `match'.
22740 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22741 lambda expressions and funcall them, instead of using `fset'.
22742
22743 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22744 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22745
22746 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22747 variable `header-beg'; use `let'.
22748
22749 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22750 `restart', `last-sexp' and `at-do'.
22751
22752 * progmodes/js.el (js--debug): Mark unused parameter.
22753 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22754 (js--splice-into-items): Remove unused variable `item'.
22755 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22756
22757 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22758 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22759 (makefile-complete): Remove unused variable `try'.
22760 (makefile-fill-paragraph, makefile-match-function-end):
22761 Mark unused parameters.
22762
22763 * progmodes/octave-inf.el (inferior-octave-complete):
22764 Remove unused variable `proc'.
22765 (inferior-octave-output-digest): Mark unused parameter.
22766
22767 * progmodes/perl-mode.el (perl-calculate-indent):
22768 Remove unused variable `err'.
22769
22770 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22771 (prolog-indent-line): Mark unused parameters.
22772 (prolog-indent-line): Remove unused variable `beg'.
22773
22774 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22775 (reporter-dont-compact-list): Declare.
22776
22777 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22778 Remove unused variable `char'.
22779 (sh-debug): Mark unused parameter.
22780 (sh-get-indent-info): Remove unused variable `start'.
22781 (sh-calculate-indent): Remove unused variable `var'.
22782
22783 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22784 (simula-electric-keyword): Remove unused variable `null'.
22785 (simula-search-backward, simula-search-forward): Remove unused
22786 variables `begin' and `end'.
22787
22788 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22789 Remove unused variable `pos'.
22790 (vera-electric-tab, vera-comment-uncomment-region):
22791 Mark unused parameters.
22792 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22793
22794 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
22795
22796 * emacs-lisp/package.el (package--builtins, package-alist)
22797 (package-load-descriptor, package-built-in-p, package-activate)
22798 (define-package, package-installed-p)
22799 (package-compute-transaction, package-buffer-info)
22800 (package--push): Doc fix. Distinguish more clearly between
22801 version strings and version lists.
22802
22803 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
22804
22805 Lexical-binding cleanup.
22806
22807 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22808 (5x5-make-mutate-best):
22809 * play/fortune.el (fortune-in-buffer):
22810 * play/gomoku.el (gomoku-init-display):
22811 * play/solitaire.el (solitaire, solitaire-do-check):
22812 * play/tetris.el (tetris-default-update-speed-function):
22813 Mark unused parameters.
22814
22815 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22816 (bubbles--shift): Remove unused variable `char-org'.
22817 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22818 (bubbles--show-images): Remove unused variable `char'.
22819
22820 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22821 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22822 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22823 (decipher-analyze-buffer): Use ?\s.
22824 (decipher-make-checkpoint): Remove unused variable `mapping'.
22825
22826 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22827
22828 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22829 Remove unused variable `result'; use `let'.
22830
22831 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22832 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22833 (gametree-children-shown-p, gametree-compute-reduced-score):
22834 Use `ignore-errors'.
22835
22836 * play/handwrite.el (ps-lpr-switches): Declare.
22837 (handwrite): Remove unused variables `pmin' and `lastp'.
22838
22839 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22840
22841 * play/landmark.el (landmark-init-display)
22842 (landmark-update-naught-weights): Mark unused parameters.
22843 (landmark-y): Remove unused variable `noise'. Simplify.
22844 (landmark-human-plays): Remove unused variable `score'.
22845
22846 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22847 (mpuz-try-proposal): Remove unused variable `game'.
22848
22849 * play/zone.el (life-patterns): Declare.
22850
22851 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
22852
22853 * vc/vc.el (ediff-vc-internal): Declare function.
22854
22855 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22856
22857 * shell.el: Use lexical-binding and std completion UI.
22858 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22859 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22860 comint-preoutput-filter-functions rather than on
22861 comint-output-filter-functions.
22862 (shell-command-completion, shell--command-completion-data)
22863 (shell-filename-completion, shell-environment-variable-completion)
22864 (shell-c-a-p-replace-by-expanded-directory): New functions.
22865 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22866 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22867 (shell-dynamic-complete-environment-variable): Use them.
22868 (shell-dynamic-complete-as-environment-variable)
22869 (shell-dynamic-complete-as-command): Remove.
22870 (shell-match-partial-variable): Match past point.
22871 * comint.el: Clean up use of completion-at-point-functions.
22872 (comint-completion-at-point): New function.
22873 (comint-mode): Use it completion-at-point-functions.
22874 (comint-dynamic-complete): Make it obsolete.
22875 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22876 (comint-c-a-p-replace-by-expanded-history): New function.
22877 (comint-dynamic-complete-functions)
22878 (comint-replace-by-expanded-history): Use it.
22879 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22880 termination strings. Try harder to avoid second try-completion.
22881 (completion-in-region-mode-map): Disable bindings that don't work yet.
22882
22883 * comint.el: Use lexical-binding. Require CL.
22884 (comint-dynamic-complete-functions): Use comint-filename-completion.
22885 (comint-completion-addsuffix): Tweak custom type.
22886 (comint-filename-completion, comint--common-suffix)
22887 (comint--common-quoted-suffix, comint--table-subvert)
22888 (comint--complete-file-name-data): New functions.
22889 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22890 (comint-dynamic-list-filename-completions): Use them.
22891 (comint-dynamic-simple-complete): Make obsolete.
22892
22893 * minibuffer.el (completion-in-region-mode):
22894 Keep completion-in-region-mode--predicate global.
22895 (completion-in-region--postch):
22896 Assume completion-in-region-mode--predicate is not null.
22897
22898 * progmodes/flymake.el (flymake-start-syntax-check-process):
22899 Obey `dir'. Simplify.
22900
22901 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22902 we're in VC after all.
22903
22904 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22905
22906 * vc/vc.el (vc-diff-build-argument-list-internal)
22907 (vc-version-ediff, vc-ediff): New commands.
22908 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22909
22910 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22911
22912 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22913 add sanity check.
22914
22915 * obsolete/erc-hecomplete.el: Make obsolete.
22916 * obsolete/: Standardize obsolescence info in the header.
22917
22918 2011-04-20 Glenn Morris <rgm@gnu.org>
22919
22920 * calendar/solar.el (solar-horizontal-coordinates):
22921 Use the longitude argument rather than `calendar-longitude'.
22922 (solar-date-next-longitude): Remove unused locals.
22923
22924 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22925
22926 * whitespace.el: New version 13.2.1.
22927
22928 2011-04-20 felix <EmacsWiki> (tiny change)
22929
22930 * whitespace.el (global-whitespace-mode): Keep highlight when
22931 switching between major modes on a file.
22932
22933 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22934
22935 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22936 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22937 multi-line comments as well.
22938
22939 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
22940
22941 Lexical-binding cleanup.
22942
22943 * arc-mode.el (archive-mode-revert):
22944 * cmuscheme.el (scheme-interactively-start-process):
22945 * custom.el (custom-initialize-delay):
22946 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22947 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22948 * emacs-lock.el (emacs-lock-clear-sentinel):
22949 * ezimage.el (defezimage):
22950 * follow.el (follow-avoid-tail-recenter):
22951 * fringe.el (set-fringe-mode-1):
22952 * generic-x.el (bat-generic-mode-compile):
22953 * help-mode.el (help-info-variable, help-do-xref)
22954 (help-mode-revert-buffer):
22955 * help.el (view-emacs-todo):
22956 * iswitchb.el (iswitchb-completion-help):
22957 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22958 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22959 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22960 * locate.el (locate-update):
22961 * longlines.el (longlines-encode-region)
22962 (longlines-after-change-function):
22963 * outline.el (outline-isearch-open-invisible):
22964 * ps-def.el (declare-function, charset-dimension, char-width)
22965 (encode-char):
22966 * ps-mule.el (ps-mule-plot-string):
22967 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22968 (recentf-edit-list-select, recentf-edit-list-validate)
22969 (recentf-open-files-action):
22970 * rect.el (delete-whitespace-rectangle-line)
22971 (rectangle-number-line-callback):
22972 * register.el (window-configuration-to-register)
22973 (frame-configuration-to-register):
22974 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22975 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22976 (xselect-convert-to-targets, xselect-convert-to-delete)
22977 (xselect-convert-to-filename, xselect-convert-to-charpos)
22978 (xselect-convert-to-lineno, xselect-convert-to-colno)
22979 (xselect-convert-to-os, xselect-convert-to-host)
22980 (xselect-convert-to-user, xselect-convert-to-class)
22981 (xselect-convert-to-name, xselect-convert-to-integer)
22982 (xselect-convert-to-atom, xselect-convert-to-identity):
22983 * subr.el (declare, ignore, process-kill-without-query)
22984 (text-clone-maintain):
22985 * terminal.el (te-get-char, te-tic-sentinel):
22986 * tool-bar.el (tool-bar-make-keymap):
22987 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22988 * type-break.el (type-break-mode, type-break-noninteractive-query):
22989 * view.el (View-back-to-mark):
22990 * wid-browse.el (widget-browse-action, widget-browse-widget)
22991 (widget-browse-widgets, widget-browse-sexp):
22992 * widget.el (define-widget-keywords):
22993 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22994 Mark unused parameters.
22995
22996 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22997 (align-areas): Remove unused variable `look'.
22998 (align-region): Remove unused variables `real-end' and `pos-list'.
22999
23000 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23001
23002 * bindings.el (mode-line-modified, mode-line-remote):
23003 Mark unused parameters.
23004 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23005
23006 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23007 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23008
23009 * comint.el (comint-history-isearch-pop-state)
23010 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23011 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23012 (comint-substitute-in-file-name): Doc fix.
23013
23014 * completion.el (cmpl-statistics-block): Mark unused parameter.
23015 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23016 (save-completions-to-file, load-completions-from-file):
23017 Remove unused local variable `e'.
23018
23019 * composite.el (compose-chars): Remove unused variable `len'.
23020 (lgstring-insert-glyph): Remove unused variable `g'.
23021 (compose-glyph-string): Remove unused variables `ascent',
23022 `descent', `lbearing' and `rbearing'.
23023 (compose-glyph-string-relative): Remove unused variables
23024 `lbearing', `rbearing' and `wadjust'.
23025 (compose-gstring-for-graphic): Remove unused variables `header',
23026 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23027 (compose-gstring-for-terminal): Remove unused variables `header'
23028 and `nchars'. Use `let', not `let*'.
23029
23030 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23031 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23032 (Custom-buffer-done, custom-buffer-create-internal)
23033 (custom-browse-visibility-action, custom-browse-group-tag-action)
23034 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23035 (widget-magic-mouse-down-action, custom-toggle-parent)
23036 (custom-add-parent-links, custom-toggle-hide-variable)
23037 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23038 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23039 (custom-face-menu-create, custom-variable-menu-create, get)
23040 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23041 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23042 (customize-apropos): Remove unused variable `tests'.
23043 (custom-group-value-create): Remove unused variable `hidden-p'.
23044 (sort-fold-case): Declare.
23045
23046 * cus-theme.el (custom-reset-standard-faces-list)
23047 (custom-reset-standard-variables-list): Declare.
23048 (customize-create-theme, custom-theme-revert, custom-theme-write)
23049 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23050 Mark unused parameters.
23051
23052 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23053
23054 * delim-col.el (delimit-columns-max): Move defvar before first use.
23055
23056 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23057 (describe-char): Don't quote `lambda'. Mark unused parameter.
23058
23059 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23060 (auto-insert): Declare.
23061 (desktop-restore-file-buffer): Rename desktop-* parameters;
23062 mark unused ones.
23063 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23064 (desktop-buffer): Rename desktop-* parameters.
23065
23066 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23067 (dframe-reposition-frame-xemacs, dframe-help-echo)
23068 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23069 Mark unused parameters.
23070
23071 * dired-aux.el (backup-extract-version-start, overwrite-query)
23072 (overwrite-backup-query, rename-regexp-query)
23073 (rename-non-directory-query): Declare.
23074 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23075 (dired-add-entry): Remove unused variable `orig-file-name'.
23076 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23077 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23078 `dired-copy-preserve-time' directly.
23079 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23080 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23081
23082 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23083 (dired-virtual-revert, dired-make-relative-symlink):
23084 Mark unused parameters.
23085 (manual-program): Declare.
23086 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23087 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23088 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23089
23090 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23091
23092 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23093
23094 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23095 Declare.
23096
23097 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23098
23099 * electric.el (Electric-command-loop): Rename parameter
23100 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23101
23102 * expand.el (expand-in-literal): Remove unused variable `here'.
23103
23104 * facemenu.el (facemenu-add-new-color):
23105 Remove unused variable `docstring'.
23106
23107 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23108 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23109 (face-attr-construct): Mark unused parameter. Doc fix.
23110 (read-color): Remove unused variable `hex-string'.
23111
23112 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23113 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23114 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23115 (display-buffer-other-frame): Remove unused variable `old-window'.
23116 (kill-buffer-hook): Declare.
23117 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23118 Mark unused parameters.
23119 (after-find-file): Pass 1 to `auto-save-mode', not t.
23120
23121 * files-x.el (auto-insert): Declare.
23122 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23123
23124 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23125 variable `buf'. Mark unused parameter.
23126 (find-lisp-insert-directory): Mark unused parameter.
23127
23128 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23129 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23130 (format-common-tail): Remove, unused.
23131 (format-deannotate-region): Remove unused variable `loc'.
23132 (format-annotate-region): Remove unused variable `p'.
23133 (format-annotate-single-property-change): Remove unused variables
23134 `default' and `tail'.
23135
23136 * forms.el (read-file-filter): Declare.
23137 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23138
23139 * frame.el (frame-creation-function-alist): Mark unused parameter.
23140 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23141
23142 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23143 Remove unused parameters.
23144 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23145 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23146
23147 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23148 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23149 (hfy-prepare-tag-map): Mark unused parameters.
23150 (htmlfontify-buffer): Use `called-interactively-p'.
23151
23152 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23153 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23154 (ibuffer-do-occur): Mark unused parameters.
23155 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23156 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23157
23158 * ibuffer.el: Don't quote `lambda'.
23159 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23160 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23161 Mark unused parameters.
23162
23163 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23164 (ido-completing-read): Mark unused parameters.
23165 (ido-copy-current-word): Mark unused parameters;
23166 remove unused variable `name'.
23167 (ido-sort-merged-list): Remove unused parameter `dirs'.
23168
23169 * ielm.el (ielm-input-sender): Mark unused parameter.
23170 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23171 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23172 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23173 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23174 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23175
23176 * image-dired.el (image-dired-display-thumbs): Remove unused
23177 variables `curr-file' and `count'.
23178 (image-dired-remove-tag): Remove unused variable `start'.
23179 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23180 variable `curr-file'
23181 (image-dired-rotate-original): Remove unused variable `temp-file'.
23182 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23183 Remove unused variable `file'.
23184 (image-dired-gallery-generate): Remove unused variable `curr'.
23185 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23186
23187 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23188
23189 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23190
23191 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23192
23193 * isearch.el (minibuffer-history-symbol): Declare.
23194 (isearch-edit-string): Remove unused variable `err'.
23195 (isearch-message-prefix, isearch-message-suffix):
23196 Mark unused parameters.
23197
23198 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23199
23200 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23201
23202 * makesum.el (double-column): Remove unused variable `cnt'.
23203
23204 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23205 (ido-ignore-item-temp-list): Declare.
23206
23207 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23208 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23209 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23210 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23211 `mouse-col-delta'.
23212
23213 * mouse-sel.el (mouse-extend-internal):
23214 Remove unused variable `orig-window-frame'.
23215
23216 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23217 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23218 Move declarations before first use.
23219 (pcomplete-opt): Mark unused parameters; doc fix.
23220
23221 * proced.el (proced-revert): Mark unused parameter.
23222 (proced-send-signal): Remove unused variable `err'.
23223
23224 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23225 Rename parameter PREFIX-ARG to ARG.
23226 (ps-basic-plot-string, ps-basic-plot-whitespace):
23227 Mark unused parameters.
23228
23229 * replace.el (replace-count): Define.
23230 (occur-revert-function): Mark unused parameters.
23231 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23232 (isearch-case-fold-search, isearch-string): Declare.
23233 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23234 bind `case-fold-search'. Remove unused variables `beg' and `end',
23235 and simplify.
23236 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23237 COUNT and bind `replace-count'.
23238 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23239 to COUNT.
23240
23241 * savehist.el (print-readably, print-string-length): Declare.
23242
23243 * shadowfile.el (shadow-expand-cluster-in-file-name):
23244 Remove unused variable `cluster'.
23245 (shadow-copy-file): Remove unused variable `i'.
23246 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23247 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23248 (shadow-define-literal-group, shadow-define-regexp-group)
23249 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23250
23251 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23252 (shell): Use `called-interactively-p'.
23253 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23254
23255 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23256 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23257 (delete-backward-char): Remove unused variable `ocol'.
23258 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23259 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23260 (event-apply-hyper-modifier, event-apply-shift-modifier)
23261 (event-apply-control-modifier, event-apply-meta-modifier):
23262 Mark unused parameters.
23263 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23264 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23265
23266 * speedbar.el (speedbar-ignored-directory-expressions)
23267 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23268 (speedbar-find-file, speedbar-dir-follow)
23269 (speedbar-directory-buttons-follow, speedbar-tag-find)
23270 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23271 (speedbar-buffers-line-directory, speedbar-buffer-click):
23272 Mark unused parameters.
23273 (speedbar-tag-file): Remove unused variable `mode'.
23274 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23275
23276 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23277
23278 * talk.el (talk): Remove unused variable `display'.
23279
23280 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23281 (tar-write-region-annotate): Mark unused parameter.
23282
23283 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23284 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23285 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23286 warning by another.
23287
23288 * time-stamp.el (time-stamp-string-preprocess):
23289 Remove unused variable `require-padding'.
23290
23291 * tree-widget.el (widget-glyph-enable): Declare.
23292 (tree-widget-action): Mark unused parameter.
23293
23294 * w32-fns.el (x-get-selection): Mark unused parameter.
23295 (autoload-make-program, generated-autoload-file): Declare.
23296
23297 * wdired.el (wdired-revert): Mark unused parameters.
23298 (wdired-xcase-word): Remove unused variable `err'.
23299
23300 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23301 (whitespace-help-scroll): Remove unused variable `data-help'.
23302
23303 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23304 (widget-image-insert, widget-after-change, default)
23305 (widget-default-format-handler, widget-default-notify)
23306 (widget-default-prompt-value, widget-info-link-action)
23307 (widget-url-link-action, widget-function-link-action)
23308 (widget-variable-link-action, widget-file-link-action)
23309 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23310 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23311 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23312 (widget-insert-button-action, widget-delete-button-action, visibility)
23313 (widget-documentation-link-action, widget-documentation-string-action)
23314 (widget-const-prompt-value, widget-regexp-match, symbol)
23315 (widget-coding-system-prompt-value)
23316 (widget-key-sequence-value-to-external, sexp)
23317 (widget-sexp-value-to-internal, character, vector, cons)
23318 (widget-choice-prompt-value, widget-boolean-prompt-value)
23319 (widget-color--choose-action): Mark unused parameters.
23320 (widget-item-match-inline, widget-choice-match-inline)
23321 (widget-checklist-match, widget-checklist-match-inline)
23322 (widget-group-match): Rename parameter VALUES to VALS.
23323 (widget-field-value-set): Remove unused variable `size'.
23324 (widget-color-action): Remove unused variables `value' and `start'.
23325
23326 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23327 variable `dir'. Doc fix.
23328 (windmove-find-other-window): Don't pass it.
23329
23330 * window.el (count-windows): Mark unused parameter.
23331 (bw-adjust-window): Remove unused variable `err'.
23332
23333 * woman.el (woman-file-name): Remove unused variable `default'.
23334 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23335 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23336 (global-font-lock-mode): Declare.
23337 (woman-decode-region): Mark unused parameter.
23338 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23339
23340 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23341 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23342 (x-dnd-handle-moz-url): Remove unused variable `title'.
23343 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23344
23345 * xml.el (xml-parse-tag, xml-parse-attlist):
23346 Remove unused variable `pos'.
23347
23348 2011-04-19 Glenn Morris <rgm@gnu.org>
23349
23350 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23351 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23352 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23353 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23354 * calendar/cal-html.el (cal-html-insert-minical):
23355 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23356 (calendar-mark-date-pattern):
23357 Prefix "unused" locals.
23358
23359 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23360 optional argument `style'.
23361
23362 * calendar/appt.el (appt-make-list):
23363 * calendar/cal-china.el (calendar-chinese-date-string):
23364 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23365 (diary-hebrew-yahrzeit):
23366 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23367 * calendar/calendar.el (calendar-generate-window):
23368 * calendar/time-date.el (time-to-days):
23369 Remove unused local variables.
23370
23371 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23372
23373 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23374 glyphless-char-display table.
23375 (tabulated-list-glyphless-char-display): New var.
23376
23377 2011-04-18 Sam Steingold <sds@gnu.org>
23378
23379 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23380 to acknowledgments.
23381
23382 2011-04-17 Glenn Morris <rgm@gnu.org>
23383
23384 * calendar/diary-lib.el (diary-sexp-entry):
23385 * calendar/holidays.el (holiday-sexp):
23386 Set debug-on-error rather than the removed stack-trace-on-error.
23387
23388 2011-04-16 Glenn Morris <rgm@gnu.org>
23389
23390 * progmodes/f90.el: Use lexical-binding.
23391 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23392
23393 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23394
23395 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23396 (mail-mode): Setup mailalias completion here instead.
23397 * mail/mailalias.el: Use lexical-binding.
23398 (pattern, mailalias-done): Declare dynamic.
23399 (mail-completion-at-point-function): New function, from mail-complete.
23400 (mail-complete): Use it.
23401 (mail-completion-expand): New function.
23402 (mail-get-names): Use it.
23403 (mail-directory, mail-directory-process, mail-directory-stream):
23404 Don't use `pattern' for lexically bound arg.
23405
23406 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23407
23408 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23409 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23410 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23411
23412 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23413 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23414 (byte-interactive-p): Define them again, for use when inlining
23415 old code.
23416
23417 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23418
23419 * loadup.el: Use `string-to-number', not `string-to-int'.
23420
23421 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23422
23423 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23424 gud-gdb-complete-command.
23425 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23426 (gud-gdb-completion-at-point): New function.
23427 (gud-gdb-completions): Remove.
23428
23429 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23430
23431 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23432 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23433 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23434 whether `executable-find' is bound.
23435
23436 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23437
23438 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23439
23440 * minibuffer.el (completion-in-region-mode-predicate)
23441 (completion-in-region-mode--predicate): New vars.
23442 (completion-in-region, completion-in-region--postch)
23443 (completion-in-region-mode): Use them.
23444 (completion--capf-wrapper): Also return the hook function.
23445 (completion-at-point, completion-help-at-point):
23446 Adjust and provide a predicate.
23447
23448 Preserve arg names for advice of subr and lexical functions (bug#8457).
23449 * help-fns.el (help-function-arglist): Consolidate the subr and
23450 new-byte-code cases. Add argument `preserve-names' to extract names
23451 from the docstring when needed.
23452 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23453 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23454 (ad-arglist): Use help-function-arglist's new arg.
23455 (ad-definition-type): Use cond.
23456
23457 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23458
23459 * autorevert.el (auto-revert-handler):
23460 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23461 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23462 Don't quote lambda.
23463
23464 * image-mode.el (image-transform-set-scale):
23465 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23466
23467 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23468
23469 * net/network-stream.el (network-stream-open-starttls): Only do
23470 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23471 Upgrades via gnutls-cli are too slow to be done opportunistically.
23472
23473 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23474
23475 * dframe.el (dframe-current-frame): Remove spurious quote.
23476
23477 2011-04-12 Glenn Morris <rgm@gnu.org>
23478
23479 * calendar/cal-tex.el (cal-tex-end-document):
23480 Try to automatically use latin1 input if needed.
23481
23482 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23483 Don't try to cons a mark onto an empty element.
23484
23485 2011-04-11 Leo Liu <sdl.web@gmail.com>
23486
23487 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23488 buffers.
23489 (ido-kill-buffer-at-head): Support killing virtual buffers.
23490
23491 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23492
23493 * minibuffer.el (completion-show-inline-help): New var.
23494 (completion--do-completion, minibuffer-complete)
23495 (minibuffer-force-complete, minibuffer-complete-word):
23496 Inhibit minibuffer messages if completion-show-inline-help is nil.
23497
23498 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23499 to avoid interference from inline help (Bug#5849).
23500
23501 2011-04-10 Leo Liu <sdl.web@gmail.com>
23502
23503 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23504 Fix typo.
23505
23506 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23507
23508 * image-mode.el (image-toggle-display-image): Signal an error if
23509 not in Image mode.
23510 (image-transform-mode, image-transform-resize)
23511 (image-transform-set-rotation): Doc fix.
23512 (image-transform-set-resize): Delete.
23513 (image-transform-set-scale, image-transform-fit-to-height)
23514 (image-transform-fit-to-width): Handle image-toggle-display-image
23515 and image-transform-resize directly.
23516
23517 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23518
23519 * doc-view.el (doc-view-fit-width-to-window)
23520 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23521 New functions for fitting the shown image to the Emacs window size.
23522 (doc-view-mode-map): Add bindings for the new functions.
23523
23524 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23525
23526 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23527 Fix typo in docstring.
23528
23529 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23530
23531 * files.el (file-size-human-readable): Produce one digit after
23532 decimal, like "ls -lh" does.
23533
23534 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23535 the file size representation.
23536
23537 * simple.el (list-processes): If async subprocesses are not
23538 available, error out with a clear error message.
23539
23540 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23541
23542 * help.el (help-form-show): New function, to be called from C.
23543 Put help-form output in a buffer named differently than *Help*.
23544
23545 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23546
23547 * files.el (file-size-human-readable): New function.
23548
23549 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23550 computing the representation inline. Don't require `cl'.
23551
23552 2011-04-08 Glenn Morris <rgm@gnu.org>
23553
23554 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23555
23556 * net/browse-url.el (browse-url-firefox):
23557 Test system-type, not system-configuration.
23558
23559 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23560 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23561 Use log-edit-empty-buffer-p. (Bug#7598)
23562
23563 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23564 (rlogin-mode-map): Initialize in the defvar.
23565 (rlogin): Use ignore-errors.
23566
23567 * replace.el (occur-mode-map): Some fixes for menu items.
23568
23569 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23570
23571 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23572
23573 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23574
23575 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23576 issuing unused warnings.
23577
23578 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23579 macro directly.
23580
23581 * simple.el: Lisp reimplement of list-processes. Based on an
23582 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23583 (process-menu-mode): New major mode.
23584 (list-processes--refresh, list-processes):
23585 (process-menu-visit-buffer): New functions.
23586
23587 * files.el (save-buffers-kill-emacs): Don't assume any return
23588 value of list-processes, which is undocumented anyway.
23589
23590 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23591
23592 * emacs-lisp/tabulated-list.el: New file.
23593
23594 * emacs-lisp/package.el: Use Tabulated List mode.
23595 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23596 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23597 table format using Tabulated List mode variables.
23598 (package--push): New macro, replacing package-list-maybe-add.
23599 (package-menu--generate): Use package--push. Renamed from
23600 package--generate-package-list.
23601 (package-menu-refresh, list-packages): Use it.
23602 (package-menu--print-info): Rename from package-print-package.
23603 Return insertion data instead of inserting it directly.
23604 (package-menu-describe-package, package-menu-execute):
23605 Use tabulated-list-get-id.
23606 (package-menu-mark-delete, package-menu-mark-install)
23607 (package-menu-mark-unmark, package-menu-backup-unmark)
23608 (package-menu-mark-obsolete-for-deletion):
23609 Use tabulated-list-put-tag.
23610 (package--list-packages, package-menu-revert)
23611 (package-menu-get-package, package-menu-get-version)
23612 (package-menu-sort-by-column): Functions deleted.
23613 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23614 (package-menu--status-predicate, package-menu--version-predicate)
23615 (package-menu--name-predicate)
23616 (package-menu--description-predicate): Handle arguments in the
23617 Tabulated List format.
23618 (package-list-packages-no-fetch): Call list-packages.
23619
23620 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23621
23622 * files.el (after-find-file-from-revert-buffer): Remove variable.
23623 (after-find-file): Don't bind it.
23624 (revert-buffer-in-progress-p): New variable.
23625 (revert-buffer): Bind it.
23626 Pass nil for `after-find-file-from-revert-buffer'.
23627
23628 * saveplace.el (save-place-find-file-hook): Use new variable
23629 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23630
23631 2011-04-06 Glenn Morris <rgm@gnu.org>
23632
23633 * Makefile.in (AUTOGEN_VCS): New variable.
23634 (autoloads): Use $AUTOGEN_VCS.
23635
23636 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23637 * calendar/calendar.el (calendar-mode-map):
23638 Check for toolkit scroll bars. (Bug#8305)
23639
23640 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23641
23642 * minibuffer.el (completion-in-region--postch)
23643 (completion-in-region-mode): Remove unnecessary messages.
23644
23645 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23646
23647 * font-lock.el (font-lock-refresh-defaults):
23648 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23649 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23650
23651 * info.el (Info-directory-list, Info-read-node-name-2)
23652 (Info-split-parameter-string): Doc fixes.
23653 (Info-virtual-nodes): Reflow docstring.
23654 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23655 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23656 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23657 Fix typos in docstrings.
23658 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23659 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23660 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23661 (Info-restore-desktop-buffer): Mark unused parameters.
23662 (Info-directory-find-file, Info-directory-find-node)
23663 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23664 (Info-virtual-index-find-node, Info-apropos-find-file)
23665 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23666 Mark unused parameters; fix typos in docstrings.
23667 (Info-virtual-index): Remove unused local variable `nodename'.
23668
23669 2011-04-05 Deniz Dogan <deniz@dogan.se>
23670
23671 * net/rcirc.el: Update my e-mail address.
23672 (rcirc-mode-map): Remove M-o binding.
23673
23674 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23675
23676 * startup.el (command-line): Save the cursor's theme-face
23677 directly, instead of using face-override-spec.
23678
23679 * custom.el (load-theme): Minor optimization in assigning faces.
23680
23681 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23682
23683 * help-fns.el (describe-variable): Complete all variables having
23684 documentation, including keywords.
23685 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23686
23687 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23688
23689 Convert to lexical-binding.
23690
23691 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23692 (bs--get-marked-string, bs--get-modified-string)
23693 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23694 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23695 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23696
23697 * ehelp.el (electric-help-execute-extended)
23698 (electric-help-ctrl-x-prefix):
23699 * hexl.el (hexl-revert-buffer-function):
23700 * linum.el (linum-after-change, linum-after-scroll):
23701 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23702
23703 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23704
23705 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23706
23707 * epa-dired.el:
23708 * epa-mail.el:
23709 * epa-hook.el:
23710 * epa-file.el:
23711 * epa.el:
23712 * epg.el: Use lexical binding.
23713
23714 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23715
23716 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23717
23718 * textmodes/flyspell.el (flyspell-word): Recognize default
23719 dictionary case for flyspell-mark-duplications-exceptions.
23720 Use regexp matching for languages.
23721 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23722 default dictionary (Bug#7926).
23723
23724 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23725
23726 * emacs-lisp/package.el (package--with-work-buffer):
23727 Recognize https URLs.
23728
23729 * net/network-stream.el: Move from gnus/proto-stream.el.
23730 Change prefix to network-stream throughout.
23731 (open-protocol-stream): Merge into open-network-stream, leaving
23732 open-protocol-stream as an alias. Handle nil BUFFER args.
23733
23734 * subr.el (open-network-stream): Move to net/network-stream.el.
23735
23736 2011-04-02 Glenn Morris <rgm@gnu.org>
23737
23738 * find-dired.el (find-exec-terminator): New option.
23739 (find-ls-option): Test for -ls support.
23740 (find-ls-subdir-switches): Test for -b in find-ls-option.
23741 (find-dired, find-grep-dired): Doc fixes.
23742 (find-dired): Use find-exec-terminator.
23743
23744 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23745 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23746 (find-name-arg): Remove purecopy.
23747
23748 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23749 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23750 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23751 accordingly. Don't add the null-device if not needed.
23752
23753 * files.el (save-some-buffers): Doc fix.
23754
23755 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23756
23757 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23758
23759 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23760
23761 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23762 Use `dolist' rather than `mapcar'.
23763
23764 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23765
23766 Add lexical binding.
23767
23768 * subr.el (apply-partially): Use new closures rather than CL.
23769 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23770 (dolist, dotimes): Use slightly different expansion for lexical code.
23771 (functionp): Move to C.
23772 (letrec): New macro.
23773 (with-wrapper-hook): Use it and apply-partially instead of CL.
23774 (eval-after-load): Preserve lexical-binding.
23775 (save-window-excursion, with-output-to-temp-buffer): Turn them
23776 into macros.
23777
23778 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23779
23780 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23781 than the arglist.
23782 (help-add-fundoc-usage): Don't add `Not documented'.
23783 (help-function-arglist): Handle closures, subroutines, and new
23784 byte-code-functions.
23785 (help-make-usage): Remove leading underscores.
23786 (describe-function-1): Handle closures.
23787 (describe-variable): Use special-variable-p for completion.
23788
23789 * files.el (lexical-binding): Declare safe.
23790
23791 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23792 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23793 (pcase): Add `let' pattern.
23794 Change memoization so it actually works.
23795 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23796 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23797 <let>: New case.
23798
23799 * emacs-lisp/macroexp.el: Use lexical binding.
23800 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23801 Don't convert ' to #' without checking that it's indeed quoting
23802 a lambda.
23803
23804 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23805 Use eval-sexp-add-defvars.
23806 (eval-sexp-add-defvars): New fun.
23807
23808 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23809
23810 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23811 Don't autoload.
23812 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23813 than the internal `byte-compile-lambda'.
23814 (defmethod): Don't hide code under quotes.
23815 (eieio-defmethod): New `code' argument.
23816
23817 * emacs-lisp/eieio-comp.el: Remove.
23818
23819 * emacs-lisp/edebug.el (edebug-eval-defun)
23820 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23821 (edebug-toggle): Avoid `eval'.
23822
23823 * emacs-lisp/disass.el (disassemble-internal): Handle new
23824 `closure' objects.
23825 (disassemble-1): Handle new byte codes.
23826
23827 * emacs-lisp/cl.el (pushnew): Silence warning.
23828
23829 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23830 (cl-byte-compile-throw): Remove.
23831 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23832
23833 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23834 closures.
23835
23836 * emacs-lisp/cconv.el: New file.
23837
23838 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23839 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23840 (byte-compile-initial-macro-environment):
23841 Handle declare-function here.
23842 (byte-compile--lexical-environment): New var.
23843 (byte-stack-ref, byte-stack-set, byte-discardN)
23844 (byte-discardN-preserve-tos): New lap codes.
23845 (byte-interactive-p): Don't use any more.
23846 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23847 New macros.
23848 (byte-compile-lapcode): Use them and handle new lap codes.
23849 (byte-compile-obsolete): Remove.
23850 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23851 (byte-compile-arglist-warn): Check late def of inlinable funs.
23852 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23853 since they should have been expanded by now.
23854 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23855 (byte-compile-from-buffer): Remove unused second arg.
23856 (byte-compile-preprocess): New function.
23857 (byte-compile-toplevel-file-form): New function to distinguish
23858 file-form calls from outside from file-form calls from hunk-handlers.
23859 (byte-compile-file-form): Simplify.
23860 (byte-compile-file-form-defsubst): Remove.
23861 (byte-compile-file-form-defmumble): Simplify now that
23862 byte-compile-lambda always returns a byte-code-function.
23863 (byte-compile): Preprocess.
23864 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23865 Remove, not used any more.
23866 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23867 (byte-compile-make-args-desc): New funs.
23868 (byte-compile-lambda): Handle lexical functions. Always return
23869 a byte-code-function.
23870 (byte-compile-reserved-constants): New var, to make up room for
23871 closed-over variables.
23872 (byte-compile-constants-vector): Obey it.
23873 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23874 (byte-compile-macroexpand-declare-function): New function.
23875 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23876 byte-code-functions.
23877 (byte-compile-form): Check obsolescence here.
23878 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23879 (byte-compile-variable-ref): Remove.
23880 (byte-compile-dynamic-variable-op): New fun.
23881 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23882 (byte-compile-variable-set): New funs.
23883 (byte-compile-discard): Add 2 args.
23884 (byte-compile-stack-ref, byte-compile-stack-set)
23885 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23886 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23887 macroexpand-all instead.
23888 (byte-compile-quote-form): Remove.
23889 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23890 (byte-compile-bind, byte-compile-unbind): New funs.
23891 (byte-compile-let): Handle let* and lexical binding.
23892 (byte-compile-let*): Remove.
23893 (byte-compile-catch, byte-compile-unwind-protect)
23894 (byte-compile-track-mouse, byte-compile-condition-case):
23895 Handle a new :fun-body form, used for lexical scoping.
23896 (byte-compile-save-window-excursion)
23897 (byte-compile-with-output-to-temp-buffer): Remove.
23898 (byte-compile-defun): Simplify.
23899 (byte-compile-stack-adjustment): New fun.
23900 (byte-compile-out): Use it.
23901 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23902
23903 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23904 handler any more.
23905
23906 * emacs-lisp/byte-opt.el: Use lexical binding.
23907 (byte-inline-lapcode): Remove (to bytecomp).
23908 (byte-compile-inline-expand): Pay attention to inlining to/from
23909 lexically bound code.
23910 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23911 any more.
23912 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23913 any more and don't call compiler-macros.
23914 (byte-compile-splice-in-already-compiled-code): Remove.
23915 (byte-code): Don't inline any more.
23916 (disassemble-offset): Receive `bytes' as argument rather than via
23917 dynamic scoping.
23918 (byte-compile-tag-number): Declare before first use.
23919 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23920 `return' even if make-spliceable.
23921 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23922 obsolete interactive-p.
23923 (byte-optimize-lapcode): Optimize new lap-codes.
23924 Don't trip up on new form of `byte-constant' lap code.
23925
23926 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23927
23928 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23929
23930 * custom.el (custom-initialize-default, custom-declare-variable):
23931 Use `defvar'.
23932
23933 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23934 New variables.
23935 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23936 (COMPILE_FIRST): Add macroexp and cconv.
23937 * makefile.w32-in: Mirror changes in Makefile.in.
23938
23939 * vc/cvs-status.el:
23940 * vc/diff-mode.el:
23941 * vc/log-edit.el:
23942 * vc/log-view.el:
23943 * vc/smerge-mode.el:
23944 * textmodes/bibtex-style.el:
23945 * textmodes/css-mode.el:
23946 * startup.el:
23947 * uniquify.el:
23948 * minibuffer.el:
23949 * newcomment.el:
23950 * reveal.el:
23951 * server.el:
23952 * mpc.el:
23953 * emacs-lisp/smie.el:
23954 * doc-view.el:
23955 * dired.el:
23956 * abbrev.el: Use lexical binding.
23957
23958 2011-04-01 Eli Zaretskii <eliz@gnu.org>
23959
23960 * info.el (info-display-manual): New function.
23961
23962 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23963
23964 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23965
23966 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23967
23968 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
23969 an entry for that server in rcirc-authinfo. (Bug#8385)
23970
23971 2011-03-31 Glenn Morris <rgm@gnu.org>
23972
23973 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23974
23975 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23976
23977 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23978
23979 * progmodes/python.el (python-default-interpreter)
23980 (python-python-command-args, python-jython-command-args)
23981 (python-which-shell, python-which-args, python-which-bufname)
23982 (python-file-queue, python-comint-output-filter-function)
23983 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23984 variables and functions.
23985
23986 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23987
23988 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23989 (completion-in-region-mode): New minor mode.
23990 (completion-in-region): Use it.
23991 (completion-in-region--data, completion-in-region-mode-map): New vars.
23992 (completion-in-region--postch): New function.
23993 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23994 New vars.
23995 (completion--capf-wrapper): New function.
23996 (completion-at-point): Use it to track well-behavedness of
23997 hook functions.
23998 (completion-help-at-point): New command.
23999
24000 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24001
24002 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24003 syntax class to search for whitespace on a single line
24004 (Message-ID: <4D938140.4030905@redhat.com>).
24005
24006 2011-03-30 Leo Liu <sdl.web@gmail.com>
24007
24008 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24009 New commands.
24010 (edit-abbrevs-map): Bind them here.
24011 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24012
24013 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24014
24015 * allout.el (allout-hide-by-annotation, allout-flag-region):
24016 Reduce possibility of overlay leakage by making them volatile.
24017
24018 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24019 hash is not shared between buffers. Mode initialization is
24020 responsible for giving it a useful starting value.
24021 (allout-item-span): Reduce possibility of overlay leakage by
24022 making them volatile.
24023 (allout-widgets-count-buttons-in-region): Add diagnostic function
24024 for tracking down button overlay leaks.
24025
24026 2011-03-29 Leo Liu <sdl.web@gmail.com>
24027
24028 * ido.el (ido-read-internal): Use the default history var
24029 minibuffer-history if no HISTORY is specified.
24030
24031 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24032
24033 * net/imap.el (imap-shell-open, imap-process-connection-type):
24034 Use imap-process-connection-type for 'shell' streams as well as
24035 Kerberos, SSL, other subprocesses.
24036
24037 2011-03-28 Leo Liu <sdl.web@gmail.com>
24038
24039 * abbrev.el (abbrev-table-empty-p): New function.
24040 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24041 nonempty ones. (Bug#5937)
24042
24043 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24044
24045 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24046
24047 2011-03-27 Leo Liu <sdl.web@gmail.com>
24048
24049 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24050 for foreground and background colors.
24051 (ansi-color-make-color-map): Adapt.
24052
24053 2011-03-25 Leo Liu <sdl.web@gmail.com>
24054
24055 * midnight.el (midnight-time-float): Remove. Note it calculates
24056 the microsecond component incorrectly and seconds-to-time does the
24057 same job.
24058 Remove redundant (require 'timer).
24059
24060 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24061 (ido-completions): Remove unused arguments. (Bug#8329)
24062
24063 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24064
24065 * minibuffer.el (completion--flush-all-sorted-completions):
24066 Remove itself from hook.
24067 (completion-at-point): Let the functions perform the completion
24068 immediately and return nil or t.
24069 * comint.el (comint-dynamic-complete-functions): Now identical to
24070 completion-at-point-functions.
24071 (comint-dynamic-list-input-ring): Remove unused var `index'.
24072 (comint--match-partial-filename, comint--unquote&expand-filename):
24073 New funs, split from comint-match-partial-filename.
24074 (comint-dynamic-complete): Use completion-at-point.
24075 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24076
24077 2011-03-24 Drew Adams <drew.adams@oracle.com>
24078
24079 * thingatpt.el: Support `defun'.
24080
24081 2011-03-23 Leo Liu <sdl.web@gmail.com>
24082
24083 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24084
24085 * help-mode.el (help-mode-finish): Tweak regexp.
24086
24087 2011-03-23 Glenn Morris <rgm@gnu.org>
24088
24089 * eshell/esh-opt.el (eshell-eval-using-options):
24090 Do not bind unused local variable `eshell-option-stub'.
24091
24092 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24093
24094 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24095
24096 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24097 keymap variable in `with-no-warnings' to avoid a warning when the
24098 keymap has been already `defconst'ed.
24099
24100 2011-03-22 Leo Liu <sdl.web@gmail.com>
24101
24102 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24103 encode all chars in abbrevs; otherwise use emacs-mule or
24104 utf-8-emacs. (Bug#8308)
24105
24106 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24107
24108 * simple.el (backward-delete-char-untabify):
24109 Avoid warning about using `delete-backward-char'.
24110
24111 * image.el (image-type-file-name-regexps): Make it variable.
24112 `imagemagick-register-types' modifies it, and the user may want
24113 to add new extensions for known image types.
24114 (imagemagick-register-types): Throw error if not using ImageMagick.
24115
24116 2011-03-22 Leo Liu <sdl.web@gmail.com>
24117
24118 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24119 located before rcirc-prompt-end-marker.
24120 (rcirc-complete): Error if point is not after rcirc prompt.
24121 Handle the case when table is nil.
24122 (rcirc-user-authenticated): Define to fix compiler warning.
24123
24124 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24125
24126 * custom.el (custom--inhibit-theme-enable): Make it affect only
24127 custom-theme-set-variables and custom-theme-set-faces.
24128 (provide-theme): Ignore custom--inhibit-theme-enable.
24129 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24130 (custom-enabling-themes): Delete variable.
24131 (enable-theme): Accept only loaded themes as arguments.
24132 Ignore the special custom-enabled-themes variable.
24133 (custom-enabled-themes): Forbid themes from setting this.
24134 Eliminate use of custom-enabling-themes.
24135 (custom-push-theme): Quote "changed" custom var entry.
24136
24137 2011-03-21 Leo Liu <sdl.web@gmail.com>
24138
24139 * ido.el (ido-read-internal): Add ido-selected to history instead
24140 of user input.
24141
24142 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24143
24144 * subr.el (deferred-action-list, deferred-action-function):
24145 Mark obsolete.
24146
24147 2011-03-21 Leo Liu <sdl.web@gmail.com>
24148
24149 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24150 change on 2011-02-13 (bug#8309).
24151
24152 * minibuffer.el (read-file-name-function): Change default value.
24153 (read-file-name--defaults): Rename from read-file-name-defaults.
24154 (read-file-name-default): Rename from read-file-name.
24155 (read-file-name): Call read-file-name-function.
24156
24157 2011-03-21 Glenn Morris <rgm@gnu.org>
24158
24159 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24160 Doc fixes.
24161
24162 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24163
24164 * cus-theme.el: Add missing provide statement.
24165 (customize-create-theme): Extract theme value correctly.
24166 (custom-theme-visit-theme): Autoload.
24167 (customize-create-theme): Prompt before inserting default faces.
24168
24169 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24170
24171 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24172 units and musical notes.
24173
24174 2011-03-20 Leo Liu <sdl.web@gmail.com>
24175
24176 * ido.el (ido-read-internal): Use completing-read-default.
24177 (ido-completing-read): Fix compatibility with completing-read.
24178
24179 2011-03-20 Christian Ohler <ohler@gnu.org>
24180
24181 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24182 (ert-delete-all-tests): Use `called-interactively-p' rather than
24183 `interactive-p'.
24184 (ert--make-xrefs-region): Respect END.
24185
24186 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24187
24188 * dired-aux.el (dired-create-directory): Signal an error if the
24189 directory already exists (Bug#8246).
24190
24191 * facemenu.el (list-colors-display): Call list-faces-display
24192 inside with-help-window.
24193 (list-colors-print): Use display property to align the final
24194 column, instead of checking window-width.
24195
24196 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24197
24198 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24199 windows-nt systems.
24200 (emerge-protect-metachars): Quote correctly for ms-dos and
24201 windows-nt systems.
24202
24203 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24204
24205 * info.el (info-initialize): Replace all uses of `:' with
24206 path-separator for compatibility with non-Unix systems.
24207 Cache quoting of path-separator. (Bug#8258)
24208
24209 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24210
24211 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24212 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24213 (mouse-avoidance-mode): Fix typos in docstrings.
24214
24215 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24216
24217 * startup.el (package-subdirectory-regexp): Move from package.el.
24218 Omit \\` and \\', and let callers add them.
24219
24220 * emacs-lisp/package.el (package-strip-version)
24221 (package-load-all-descriptors): Add \\` and \\' to
24222 package-subdirectory-regexp before using it.
24223 (package-untar-buffer): New arg DIR; ensure that file untars only
24224 into this expected directory. Remove superfluous delete-region.
24225 (package-unpack): Caller changed.
24226 (package-tar-file-info): Use package-subdirectory-regexp.
24227
24228 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24229
24230 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24231 diff-mode-shared-map (bug#8284).
24232 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24233
24234 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24235
24236 * calendar/time-date.el (format-seconds): Use assoc instead of
24237 assoc-string, since assoc-string doesn't exist in XEmacs.
24238
24239 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24240
24241 * custom.el (custom-known-themes): Reflow docstring.
24242 (custom-theme-load-path): Fix typo in docstring.
24243 (load-theme): Fix typo in error message.
24244 (custom-available-themes, custom-variable-theme-value):
24245 Use `let', not `let*'.
24246
24247 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24248
24249 * calc/README: Mention inclusion of musical notes.
24250
24251 * calc/calc-units.el (calc-lu-quant): Rename from
24252 `calc-logunits-quantity'.
24253 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24254 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24255 (calc-db): Rename from `calc-dblevel'.
24256 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24257 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24258 (calc-np): Rename from `calc-nplevel'.
24259 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24260 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24261 (calc-lu-plus): Rename from `calc-logunits-add'.
24262 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24263 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24264 (calc-lu-minus): Rename from `calc-logunits-sub'.
24265 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24266 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24267 (calc-lu-times): Rename from `calc-logunits-mul'.
24268 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24269 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24270 (calc-lu-divide): Rename from `calc-logunits-div'.
24271 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24272 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24273
24274 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24275 functions being autoloaded.
24276
24277 * calc/calc.el (calc-lu-power-reference): Rename from
24278 `calc-logunits-power-reference'.
24279 (calc-lu-field-reference): Rename from
24280 `calc-logunits-field-reference'.
24281
24282 * calc/calc-help.el (calc-l-prefix-help):
24283 Mention musical note functions.
24284
24285 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24286
24287 * minibuffer.el (completion-all-sorted-completions):
24288 Use :completion-cycle-penalty text property if present.
24289
24290 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24291
24292 * allout.el (allout-yank-processing): Adjust for new rebulleting
24293 regime so bullet being yanked is used without prompting the user
24294 for a choice.
24295
24296 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24297
24298 * startup.el (command-line): Warn the user that _emacs is deprecated.
24299
24300 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24301
24302 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24303 (delphi-verbose, delphi-comment-face, delphi-string-face)
24304 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24305 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24306 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24307 (delphi-new-comment-line, delphi-font-lock-defaults)
24308 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24309 Fix typos in docstrings.
24310
24311 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24312
24313 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24314 Invert the roles of character and string values for INSTEAD, so a
24315 string is used for the more common case of a defaulting prompt.
24316
24317 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24318
24319 * progmodes/ruby-mode.el (ruby-backward-sexp):
24320 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24321 * play/gamegrid.el (gamegrid-make-face):
24322 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24323 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24324 * notifications.el (notifications-notify):
24325 * net/xesam.el (xesam-search-engines):
24326 * net/quickurl.el (quickurl-list-insert):
24327 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24328
24329 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24330
24331 * startup.el (command-line): Update package subdirectory regexp.
24332
24333 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24334
24335 * allout.el (allout-abbreviate-flattened-numbering)
24336 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24337
24338 * subr.el (read-char-choice): Only show the cursor after the prompt,
24339 not after the answer.
24340
24341 2011-03-15 Kevin Ryde <user42@zip.com.au>
24342
24343 * help-fns.el (variable-at-point): Skip leading quotes, if any
24344 (bug#8253).
24345
24346 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24347
24348 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24349 warning message.
24350
24351 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24352
24353 * shell.el (shell): When called interactively, offer to change the
24354 shell file name on remote hosts.
24355
24356 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24357
24358 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24359 integration for LDAP parameters. The host, base, user or binddn,
24360 and secret tokens can be specified in a netrc file, for instance.
24361 This is optional because an `auth-source' parameter must be
24362 specified in the search attributes.
24363
24364 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24365
24366 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24367
24368 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24369
24370 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24371 into declaration. Remove redundant and harmful binding.
24372
24373 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24374
24375 * files.el (file-ownership-preserved-p): Pass `integer' as an
24376 explicit 2nd argument to `file-attributes'. If the file's owner
24377 is the Administrators group on Windows, and the current user is
24378 Administrator, consider that a match.
24379
24380 * server.el (server-ensure-safe-dir): Consider server directory
24381 safe on MS-Windows if its owner is the Administrators group while
24382 the current Emacs user is Administrator. Use `=' to compare
24383 numerical UIDs, since they could be integers or floats.
24384
24385 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24386
24387 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24388
24389 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24390
24391 Sync with Tramp 2.2.1.
24392
24393 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24394
24395 * net/trampver.el: Update release number.
24396
24397 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24398
24399 * progmodes/compile.el (compilation--previous-directory): Fix up
24400 various nil/dead-marker mismatches (bug#8014).
24401 (compilation-directory-properties, compilation-error-properties):
24402 Don't call it at a position past the one we're about to change.
24403
24404 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24405 Disable obsolescence warnings in the file that declares it.
24406
24407 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24408
24409 * allout-widgets.el (allout-widgets-tally):
24410 Initialize allout-widgets-tally as a hash table rather than nil to
24411 prevent mode-line redisplay warnings. Also, clarify the module
24412 description and fix a comment typo.
24413
24414 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24415
24416 * help-fns.el (describe-variable): Don't complete keywords.
24417 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24418
24419 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24420
24421 * emacs-lisp/package.el (package-version-join): Impose a standard
24422 string representation for pre/alpha/beta version lists.
24423 (package-unpack-single): Standardize the directory name by passing
24424 it through package-version-join.
24425 (package-strip-rcs-id): Accept any version string that does not
24426 signal an error in version-to-list.
24427
24428 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24429
24430 * simple.el (delete-trailing-whitespace): Return nil for the
24431 benefit of `write-file-functions'.
24432
24433 2011-03-10 Glenn Morris <rgm@gnu.org>
24434
24435 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24436
24437 * vc/vc-git.el (vc-git-program): New option.
24438 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24439 (vc-git--call): Use it.
24440
24441 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24442
24443 * cus-edit.el (Custom-newline): If no button at point, look
24444 for a subgroup button at start-of-line. (Bug#2298)
24445
24446 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24447
24448 2011-03-10 Julien Danjou <julien@danjou.info>
24449
24450 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24451 `cursor-type' is nil.
24452
24453 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24454
24455 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24456
24457 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24458
24459 * allout.el: Change so yank of distinctive-bullet items
24460 preserves the existing header prefix, rebulleting it if necessary,
24461 rather than replacing it. This is necessary for proper operation
24462 of cooperative addons like allout-widgets.
24463 (allout-make-topic-prefix, allout-rebullet-heading):
24464 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24465 value as alternate bullet to be used, instead of prompting the user
24466 for a bullet character.
24467
24468 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24469
24470 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24471 Do not use `tramp-file-name-port', because this returns also
24472 `tramp-default-port'.
24473
24474 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24475
24476 * net/rcirc.el (rcirc-handler-001): Remove useless
24477 with-rcirc-process-buffer.
24478 (rcirc-check-auth-status): Swap arguments to string-match.
24479
24480 2011-03-09 Glenn Morris <rgm@gnu.org>
24481
24482 * shell.el (shell-mode):
24483 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24484
24485 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24486 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24487
24488 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24489
24490 * emacs-lisp/package.el (package-refresh-contents)
24491 (package-menu-execute): Use condition-case-no-debug.
24492
24493 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24494
24495 * simple.el (shell-command-to-string): Use `process-file'.
24496
24497 * emacs-lisp/package.el (package-tar-file-info): Handle also
24498 remote files.
24499
24500 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24501 Use `equal' for upload base check.
24502
24503 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24504
24505 * textmodes/texinfo.el (texinfo-environments):
24506 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24507
24508 2011-03-08 Glenn Morris <rgm@gnu.org>
24509
24510 * cus-start.el (cursor-in-non-selected-windows):
24511 Fix :set quoting oddness. (Bug#8192)
24512
24513 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24514 in some setf expressions. (Bug#2159)
24515
24516 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24517
24518 * custom.el (custom-available-themes): Return themes in
24519 alphabetical order.
24520
24521 See ChangeLog.15 for earlier changes.
24522
24523 ;; Local Variables:
24524 ;; coding: utf-8
24525 ;; End:
24526
24527 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24528
24529 This file is part of GNU Emacs.
24530
24531 GNU Emacs is free software: you can redistribute it and/or modify
24532 it under the terms of the GNU General Public License as published by
24533 the Free Software Foundation, either version 3 of the License, or
24534 (at your option) any later version.
24535
24536 GNU Emacs is distributed in the hope that it will be useful,
24537 but WITHOUT ANY WARRANTY; without even the implied warranty of
24538 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24539 GNU General Public License for more details.
24540
24541 You should have received a copy of the GNU General Public License
24542 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.